Hi,
I have a2billing v2.0.8 on freepbx 2.11 on centos 6.5
whenever i try to make calls from a2billing sip trunk created from Customers>Voip Settings.
It gives me following and calls doesnot go through.
Code:
Executing [6596342112@custom-a2billing:1] DeadAGI("SIP/9666729592-00000013", "a2billing.php,1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
-- <SIP/9666729592-00000013>AGI Script a2billing.php completed, returning 0
-- Executing [6596342112@custom-a2billing:2] Hangup("SIP/9666729592-00000013", "") in new stack
== Spawn extension (custom-a2billing, 6596342112, 2) exited non-zero on 'SIP/9666729592-00000013'
I have got
/var/lib/asterisk/agi-bin/lib folder well in place with 775 permission for both user and group of asterisk
If I try to call from freepbx extension with VOIP SIP trunk of carrier calls gets connected well. But If I call with custom trunk created to link freepbx and a2billing from freepbx extention it does not connects the call.
I have tried with 2 Custom Dial String: A2B/1 & Local/$OUTNUM$@a2billing/n both for custom trunks. nothing works.
Can you please help me on to troubleshooting for this problem.
Thanks