Проблема с E1 на TE420b + DAHDI, порты подняты, вызовы не идут.
Люди добрые, помогите пожалуйста восстановить былой в работе Астериск, т.к. уже год им не занимался
Схема ледующая:
Астериск (DAHDI+TE420) >--E1:SPAN 3--< (PRI30) Panasonic TDE600
Физика на потоке поднялась.
ISDN L2 с стороны астеры: HDB3/CSS/NO-CRC4/QSIG_SLAVE
ISDN L2 с стороны Panasonic: HDB3/CSS/NO-CRC4/QSIG_MASTER
Проблема в том, что звонки не уходят из астеры в панасоник.
Файл /etc/dahdi/system.conf
| Code: |
| # Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (SLAVE) HDB3/CCS span=1,1,0,ccs,hdb3 # termtype: te bchan=1-15,17-31 dchan=16 echocanceller=mg2,1-15,17-31 # Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" HDB3/CCS span=2,2,0,ccs,hdb3 # termtype: te bchan=32-46,48-62 dchan=47 echocanceller=mg2,32-46,48-62 # Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3" HDB3/CCS/CRC4 span=3,3,0,ccs,hdb3 # termtype: te bchan=63-77,79-93 dchan=78 echocanceller=mg2,63-77,79-93 # Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" HDB3/CCS/CRC4 span=4,4,0,ccs,hdb3,crc4 # termtype: te bchan=94-108,110-124 dchan=109 echocanceller=mg2,94-108,110-124 # Global data loadzone = ru defaultzone = ru |
Файл /etc/asterisk/dahdi-channels.conf
| Code: |
| ; Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) EDSS1/HDB3/CCS/NO-CRC4 Descr=To-PSTN group=0,11 group=1 context=from-internal context=from-pstn switchtype = euroisdn ;signalling = pri_cpe signalling = pri_net channel => 1-15,17-31 ;context = default ;group=1 ; Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" HDB3/CCS RED QSIG-SLAVE group=0,12 context=from-internal ; switchtype = euroisdn switchtype = qsig signalling = pri_cpe channel => 32-46,48-62 ;context = default ;group=2 ; Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3" HDB3/CCS RED QSIG-SLAVE Desct=Panasonic TDE600 group=0,13 context=from-internal ; switchtype = euroisdn switchtype = qsig signalling = pri_cpe channel => 63-77,79-93 ;context = default ;group=3 ; Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" HDB3/CCS/CRC4 RED group=0,14 context=from-pstn switchtype = euroisdn signalling = pri_cpe channel => 94-108,110-124 context = default ;group=4 |
Файл /etc/asterisk/chan_dahdi.conf
| Code: |
| [channels] ;# ISDN PRI 1/0/1 CONNECTED TO PSTN (INTELECA) via EDSS1 group=0,11 ;group=1 context=from-pstn switchtype=euroisdn ;signalling=pri_cpe signalling=pri_net callerid=asreceived usecallerid=yes hidecallerid=no ;# callwaiting=yes overlapdial=no pridialplan=subscriber prilocaldialplan=subscriber usecallingpres=yes ;# callwaitingcallerid=yes rxgain=0.0 txgain=0.0 threewaycalling=no ;# facilityenable = yes transfer=yes callreturn=no cancallforward=yes canpark=no echocancel=yes echocancelwhenbridged=yes faxdetect=both faxbuffers=>8,full channel => 1-15,17-31 ;# ISDN PRI 1/0/2 CONNECTED TO PANASONIC KX-TD500 via QSIG group=0,12 ;group=2 context=from-internal switchtype=qsig signalling=pri_cpe callerid=asreceived usecallerid=yes hidecallerid=no callwaiting=yes overlapdial=yes pridialplan=private prilocaldialplan=private usecallingpres=yes callwaitingcallerid=yes rxgain=0.0 txgain=0.0 threewaycalling=yes facilityenable = yes transfer=yes callreturn=yes cancallforward=yes canpark=yes echocancel=yes echocancelwhenbridged=yes faxdetect=both faxbuffers=>8,full channel => 32-46,48-62 ;# ISDN PRI 1/0/3 CONNECTED TO PANASONIC KX-TDE600 via QSIG group=0,13 ;group=3 context=from-internal switchtype=qsig signalling=pri_cpe callerid=asreceived usecallerid=yes hidecallerid=no callwaiting=yes overlapdial=yes pridialplan=private prilocaldialplan=private usecallingpres=yes callwaitingcallerid=yes rxgain=0.0 txgain=0.0 threewaycalling=yes facilityenable=yes transfer=yes callreturn=yes cancallforward=yes canpark=yes echocancel=yes echocancelwhenbridged=yes faxdetect=both faxbuffers=>8,full channel => 63-77,79-93 |
Статистика и Трейсы:
Порт подключен:
| Code: |
| sip-server*CLI> dahdi show status Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO T4XXP (PCI) Card 0 Span 1 RED 0 0 0 CCS HDB3 0 db (CSU)/0-133 feet (DSX-1) T4XXP (PCI) Card 0 Span 2 RED 0 0 0 CCS HDB3 0 db (CSU)/0-133 feet (DSX-1) T4XXP (PCI) Card 0 Span 3 OK 0 0 0 CCS HDB3 0 db (CSU)/0-133 feet (DSX-1) T4XXP (PCI) Card 0 Span 4 RED 0 0 0 CCS HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1) |
Трейс звонка, судя по всему валит его вообще не туда, т.к. на Panasonic ничего не прилетает:
| Code: |
| > Saved useragent "eyeBeam release 3004t stamp 16741" for peer 699 == Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 -- Executing [655@from-internal:1] Macro("SIP/699-00000002", "user-callerid,SKIPTTL,") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/699-00000002", "AMPUSER=699") in new stack -- Executing [s@macro-user-callerid:2] GotoIf("SIP/699-00000002", "0?report") in new stack -- Executing [s@macro-user-callerid:3] ExecIf("SIP/699-00000002", "1?Set(REALCALLERIDNUM=699)") in new stack -- Executing [s@macro-user-callerid:4] Set("SIP/699-00000002", "AMPUSER=699") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/699-00000002", "AMPUSERCIDNAME=") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/699-00000002", "1?report") in new stack -- Goto (macro-user-callerid,s,10) -- Executing [s@macro-user-callerid:10] GotoIf("SIP/699-00000002", "1?continue") in new stack -- Goto (macro-user-callerid,s,19) -- Executing [s@macro-user-callerid:19] NoOp("SIP/699-00000002", "Using CallerID "device" ") in new stack -- Executing [655@from-internal:2] Set("SIP/699-00000002", "_NODEST=") in new stack -- Executing [655@from-internal:3] Macro("SIP/699-00000002", "record-enable,699,OUT,") in new stack -- Executing [s@macro-record-enable:1] GotoIf("SIP/699-00000002", "1?check") in new stack -- Goto (macro-record-enable,s,4) -- Executing [s@macro-record-enable:4] AGI("SIP/699-00000002", "recordingcheck,20110817-123628,1313559388.2") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck -- AGI Script recordingcheck completed, returning 0 -- Executing [s@macro-record-enable:5] MacroExit("SIP/699-00000002", "") in new stack -- Executing [655@from-internal:4] Macro("SIP/699-00000002", "dialout-trunk,3,655,,") in new stack -- Executing [s@macro-dialout-trunk:1] Set("SIP/699-00000002", "DIAL_TRUNK=3") in new stack -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/699-00000002", "0?sub-pincheck,s,1") in new stack -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/699-00000002", "0?disabletrunk,1") in new stack -- Executing [s@macro-dialout-trunk:4] Set("SIP/699-00000002", "DIAL_NUMBER=655") in new stack -- Executing [s@macro-dialout-trunk:5] Set("SIP/699-00000002", "DIAL_TRUNK_OPTIONS=tr") in new stack -- Executing [s@macro-dialout-trunk:6] Set("SIP/699-00000002", "OUTBOUND_GROUP=OUT_3") in new stack -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/699-00000002", "1?nomax") in new stack -- Goto (macro-dialout-trunk,s,9) -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/699-00000002", "0?skipoutcid") in new stack -- Executing [s@macro-dialout-trunk:10] Set("SIP/699-00000002", "DIAL_TRUNK_OPTIONS=") in new stack -- Executing [s@macro-dialout-trunk:11] Macro("SIP/699-00000002", "outbound-callerid,3") in new stack -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/699-00000002", "0?Set(CALLERPRES()=)") in new stack -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/699-00000002", "0?Set(REALCALLERIDNUM=699)") in new stack -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/699-00000002", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,6) -- Executing [s@macro-outbound-callerid:6] Set("SIP/699-00000002", "USEROUTCID=") in new stack -- Executing [s@macro-outbound-callerid:7] Set("SIP/699-00000002", "EMERGENCYCID=") in new stack -- Executing [s@macro-outbound-callerid:8] Set("SIP/699-00000002", "TRUNKOUTCID=") in new stack -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/699-00000002", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,12) -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/699-00000002", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/699-00000002", "1?exit") in new stack -- Goto (macro-outbound-callerid,s,11) -- Executing [s@macro-outbound-callerid:11] MacroExit("SIP/699-00000002", "") in new stack -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/699-00000002", "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/699-00000002", "OUTNUM=655") in new stack -- Executing [s@macro-dialout-trunk:14] Set("SIP/699-00000002", "custom=ZAP/g3") in new stack -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/699-00000002", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack -- Executing [s@macro-dialout-trunk:16] Macro("SIP/699-00000002", "dialout-trunk-predial-hook,") in new stack -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/699-00000002", "") in new stack -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/699-00000002", "0?bypass,1") in new stack -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/699-00000002", "0?customtrunk") in new stack -- Executing [s@macro-dialout-trunk:19] Dial("SIP/699-00000002", "ZAP/g3/655,300,") in new stack == Everyone is busy/congested at this time (1:0/0/1) -- Executing [s@macro-dialout-trunk:20] Goto("SIP/699-00000002", "s-CHANUNAVAIL,1") in new stack -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1) -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/699-00000002", "1?noreport") in new stack -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3) -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/699-00000002", "TRUNK Dial failed due to CHANUNAVAIL (hangupcause: 66) - failing through to other trunks") in new stack -- Executing [655@from-internal:5] Macro("SIP/699-00000002", "outisbusy,") in new stack -- Executing [s@macro-outisbusy:1] Playback("SIP/699-00000002", "all-circuits-busy-now,noanswer") in new stack -- Executing [s@macro-outisbusy:2] Playback("SIP/699-00000002", "pls-try-call-later,noanswer") in new stack -- Executing [s@macro-outisbusy:3] Macro("SIP/699-00000002", "hangupcall") in new stack -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/699-00000002", "w") in new stack -- Executing [s@macro-hangupcall:2] NoCDR("SIP/699-00000002", "") in new stack -- Executing [s@macro-hangupcall:3] GotoIf("SIP/699-00000002", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,6) -- Executing [s@macro-hangupcall:6] GotoIf("SIP/699-00000002", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] GotoIf("SIP/699-00000002", "1?theend") in new stack -- Goto (macro-hangupcall,s,11) -- Executing [s@macro-hangupcall:11] Hangup("SIP/699-00000002", "") in new stack == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/699-00000002' in macro 'hangupcall' == Spawn extension (macro-outisbusy, s, 3) exited non-zero on 'SIP/699-00000002' in macro 'outisbusy' == Spawn extension (from-internal, 655, 5) exited non-zero on 'SIP/699-00000002' -- Executing [h@from-internal:1] Macro("SIP/699-00000002", "hangupcall") in new stack -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/699-00000002", "w") in new stack -- Executing [s@macro-hangupcall:2] NoCDR("SIP/699-00000002", "") in new stack -- Executing [s@macro-hangupcall:3] GotoIf("SIP/699-00000002", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,6) -- Executing [s@macro-hangupcall:6] GotoIf("SIP/699-00000002", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] GotoIf("SIP/699-00000002", "1?theend") in new stack -- Goto (macro-hangupcall,s,11) -- Executing [s@macro-hangupcall:11] Hangup("SIP/699-00000002", "") in new stack == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/699-00000002' in macro 'hangupcall' == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/699-00000002' |
Как веб-морда прикручен FreePBX, в нем сделаны ZAP-транки g11, g12, g13 Нужный к Panasonic TDE600 - g13, cоответственно Span 3:TE4/0/3.
Номерной план на астере- 69X, на Panasonic - 6[1-8]X.
Очень смушает строчка в трейсе: Everyone is busy/congested at this time (1:0/0/1)
Получаеться он валит звонок в порт 1 ? Что за ерунда, и почему он так решил?
Помогите плиз, Где копать? т.к. уже 3-й день пляшу с бубном!
у вас dahdi
| zlat wrote: |
| Dial("SIP/699-00000002", "ZAP/g3/655,300,") - ничего странного не видите? у вас dahdi |
Я так понял что ZAP он подписывает т.к. через FreePBX сделан ZAP транк, а как перенастроить на использование DAHDI ?
| zlat wrote: |
| если добавляли через фрипбх - попробуйте ее обновить до версии 2.7 хотя бы, у меня на этой версии при заведении zap-транка (в режиме совместимости с dahdi) автоматом прописывается dahdi |
Попробую сегодня, а не покажите трейс звонка с DAHDI ? Или лучше, саму функцию звонка в транк?
-- Executing [09@from-internal:1] Macro("SIP/203-00015eb3", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/203-00015eb3", "AMPUSER=203") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/203-00015eb3", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/203-00015eb3", "1|Set|REALCALLERIDNUM=203") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/203-00015eb3", "AMPUSER=203") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/203-00015eb3", "AMPUSERCIDNAME=203") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/203-00015eb3", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/203-00015eb3", "AMPUSERCID=203") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/203-00015eb3", "CALLERID(all)="203" ") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/203-00015eb3", "1|Set|CHANNEL(language)=ru") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/203-00015eb3", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/203-00015eb3", "CALLERID(number)=203") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/203-00015eb3", "CALLERID(name)=203") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/203-00015eb3", "Using CallerID "203" ") in new stack
-- Executing [09@from-internal:2] Set("SIP/203-00015eb3", "_NODEST=") in new stack
-- Executing [09@from-internal:3] Macro("SIP/203-00015eb3", "record-enable|203|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/203-00015eb3", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/203-00015eb3", "0|MacroExit|") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/203-00015eb3", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/203-00015eb3", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/203-00015eb3", "0|MacroExit|") in new stack
-- Executing [s@macro-record-enable:17] NoOp("SIP/203-00015eb3", "Recording enable for 203") in new stack
-- Executing [s@macro-record-enable:18] Set("SIP/203-00015eb3", "CALLFILENAME=OUT203-20110817-131610-1313572570.361019") in new stack
-- Executing [s@macro-record-enable:19] Goto("SIP/203-00015eb3", "record") in new stack
-- Goto (macro-record-enable,s,23)
-- Executing [s@macro-record-enable:23] MixMonitor("SIP/203-00015eb3", "OUT203-20110817-131610-1313572570.361019.wav||") in new stack
-- Executing [s@macro-record-enable:24] MacroExit("SIP/203-00015eb3", "") in new stack
-- Executing [09@from-internal:4] Macro("SIP/203-00015eb3", "dialout-trunk|5|09||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/203-00015eb3", "DIAL_TRUNK=5") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/203-00015eb3", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/203-00015eb3", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/203-00015eb3", "DIAL_NUMBER=09") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/203-00015eb3", "DIAL_TRUNK_OPTIONS=Ttrw") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/203-00015eb3", "OUTBOUND_GROUP=OUT_5") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/203-00015eb3", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/203-00015eb3", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/203-00015eb3", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/203-00015eb3", "outbound-callerid|5") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/203-00015eb3", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/203-00015eb3", "0|Set|REALCALLERIDNUM=203") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/203-00015eb3", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/203-00015eb3", "USEROUTCID= ") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/203-00015eb3", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/203-00015eb3", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/203-00015eb3", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/203-00015eb3", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/203-00015eb3", "1|Set|CALLERID(all)= ") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/203-00015eb3", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/203-00015eb3", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/203-00015eb3", "1|AGI|fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
== Begin MixMonitor Recording SIP/203-00015eb3
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/203-00015eb3", "OUTNUM=09") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/203-00015eb3", "custom=DAHDI/g1") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/203-00015eb3", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)Tt") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/203-00015eb3", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/203-00015eb3", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/203-00015eb3", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/203-00015eb3", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/203-00015eb3", "DAHDI/g1/09|300|Tt") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/09
-- DAHDI/1-1 is proceeding passing it to SIP/203-00015eb3
-- DAHDI/1-1 answered SIP/203-00015eb3
-- Executing [s@macro-user-callerid:1] Set("SIP/203-00015eb3", "AMPUSER=203") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/203-00015eb3", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/203-00015eb3", "1|Set|REALCALLERIDNUM=203") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/203-00015eb3", "AMPUSER=203") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/203-00015eb3", "AMPUSERCIDNAME=203") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/203-00015eb3", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/203-00015eb3", "AMPUSERCID=203") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/203-00015eb3", "CALLERID(all)="203" ") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/203-00015eb3", "1|Set|CHANNEL(language)=ru") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/203-00015eb3", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/203-00015eb3", "CALLERID(number)=203") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/203-00015eb3", "CALLERID(name)=203") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/203-00015eb3", "Using CallerID "203" ") in new stack
-- Executing [09@from-internal:2] Set("SIP/203-00015eb3", "_NODEST=") in new stack
-- Executing [09@from-internal:3] Macro("SIP/203-00015eb3", "record-enable|203|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/203-00015eb3", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/203-00015eb3", "0|MacroExit|") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/203-00015eb3", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/203-00015eb3", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/203-00015eb3", "0|MacroExit|") in new stack
-- Executing [s@macro-record-enable:17] NoOp("SIP/203-00015eb3", "Recording enable for 203") in new stack
-- Executing [s@macro-record-enable:18] Set("SIP/203-00015eb3", "CALLFILENAME=OUT203-20110817-131610-1313572570.361019") in new stack
-- Executing [s@macro-record-enable:19] Goto("SIP/203-00015eb3", "record") in new stack
-- Goto (macro-record-enable,s,23)
-- Executing [s@macro-record-enable:23] MixMonitor("SIP/203-00015eb3", "OUT203-20110817-131610-1313572570.361019.wav||") in new stack
-- Executing [s@macro-record-enable:24] MacroExit("SIP/203-00015eb3", "") in new stack
-- Executing [09@from-internal:4] Macro("SIP/203-00015eb3", "dialout-trunk|5|09||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/203-00015eb3", "DIAL_TRUNK=5") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/203-00015eb3", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/203-00015eb3", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/203-00015eb3", "DIAL_NUMBER=09") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/203-00015eb3", "DIAL_TRUNK_OPTIONS=Ttrw") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/203-00015eb3", "OUTBOUND_GROUP=OUT_5") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/203-00015eb3", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/203-00015eb3", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/203-00015eb3", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/203-00015eb3", "outbound-callerid|5") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/203-00015eb3", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/203-00015eb3", "0|Set|REALCALLERIDNUM=203") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/203-00015eb3", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/203-00015eb3", "USEROUTCID= ") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/203-00015eb3", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/203-00015eb3", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/203-00015eb3", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/203-00015eb3", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/203-00015eb3", "1|Set|CALLERID(all)= ") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/203-00015eb3", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/203-00015eb3", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/203-00015eb3", "1|AGI|fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
== Begin MixMonitor Recording SIP/203-00015eb3
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/203-00015eb3", "OUTNUM=09") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/203-00015eb3", "custom=DAHDI/g1") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/203-00015eb3", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)Tt") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/203-00015eb3", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/203-00015eb3", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/203-00015eb3", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/203-00015eb3", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/203-00015eb3", "DAHDI/g1/09|300|Tt") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/09
-- DAHDI/1-1 is proceeding passing it to SIP/203-00015eb3
-- DAHDI/1-1 answered SIP/203-00015eb3