emrah wrote:
Hello guys,
When I call A2Billing with a local channel in a ring group, the call duration is always 0 second and nothing is
The call goes through, and it shows in the call history of the user, but the duration is 0 seconds and the type is ANSWERED.
Any idea on how I could correct this?
Cheers,
Emrah
Had the Same issue as you are having.
Instead of using
Dial(local/18125551212@a2billing,60,L(3590000))
I had to use
exten => _.,n,Goto(${at2billing},${EXTEN:0:50},1)
whenever the Dial(local command is used anywhere on a call before going to A2billing, a2billing well termination itself soon as the call is answered and your clients gets a free call. That is why its logging duration is 0 seconds.
If there are another way besides using the Dial(local command try using it.
Sam
PS,
I tested without Freepbx. Soon as the call came in from DID company routed it directly to EXT
which then cdialed the a2billing EXT using
Dial(local/18125551212@a2billing,60,L(3590000))
[a2billing] ; CallingCard application
exten => _X.,1,Answer
exten => _X.,n,Wait(1)
exten => _X.,n,AGI(a2billing.php)
exten => _X.,n,Hangup
And got same results.