Hello, I have 2 sip server,
1.Elastix ===> extension is 1XXX
2.Incredible pbx 13-12 ===>extension is 9XXX
When I use 1XXX call 9XXX, I use "asterisk -rvvvvvvvv"
I can see this log
1.Elastix ===> extension is 1XXX
2.Incredible pbx 13-12 ===>extension is 9XXX
When I use 1XXX call 9XXX, I use "asterisk -rvvvvvvvv"
I can see this log
Code:
Connected to Asterisk 11.15.0 currently running on pbx
== Using SIP VIDEO TOS bits 136
== Using SIP VIDEO CoS mark 6
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [9803@from-internal:1] Macro("SIP/1802-000005e9", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/1802-000005e9", "TOUCH_MONITOR=1458295328.88150") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/1802-000005e9", "AMPUSER=1802") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/1802-000005e9", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/1802-000005e9", "1?Set(REALCALLERIDNUM=1802)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/1802-000005e9", "AMPUSER=1802") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/1802-000005e9", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/1802-000005e9", "AMPUSERCIDNAME=Joy Hsieh") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/1802-000005e9", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/1802-000005e9", "AMPUSERCID=1802") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/1802-000005e9", "__DIAL_OPTIONS=tr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/1802-000005e9", "CALLERID(all)="Joy Hsieh" <1802>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/1802-000005e9", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/1802-000005e9", "1?Set(GROUP(concurrency_limit)=1802)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/1802-000005e9", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/1802-000005e9", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/1802-000005e9", "CALLERID(number)=1802") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/1802-000005e9", "CALLERID(name)=Joy Hsieh") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/1802-000005e9", "CDR(cnum)=1802") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/1802-000005e9", "CDR(cnam)=Joy Hsieh") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/1802-000005e9", "CHANNEL(language)=tw") in new stack
-- Executing [9803@from-internal:2] Set("SIP/1802-000005e9", "MOHCLASS=default") in new stack
-- Executing [9803@from-internal:3] Set("SIP/1802-000005e9", "_NODEST=") in new stack
-- Executing [9803@from-internal:4] Gosub("SIP/1802-000005e9", "sub-record-check,s,1(out,9803,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/1802-000005e9", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/1802-000005e9", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/1802-000005e9", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/1802-000005e9", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/1802-000005e9", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/1802-000005e9", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/1802-000005e9", "0?out,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/1802-000005e9", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/1802-000005e9", "NOW=1458295328") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/1802-000005e9", "__DAY=18") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/1802-000005e9", "__MONTH=03") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/1802-000005e9", "__YEAR=2016") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/1802-000005e9", "__TIMESTR=20160318-180208") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/1802-000005e9", "__FROMEXTEN=1802") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/1802-000005e9", "__CALLFILENAME=out-9803-1802-20160318-180208-1458295328.88150") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/1802-000005e9", "out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] ExecIf("SIP/1802-000005e9", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
-- Executing [out@sub-record-check:2] GosubIf("SIP/1802-000005e9", "0?record,1(exten,9803,1802)") in new stack
-- Executing [out@sub-record-check:3] Return("SIP/1802-000005e9", "") in new stack
-- Executing [9803@from-internal:5] Macro("SIP/1802-000005e9", "dialout-trunk,4,9803,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/1802-000005e9", "DIAL_TRUNK=4") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1802-000005e9", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1802-000005e9", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/1802-000005e9", "DIAL_NUMBER=9803") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/1802-000005e9", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/1802-000005e9", "OUTBOUND_GROUP=OUT_4") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1802-000005e9", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1802-000005e9", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/1802-000005e9", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/1802-000005e9", "outbound-callerid,4") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1802-000005e9", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1802-000005e9", "0?Set(REALCALLERIDNUM=1802)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1802-000005e9", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/1802-000005e9", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/1802-000005e9", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/1802-000005e9", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1802-000005e9", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1802-000005e9", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/1802-000005e9", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/1802-000005e9", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/1802-000005e9", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("SIP/1802-000005e9", "CDR(outbound_cnum)=1802") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("SIP/1802-000005e9", "CDR(outbound_cnam)=Joy Hsieh") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/1802-000005e9", "0?sub-flp-4,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/1802-000005e9", "OUTNUM=9803") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/1802-000005e9", "custom=IAX2/elastix2incrediblepbx") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1802-000005e9", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/1802-000005e9", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/1802-000005e9", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1802-000005e9", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1802-000005e9", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/1802-000005e9", "1?Set(CONNECTEDLINE(num,i)=9803)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/1802-000005e9", "1?Set(CONNECTEDLINE(name,i)=CID:1802)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/1802-000005e9", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("SIP/1802-000005e9", "IAX2/elastix2incrediblepbx/9803,300,") in new stack
-- Called IAX2/elastix2incrediblepbx/9803
-- Call accepted by 192.168.0.250 (format g729)
-- Format for call is (g729)
-- IAX2/elastix2incrediblepbx-26483 is ringing
-- IAX2/elastix2incrediblepbx-26483 is ringing
Last edited: