asterisk2billing.org
http://forum.asterisk2billing.org/

CALLBACK-ALL Billing Problem
http://forum.asterisk2billing.org/viewtopic.php?f=16&t=2871
Page 2 of 2

Author:  globaphone [ Thu Dec 06, 2007 2:39 pm ]
Post subject:  Version 1.3.1 is buggy for all-callback billing

Hi i installed the version 1.3.0 and it s working very well. Both legs are billed successfully either i hang up first or the callee hang up first.

Any one can find the bug and correct it :x ............


Cheers.

Author:  stavros [ Thu Dec 06, 2007 2:54 pm ]
Post subject: 

You are saying that if the called party hangs up first then the billing is incorrect?
I'm having trouble reproducing your problem using branches/1.3 (v1.3.1). I just tested the web callback twice clearing down from each end. Both tests billed both legs correctly.
You are using the 'g' flag in the Dial cmd aren't you?

Author:  globaphone [ Thu Dec 06, 2007 3:57 pm ]
Post subject:  Billing incoorect when i hang up first with v1.3.1

Hi stavros


I was using all-callback with v1.3.1, installed from svn, and the second call leg was not billed successfully when I hang up the call first ( I am the originator of the callback)

if the destination hang up the billing was successfull.


I just installed the 1.3.0 ( July 2007) and it s working now. just download it from the main page.

this is my extension

Quote:
[inbound]

exten => 1519821,1,NoOp(Incoming call from # ${CALLERID(num)})
exten => 1519821,n,Ringing()
exten => 1519821,n,Set(AGISIGHUP=no)
exten => 1519821,n,DeadAGI(a2billing.php|3|all-callback)
exten => 1519821,n,Hangup


I don t know how to use the g with the dial command,

Hope this will help

Author:  stavros [ Thu Dec 06, 2007 4:02 pm ]
Post subject: 

Is this on the exact same revision of Asterisk, or did you change that too?

Author:  globaphone [ Thu Dec 06, 2007 4:05 pm ]
Post subject: 

I reinstalled the PBX IN flash from the scratch . using the same iso, so it<s exactly the same asterisk revision.

The first time i installed the a2billing i used install-a2billing script.


the second time, i did it manually

Author:  stavros [ Thu Dec 06, 2007 4:10 pm ]
Post subject: 

Most strange. I'm pretty sure this is not a new regression in A2B v1.3.1, as it's working reliably for me no matter which end clears down first.
I know there was a bug fixed in Asterisk some time ago which caused the wrong leg of a call to clear down, but I think that was only triggered when a call reached its timeout and was automatically cleared down.

Page 2 of 2 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/