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