Connected to Asterisk 1.4.26.1 currently running on pbx (pid = 3356)
Verbosity is at least 3
-- Executing [89262292490@from-internal:1] Macro("SIP/105-b63366e8", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/105-b63366e8", "AMPUSER=105") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/105-b63366e8", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/105-b63366e8", "1|Set|REALCALLERIDNUM=105") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/105-b63366e8", "AMPUSER=105") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/105-b63366e8", "AMPUSERCIDNAME=Dyadenko") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/105-b63366e8", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/105-b63366e8", "AMPUSERCID=105") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/105-b63366e8", "CALLERID(all)="Dyadenko" <105>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/105-b63366e8", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/105-b63366e8", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/105-b63366e8", "Using CallerID "Dyadenko" <105>") in new stack
-- Executing [89262292490@from-internal:2] Set("SIP/105-b63366e8", "_NODEST=") in new stack
-- Executing [89262292490@from-internal:3] Macro("SIP/105-b63366e8", "record-enable|105|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/105-b63366e8", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/105-b63366e8", "recordingcheck|20100512-131553|1273655753.7872") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20100512-131553|1273655753.7872: Outbound recording enabled.
recordingcheck|20100512-131553|1273655753.7872: CALLFILENAME=OUT105-20100512-131553-1273655753.7872
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:999] MixMonitor("SIP/105-b63366e8", "OUT105-20100512-131553-1273655753.7872.wav||") in new stack
-- Executing [89262292490@from-internal:4] Macro("SIP/105-b63366e8", "dialout-trunk|3|89262292490||") in new stack
== Begin MixMonitor Recording SIP/105-b63366e8
-- Executing [s@macro-dialout-trunk:1] Set("SIP/105-b63366e8", "DIAL_TRUNK=3") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/105-b63366e8", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/105-b63366e8", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/105-b63366e8", "DIAL_NUMBER=89262292490") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/105-b63366e8", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/105-b63366e8", "OUTBOUND_GROUP=OUT_3") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/105-b63366e8", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/105-b63366e8", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/105-b63366e8", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/105-b63366e8", "outbound-callerid|3") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/105-b63366e8", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/105-b63366e8", "0|Set|REALCALLERIDNUM=105") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/105-b63366e8", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/105-b63366e8", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/105-b63366e8", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/105-b63366e8", "TRUNKOUTCID=84995021004") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/105-b63366e8", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/105-b63366e8", "1|Set|CALLERID(all)=84995021004") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/105-b63366e8", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/105-b63366e8", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/105-b63366e8", "1|AGI|fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/105-b63366e8", "OUTNUM=89262292490") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/105-b63366e8", "custom=SIP/CNT-5021004") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/105-b63366e8", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)Tt") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/105-b63366e8", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/105-b63366e8", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/105-b63366e8", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/105-b63366e8", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/105-b63366e8", "SIP/CNT-5021004/89262292490|300|Tt") in new stack
-- Called CNT-5021004/89262292490
-- SIP/CNT-5021004-b6337d10 is ringing
-- SIP/CNT-5021004-b6337d10 is making progress passing it to SIP/105-b63366e8
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/105-b63366e8' in macro 'dialout-trunk'
== Spawn extension (from-internal, 89262292490, 4) exited non-zero on 'SIP/105-b63366e8'
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/105-b63366e8", "hangupcall|") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/105-b63366e8", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/105-b63366e8", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/105-b63366e8", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/105-b63366e8", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/105-b63366e8' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/105-b63366e8'
== MixMonitor close filestream
== End MixMonitor Recording SIP/105-b63366e8
Вот если ставить фо ломи то можно тока на внутренний номера делать пере адресацию а вот как на сотовый не понимаю !