Hi , im having a trouble connecting 2 pbx thru IAX2 trunks, ive another PBX with same config and works like a charm, anyone has an idea?
Connected to Asterisk 13.14.0 currently running on vitalstatistix (pid = 2143)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [717@from-internal:1] Macro(“SIP/931-0000001d”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/931-0000001d”, “TOUCH_MONITOR=1493910370.46”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/931-0000001d”, “AMPUSER=931”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/931-0000001d”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/931-0000001d”, “1?Set(REALCALLERIDNUM=931)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/931-0000001d”, “AMPUSER=931”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/931-0000001d”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/931-0000001d”, “AMPUSERCIDNAME=Alejandro Roldan”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/931-0000001d”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] Set(“SIP/931-0000001d”, “AMPUSERCID=931”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/931-0000001d”, “__DIAL_OPTIONS=Ttr”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/931-0000001d”, “CALLERID(all)=“Alejandro Roldan” <931>”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“SIP/931-0000001d”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“SIP/931-0000001d”, “1?Set(GROUP(concurrency_limit)=931)”) in new stack
– Executing [s@macro-user-callerid:14] ExecIf(“SIP/931-0000001d”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:15] GotoIf(“SIP/931-0000001d”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,29)
– Executing [s@macro-user-callerid:29] Set(“SIP/931-0000001d”, “CALLERID(number)=931”) in new stack
– Executing [s@macro-user-callerid:30] Set(“SIP/931-0000001d”, “CALLERID(name)=Alejandro Roldan”) in new stack
– Executing [s@macro-user-callerid:31] GotoIf(“SIP/931-0000001d”, “0?cnum”) in new stack
– Executing [s@macro-user-callerid:32] Set(“SIP/931-0000001d”, “CDR(cnam)=Alejandro Roldan”) in new stack
– Executing [s@macro-user-callerid:33] Set(“SIP/931-0000001d”, “CDR(cnum)=931”) in new stack
– Executing [s@macro-user-callerid:34] Set(“SIP/931-0000001d”, “CHANNEL(language)=es”) in new stack
– Executing [717@from-internal:2] Gosub(“SIP/931-0000001d”, “sub-record-check,s,1(out,717,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/931-0000001d”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“SIP/931-0000001d”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“SIP/931-0000001d”, “NOW=1493910370”) in new stack
– Executing [s@sub-record-check:4] Set(“SIP/931-0000001d”, “__DAY=04”) in new stack
– Executing [s@sub-record-check:5] Set(“SIP/931-0000001d”, “__MONTH=05”) in new stack
– Executing [s@sub-record-check:6] Set(“SIP/931-0000001d”, “__YEAR=2017”) in new stack
– Executing [s@sub-record-check:7] Set(“SIP/931-0000001d”, “__TIMESTR=20170504-120610”) in new stack
– Executing [s@sub-record-check:8] Set(“SIP/931-0000001d”, “__FROMEXTEN=931”) in new stack
– Executing [s@sub-record-check:9] Set(“SIP/931-0000001d”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“SIP/931-0000001d”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/931-0000001d”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/931-0000001d”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/931-0000001d”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/931-0000001d”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/931-0000001d”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] NoOp(“SIP/931-0000001d”, “Outbound Recording Check from 931 to 717”) in new stack
– Executing [out@sub-record-check:2] Set(“SIP/931-0000001d”, “RECMODE=dontcare”) in new stack
– Executing [out@sub-record-check:3] ExecIf(“SIP/931-0000001d”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [out@sub-record-check:7] Gosub(“SIP/931-0000001d”, “recordcheck,1(dontcare,out,717)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/931-0000001d”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/931-0000001d”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“SIP/931-0000001d”, “”) in new stack
– Executing [out@sub-record-check:8] Return(“SIP/931-0000001d”, “”) in new stack
– Executing [717@from-internal:3] ExecIf(“SIP/931-0000001d”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [717@from-internal:4] Set(“SIP/931-0000001d”, “MOHCLASS=default”) in new stack
– Executing [717@from-internal:5] Set(“SIP/931-0000001d”, “_NODEST=”) in new stack
– Executing [717@from-internal:6] Macro(“SIP/931-0000001d”, “dialout-trunk,2,17,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/931-0000001d”, “DIAL_TRUNK=2”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/931-0000001d”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/931-0000001d”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/931-0000001d”, “DIAL_NUMBER=17”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/931-0000001d”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/931-0000001d”, “OUTBOUND_GROUP=OUT_2”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/931-0000001d”, “0?nomax”) in new stack
– Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/931-0000001d”, “0?chanfull”) in new stack
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/931-0000001d”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/931-0000001d”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/931-0000001d”, “outbound-callerid,2”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/931-0000001d”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/931-0000001d”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
– Executing [s@macro-outbound-callerid:3] ExecIf(“SIP/931-0000001d”, “0?Set(REALCALLERIDNUM=931)”) in new stack
– Executing [s@macro-outbound-callerid:4] GotoIf(“SIP/931-0000001d”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,7)
– Executing [s@macro-outbound-callerid:7] Set(“SIP/931-0000001d”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/931-0000001d”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] Set(“SIP/931-0000001d”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:10] GotoIf(“SIP/931-0000001d”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,15)
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/931-0000001d”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/931-0000001d”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/931-0000001d”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:18] ExecIf(“SIP/931-0000001d”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:19] ExecIf(“SIP/931-0000001d”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:20] Set(“SIP/931-0000001d”, “CDR(outbound_cnum)=931”) in new stack
– Executing [s@macro-outbound-callerid:21] Set(“SIP/931-0000001d”, “CDR(outbound_cnam)=Alejandro Roldan”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/931-0000001d”, “0?sub-flp-2,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/931-0000001d”, “OUTNUM=17”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/931-0000001d”, “custom=IAX2/ToColombia”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/931-0000001d”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/931-0000001d”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“SIP/931-0000001d”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/931-0000001d”, “”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/931-0000001d”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/931-0000001d”, “1?Set(CONNECTEDLINE(num,i)=17)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/931-0000001d”, “1?Set(CONNECTEDLINE(name,i)=CID:931)”) in new stack
– Executing [s@macro-dialout-trunk:21] ExecIf(“SIP/931-0000001d”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)931)”) in new stack
– Executing [s@macro-dialout-trunk:22] GotoIf(“SIP/931-0000001d”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:23] Dial(“SIP/931-0000001d”, “IAX2/ToColombia/17,300,Tt”) in new stack
– Called IAX2/ToColombia/17
– Call accepted by 192.168.13.1:4569 (format g729)
– Format for call is (g729)
– IAX2/ToColombia-14037 is making progress passing it to SIP/931-0000001d
> 0x7f851d14c880 – Probation passed - setting RTP source address to 192.168.1.211:16468
– IAX2/ToColombia-14037 is making progress passing it to SIP/931-0000001d
– IAX2/ToColombia-14037 is circuit-busy
– Hungup ‘IAX2/ToColombia-14037’
== Everyone is busy/congested at this time (1:0/1/0)
– Executing [s@macro-dialout-trunk:24] NoOp(“SIP/931-0000001d”, “Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34”) in new stack
– Executing [s@macro-dialout-trunk:25] GotoIf(“SIP/931-0000001d”, “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/931-0000001d”, “RC=34”) in new stack
– Executing [s-CONGESTION@macro-dialout-trunk:2] Goto(“SIP/931-0000001d”, “34,1”) in new stack
– Goto (macro-dialout-trunk,34,1)
– Executing [34@macro-dialout-trunk:1] Goto(“SIP/931-0000001d”, “continue,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [continue@macro-dialout-trunk:1] NoOp(“SIP/931-0000001d”, “TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks”) in new stack
– Executing [continue@macro-dialout-trunk:2] ExecIf(“SIP/931-0000001d”, “1?Set(CALLERID(number)=931)”) in new stack
– Executing [717@from-internal:7] Macro(“SIP/931-0000001d”, “outisbusy,”) in new stack
– Executing [s@macro-outisbusy:1] Progress(“SIP/931-0000001d”, “”) in new stack
– Executing [s@macro-outisbusy:2] GotoIf(“SIP/931-0000001d”, “0?emergency,1”) in new stack
– Executing [s@macro-outisbusy:3] GotoIf(“SIP/931-0000001d”, “0?intracompany,1”) in new stack
– Executing [s@macro-outisbusy:4] Playback(“SIP/931-0000001d”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
the lines are free in the PBX Server B
thanks !