IAX Trunking Issues

From Jonathan, 2 Years ago, written in Plain Text, viewed 59 times.
URL https://pastebin.freepbx.org/view/e89145f0 Embed
Download Paste or View Raw
  1.  
  2.   == Using SIP RTP TOS bits 184
  3.   == Using SIP RTP CoS mark 5
  4.     -- Executing [2001@from-internal:1] Macro("SIP/5000-00000004", "user-callerid,LIMIT,EXTERNAL,") in new stack
  5.     -- Executing [s@macro-user-callerid:1] Set("SIP/5000-00000004", "TOUCH_MONITOR=1488003791.8") in new stack
  6.     -- Executing [s@macro-user-callerid:2] Set("SIP/5000-00000004", "AMPUSER=5000") in new stack
  7.     -- Executing [s@macro-user-callerid:3] GotoIf("SIP/5000-00000004", "0?report") in new stack
  8.     -- Executing [s@macro-user-callerid:4] ExecIf("SIP/5000-00000004", "1?Set(REALCALLERIDNUM=5000)") in new stack
  9.     -- Executing [s@macro-user-callerid:5] Set("SIP/5000-00000004", "AMPUSER=5000") in new stack
  10.     -- Executing [s@macro-user-callerid:6] GotoIf("SIP/5000-00000004", "0?limit") in new stack
  11.     -- Executing [s@macro-user-callerid:7] Set("SIP/5000-00000004", "AMPUSERCIDNAME=Jonathan Woodard") in new stack
  12.     -- Executing [s@macro-user-callerid:8] GotoIf("SIP/5000-00000004", "0?report") in new stack
  13.     -- Executing [s@macro-user-callerid:9] Set("SIP/5000-00000004", "AMPUSERCID=5000") in new stack
  14.     -- Executing [s@macro-user-callerid:10] Set("SIP/5000-00000004", "__DIAL_OPTIONS=Ttr") in new stack
  15.     -- Executing [s@macro-user-callerid:11] Set("SIP/5000-00000004", "CALLERID(all)="Jonathan Woodard" <5000>") in new stack
  16.     -- Executing [s@macro-user-callerid:12] GotoIf("SIP/5000-00000004", "0?limit") in new stack
  17.     -- Executing [s@macro-user-callerid:13] ExecIf("SIP/5000-00000004", "1?Set(GROUP(concurrency_limit)=5000)") in new stack
  18.     -- Executing [s@macro-user-callerid:14] ExecIf("SIP/5000-00000004", "0?Set(CHANNEL(language)=)") in new stack
  19.     -- Executing [s@macro-user-callerid:15] GotoIf("SIP/5000-00000004", "1?continue") in new stack
  20.     -- Goto (macro-user-callerid,s,29)
  21.     -- Executing [s@macro-user-callerid:29] Set("SIP/5000-00000004", "CALLERID(number)=5000") in new stack
  22.     -- Executing [s@macro-user-callerid:30] Set("SIP/5000-00000004", "CALLERID(name)=Jonathan Woodard") in new stack
  23.     -- Executing [s@macro-user-callerid:31] GotoIf("SIP/5000-00000004", "0?cnum") in new stack
  24.     -- Executing [s@macro-user-callerid:32] Set("SIP/5000-00000004", "CDR(cnam)=Jonathan Woodard") in new stack
  25.     -- Executing [s@macro-user-callerid:33] Set("SIP/5000-00000004", "CDR(cnum)=5000") in new stack
  26.     -- Executing [s@macro-user-callerid:34] Set("SIP/5000-00000004", "CHANNEL(language)=en") in new stack
  27.     -- Executing [2001@from-internal:2] Gosub("SIP/5000-00000004", "sub-record-check,s,1(out,2001,dontcare)") in new stack
  28.     -- Executing [s@sub-record-check:1] GotoIf("SIP/5000-00000004", "0?initialized") in new stack
  29.     -- Executing [s@sub-record-check:2] Set("SIP/5000-00000004", "__REC_STATUS=INITIALIZED") in new stack
  30.     -- Executing [s@sub-record-check:3] Set("SIP/5000-00000004", "NOW=1488003791") in new stack
  31.     -- Executing [s@sub-record-check:4] Set("SIP/5000-00000004", "__DAY=25") in new stack
  32.     -- Executing [s@sub-record-check:5] Set("SIP/5000-00000004", "__MONTH=02") in new stack
  33.     -- Executing [s@sub-record-check:6] Set("SIP/5000-00000004", "__YEAR=2017") in new stack
  34.     -- Executing [s@sub-record-check:7] Set("SIP/5000-00000004", "__TIMESTR=20170225-002311") in new stack
  35.     -- Executing [s@sub-record-check:8] Set("SIP/5000-00000004", "__FROMEXTEN=5000") in new stack
  36.     -- Executing [s@sub-record-check:9] Set("SIP/5000-00000004", "__MON_FMT=wav") in new stack
  37.     -- Executing [s@sub-record-check:10] NoOp("SIP/5000-00000004", "Recordings initialized") in new stack
  38.     -- Executing [s@sub-record-check:11] ExecIf("SIP/5000-00000004", "0?Set(ARG3=dontcare)") in new stack
  39.     -- Executing [s@sub-record-check:12] Set("SIP/5000-00000004", "REC_POLICY_MODE_SAVE=") in new stack
  40.     -- Executing [s@sub-record-check:13] ExecIf("SIP/5000-00000004", "0?Set(REC_STATUS=NO)") in new stack
  41.     -- Executing [s@sub-record-check:14] GotoIf("SIP/5000-00000004", "3?checkaction") in new stack
  42.     -- Goto (sub-record-check,s,17)
  43.     -- Executing [s@sub-record-check:17] GotoIf("SIP/5000-00000004", "1?sub-record-check,out,1") in new stack
  44.     -- Goto (sub-record-check,out,1)
  45.     -- Executing [out@sub-record-check:1] NoOp("SIP/5000-00000004", "Outbound Recording Check from 5000 to 2001") in new stack
  46.     -- Executing [out@sub-record-check:2] Set("SIP/5000-00000004", "RECMODE=dontcare") in new stack
  47.     -- Executing [out@sub-record-check:3] ExecIf("SIP/5000-00000004", "1?Goto(routewins)") in new stack
  48.     -- Goto (sub-record-check,out,7)
  49.     -- Executing [out@sub-record-check:7] Gosub("SIP/5000-00000004", "recordcheck,1(dontcare,out,2001)") in new stack
  50.     -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/5000-00000004", "Starting recording check against dontcare") in new stack
  51.     -- Executing [recordcheck@sub-record-check:2] Goto("SIP/5000-00000004", "dontcare") in new stack
  52.     -- Goto (sub-record-check,recordcheck,3)
  53.     -- Executing [recordcheck@sub-record-check:3] Return("SIP/5000-00000004", "") in new stack
  54.     -- Executing [out@sub-record-check:8] Return("SIP/5000-00000004", "") in new stack
  55.     -- Executing [2001@from-internal:3] ExecIf("SIP/5000-00000004", "0 ?Set(CDR(accountcode)=)") in new stack
  56.     -- Executing [2001@from-internal:4] Set("SIP/5000-00000004", "INTRACOMPANYROUTE=YES") in new stack
  57.     -- Executing [2001@from-internal:5] Set("SIP/5000-00000004", "MOHCLASS=default") in new stack
  58.     -- Executing [2001@from-internal:6] Set("SIP/5000-00000004", "_NODEST=") in new stack
  59.     -- Executing [2001@from-internal:7] Macro("SIP/5000-00000004", "dialout-trunk,3,2001,,off") in new stack
  60.     -- Executing [s@macro-dialout-trunk:1] Set("SIP/5000-00000004", "DIAL_TRUNK=3") in new stack
  61.     -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/5000-00000004", "0?sub-pincheck,s,1()") in new stack
  62.     -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/5000-00000004", "0?disabletrunk,1") in new stack
  63.     -- Executing [s@macro-dialout-trunk:4] Set("SIP/5000-00000004", "DIAL_NUMBER=2001") in new stack
  64.     -- Executing [s@macro-dialout-trunk:5] Set("SIP/5000-00000004", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
  65.     -- Executing [s@macro-dialout-trunk:6] Set("SIP/5000-00000004", "OUTBOUND_GROUP=OUT_3") in new stack
  66.     -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/5000-00000004", "1?nomax") in new stack
  67.     -- Goto (macro-dialout-trunk,s,9)
  68.     -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/5000-00000004", "1?skipoutcid") in new stack
  69.     -- Goto (macro-dialout-trunk,s,12)
  70.     -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/5000-00000004", "0?sub-flp-3,s,1()") in new stack
  71.     -- Executing [s@macro-dialout-trunk:13] Set("SIP/5000-00000004", "OUTNUM=2001") in new stack
  72.     -- Executing [s@macro-dialout-trunk:14] Set("SIP/5000-00000004", "custom=IAX2/WoodardToJonesboroTrunk") in new stack
  73.     -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/5000-00000004", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Ttr)") in new stack
  74.     -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/5000-00000004", "0?Set(DIAL_TRUNK_OPTIONS=TtrM(confirm))") in new stack
  75.     -- Executing [s@macro-dialout-trunk:17] Macro("SIP/5000-00000004", "dialout-trunk-predial-hook,") in new stack
  76.     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/5000-00000004", "") in new stack
  77.     -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/5000-00000004", "0?bypass,1") in new stack
  78.     -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/5000-00000004", "1?Set(CONNECTEDLINE(num,i)=2001)") in new stack
  79.     -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/5000-00000004", "1?Set(CONNECTEDLINE(name,i)=CID:5000)") in new stack
  80.     -- Executing [s@macro-dialout-trunk:21] ExecIf("SIP/5000-00000004", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)5000)") in new stack
  81.     -- Executing [s@macro-dialout-trunk:22] GotoIf("SIP/5000-00000004", "0?customtrunk") in new stack
  82.     -- Executing [s@macro-dialout-trunk:23] Dial("SIP/5000-00000004", "IAX2/WoodardToJonesboroTrunk/2001,300,Ttr") in new stack
  83. Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW
  84.    Timestamp: 00018ms  SCall: 07143  DCall: 00000 10.10.10.5:4569
  85.    VERSION         : 2
  86.    CALLED NUMBER   : 2001
  87.    CODEC_PREFS     : (ulaw|alaw)
  88.    CALLING NUMBER  : 5000
  89.    CALLING PRESNTN : 0
  90.    CALLING TYPEOFN : 0
  91.    CALLING TRANSIT : 0
  92.    CALLING NAME    : Jonathan Woodard
  93.    LANGUAGE        : en
  94.    USERNAME        : mirtech
  95.    FORMAT          : 4
  96.    FORMAT2         : ulaw
  97.    CAPABILITY      : 12
  98.    CAPABILITY2     : Unknown
  99.    ADSICPE         : 2
  100.    DATE TIME       : 2017-02-25  00:23:10
  101.  
  102.     -- Called IAX2/WoodardToJonesboroTrunk/2001
  103. Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: CTOKEN
  104.    Timestamp: 00018ms  SCall: 00001  DCall: 07143 10.10.10.5:4569
  105.    CALLTOKEN       : 51 bytes
  106.  
  107. Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW
  108.    Timestamp: 00098ms  SCall: 07143  DCall: 00000 10.10.10.5:4569
  109.    VERSION         : 2
  110.    CALLED NUMBER   : 2001
  111.    CODEC_PREFS     : (ulaw|alaw)
  112.    CALLING NUMBER  : 5000
  113.    CALLING PRESNTN : 0
  114.    CALLING TYPEOFN : 0
  115.    CALLING TRANSIT : 0
  116.    CALLING NAME    : Jonathan Woodard
  117.    LANGUAGE        : en
  118.    USERNAME        : mirtech
  119.    FORMAT          : 4
  120.    FORMAT2         : ulaw
  121.    CAPABILITY      : 12
  122.    CAPABILITY2     : Unknown
  123.    ADSICPE         : 2
  124.    DATE TIME       : 2017-02-25  00:23:10
  125.    CALLTOKEN       : 51 bytes
  126.  
  127. Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: ACK
  128.    Timestamp: 00098ms  SCall: 10843  DCall: 07143 10.10.10.5:4569
  129. Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: AUTHREQ
  130.    Timestamp: 00011ms  SCall: 10843  DCall: 07143 10.10.10.5:4569
  131.    AUTHMETHODS     : 3
  132.    CHALLENGE       : \x38\x30\x36\x36\x31\x35\x39\x35\x30
  133.    USERNAME        : mirtech
  134.  
  135. Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: AUTHREP
  136.    Timestamp: 00181ms  SCall: 07143  DCall: 10843 10.10.10.5:4569
  137.    MD5 RESULT      : 51800a33e9191f25596dc09fe15b2495
  138.  
  139. Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX     Subclass: ACK
  140.    Timestamp: 00181ms  SCall: 10843  DCall: 07143 10.10.10.5:4569
  141. Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX     Subclass: REJECT
  142.    Timestamp: 01093ms  SCall: 10843  DCall: 07143 10.10.10.5:4569
  143.    CAUSE           : No authority found
  144.    CAUSE CODE      : 50
  145.  
  146. Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX     Subclass: ACK
  147.    Timestamp: 01093ms  SCall: 07143  DCall: 10843 10.10.10.5:4569
  148.     -- Hungup 'IAX2/WoodardToJonesboroTrunk-7143'
  149.   == Everyone is busy/congested at this time (1:0/0/1)
  150.     -- Executing [s@macro-dialout-trunk:24] NoOp("SIP/5000-00000004", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 50") in new stack
  151.     -- Executing [s@macro-dialout-trunk:25] GotoIf("SIP/5000-00000004", "0?continue,1:s-CHANUNAVAIL,1") in new stack
  152.     -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
  153.     -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/5000-00000004", "RC=50") in new stack
  154.     -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/5000-00000004", "50,1") in new stack
  155.     -- Goto (macro-dialout-trunk,50,1)
  156.     -- Executing [50@macro-dialout-trunk:1] Goto("SIP/5000-00000004", "continue,1") in new stack
  157.     -- Goto (macro-dialout-trunk,continue,1)
  158.     -- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/5000-00000004", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 50 - failing through to other trunks") in new stack
  159.     -- Executing [continue@macro-dialout-trunk:2] ExecIf("SIP/5000-00000004", "1?Set(CALLERID(number)=5000)") in new stack
  160.     -- Executing [2001@from-internal:8] Macro("SIP/5000-00000004", "outisbusy,") in new stack
  161.     -- Executing [s@macro-outisbusy:1] Progress("SIP/5000-00000004", "") in new stack
  162.     -- Executing [s@macro-outisbusy:2] GotoIf("SIP/5000-00000004", "0?emergency,1") in new stack
  163.     -- Executing [s@macro-outisbusy:3] GotoIf("SIP/5000-00000004", "1?intracompany,1") in new stack
  164.     -- Goto (macro-outisbusy,intracompany,1)
  165.     -- Executing [intracompany@macro-outisbusy:1] Playback("SIP/5000-00000004", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
  166.     -- <SIP/5000-00000004> Playing 'all-circuits-busy-now.ulaw' (language 'en')
  167.        > 0x7f3030601fb0 -- Probation passed - setting RTP source address to 10.20.40.6:3000
  168.     -- <SIP/5000-00000004> Playing 'pls-try-call-later.ulaw' (language 'en')
  169.     -- Executing [intracompany@macro-outisbusy:2] Congestion("SIP/5000-00000004", "20") in new stack
  170. [2017-02-25 00:23:17] WARNING[12193][C-00000004]: channel.c:4982 ast_prod: Prodding channel 'SIP/5000-00000004' failed
  171.   == Spawn extension (macro-outisbusy, intracompany, 2) exited non-zero on 'SIP/5000-00000004' in macro 'outisbusy'
  172.   == Spawn extension (from-internal, 2001, 8) exited non-zero on 'SIP/5000-00000004'
  173.     -- Executing [h@from-internal:1] Macro("SIP/5000-00000004", "hangupcall") in new stack
  174.     -- Executing [s@macro-hangupcall:1] GotoIf("SIP/5000-00000004", "1?theend") in new stack
  175.     -- Goto (macro-hangupcall,s,3)
  176.     -- Executing [s@macro-hangupcall:3] ExecIf("SIP/5000-00000004", "0?Set(CDR(recordingfile)=)") in new stack
  177.     -- Executing [s@macro-hangupcall:4] Hangup("SIP/5000-00000004", "") in new stack
  178.   == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/5000-00000004' in macro 'hangupcall'
  179.   == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/5000-00000004'
  180.  

Reply to "IAX Trunking Issues"

Here you can reply to the paste above