Ticket #201 (closed defect: wontfix)

Opened 9 months ago

Last modified 9 months ago

Billing error on call transfer

Reported by: brunoscb Assigned to: areski
Priority: critical Milestone: milestone Version 1.3
Component: AGI Version: Stable 1.3.2 (Yellowjacket)
Keywords: Cc:

Description

Billing error on call transfer I have the same problem with billing when the call transfer Have any solutions? I already tried everything posted in the forum. Hello,

I have a problem with call transfers, I have SIP phones which are using a2billing to bill the outgoing calls. If I dial an external number, it goes thru a2billing and everything is billed correctly. If I'm on a call and I transfer that call to another phone, as soon as the call is answered from the other phone, the AGI scripts stops(AGI Script a2billing.php completed, returning 0) and the billing stops while the call continues, therefore charging less to the client that the actual call time.

Is there a way to make this behavior change?

Thanks Smile Back to top PostPosted?: Mon Jan 14, 2008 8:50 pm Post subject: Reply with quote Check this post, it may be related

regards

http://forum.asterisk2billing.org/viewtopic.php?t=2952&highlight= It's the same problem as I have, except that the "i" doesn't do anything for me because it's not a call forward, but a call transfer after the call was answered (like in an office when the secretary transfers a call to another desk)

Anyone experimented that kind of problem? middletn

PostPosted?: Mon Jan 14, 2008 9:26 pm Post subject: Reply with quote It's still a reinvite. Have you tested the 'i' solution? mbutler

Yes I did, and it still releases the billing as if the call was terminated when the transfer was made. Back to top middletn

PostPosted?: Mon Jan 14, 2008 10:29 pm Post subject: Reply with quote Then this sounds like a MAJOR problem. I'll test shortly

Thanks for raising this issue.

regards

thanks for looking into this! Back to top View user's profile Send private message middletn

Joined: 01 Oct 2007 Posts: 118 Location: Bovey, Devon, UK PostPosted?: Mon Jan 14, 2008 10:32 pm Post subject: Reply with quote Question: Do you have re-invites set to no ? regards mbutler

PostPosted?: Mon Jan 14, 2008 10:34 pm Post subject: Reply with quote I have tried with both, and it results to the same thing mbutler

PostPosted?: Sun Feb 03, 2008 4:06 pm Post subject: Reply with quote mbutler wrote: were you able to reproduce it?

Yes, and in doing so discovered calls placed via a queue were not being billed either. However I've found a flag that cures this.

The curprite is the local channel driver. A local channel is created on a transfer and then deleted once the call is patched. I can see no way of retaining this in a normal transfer scenario. This is not a bug with A2B, but a 'feature' or rather a flaw in asterisk's call accounting.

What's the cure? I believe that fronting asterisk with SER/Openser should resolve the issue. I'm working on that now

regards _ Nik Middleton

Change History

02/26/08 22:17:41 changed by brunoscb

here is the post problem with no solutions http://forum.asterisk2billing.org/viewtopic.php?t=3044

02/26/08 22:58:49 changed by stavros

As Nik told you in the forum thread you've quoted & linked, "This is not a bug with A2B, but a 'feature' or rather a flaw in asterisk's call accounting."

I too can see no easy workaround for this problem. It would require at least major changes to A2Billing, and probably changes to Asterisk too. Areski have you any blinding flash of insight that will humble us all that you'd like to add?

02/26/08 23:50:52 changed by stavros

  • status changed from new to closed.
  • resolution set to wontfix.

I was chilling out on the balcony enjoying a smoke when a possible workaround occurred to me: http://forum.asterisk2billing.org/viewtopic.php?p=13095#13095

Let's continue the discussion, if any, on the forum and leave this bugtracker for the purpose it was intended.



Google