I install A2billing properly by following the below link:
http://www.powerpbx.org/content/a2billi ... l-guide-v1When i call from freepbx it is working without a2billing.But when i integrate a2billing with freepbx and I used sip user from a2billing at that time call is hang up after saying destination is unreachable.Here is my Log:
Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [6472472347@from-trunk:1] Set("SIP/voicenetwork-in-00000002", "__FROM_DID=6472472347") in new stack
-- Executing [6472472347@from-trunk:2] Set("SIP/voicenetwork-in-00000002", "CDR(did)=6472472347") in new stack
-- Executing [6472472347@from-trunk:3] ExecIf("SIP/voicenetwork-in-00000002", "0 ?Set(CALLERID(name)=6477720169)") in new stack
-- Executing [6472472347@from-trunk:4] Set("SIP/voicenetwork-in-00000002", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [6472472347@from-trunk:5] Set("SIP/voicenetwork-in-00000002", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [6472472347@from-trunk:6] Goto("SIP/voicenetwork-in-00000002", "custom-a2billing,6472472347,1") in new stack
-- Goto (custom-a2billing,6472472347,1)
-- Executing [6472472347@custom-a2billing:1] DeadAGI("SIP/voicenetwork-in-00000002", "a2billing.php,1") in new stack
[2013-02-05 07:33:48] WARNING[5004]: res_agi.c:3930 deadagi_exec: DeadAGI has been deprecated, please use AGI in all cases!
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
-- Playing 'prepaid-you-have' (escape_digits=#) (sample_offset 0)
-- <SIP/voicenetwork-in-00000002> Playing 'digits/5.gsm' (language 'en')
-- Playing 'dollars' (escape_digits=#) (sample_offset 0)
-- <SIP/voicenetwork-in-00000002> Playing 'prepaid-enter-dest.gsm' (language 'en')
-- Playing 'prepaid-dest-unreachable' (escape_digits=#) (sample_offset 0)
-- <SIP/voicenetwork-in-00000002>AGI Script a2billing.php completed, returning 4
== Spawn extension (custom-a2billing, 6472472347, 1) exited non-zero on 'SIP/voicenetwork-in-00000002'
Anyone help me regarding this problem?
Best Regards,
Shaiful Alam