Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sun Oct 22, 2017 4:33 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: use_dnid not works!!
PostPosted: Tue Jul 08, 2014 4:39 pm 
Offline

Joined: Tue Jul 08, 2014 4:29 pm
Posts: 1
Hi guys!

I've a problem with A2Billing and FreePBX... if I make a call throung A2Billing Trunk with agiconf answer_call set to YES, inserting destination number all works ok this is the output:
Quote:
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:1] Macro("SIP/6001-0000002e", "user-callerid,LIMIT,EXTERNAL,") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:1] Set("SIP/6001-0000002e", "TOUCH_MONITOR=1404837257.50") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:2] Set("SIP/6001-0000002e", "AMPUSER=6001") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:3] GotoIf("SIP/6001-0000002e", "0?report") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:4] ExecIf("SIP/6001-0000002e", "1?Set(REALCALLERIDNUM=6001)") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:5] Set("SIP/6001-0000002e", "AMPUSER=6001") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:6] GotoIf("SIP/6001-0000002e", "0?limit") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:7] Set("SIP/6001-0000002e", "AMPUSERCIDNAME=6001") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:8] GotoIf("SIP/6001-0000002e", "0?report") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:9] Set("SIP/6001-0000002e", "AMPUSERCID=6001") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:10] Set("SIP/6001-0000002e", "__DIAL_OPTIONS=tr") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:11] Set("SIP/6001-0000002e", "CALLERID(all)="6001" <6001>") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:12] GotoIf("SIP/6001-0000002e", "0?limit") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:13] ExecIf("SIP/6001-0000002e", "1?Set(GROUP(concurrency_limit)=6001)") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:14] ExecIf("SIP/6001-0000002e", "0?Set(CHANNEL(language)=)") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:15] GotoIf("SIP/6001-0000002e", "1?continue") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Goto (macro-user-callerid,s,28)
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:28] Set("SIP/6001-0000002e", "CALLERID(number)=6001") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:29] Set("SIP/6001-0000002e", "CALLERID(name)=6001") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:30] Set("SIP/6001-0000002e", "CDR(cnum)=6001") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:31] Set("SIP/6001-0000002e", "CDR(cnam)=6001") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:32] Set("SIP/6001-0000002e", "CHANNEL(language)=en") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:2] Set("SIP/6001-0000002e", "MOHCLASS=default") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:3] Set("SIP/6001-0000002e", "_NODEST=") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:4] Gosub("SIP/6001-0000002e", "sub-record-check,s,1(out,44123456789,)") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:1] Set("SIP/6001-0000002e", "REC_POLICY_MODE_SAVE=") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:2] GotoIf("SIP/6001-0000002e", "1?check") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Goto (sub-record-check,s,7)
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:7] Set("SIP/6001-0000002e", "__MON_FMT=wav") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:8] GotoIf("SIP/6001-0000002e", "1?next") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Goto (sub-record-check,s,11)
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:11] ExecIf("SIP/6001-0000002e", "0?Return()") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:12] ExecIf("SIP/6001-0000002e", "0?Set(__REC_POLICY_MODE=)") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:13] GotoIf("SIP/6001-0000002e", "0?out,1") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:14] Set("SIP/6001-0000002e", "__REC_STATUS=INITIALIZED") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:15] Set("SIP/6001-0000002e", "NOW=1404837257") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:16] Set("SIP/6001-0000002e", "__DAY=08") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:17] Set("SIP/6001-0000002e", "__MONTH=07") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:18] Set("SIP/6001-0000002e", "__YEAR=2014") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:19] Set("SIP/6001-0000002e", "__TIMESTR=20140708-183417") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:20] Set("SIP/6001-0000002e", "__FROMEXTEN=6001") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:21] Set("SIP/6001-0000002e", "__CALLFILENAME=out-44123456789-6001-20140708-183417-1404837257.50") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:22] Goto("SIP/6001-0000002e", "out,1") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Goto (sub-record-check,out,1)
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:1] ExecIf("SIP/6001-0000002e", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:2] GosubIf("SIP/6001-0000002e", "0?record,1(exten,44123456789,6001)") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:3] Return("SIP/6001-0000002e", "") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:5] Macro("SIP/6001-0000002e", "dialout-trunk,4,44123456789,,off") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:1] Set("SIP/6001-0000002e", "DIAL_TRUNK=4") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:2] GosubIf("SIP/6001-0000002e", "0?sub-pincheck,s,1()") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:3] GotoIf("SIP/6001-0000002e", "0?disabletrunk,1") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:4] Set("SIP/6001-0000002e", "DIAL_NUMBER=44123456789") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:5] Set("SIP/6001-0000002e", "DIAL_TRUNK_OPTIONS=tr") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:6] Set("SIP/6001-0000002e", "OUTBOUND_GROUP=OUT_4") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:7] GotoIf("SIP/6001-0000002e", "1?nomax") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Goto (macro-dialout-trunk,s,9)
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:9] GotoIf("SIP/6001-0000002e", "0?skipoutcid") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:10] Set("SIP/6001-0000002e", "DIAL_TRUNK_OPTIONS=") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:11] Macro("SIP/6001-0000002e", "outbound-callerid,4") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:1] ExecIf("SIP/6001-0000002e", "0?Set(CALLERPRES()=)") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:2] ExecIf("SIP/6001-0000002e", "0?Set(REALCALLERIDNUM=6001)") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:3] GotoIf("SIP/6001-0000002e", "1?normcid") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Goto (macro-outbound-callerid,s,6)
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:6] Set("SIP/6001-0000002e", "USEROUTCID=6001") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:7] Set("SIP/6001-0000002e", "EMERGENCYCID=") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:8] Set("SIP/6001-0000002e", "TRUNKOUTCID=") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:9] GotoIf("SIP/6001-0000002e", "1?trunkcid") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Goto (macro-outbound-callerid,s,14)
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:14] ExecIf("SIP/6001-0000002e", "0?Set(CALLERID(all)=)") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:15] ExecIf("SIP/6001-0000002e", "1?Set(CALLERID(all)=6001)") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:16] ExecIf("SIP/6001-0000002e", "0?Set(CALLERID(all)=)") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:17] ExecIf("SIP/6001-0000002e", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:18] Set("SIP/6001-0000002e", "CDR(outbound_cnum)=6001") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:19] Set("SIP/6001-0000002e", "CDR(outbound_cnam)=") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:12] GosubIf("SIP/6001-0000002e", "0?sub-flp-4,s,1()") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:13] Set("SIP/6001-0000002e", "OUTNUM=44123456789") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:14] Set("SIP/6001-0000002e", "custom=AMP") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:15] ExecIf("SIP/6001-0000002e", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:16] ExecIf("SIP/6001-0000002e", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:17] Macro("SIP/6001-0000002e", "dialout-trunk-predial-hook,") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:1] GotoIf("SIP/6001-0000002e", "1?custom-freepbx-a2billing,44123456789,1:2") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Goto (custom-freepbx-a2billing,44123456789,1)
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] app_macro.c: == Channel 'SIP/6001-0000002e' jumping out of macro 'dialout-trunk-predial-hook'
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] app_macro.c: == Channel 'SIP/6001-0000002e' jumping out of macro 'dialout-trunk'
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] pbx.c: -- Executing [[email protected]:1] AGI("SIP/6001-0000002e", "a2billing.php,1") in new stack
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
[2014-07-08 18:34:17] VERBOSE[4996][C-00000024] file.c: -- <SIP/6001-0000002e> Playing 'prepaid-enter-dest.gsm' (language 'en')
[2014-07-08 18:34:23] VERBOSE[4996][C-00000024] res_agi.c: -- AGI Script Executing Application: (DIAL) Options: (SIP/TWT-out/44123456789,60,HRrL(39660000:61000:30000))
[2014-07-08 18:34:23] VERBOSE[4996][C-00000024] netsock2.c: == Using SIP RTP TOS bits 184
[2014-07-08 18:34:23] VERBOSE[4996][C-00000024] netsock2.c: == Using SIP RTP CoS mark 5
[2014-07-08 18:34:23] VERBOSE[4996][C-00000024] app_dial.c: -- Called SIP/TWT-out/44123456789
[2014-07-08 18:34:25] VERBOSE[4996][C-00000024] app_dial.c: -- SIP/TWT-out-0000002f answered SIP/6001-0000002e
[2014-07-08 18:34:29] VERBOSE[4996][C-00000024] res_agi.c: -- <SIP/6001-0000002e>AGI Script a2billing.php completed, returning 4
[2014-07-08 18:34:29] VERBOSE[4996][C-00000024] pbx.c: == Spawn extension (custom-freepbx-a2billing, 44123456789, 1) exited non-zero on 'SIP/6001-0000002e'



If I disable answer_call, and variable use_dnid is set to YES io order to make call directly... this appens:
Quote:
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:1] Macro("SIP/6001-00000030", "user-callerid,LIMIT,EXTERNAL,") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:1] Set("SIP/6001-00000030", "TOUCH_MONITOR=1404837457.52") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:2] Set("SIP/6001-00000030", "AMPUSER=6001") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:3] GotoIf("SIP/6001-00000030", "0?report") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:4] ExecIf("SIP/6001-00000030", "1?Set(REALCALLERIDNUM=6001)") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:5] Set("SIP/6001-00000030", "AMPUSER=6001") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:6] GotoIf("SIP/6001-00000030", "0?limit") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:7] Set("SIP/6001-00000030", "AMPUSERCIDNAME=6001") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:8] GotoIf("SIP/6001-00000030", "0?report") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:9] Set("SIP/6001-00000030", "AMPUSERCID=6001") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:10] Set("SIP/6001-00000030", "__DIAL_OPTIONS=tr") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:11] Set("SIP/6001-00000030", "CALLERID(all)="6001" <6001>") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:12] GotoIf("SIP/6001-00000030", "0?limit") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:13] ExecIf("SIP/6001-00000030", "1?Set(GROUP(concurrency_limit)=6001)") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:14] ExecIf("SIP/6001-00000030", "0?Set(CHANNEL(language)=)") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:15] GotoIf("SIP/6001-00000030", "1?continue") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Goto (macro-user-callerid,s,28)
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:28] Set("SIP/6001-00000030", "CALLERID(number)=6001") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:29] Set("SIP/6001-00000030", "CALLERID(name)=6001") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:30] Set("SIP/6001-00000030", "CDR(cnum)=6001") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:31] Set("SIP/6001-00000030", "CDR(cnam)=6001") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:32] Set("SIP/6001-00000030", "CHANNEL(language)=en") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:2] Set("SIP/6001-00000030", "MOHCLASS=default") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:3] Set("SIP/6001-00000030", "_NODEST=") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:4] Gosub("SIP/6001-00000030", "sub-record-check,s,1(out,44123456789,)") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:1] Set("SIP/6001-00000030", "REC_POLICY_MODE_SAVE=") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:2] GotoIf("SIP/6001-00000030", "1?check") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Goto (sub-record-check,s,7)
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:7] Set("SIP/6001-00000030", "__MON_FMT=wav") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:8] GotoIf("SIP/6001-00000030", "1?next") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Goto (sub-record-check,s,11)
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:11] ExecIf("SIP/6001-00000030", "0?Return()") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:12] ExecIf("SIP/6001-00000030", "0?Set(__REC_POLICY_MODE=)") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:13] GotoIf("SIP/6001-00000030", "0?out,1") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:14] Set("SIP/6001-00000030", "__REC_STATUS=INITIALIZED") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:15] Set("SIP/6001-00000030", "NOW=1404837457") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:16] Set("SIP/6001-00000030", "__DAY=08") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:17] Set("SIP/6001-00000030", "__MONTH=07") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:18] Set("SIP/6001-00000030", "__YEAR=2014") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:19] Set("SIP/6001-00000030", "__TIMESTR=20140708-183737") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:20] Set("SIP/6001-00000030", "__FROMEXTEN=6001") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:21] Set("SIP/6001-00000030", "__CALLFILENAME=out-44123456789-6001-20140708-183737-1404837457.52") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:22] Goto("SIP/6001-00000030", "out,1") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Goto (sub-record-check,out,1)
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:1] ExecIf("SIP/6001-00000030", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:2] GosubIf("SIP/6001-00000030", "0?record,1(exten,44123456789,6001)") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:3] Return("SIP/6001-00000030", "") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:5] Macro("SIP/6001-00000030", "dialout-trunk,4,44123456789,,off") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:1] Set("SIP/6001-00000030", "DIAL_TRUNK=4") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:2] GosubIf("SIP/6001-00000030", "0?sub-pincheck,s,1()") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:3] GotoIf("SIP/6001-00000030", "0?disabletrunk,1") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:4] Set("SIP/6001-00000030", "DIAL_NUMBER=44123456789") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:5] Set("SIP/6001-00000030", "DIAL_TRUNK_OPTIONS=tr") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:6] Set("SIP/6001-00000030", "OUTBOUND_GROUP=OUT_4") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:7] GotoIf("SIP/6001-00000030", "1?nomax") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Goto (macro-dialout-trunk,s,9)
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:9] GotoIf("SIP/6001-00000030", "0?skipoutcid") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:10] Set("SIP/6001-00000030", "DIAL_TRUNK_OPTIONS=") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:11] Macro("SIP/6001-00000030", "outbound-callerid,4") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:1] ExecIf("SIP/6001-00000030", "0?Set(CALLERPRES()=)") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:2] ExecIf("SIP/6001-00000030", "0?Set(REALCALLERIDNUM=6001)") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:3] GotoIf("SIP/6001-00000030", "1?normcid") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Goto (macro-outbound-callerid,s,6)
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:6] Set("SIP/6001-00000030", "USEROUTCID=6001") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:7] Set("SIP/6001-00000030", "EMERGENCYCID=") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:8] Set("SIP/6001-00000030", "TRUNKOUTCID=") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:9] GotoIf("SIP/6001-00000030", "1?trunkcid") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Goto (macro-outbound-callerid,s,14)
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:14] ExecIf("SIP/6001-00000030", "0?Set(CALLERID(all)=)") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:15] ExecIf("SIP/6001-00000030", "1?Set(CALLERID(all)=6001)") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:16] ExecIf("SIP/6001-00000030", "0?Set(CALLERID(all)=)") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:17] ExecIf("SIP/6001-00000030", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:18] Set("SIP/6001-00000030", "CDR(outbound_cnum)=6001") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:19] Set("SIP/6001-00000030", "CDR(outbound_cnam)=") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:12] GosubIf("SIP/6001-00000030", "0?sub-flp-4,s,1()") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:13] Set("SIP/6001-00000030", "OUTNUM=44123456789") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:14] Set("SIP/6001-00000030", "custom=AMP") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:15] ExecIf("SIP/6001-00000030", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:16] ExecIf("SIP/6001-00000030", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:17] Macro("SIP/6001-00000030", "dialout-trunk-predial-hook,") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:1] GotoIf("SIP/6001-00000030", "1?custom-freepbx-a2billing,44123456789,1:2") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Goto (custom-freepbx-a2billing,44123456789,1)
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] app_macro.c: == Channel 'SIP/6001-00000030' jumping out of macro 'dialout-trunk-predial-hook'
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] app_macro.c: == Channel 'SIP/6001-00000030' jumping out of macro 'dialout-trunk'
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] pbx.c: -- Executing [[email protected]:1] AGI("SIP/6001-00000030", "a2billing.php,1") in new stack
[2014-07-08 18:37:37] VERBOSE[5026][C-00000025] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
[2014-07-08 18:37:38] VERBOSE[5026][C-00000025] file.c: -- <SIP/6001-00000030> Playing 'prepaid-enter-dest.gsm' (language 'en')
[2014-07-08 18:37:48] VERBOSE[5026][C-00000025] res_agi.c: -- <SIP/6001-00000030>AGI Script a2billing.php completed, returning 4
[2014-07-08 18:37:48] VERBOSE[5026][C-00000025] pbx.c: == Spawn extension (custom-freepbx-a2billing, 44123456789, 1) exited non-zero on 'SIP/6001-00000030'


It seems that DNID not pass to A2Billing it's possible?


Top
 Profile  
 
 Post subject: Re: use_dnid not works!!
PostPosted: Wed Oct 01, 2014 1:27 pm 
Offline

Joined: Wed Oct 01, 2014 1:16 pm
Posts: 2
I have use_dnid se to yes. Have you set the accountcodes on FreePBX's extensions?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group