Hi!
My FreePBX works well with A2B - all calls are going via a2b (outgoing and incoming), everything is working as it should, however if I try to set up any extension’s Followme to external number (e.g. 3809130568888#) it wont go thru.
So, I have inbound number 380445911538 which is going to context a2billing-did, which is properly passing it to a2billing, which has a Destination set to Local/10101@from-internal and extention 10101 has Followme to itself and then to 3809130568888# and it all ends with a2b asking for PIN, since the call is not going to proper number.
I’ve tried this and that - even without going thru A2B it does not work since Fpbx does not pass the accountcode to Followme.
Is there a way to fix it?
Thanks alot!
[2010-11-07 12:24:01] VERBOSE[2910] netsock.c: == Using SIP RTP TOS bits 184
[2010-11-07 12:24:01] VERBOSE[2910] netsock.c: == Using SIP RTP CoS mark 5
[2010-11-07 12:24:01] VERBOSE[2910] netsock.c: == Using UDPTL TOS bits 184
[2010-11-07 12:24:01] VERBOSE[2910] netsock.c: == Using UDPTL CoS mark 5
[2010-11-07 12:24:01] VERBOSE[10467] pbx.c: – Executing [380445911538@a2billing-did:1] AGI(“SIP/citynet-00000035”, “a2billing.php,8,did”) in new stack
[2010-11-07 12:24:01] VERBOSE[10467] res_agi.c: – Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
[2010-11-07 12:24:01] VERBOSE[10467] res_agi.c: – AGI Script Executing Application: (DIAL) Options: (Local/10101@from-internal)
[2010-11-07 12:24:01] VERBOSE[10467] app_dial.c: – Called 10101@from-internal
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:1] GotoIf(“Local/10101@from-internal-f3aa;2”, “0?ext-local,10101,1”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:2] Macro(“Local/10101@from-internal-f3aa;2”, “user-callerid,”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-user-callerid:1] Set(“Local/10101@from-internal-f3aa;2”, “AMPUSER=504638520”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-user-callerid:2] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?report”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-user-callerid,s,10)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-user-callerid:10] GotoIf(“Local/10101@from-internal-f3aa;2”, “0?continue”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-user-callerid:11] Set(“Local/10101@from-internal-f3aa;2”, “__TTL=64”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-user-callerid:12] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?continue”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-user-callerid,s,19)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-user-callerid:19] NoOp(“Local/10101@from-internal-f3aa;2”, “Using CallerID “0504638520” <504638520>”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:3] Set(“Local/10101@from-internal-f3aa;2”, “__EXTTOCALL=10101”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:4] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?skipdb”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (from-internal,10101,6)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:6] Set(“Local/10101@from-internal-f3aa;2”, “__NODEST=”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:7] Set(“Local/10101@from-internal-f3aa;2”, “__BLKVM_OVERRIDE=BLKVM/10101/Local/10101@from-internal-f3aa;2”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:8] Set(“Local/10101@from-internal-f3aa;2”, “__BLKVM_BASE=10101”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:9] Set(“Local/10101@from-internal-f3aa;2”, “DB(BLKVM/10101/Local/10101@from-internal-f3aa;2)=TRUE”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:10] Set(“Local/10101@from-internal-f3aa;2”, “RRNODEST=”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:11] Set(“Local/10101@from-internal-f3aa;2”, “__NODEST=10101”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:12] GosubIf(“Local/10101@from-internal-f3aa;2”, “0?sub-fmsetcid,s,1”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:13] Set(“Local/10101@from-internal-f3aa;2”, “RecordMethod=Group”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:14] Macro(“Local/10101@from-internal-f3aa;2”, “record-enable,10101-380913056888#-10101,Group”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-record-enable:1] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?check”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-record-enable,s,4)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-record-enable:4] ExecIf(“Local/10101@from-internal-f3aa;2”, “0?MacroExit()”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-record-enable:5] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?Group:OUT”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-record-enable,s,6)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-record-enable:6] Set(“Local/10101@from-internal-f3aa;2”, “LOOPCNT=3”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-record-enable:7] Set(“Local/10101@from-internal-f3aa;2”, “ITER=1”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-record-enable:8] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?continue”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-record-enable,s,13)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-record-enable:13] Set(“Local/10101@from-internal-f3aa;2”, “ITER=2”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-record-enable:14] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?begin”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-record-enable,s,8)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-record-enable:8] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?continue”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-record-enable,s,13)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-record-enable:13] Set(“Local/10101@from-internal-f3aa;2”, “ITER=3”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-record-enable:14] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?begin”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-record-enable,s,8)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-record-enable:8] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?continue”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-record-enable,s,13)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-record-enable:13] Set(“Local/10101@from-internal-f3aa;2”, “ITER=4”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-record-enable:14] GotoIf(“Local/10101@from-internal-f3aa;2”, “0?begin”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-record-enable:15] GotoIf(“Local/10101@from-internal-f3aa;2”, “0?IN”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-record-enable:16] ExecIf(“Local/10101@from-internal-f3aa;2”, “1?MacroExit()”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:15] GotoIf(“Local/10101@from-internal-f3aa;2”, “1 ?skipsimple”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (from-internal,10101,17)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:17] Set(“Local/10101@from-internal-f3aa;2”, “RingGroupMethod=hunt”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:18] Set(“Local/10101@from-internal-f3aa;2”, “_FMGRP=10101”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:19] GotoIf(“Local/10101@from-internal-f3aa;2”, “0?doconfirm”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [10101@from-internal:20] Macro(“Local/10101@from-internal-f3aa;2”, “dial,20,m(default)t,10101-380913056888#”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:1] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?dial”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-dial,s,3)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:3] AGI(“Local/10101@from-internal-f3aa;2”, “dialparties.agi”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] res_agi.c: – Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[2010-11-07 12:24:01] VERBOSE[10471] res_agi.c: dialparties.agi: Starting New Dialparties.agi
[2010-11-07 12:24:01] VERBOSE[10471] res_agi.c: dialparties.agi: Caller ID name is ‘0504638520’ number is ‘504638520’
[2010-11-07 12:24:01] VERBOSE[10471] res_agi.c: dialparties.agi: Methodology of ring is ‘hunt’
[2010-11-07 12:24:01] VERBOSE[10471] res_agi.c: – dialparties.agi: Added extension 10101 to extension map
[2010-11-07 12:24:01] VERBOSE[10471] res_agi.c: – dialparties.agi: Added extension 380913056888# to extension map
[2010-11-07 12:24:01] VERBOSE[10471] res_agi.c: – dialparties.agi: Extension 10101 cf is disabled
[2010-11-07 12:24:01] VERBOSE[10471] res_agi.c: – dialparties.agi: Extension 380913056888# cf is disabled
[2010-11-07 12:24:01] VERBOSE[10471] res_agi.c: – dialparties.agi: Extension 10101 do not disturb is disabled
[2010-11-07 12:24:01] VERBOSE[10471] res_agi.c: dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
[2010-11-07 12:24:01] VERBOSE[10471] res_agi.c: dialparties.agi: Extension 10101 has ExtensionState: 4
[2010-11-07 12:24:01] VERBOSE[10471] res_agi.c: – dialparties.agi: Checking CW and CFB status for extension 10101
[2010-11-07 12:24:01] VERBOSE[10471] res_agi.c: – dialparties.agi: Filtered ARG3: 10101-380913056888
[2010-11-07 12:24:01] VERBOSE[10471] res_agi.c: – <Local/10101@from-internal-f3aa;2>AGI Script dialparties.agi completed, returning 0
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:20] NoOp(“Local/10101@from-internal-f3aa;2”, "Returned from dialparties with hunt groups to dial ") in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:21] Set(“Local/10101@from-internal-f3aa;2”, “HuntLoop=0”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:22] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?a30”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-dial,s,26)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:26] Set(“Local/10101@from-internal-f3aa;2”, “HuntMember=HuntMember0”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:27] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?a32:a35”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-dial,s,28)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:28] Set(“Local/10101@from-internal-f3aa;2”, “CT_EXTEN=10101”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:29] Set(“Local/10101@from-internal-f3aa;2”, “DB(CALLTRACE/10101)=504638520”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:30] Goto(“Local/10101@from-internal-f3aa;2”, “s,a42”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-dial,s,38)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:38] Dial(“Local/10101@from-internal-f3aa;2”, “SIP/10101,20,m(default)tM(auto-blkvm)”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] netsock.c: == Using SIP RTP TOS bits 184
[2010-11-07 12:24:01] VERBOSE[10471] netsock.c: == Using SIP RTP CoS mark 5
[2010-11-07 12:24:01] VERBOSE[10471] netsock.c: == Using UDPTL TOS bits 184
[2010-11-07 12:24:01] VERBOSE[10471] netsock.c: == Using UDPTL CoS mark 5
[2010-11-07 12:24:01] WARNING[10471] app_dial.c: Unable to create channel of type ‘SIP’ (cause 20 - Unknown)
[2010-11-07 12:24:01] VERBOSE[10471] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:39] GotoIf(“Local/10101@from-internal-f3aa;2”, “0?ANSWER,1”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:40] Set(“Local/10101@from-internal-f3aa;2”, “HuntLoop=1”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:41] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?a46”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-dial,s,43)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:43] Set(“Local/10101@from-internal-f3aa;2”, “HuntMembers=1”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:44] Goto(“Local/10101@from-internal-f3aa;2”, “s,a22”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-dial,s,22)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:22] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?a30”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-dial,s,26)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:26] Set(“Local/10101@from-internal-f3aa;2”, “HuntMember=HuntMember1”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:27] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?a32:a35”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-dial,s,28)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:28] Set(“Local/10101@from-internal-f3aa;2”, “CT_EXTEN=380913056888”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:29] Set(“Local/10101@from-internal-f3aa;2”, “DB(CALLTRACE/380913056888)=504638520”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:30] Goto(“Local/10101@from-internal-f3aa;2”, “s,a42”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Goto (macro-dial,s,38)
[2010-11-07 12:24:01] VERBOSE[10471] pbx.c: – Executing [s@macro-dial:38] Dial(“Local/10101@from-internal-f3aa;2”, “Local/380913056888@from-internal/n,20,m(default)tM(auto-blkvm)”) in new stack
[2010-11-07 12:24:01] VERBOSE[10471] app_dial.c: – Called 380913056888@from-internal/n
[2010-11-07 12:24:01] VERBOSE[10471] res_musiconhold.c: – Started music on hold, class ‘default’, on Local/10101@from-internal-f3aa;2
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [380913056888@from-internal:1] Macro(“Local/380913056888@from-internal-ba55;2”, “user-callerid,SKIPTTL,”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-user-callerid:1] Set(“Local/380913056888@from-internal-ba55;2”, “AMPUSER=504638520”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-user-callerid:2] GotoIf(“Local/380913056888@from-internal-ba55;2”, “1?report”) in new stack
[2010-11-07 12:24:01] VERBOSE[10467] app_dial.c: – Local/10101@from-internal-f3aa;1 is making progress passing it to SIP/citynet-00000035
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Goto (macro-user-callerid,s,10)
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-user-callerid:10] GotoIf(“Local/380913056888@from-internal-ba55;2”, “1?continue”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Goto (macro-user-callerid,s,19)
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-user-callerid:19] NoOp(“Local/380913056888@from-internal-ba55;2”, “Using CallerID “0504638520” <504638520>”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [380913056888@from-internal:2] NoOp(“Local/380913056888@from-internal-ba55;2”, “Calling Out Route: 9_outside”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [380913056888@from-internal:3] Set(“Local/380913056888@from-internal-ba55;2”, “MOHCLASS=default”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [380913056888@from-internal:4] Set(“Local/380913056888@from-internal-ba55;2”, “_NODEST=”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [380913056888@from-internal:5] Macro(“Local/380913056888@from-internal-ba55;2”, “record-enable,504638520,OUT,”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-record-enable:1] GotoIf(“Local/380913056888@from-internal-ba55;2”, “1?check”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Goto (macro-record-enable,s,4)
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-record-enable:4] ExecIf(“Local/380913056888@from-internal-ba55;2”, “0?MacroExit()”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-record-enable:5] GotoIf(“Local/380913056888@from-internal-ba55;2”, “0?Group:OUT”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Goto (macro-record-enable,s,15)
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-record-enable:15] GotoIf(“Local/380913056888@from-internal-ba55;2”, “0?IN”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-record-enable:16] ExecIf(“Local/380913056888@from-internal-ba55;2”, “1?MacroExit()”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [380913056888@from-internal:6] Macro(“Local/380913056888@from-internal-ba55;2”, “dialout-trunk,4,380913056888,”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-dialout-trunk:1] Set(“Local/380913056888@from-internal-ba55;2”, “DIAL_TRUNK=4”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-dialout-trunk:2] GosubIf(“Local/380913056888@from-internal-ba55;2”, “0?sub-pincheck,s,1”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-dialout-trunk:3] GotoIf(“Local/380913056888@from-internal-ba55;2”, “0?disabletrunk,1”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-dialout-trunk:4] Set(“Local/380913056888@from-internal-ba55;2”, “DIAL_NUMBER=380913056888”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-dialout-trunk:5] Set(“Local/380913056888@from-internal-ba55;2”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-dialout-trunk:6] Set(“Local/380913056888@from-internal-ba55;2”, “OUTBOUND_GROUP=OUT_4”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-dialout-trunk:7] GotoIf(“Local/380913056888@from-internal-ba55;2”, “1?nomax”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Goto (macro-dialout-trunk,s,9)
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-dialout-trunk:9] GotoIf(“Local/380913056888@from-internal-ba55;2”, “0?skipoutcid”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-dialout-trunk:10] Set(“Local/380913056888@from-internal-ba55;2”, “DIAL_TRUNK_OPTIONS=”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-dialout-trunk:11] Macro(“Local/380913056888@from-internal-ba55;2”, “outbound-callerid,4”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-outbound-callerid:1] ExecIf(“Local/380913056888@from-internal-ba55;2”, “0?Set(CALLERPRES()=)”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-outbound-callerid:2] ExecIf(“Local/380913056888@from-internal-ba55;2”, “1?Set(REALCALLERIDNUM=504638520)”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-outbound-callerid:3] GotoIf(“Local/380913056888@from-internal-ba55;2”, “0?normcid”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-outbound-callerid:4] Set(“Local/380913056888@from-internal-ba55;2”, “USEROUTCID=504638520”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-outbound-callerid:5] GotoIf(“Local/380913056888@from-internal-ba55;2”, “1?bypass”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Goto (macro-outbound-callerid,s,7)
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-outbound-callerid:7] Set(“Local/380913056888@from-internal-ba55;2”, “EMERGENCYCID=”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-outbound-callerid:8] Set(“Local/380913056888@from-internal-ba55;2”, “TRUNKOUTCID=”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-outbound-callerid:9] GotoIf(“Local/380913056888@from-internal-ba55;2”, “1?trunkcid”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Goto (macro-outbound-callerid,s,12)
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-outbound-callerid:12] ExecIf(“Local/380913056888@from-internal-ba55;2”, “0?Set(CALLERID(all)=)”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-outbound-callerid:13] ExecIf(“Local/380913056888@from-internal-ba55;2”, “1?Set(CALLERID(all)=504638520)”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-outbound-callerid:14] ExecIf(“Local/380913056888@from-internal-ba55;2”, “0?Set(CALLERID(all)=)”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-outbound-callerid:15] ExecIf(“Local/380913056888@from-internal-ba55;2”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-dialout-trunk:12] GosubIf(“Local/380913056888@from-internal-ba55;2”, “0?sub-flp-4,s,1”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-dialout-trunk:13] Set(“Local/380913056888@from-internal-ba55;2”, “OUTNUM=380913056888”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-dialout-trunk:14] Set(“Local/380913056888@from-internal-ba55;2”, “custom=AMP”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-dialout-trunk:15] ExecIf(“Local/380913056888@from-internal-ba55;2”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-dialout-trunk:16] Macro(“Local/380913056888@from-internal-ba55;2”, “dialout-trunk-predial-hook,”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] GotoIf(“Local/380913056888@from-internal-ba55;2”, “1?custom-freepbx-a2billing,380913056888,1:2”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Goto (custom-freepbx-a2billing,380913056888,1)
[2010-11-07 12:24:01] VERBOSE[10473] app_macro.c: == Channel ‘Local/380913056888@from-internal-ba55;2’ jumping out of macro ‘dialout-trunk-predial-hook’
[2010-11-07 12:24:01] VERBOSE[10473] app_macro.c: == Channel ‘Local/380913056888@from-internal-ba55;2’ jumping out of macro ‘dialout-trunk’
[2010-11-07 12:24:01] VERBOSE[10473] pbx.c: – Executing [380913056888@custom-freepbx-a2billing:1] AGI(“Local/380913056888@from-internal-ba55;2”, “a2billing.php,8”) in new stack
[2010-11-07 12:24:01] VERBOSE[10473] res_agi.c: – Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
[2010-11-07 12:24:01] VERBOSE[10473] file.c: – <Local/380913056888@from-internal-ba55;2> Playing ‘prepaid-enter-pin-number.gsm’ (language ‘ru’)
[2010-11-07 12:24:05] VERBOSE[10471] res_musiconhold.c: – Stopped music on hold on Local/10101@from-internal-f3aa;2
[2010-11-07 12:24:05] VERBOSE[10471] app_macro.c: == Spawn extension (macro-dial, s, 38) exited non-zero on ‘Local/10101@from-internal-f3aa;2’ in macro ‘dial’
[2010-11-07 12:24:05] VERBOSE[10471] pbx.c: == Spawn extension (from-internal, 10101, 20) exited non-zero on ‘Local/10101@from-internal-f3aa;2’
[2010-11-07 12:24:05] VERBOSE[10471] pbx.c: – Executing [h@from-internal:1] Macro(“Local/10101@from-internal-f3aa;2”, “hangupcall”) in new stack
[2010-11-07 12:24:05] VERBOSE[10471] pbx.c: – Executing [s@macro-hangupcall:1] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?skiprg”) in new stack
[2010-11-07 12:24:05] VERBOSE[10471] pbx.c: – Goto (macro-hangupcall,s,4)
[2010-11-07 12:24:05] VERBOSE[10471] pbx.c: – Executing [s@macro-hangupcall:4] GotoIf(“Local/10101@from-internal-f3aa;2”, “0?skipblkvm”) in new stack
[2010-11-07 12:24:05] VERBOSE[10471] pbx.c: – Executing [s@macro-hangupcall:5] NoOp(“Local/10101@from-internal-f3aa;2”, “Cleaning Up Block VM Flag: BLKVM/10101/Local/10101@from-internal-f3aa;2”) in new stack
[2010-11-07 12:24:05] VERBOSE[10467] res_agi.c: – <SIP/citynet-00000035>AGI Script a2billing.php completed, returning -1
[2010-11-07 12:24:05] VERBOSE[10471] pbx.c: – Executing [s@macro-hangupcall:6] NoOp(“Local/10101@from-internal-f3aa;2”, “Deleting: BLKVM/10101/Local/10101@from-internal-f3aa;2 TRUE”) in new stack
[2010-11-07 12:24:05] VERBOSE[10471] pbx.c: – Executing [s@macro-hangupcall:7] GotoIf(“Local/10101@from-internal-f3aa;2”, “1?theend”) in new stack
[2010-11-07 12:24:05] VERBOSE[10471] pbx.c: – Goto (macro-hangupcall,s,9)
[2010-11-07 12:24:05] VERBOSE[10471] pbx.c: – Executing [s@macro-hangupcall:9] Hangup(“Local/10101@from-internal-f3aa;2”, “”) in new stack
[2010-11-07 12:24:05] VERBOSE[10471] app_macro.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘Local/10101@from-internal-f3aa;2’ in macro ‘hangupcall’
[2010-11-07 12:24:05] VERBOSE[10471] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘Local/10101@from-internal-f3aa;2’
[2010-11-07 12:24:05] VERBOSE[10473] res_agi.c: – <Local/380913056888@from-internal-ba55;2>AGI Script a2billing.php completed, returning -1