هر کاری می کنم تماس برقرار نمیشه نه داخلی به خارج و نه از خارج به داخل سیستم...!!!
کانتکس را هم گذاشتم from-analog بازم نشد این لاگ استریسک هست
== Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_ rdnis,cid_dnid,exten,context,channame,appname,appd ata,amaflags,accountcode,uniqueid,linkedid,peer,us erdeftype,userfield) VALUES ('CHAN_START',{ts '2015-02-01 0731'},'1000','1000','','','','9118','from-internal','SIP/1000-0000007f','','',3,'','1422762871.127','1422762871. 127','','','')] -- Executing [9118@from-internal:1] Macro("SIP/1000-0000007f", "user-callerid,LIMIT,EXTERNAL,") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/1000-0000007f", "TOUCH_MONITOR=1422762871.127") in new stack -- Executing [s@macro-user-callerid:2] Set("SIP/1000-0000007f", "AMPUSER=1000") in new stack -- Executing [s@macro-user-callerid:3] GotoIf("SIP/1000-0000007f", "0?report") in new stack -- Executing [s@macro-user-callerid:4] ExecIf("SIP/1000-0000007f", "1?Set(REALCALLERIDNUM=1000)") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/1000-0000007f", "AMPUSER=1000") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1000-0000007f", "0?limit") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/1000-0000007f", "AMPUSERCIDNAME=1000") in new stack -- Executing [s@macro-user-callerid:8] GotoIf("SIP/1000-0000007f", "0?report") in new stack -- Executing [s@macro-user-callerid:9] Set("SIP/1000-0000007f", "AMPUSERCID=1000") in new stack -- Executing [s@macro-user-callerid:10] Set("SIP/1000-0000007f", "__DIAL_OPTIONS=Ttr") in new stack -- Executing [s@macro-user-callerid:11] Set("SIP/1000-0000007f", "CALLERID(all)="1000" <1000>") in new stack -- Executing [s@macro-user-callerid:12] GotoIf("SIP/1000-0000007f", "0?limit") in new stack -- Executing [s@macro-user-callerid:13] ExecIf("SIP/1000-0000007f", "1?Set(GROUP(concurrency_limit)=1000)") in new stack -- Executing [s@macro-user-callerid:14] GosubIf("SIP/1000-0000007f", "7?sub-ccss,s,1(from-internal,9118)") in new stack -- Executing [s@sub-ccss:1] ExecIf("SIP/1000-0000007f", "0?Return()") in new stack -- Executing [s@sub-ccss:2] Set("SIP/1000-0000007f", "CCSS_SETUP=TRUE") in new stack -- Executing [s@sub-ccss:3] GosubIf("SIP/1000-0000007f", "0?monitor_config,1(from-internal,9118):monitor_default,1(from-internal,9118)") in new stack -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/1000-0000007f", "0?is_exten") in new stack -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/1000-0000007f", "") in new stack -- Executing [monitor_default@sub-ccss:3] Return("SIP/1000-0000007f", "FALSE") in new stack -- Executing [s@macro-user-callerid:15] ExecIf("SIP/1000-0000007f", "0?Set(CHANNEL(language)=)") in new stack -- Executing [s@macro-user-callerid:16] GotoIf("SIP/1000-0000007f", "1?continue") in new stack -- Goto (macro-user-callerid,s,30) -- Executing [s@macro-user-callerid:30] Set("SIP/1000-0000007f", "CALLERID(number)=1000") in new stack -- Executing [s@macro-user-callerid:31] Set("SIP/1000-0000007f", "CALLERID(name)=1000") in new stack -- Executing [s@macro-user-callerid:32] Set("SIP/1000-0000007f", "CDR(cnum)=1000") in new stack -- Executing [s@macro-user-callerid:33] Set("SIP/1000-0000007f", "CDR(cnam)=1000") in new stack -- Executing [s@macro-user-callerid:34] Set("SIP/1000-0000007f", "CHANNEL(language)=en") in new stack -- Executing [9118@from-internal:2] Gosub("SIP/1000-0000007f", "sub-record-check,s,1(out,9118,dontcare)") in new stack -- Executing [s@sub-record-check:1] GotoIf("SIP/1000-0000007f", "0?initialized") in new stack -- Executing [s@sub-record-check:2] Set("SIP/1000-0000007f", "__REC_STATUS=INITIALIZED") in new stack -- Executing [s@sub-record-check:3] Set("SIP/1000-0000007f", "NOW=1422762871") in new stack -- Executing [s@sub-record-check:4] Set("SIP/1000-0000007f", "__DAY=01") in new stack -- Executing [s@sub-record-check:5] Set("SIP/1000-0000007f", "__MONTH=02") in new stack -- Executing [s@sub-record-check:6] Set("SIP/1000-0000007f", "__YEAR=2015") in new stack -- Executing [s@sub-record-check:7] Set("SIP/1000-0000007f", "__TIMESTR=20150201-072431") in new stack -- Executing [s@sub-record-check:8] Set("SIP/1000-0000007f", "__FROMEXTEN=1000") in new stack -- Executing [s@sub-record-check:9] Set("SIP/1000-0000007f", "__MON_FMT=wav") in new stack -- Executing [s@sub-record-check:10] NoOp("SIP/1000-0000007f", "Recordings initialized") in new stack -- Executing [s@sub-record-check:11] ExecIf("SIP/1000-0000007f", "0?Set(ARG3=dontcare)") in new stack -- Executing [s@sub-record-check:12] Set("SIP/1000-0000007f", "REC_POLICY_MODE_SAVE=") in new stack -- Executing [s@sub-record-check:13] GotoIf("SIP/1000-0000007f", "3?checkaction") in new stack -- Goto (sub-record-check,s,16) -- Executing [s@sub-record-check:16] GotoIf("SIP/1000-0000007f", "1?sub-record-check,out,1") in new stack -- Goto (sub-record-check,out,1) -- Executing [out@sub-record-check:1] NoOp("SIP/1000-0000007f", "Outbound Recording Check from 1000 to 9118") in new stack -- Executing [out@sub-record-check:2] Set("SIP/1000-0000007f", "RECMODE=dontcare") in new stack -- Executing [out@sub-record-check:3] ExecIf("SIP/1000-0000007f", "1?Goto(routewins)") in new stack -- Goto (sub-record-check,out,7) -- Executing [out@sub-record-check:7] Gosub("SIP/1000-0000007f", "recordcheck,1(dontcare,out,9118)") in new stack -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/1000-0000007f", "Starting recording check against dontcare") in new stack -- Executing [recordcheck@sub-record-check:2] Goto("SIP/1000-0000007f", "dontcare") in new stack -- Goto (sub-record-check,recordcheck,3) -- Executing [recordcheck@sub-record-check:3] Return("SIP/1000-0000007f", "") in new stack -- Executing [out@sub-record-check:8] Return("SIP/1000-0000007f", "") in new stack -- Executing [9118@from-internal:3] ExecIf("SIP/1000-0000007f", "0 ?Set(CDR(accountcode)=)") in new stack -- Executing [9118@from-internal:4] Set("SIP/1000-0000007f", "MOHCLASS=default") in new stack -- Executing [9118@from-internal:5] Set("SIP/1000-0000007f", "_NODEST=") in new stack -- Executing [9118@from-internal:6] Macro("SIP/1000-0000007f", "dialout-trunk,1,118,,off") in new stack -- Executing [s@macro-dialout-trunk:1] Set("SIP/1000-0000007f", "DIAL_TRUNK=1") in new stack -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1000-0000007f", "0?sub-pincheck,s,1()") in new stack -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1000-0000007f", "0?disabletrunk,1") in new stack -- Executing [s@macro-dialout-trunk:4] Set("SIP/1000-0000007f", "DIAL_NUMBER=118") in new stack -- Executing [s@macro-dialout-trunk:5] Set("SIP/1000-0000007f", "DIAL_TRUNK_OPTIONS=Ttr") in new stack -- Executing [s@macro-dialout-trunk:6] Set("SIP/1000-0000007f", "OUTBOUND_GROUP=OUT_1") in new stack -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1000-0000007f", "1?nomax") in new stack -- Goto (macro-dialout-trunk,s,9) -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1000-0000007f", "0?skipoutcid") in new stack -- Executing [s@macro-dialout-trunk:10] Set("SIP/1000-0000007f", "DIAL_TRUNK_OPTIONS=Tt") in new stack -- Executing [s@macro-dialout-trunk:11] Macro("SIP/1000-0000007f", "outbound-callerid,1") in new stack -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1000-0000007f", "0?Set(CALLERPRES()=)") in new stack -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1000-0000007f", "0?Set(REALCALLERIDNUM=1000)") in new stack -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1000-0000007f", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,6) -- Executing [s@macro-outbound-callerid:6] Set("SIP/1000-0000007f", "USEROUTCID=") in new stack -- Executing [s@macro-outbound-callerid:7] Set("SIP/1000-0000007f", "EMERGENCYCID=") in new stack -- Executing [s@macro-outbound-callerid:8] Set("SIP/1000-0000007f", "TRUNKOUTCID=") in new stack -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1000-0000007f", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,14) -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1000-0000007f", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/1000-0000007f", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/1000-0000007f", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/1000-0000007f", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack -- Executing [s@macro-outbound-callerid:18] Set("SIP/1000-0000007f", "CDR(outbound_cnum)=1000") in new stack -- Executing [s@macro-outbound-callerid:19] Set("SIP/1000-0000007f", "CDR(outbound_cnam)=1000") in new stack -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/1000-0000007f", "0?sub-flp-1,s,1()") in new stack -- Executing [s@macro-dialout-trunk:13] Set("SIP/1000-0000007f", "OUTNUM=118") in new stack -- Executing [s@macro-dialout-trunk:14] Set("SIP/1000-0000007f", "custom=DAHDI/G0") in new stack -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1000-0000007f", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T t)") in new stack -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/1000-0000007f", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack -- Executing [s@macro-dialout-trunk:17] Macro("SIP/1000-0000007f", "dialout-trunk-predial-hook,") in new stack -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1000-0000007f", "") in new stack -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1000-0000007f", "0?bypass,1") in new stack -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/1000-0000007f", "1?Set(CONNECTEDLINE(num,i)=118)") in new stack -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/1000-0000007f", "1?Set(CONNECTEDLINE(name,i)=CID:1000)") in new stack -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/1000-0000007f", "0?customtrunk") in new stack -- Executing [s@macro-dialout-trunk:22] Dial("SIP/1000-0000007f", "DAHDI/G0/118,300,Tt") in new stack[2015-02-01 0731] WARNING[1612][C-00000255]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 34 - Circuit/channel congestion) == Everyone is busy/congested at this time (1:0/1/0) -- Executing [s@macro-dialout-trunk:23] NoOp("SIP/1000-0000007f", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/1000-0000007f", "0?continue,1:s-CONGESTION,1") in new stack -- Goto (macro-dialout-trunk,s-CONGESTION,1) -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/1000-0000007f", "RC=34") in new stack -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/1000-0000007f", "34,1") in new stack -- Goto (macro-dialout-trunk,34,1) -- Executing [34@macro-dialout-trunk:1] Goto("SIP/1000-0000007f", "continue,1") in new stack -- Goto (macro-dialout-trunk,continue,1) -- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/1000-0000007f", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack -- Executing [continue@macro-dialout-trunk:2] Set("SIP/1000-0000007f", "CALLERID(number)=1000") in new stack -- Executing [9118@from-internal:7] Macro("SIP/1000-0000007f", "outisbusy,") in new stack -- Executing [s@macro-outisbusy:1] Progress("SIP/1000-0000007f", "") in new stack -- Executing [s@macro-outisbusy:2] GotoIf("SIP/1000-0000007f", "0?emergency,1") in new stack -- Executing [s@macro-outisbusy:3] GotoIf("SIP/1000-0000007f", "0?intracompany,1") in new stack -- Executing [s@macro-outisbusy:4] Playback("SIP/1000-0000007f", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack -- <SIP/1000-0000007f> Playing 'all-circuits-busy-now.ulaw' (language 'en') -- <SIP/1000-0000007f> Playing 'pls-try-call-later.ulaw' (language 'en') -- Executing [s@macro-outisbusy:5] Congestion("SIP/1000-0000007f", "20") in new stack[2015-02-01 0735] WARNING[1612][C-00000255]: channel.c:4860 ast_prod: Prodding channel 'SIP/1000-0000007f' failed == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/1000-0000007f' in macro 'outisbusy' == Spawn extension (from-internal, 9118, 7) exited non-zero on 'SIP/1000-0000007f' -- Executing [h@from-internal:1] Hangup("SIP/1000-0000007f", "") in new stack == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1000-0000007f' > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_ rdnis,cid_dnid,exten,context,channame,appname,appd ata,amaflags,accountcode,uniqueid,linkedid,peer,us erdeftype,userfield) VALUES ('HANGUP',{ts '2015-02-01 0735'},'1000','1000','1000','','9118','h','from-internal','SIP/1000-0000007f','','',3,'','1422762871.127','1422762871. 127','','','')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_ rdnis,cid_dnid,exten,context,channame,appname,appd ata,amaflags,accountcode,uniqueid,linkedid,peer,us erdeftype,userfield) VALUES ('CHAN_END',{ts '2015-02-01 0735'},'1000','1000','1000','','9118','h','from-internal','SIP/1000-0000007f','','',3,'','1422762871.127','1422762871. 127','','','')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_ rdnis,cid_dnid,exten,context,channame,appname,appd ata,amaflags,accountcode,uniqueid,linkedid,peer,us erdeftype,userfield) VALUES ('LINKEDID_END',{ts '2015-02-01 0735'},'1000','1000','1000','','9118','h','from-internal','SIP/1000-0000007f','','',3,'','1422762871.127','1422762871. 127','','','')]
کانتکس را هم گذاشتم from-analog بازم نشد این لاگ استریسک هست
== Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_ rdnis,cid_dnid,exten,context,channame,appname,appd ata,amaflags,accountcode,uniqueid,linkedid,peer,us erdeftype,userfield) VALUES ('CHAN_START',{ts '2015-02-01 0731'},'1000','1000','','','','9118','from-internal','SIP/1000-0000007f','','',3,'','1422762871.127','1422762871. 127','','','')] -- Executing [9118@from-internal:1] Macro("SIP/1000-0000007f", "user-callerid,LIMIT,EXTERNAL,") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/1000-0000007f", "TOUCH_MONITOR=1422762871.127") in new stack -- Executing [s@macro-user-callerid:2] Set("SIP/1000-0000007f", "AMPUSER=1000") in new stack -- Executing [s@macro-user-callerid:3] GotoIf("SIP/1000-0000007f", "0?report") in new stack -- Executing [s@macro-user-callerid:4] ExecIf("SIP/1000-0000007f", "1?Set(REALCALLERIDNUM=1000)") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/1000-0000007f", "AMPUSER=1000") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1000-0000007f", "0?limit") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/1000-0000007f", "AMPUSERCIDNAME=1000") in new stack -- Executing [s@macro-user-callerid:8] GotoIf("SIP/1000-0000007f", "0?report") in new stack -- Executing [s@macro-user-callerid:9] Set("SIP/1000-0000007f", "AMPUSERCID=1000") in new stack -- Executing [s@macro-user-callerid:10] Set("SIP/1000-0000007f", "__DIAL_OPTIONS=Ttr") in new stack -- Executing [s@macro-user-callerid:11] Set("SIP/1000-0000007f", "CALLERID(all)="1000" <1000>") in new stack -- Executing [s@macro-user-callerid:12] GotoIf("SIP/1000-0000007f", "0?limit") in new stack -- Executing [s@macro-user-callerid:13] ExecIf("SIP/1000-0000007f", "1?Set(GROUP(concurrency_limit)=1000)") in new stack -- Executing [s@macro-user-callerid:14] GosubIf("SIP/1000-0000007f", "7?sub-ccss,s,1(from-internal,9118)") in new stack -- Executing [s@sub-ccss:1] ExecIf("SIP/1000-0000007f", "0?Return()") in new stack -- Executing [s@sub-ccss:2] Set("SIP/1000-0000007f", "CCSS_SETUP=TRUE") in new stack -- Executing [s@sub-ccss:3] GosubIf("SIP/1000-0000007f", "0?monitor_config,1(from-internal,9118):monitor_default,1(from-internal,9118)") in new stack -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/1000-0000007f", "0?is_exten") in new stack -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/1000-0000007f", "") in new stack -- Executing [monitor_default@sub-ccss:3] Return("SIP/1000-0000007f", "FALSE") in new stack -- Executing [s@macro-user-callerid:15] ExecIf("SIP/1000-0000007f", "0?Set(CHANNEL(language)=)") in new stack -- Executing [s@macro-user-callerid:16] GotoIf("SIP/1000-0000007f", "1?continue") in new stack -- Goto (macro-user-callerid,s,30) -- Executing [s@macro-user-callerid:30] Set("SIP/1000-0000007f", "CALLERID(number)=1000") in new stack -- Executing [s@macro-user-callerid:31] Set("SIP/1000-0000007f", "CALLERID(name)=1000") in new stack -- Executing [s@macro-user-callerid:32] Set("SIP/1000-0000007f", "CDR(cnum)=1000") in new stack -- Executing [s@macro-user-callerid:33] Set("SIP/1000-0000007f", "CDR(cnam)=1000") in new stack -- Executing [s@macro-user-callerid:34] Set("SIP/1000-0000007f", "CHANNEL(language)=en") in new stack -- Executing [9118@from-internal:2] Gosub("SIP/1000-0000007f", "sub-record-check,s,1(out,9118,dontcare)") in new stack -- Executing [s@sub-record-check:1] GotoIf("SIP/1000-0000007f", "0?initialized") in new stack -- Executing [s@sub-record-check:2] Set("SIP/1000-0000007f", "__REC_STATUS=INITIALIZED") in new stack -- Executing [s@sub-record-check:3] Set("SIP/1000-0000007f", "NOW=1422762871") in new stack -- Executing [s@sub-record-check:4] Set("SIP/1000-0000007f", "__DAY=01") in new stack -- Executing [s@sub-record-check:5] Set("SIP/1000-0000007f", "__MONTH=02") in new stack -- Executing [s@sub-record-check:6] Set("SIP/1000-0000007f", "__YEAR=2015") in new stack -- Executing [s@sub-record-check:7] Set("SIP/1000-0000007f", "__TIMESTR=20150201-072431") in new stack -- Executing [s@sub-record-check:8] Set("SIP/1000-0000007f", "__FROMEXTEN=1000") in new stack -- Executing [s@sub-record-check:9] Set("SIP/1000-0000007f", "__MON_FMT=wav") in new stack -- Executing [s@sub-record-check:10] NoOp("SIP/1000-0000007f", "Recordings initialized") in new stack -- Executing [s@sub-record-check:11] ExecIf("SIP/1000-0000007f", "0?Set(ARG3=dontcare)") in new stack -- Executing [s@sub-record-check:12] Set("SIP/1000-0000007f", "REC_POLICY_MODE_SAVE=") in new stack -- Executing [s@sub-record-check:13] GotoIf("SIP/1000-0000007f", "3?checkaction") in new stack -- Goto (sub-record-check,s,16) -- Executing [s@sub-record-check:16] GotoIf("SIP/1000-0000007f", "1?sub-record-check,out,1") in new stack -- Goto (sub-record-check,out,1) -- Executing [out@sub-record-check:1] NoOp("SIP/1000-0000007f", "Outbound Recording Check from 1000 to 9118") in new stack -- Executing [out@sub-record-check:2] Set("SIP/1000-0000007f", "RECMODE=dontcare") in new stack -- Executing [out@sub-record-check:3] ExecIf("SIP/1000-0000007f", "1?Goto(routewins)") in new stack -- Goto (sub-record-check,out,7) -- Executing [out@sub-record-check:7] Gosub("SIP/1000-0000007f", "recordcheck,1(dontcare,out,9118)") in new stack -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/1000-0000007f", "Starting recording check against dontcare") in new stack -- Executing [recordcheck@sub-record-check:2] Goto("SIP/1000-0000007f", "dontcare") in new stack -- Goto (sub-record-check,recordcheck,3) -- Executing [recordcheck@sub-record-check:3] Return("SIP/1000-0000007f", "") in new stack -- Executing [out@sub-record-check:8] Return("SIP/1000-0000007f", "") in new stack -- Executing [9118@from-internal:3] ExecIf("SIP/1000-0000007f", "0 ?Set(CDR(accountcode)=)") in new stack -- Executing [9118@from-internal:4] Set("SIP/1000-0000007f", "MOHCLASS=default") in new stack -- Executing [9118@from-internal:5] Set("SIP/1000-0000007f", "_NODEST=") in new stack -- Executing [9118@from-internal:6] Macro("SIP/1000-0000007f", "dialout-trunk,1,118,,off") in new stack -- Executing [s@macro-dialout-trunk:1] Set("SIP/1000-0000007f", "DIAL_TRUNK=1") in new stack -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1000-0000007f", "0?sub-pincheck,s,1()") in new stack -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1000-0000007f", "0?disabletrunk,1") in new stack -- Executing [s@macro-dialout-trunk:4] Set("SIP/1000-0000007f", "DIAL_NUMBER=118") in new stack -- Executing [s@macro-dialout-trunk:5] Set("SIP/1000-0000007f", "DIAL_TRUNK_OPTIONS=Ttr") in new stack -- Executing [s@macro-dialout-trunk:6] Set("SIP/1000-0000007f", "OUTBOUND_GROUP=OUT_1") in new stack -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1000-0000007f", "1?nomax") in new stack -- Goto (macro-dialout-trunk,s,9) -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1000-0000007f", "0?skipoutcid") in new stack -- Executing [s@macro-dialout-trunk:10] Set("SIP/1000-0000007f", "DIAL_TRUNK_OPTIONS=Tt") in new stack -- Executing [s@macro-dialout-trunk:11] Macro("SIP/1000-0000007f", "outbound-callerid,1") in new stack -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1000-0000007f", "0?Set(CALLERPRES()=)") in new stack -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1000-0000007f", "0?Set(REALCALLERIDNUM=1000)") in new stack -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1000-0000007f", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,6) -- Executing [s@macro-outbound-callerid:6] Set("SIP/1000-0000007f", "USEROUTCID=") in new stack -- Executing [s@macro-outbound-callerid:7] Set("SIP/1000-0000007f", "EMERGENCYCID=") in new stack -- Executing [s@macro-outbound-callerid:8] Set("SIP/1000-0000007f", "TRUNKOUTCID=") in new stack -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1000-0000007f", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,14) -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1000-0000007f", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/1000-0000007f", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/1000-0000007f", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/1000-0000007f", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack -- Executing [s@macro-outbound-callerid:18] Set("SIP/1000-0000007f", "CDR(outbound_cnum)=1000") in new stack -- Executing [s@macro-outbound-callerid:19] Set("SIP/1000-0000007f", "CDR(outbound_cnam)=1000") in new stack -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/1000-0000007f", "0?sub-flp-1,s,1()") in new stack -- Executing [s@macro-dialout-trunk:13] Set("SIP/1000-0000007f", "OUTNUM=118") in new stack -- Executing [s@macro-dialout-trunk:14] Set("SIP/1000-0000007f", "custom=DAHDI/G0") in new stack -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1000-0000007f", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T t)") in new stack -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/1000-0000007f", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack -- Executing [s@macro-dialout-trunk:17] Macro("SIP/1000-0000007f", "dialout-trunk-predial-hook,") in new stack -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1000-0000007f", "") in new stack -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1000-0000007f", "0?bypass,1") in new stack -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/1000-0000007f", "1?Set(CONNECTEDLINE(num,i)=118)") in new stack -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/1000-0000007f", "1?Set(CONNECTEDLINE(name,i)=CID:1000)") in new stack -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/1000-0000007f", "0?customtrunk") in new stack -- Executing [s@macro-dialout-trunk:22] Dial("SIP/1000-0000007f", "DAHDI/G0/118,300,Tt") in new stack[2015-02-01 0731] WARNING[1612][C-00000255]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 34 - Circuit/channel congestion) == Everyone is busy/congested at this time (1:0/1/0) -- Executing [s@macro-dialout-trunk:23] NoOp("SIP/1000-0000007f", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/1000-0000007f", "0?continue,1:s-CONGESTION,1") in new stack -- Goto (macro-dialout-trunk,s-CONGESTION,1) -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/1000-0000007f", "RC=34") in new stack -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/1000-0000007f", "34,1") in new stack -- Goto (macro-dialout-trunk,34,1) -- Executing [34@macro-dialout-trunk:1] Goto("SIP/1000-0000007f", "continue,1") in new stack -- Goto (macro-dialout-trunk,continue,1) -- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/1000-0000007f", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack -- Executing [continue@macro-dialout-trunk:2] Set("SIP/1000-0000007f", "CALLERID(number)=1000") in new stack -- Executing [9118@from-internal:7] Macro("SIP/1000-0000007f", "outisbusy,") in new stack -- Executing [s@macro-outisbusy:1] Progress("SIP/1000-0000007f", "") in new stack -- Executing [s@macro-outisbusy:2] GotoIf("SIP/1000-0000007f", "0?emergency,1") in new stack -- Executing [s@macro-outisbusy:3] GotoIf("SIP/1000-0000007f", "0?intracompany,1") in new stack -- Executing [s@macro-outisbusy:4] Playback("SIP/1000-0000007f", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack -- <SIP/1000-0000007f> Playing 'all-circuits-busy-now.ulaw' (language 'en') -- <SIP/1000-0000007f> Playing 'pls-try-call-later.ulaw' (language 'en') -- Executing [s@macro-outisbusy:5] Congestion("SIP/1000-0000007f", "20") in new stack[2015-02-01 0735] WARNING[1612][C-00000255]: channel.c:4860 ast_prod: Prodding channel 'SIP/1000-0000007f' failed == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/1000-0000007f' in macro 'outisbusy' == Spawn extension (from-internal, 9118, 7) exited non-zero on 'SIP/1000-0000007f' -- Executing [h@from-internal:1] Hangup("SIP/1000-0000007f", "") in new stack == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1000-0000007f' > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_ rdnis,cid_dnid,exten,context,channame,appname,appd ata,amaflags,accountcode,uniqueid,linkedid,peer,us erdeftype,userfield) VALUES ('HANGUP',{ts '2015-02-01 0735'},'1000','1000','1000','','9118','h','from-internal','SIP/1000-0000007f','','',3,'','1422762871.127','1422762871. 127','','','')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_ rdnis,cid_dnid,exten,context,channame,appname,appd ata,amaflags,accountcode,uniqueid,linkedid,peer,us erdeftype,userfield) VALUES ('CHAN_END',{ts '2015-02-01 0735'},'1000','1000','1000','','9118','h','from-internal','SIP/1000-0000007f','','',3,'','1422762871.127','1422762871. 127','','','')] > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_ rdnis,cid_dnid,exten,context,channame,appname,appd ata,amaflags,accountcode,uniqueid,linkedid,peer,us erdeftype,userfield) VALUES ('LINKEDID_END',{ts '2015-02-01 0735'},'1000','1000','1000','','9118','h','from-internal','SIP/1000-0000007f','','',3,'','1422762871.127','1422762871. 127','','','')]
کامنت