All circuits are busy

From Luke, 7 Months ago, written in Plain Text, viewed 3 times.
URL https://pastebin.freepbx.org/view/3f912692 Embed
Download Paste or View Raw
  1. <--- Transmitting SIP response (545 bytes) to UDP:10.10.10.192:5060 --->
  2. SIP/2.0 487 Request Terminated
  3. Via: SIP/2.0/UDP 10.10.10.192:5060;rport=5060;received=10.10.10.192;branch=z9hG4bK3aae06a9
  4. Call-ID: 3aae0000-6fadb174@10.10.2.1
  5. From: "202" <sip:202@10.10.2.1>;tag=12cd3aae-296-7bed9719
  6. To: <sip:6181234567@10.10.2.1>;tag=43cb1d6d-f80e-483f-ab57-aa1def45b00c
  7. CSeq: 1887724298 INVITE
  8. Server: FPBX-15.0.16.81(16.15.0)
  9. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  10. P-Asserted-Identity: "CID:202" <sip:6181234567@10.10.2.1>
  11. Content-Length:  0
  12.  
  13.  
  14.     -- <PJSIP/202-00000046> Playing 'please-try-call-later.ulaw' (language 'en')
  15.     -- Executing [h@from-internal:1] Macro("PJSIP/202-00000046", "hangupcall") in new stack
  16.     -- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/202-00000046", "1?theend") in new stack
  17.     -- Goto (macro-hangupcall,s,3)
  18.     -- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/202-00000046", "0?Set(CDR(recordingfile)=)") in new stack
  19.     -- Executing [s@macro-hangupcall:4] NoOp("PJSIP/202-00000046", " montior file= ") in new stack
  20.     -- Executing [s@macro-hangupcall:5] GotoIf("PJSIP/202-00000046", "1?skipagi") in new stack
  21.     -- Goto (macro-hangupcall,s,7)
  22.     -- Executing [s@macro-hangupcall:7] Hangup("PJSIP/202-00000046", "") in new stack
  23.   == Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'PJSIP/202-00000046' in macro 'hangupcall'
  24.   == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/202-00000046'
  25.     -- PJSIP/202-00000046 Internal Gosub(crm-hangup,s,1) start
  26.     -- Executing [s@crm-hangup:1] NoOp("PJSIP/202-00000046", "Sending Hangup to CRM") in new stack
  27.     -- Executing [s@crm-hangup:2] NoOp("PJSIP/202-00000046", "HANGUP CAUSE: 21") in new stack
  28.     -- Executing [s@crm-hangup:3] ExecIf("PJSIP/202-00000046", "0?Set(__CRM_VOICEMAIL=)") in new stack
  29.     -- Executing [s@crm-hangup:4] NoOp("PJSIP/202-00000046", "MASTER CHANNEL: 1608232733.70 = 1608232733.70") in new stack
  30.     -- Executing [s@crm-hangup:5] GotoIf("PJSIP/202-00000046", "0?return") in new stack
  31.     -- Executing [s@crm-hangup:6] Set("PJSIP/202-00000046", "__CRM_HANGUP=1") in new stack
  32.     -- Executing [s@crm-hangup:7] AGI("PJSIP/202-00000046", "agi://127.0.0.1/sangomacrm.agi") in new stack
  33. <--- Received SIP request (436 bytes) from UDP:10.10.10.192:5060 --->
  34. ACK sip:10.10.2.1:5060 SIP/2.0
  35. Via:SIP/2.0/UDP 10.10.10.192:5060;rport;branch=z9hG4bK3aae06a9
  36. From:"202" <sip:202@10.10.2.1>;tag=12cd3aae-296-7bed9719
  37. To:<sip:6181234567@10.10.2.1>;tag=43cb1d6d-f80e-483f-ab57-aa1def45b00c
  38. Contact:"202" <sip:202@10.10.10.192:5060;transport=UDP>
  39. Call-ID:3aae0000-6fadb174@10.10.2.1
  40. CSeq:1887724298 ACK
  41. User-Agent:Mitel-5224-SIP-Phone 08.00.00.04 08000F385567
  42. Max-Forwards:70
  43. Content-Length:0
  44.  
  45.  
  46.     -- <PJSIP/202-00000046>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
  47.     -- Executing [s@crm-hangup:8] Return("PJSIP/202-00000046", "") in new stack
  48.   == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/202-00000046'
  49.     -- PJSIP/202-00000046 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  50. freepbx*CLI>
  51. Disconnected from Asterisk server
  52. Asterisk cleanly ending (0).
  53. Executing last minute cleanups
  54. [root@freepbx ~]# ^C
  55. [root@freepbx ~]# clear
  56. [root@freepbx ~]# asterisk -rvvvvv
  57. Asterisk 16.15.0, Copyright (C) 1999 - 2018, Digium, Inc. and others.
  58. Created by Mark Spencer <markster@digium.com>
  59. Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
  60. This is free software, with components licensed under the GNU General Public
  61. License version 2 and other licenses; you are welcome to redistribute it under
  62. certain conditions. Type 'core show license' for details.
  63. =========================================================================
  64. Connected to Asterisk 16.15.0 currently running on freepbx (pid = 2390)
  65. <--- Received SIP request (870 bytes) from UDP:10.10.10.192:5060 --->
  66. INVITE sip:6181234567@10.10.2.1 SIP/2.0
  67. Via:SIP/2.0/UDP 10.10.10.192:5060;rport;branch=z9hG4bK3acc06aa
  68. From:"202" <sip:202@10.10.2.1>;tag=12cd3acc-e3-675a1fc3
  69. To:<sip:6181234567@10.10.2.1>
  70. Contact:"202" <sip:202@10.10.10.192:5060;transport=UDP>
  71. Call-ID:3acc0000-5629500e@10.10.2.1
  72. Subject:sip phone call
  73. CSeq:1614067130 INVITE
  74. User-Agent:Mitel-5224-SIP-Phone 08.00.00.04 08000F385567
  75. Allow:INVITE,ACK,CANCEL,BYE,OPTIONS,REFER,NOTIFY,PRACK,UPDATE
  76. Allow-Events:talk,hold,conference
  77. Supported:timer,100rel,replaces
  78. Session-Expires: 1800
  79. Min-SE: 90
  80. Max-Forwards:70
  81. Content-Type:application/sdp
  82. Content-Length:242
  83.  
  84. v=0
  85. o=202 315440051 315440050 IN IP4 10.10.10.192
  86. s=SIP Call
  87. c=IN IP4 10.10.10.192
  88. t=0 0
  89. a=sendrecv
  90. m=audio 20160 RTP/AVP 0 8 18 101
  91. a=rtpmap:0 PCMU/8000
  92. a=rtpmap:8 PCMA/8000
  93. a=rtpmap:18 G729/8000
  94. a=rtpmap:101 telephone-event/8000
  95.  
  96. <--- Transmitting SIP response (493 bytes) to UDP:10.10.10.192:5060 --->
  97. SIP/2.0 401 Unauthorized
  98. Via: SIP/2.0/UDP 10.10.10.192:5060;rport=5060;received=10.10.10.192;branch=z9hG4bK3acc06aa
  99. Call-ID: 3acc0000-5629500e@10.10.2.1
  100. From: "202" <sip:202@10.10.2.1>;tag=12cd3acc-e3-675a1fc3
  101. To: <sip:6181234567@10.10.2.1>;tag=z9hG4bK3acc06aa
  102. CSeq: 1614067130 INVITE
  103. WWW-Authenticate: Digest realm="asterisk",nonce="1608232763/cc863e7f23782df6f2e7ddb638d5ca26",opaque="0d04bfaf0e681080",algorithm=md5,qop="auth"
  104. Server: FPBX-15.0.16.81(16.15.0)
  105. Content-Length:  0
  106.  
  107.  
  108. <--- Received SIP request (420 bytes) from UDP:10.10.10.192:5060 --->
  109. ACK sip:6181234567@10.10.2.1 SIP/2.0
  110. Via:SIP/2.0/UDP 10.10.10.192:5060;rport;branch=z9hG4bK3acc06aa
  111. From:"202" <sip:202@10.10.2.1>;tag=12cd3acc-e3-675a1fc3
  112. To:<sip:6181234567@10.10.2.1>;tag=z9hG4bK3acc06aa
  113. Contact:"202" <sip:202@10.10.10.192:5060;transport=UDP>
  114. Call-ID:3acc0000-5629500e@10.10.2.1
  115. CSeq:1614067130 ACK
  116. User-Agent:Mitel-5224-SIP-Phone 08.00.00.04 08000F385567
  117. Max-Forwards:70
  118. Content-Length:0
  119.  
  120.  
  121. <--- Received SIP request (1145 bytes) from UDP:10.10.10.192:5060 --->
  122. INVITE sip:6181234567@10.10.2.1 SIP/2.0
  123. Via:SIP/2.0/UDP 10.10.10.192:5060;rport;branch=z9hG4bK3acc06ab
  124. From:"202" <sip:202@10.10.2.1>;tag=12cd3acc-e3-675a1fc3
  125. To:<sip:6181234567@10.10.2.1>
  126. Contact:"202" <sip:202@10.10.10.192:5060;transport=UDP>
  127. Call-ID:3acc0000-5629500e@10.10.2.1
  128. Subject:sip phone call
  129. CSeq:1614067131 INVITE
  130. User-Agent:Mitel-5224-SIP-Phone 08.00.00.04 08000F385567
  131. Authorization: Digest username="202", realm="asterisk", nonce="1608232763/cc863e7f23782df6f2e7ddb638d5ca26", uri="sip:6181234567@10.10.2.1", qop=auth, nc=00000001, cnonce="297-315439820", response="1085103db3cabed0e4fcaa6e977ff5b6", opaque="0d04bfaf0e681080", algorithm=MD5
  132. Allow:INVITE,ACK,CANCEL,BYE,OPTIONS,REFER,NOTIFY,PRACK,UPDATE
  133. Allow-Events:talk,hold,conference
  134. Supported:timer,100rel,replaces
  135. Session-Expires: 1800
  136. Min-SE: 90
  137. Max-Forwards:70
  138. Content-Type:application/sdp
  139. Content-Length:242
  140.  
  141. v=0
  142. o=202 315440051 315440050 IN IP4 10.10.10.192
  143. s=SIP Call
  144. c=IN IP4 10.10.10.192
  145. t=0 0
  146. a=sendrecv
  147. m=audio 20160 RTP/AVP 0 8 18 101
  148. a=rtpmap:0 PCMU/8000
  149. a=rtpmap:8 PCMA/8000
  150. a=rtpmap:18 G729/8000
  151. a=rtpmap:101 telephone-event/8000
  152.  
  153.   == Setting global variable 'SIPDOMAIN' to '10.10.2.1'
  154. <--- Transmitting SIP response (321 bytes) to UDP:10.10.10.192:5060 --->
  155. SIP/2.0 100 Trying
  156. Via: SIP/2.0/UDP 10.10.10.192:5060;rport=5060;received=10.10.10.192;branch=z9hG4bK3acc06ab
  157. Call-ID: 3acc0000-5629500e@10.10.2.1
  158. From: "202" <sip:202@10.10.2.1>;tag=12cd3acc-e3-675a1fc3
  159. To: <sip:6181234567@10.10.2.1>
  160. CSeq: 1614067131 INVITE
  161. Server: FPBX-15.0.16.81(16.15.0)
  162. Content-Length:  0
  163.  
  164.  
  165.   == Using SIP RTP Audio TOS bits 184
  166.   == Using SIP RTP Audio TOS bits 184 in TCLASS field.
  167.   == Using SIP RTP Audio CoS mark 5
  168.     -- Executing [6181234567@from-internal:1] Macro("PJSIP/202-00000048", "user-callerid,LIMIT,EXTERNAL,") in new stack
  169.     -- Executing [s@macro-user-callerid:1] Set("PJSIP/202-00000048", "TOUCH_MONITOR=1608232763.72") in new stack
  170.     -- Executing [s@macro-user-callerid:2] Set("PJSIP/202-00000048", "AMPUSER=202") in new stack
  171.     -- Executing [s@macro-user-callerid:3] Set("PJSIP/202-00000048", "HOTDESCKCHAN=202-00000048") in new stack
  172.     -- Executing [s@macro-user-callerid:4] Set("PJSIP/202-00000048", "HOTDESKEXTEN=202") in new stack
  173.     -- Executing [s@macro-user-callerid:5] Set("PJSIP/202-00000048", "HOTDESKCALL=0") in new stack
  174.     -- Executing [s@macro-user-callerid:6] ExecIf("PJSIP/202-00000048", "0?Set(HOTDESKCALL=1)") in new stack
  175.     -- Executing [s@macro-user-callerid:7] ExecIf("PJSIP/202-00000048", "0?Set(CALLERID(name)=)") in new stack
  176.     -- Executing [s@macro-user-callerid:8] GotoIf("PJSIP/202-00000048", "0?report") in new stack
  177.     -- Executing [s@macro-user-callerid:9] ExecIf("PJSIP/202-00000048", "1?Set(REALCALLERIDNUM=202)") in new stack
  178.     -- Executing [s@macro-user-callerid:10] Set("PJSIP/202-00000048", "AMPUSER=202") in new stack
  179.     -- Executing [s@macro-user-callerid:11] GotoIf("PJSIP/202-00000048", "0?limit") in new stack
  180.     -- Executing [s@macro-user-callerid:12] Set("PJSIP/202-00000048", "AMPUSERCIDNAME=202") in new stack
  181.     -- Executing [s@macro-user-callerid:13] ExecIf("PJSIP/202-00000048", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
  182.     -- Executing [s@macro-user-callerid:14] GotoIf("PJSIP/202-00000048", "0?report") in new stack
  183.     -- Executing [s@macro-user-callerid:15] Set("PJSIP/202-00000048", "AMPUSERCID=202") in new stack
  184.     -- Executing [s@macro-user-callerid:16] Set("PJSIP/202-00000048", "__DIAL_OPTIONS=HhTtr") in new stack
  185.     -- Executing [s@macro-user-callerid:17] Set("PJSIP/202-00000048", "CALLERID(all)="202" <202>") in new stack
  186.     -- Executing [s@macro-user-callerid:18] ExecIf("PJSIP/202-00000048", "0?Set(CUSDIAL=)") in new stack
  187.     -- Executing [s@macro-user-callerid:19] ExecIf("PJSIP/202-00000048", "0?Set(CALLERID(all)="202" <202>)") in new stack
  188.     -- Executing [s@macro-user-callerid:20] GotoIf("PJSIP/202-00000048", "0?limit") in new stack
  189.     -- Executing [s@macro-user-callerid:21] ExecIf("PJSIP/202-00000048", "1?Set(GROUP(concurrency_limit)=202)") in new stack
  190.     -- Executing [s@macro-user-callerid:22] ExecIf("PJSIP/202-00000048", "0?Set(CHANNEL(language)=)") in new stack
  191.     -- Executing [s@macro-user-callerid:23] NoOp("PJSIP/202-00000048", "Macro Depth is 1") in new stack
  192.     -- Executing [s@macro-user-callerid:24] GotoIf("PJSIP/202-00000048", "1?report2:macroerror") in new stack
  193.     -- Goto (macro-user-callerid,s,25)
  194.     -- Executing [s@macro-user-callerid:25] GotoIf("PJSIP/202-00000048", "1?continue") in new stack
  195.     -- Goto (macro-user-callerid,s,44)
  196.     -- Executing [s@macro-user-callerid:44] Set("PJSIP/202-00000048", "CALLERID(number)=202") in new stack
  197.     -- Executing [s@macro-user-callerid:45] Set("PJSIP/202-00000048", "CALLERID(name)=202") in new stack
  198.     -- Executing [s@macro-user-callerid:46] GotoIf("PJSIP/202-00000048", "0?cnum") in new stack
  199.     -- Executing [s@macro-user-callerid:47] Set("PJSIP/202-00000048", "CDR(cnam)=202") in new stack
  200.     -- Executing [s@macro-user-callerid:48] Set("PJSIP/202-00000048", "CDR(cnum)=202") in new stack
  201.     -- Executing [s@macro-user-callerid:49] Set("PJSIP/202-00000048", "CHANNEL(language)=en") in new stack
  202.     -- Executing [6181234567@from-internal:2] Gosub("PJSIP/202-00000048", "sub-record-check,s,1(out,6181234567,dontcare)") in new stack
  203.     -- Executing [s@sub-record-check:1] GotoIf("PJSIP/202-00000048", "0?initialized") in new stack
  204.     -- Executing [s@sub-record-check:2] Set("PJSIP/202-00000048", "__REC_STATUS=INITIALIZED") in new stack
  205.     -- Executing [s@sub-record-check:3] Set("PJSIP/202-00000048", "NOW=1608232763") in new stack
  206.     -- Executing [s@sub-record-check:4] Set("PJSIP/202-00000048", "__DAY=17") in new stack
  207.     -- Executing [s@sub-record-check:5] Set("PJSIP/202-00000048", "__MONTH=12") in new stack
  208.     -- Executing [s@sub-record-check:6] Set("PJSIP/202-00000048", "__YEAR=2020") in new stack
  209.     -- Executing [s@sub-record-check:7] Set("PJSIP/202-00000048", "__TIMESTR=20201217-191923") in new stack
  210.     -- Executing [s@sub-record-check:8] Set("PJSIP/202-00000048", "__FROMEXTEN=202") in new stack
  211.     -- Executing [s@sub-record-check:9] Set("PJSIP/202-00000048", "__MON_FMT=wav") in new stack
  212.     -- Executing [s@sub-record-check:10] NoOp("PJSIP/202-00000048", "Recordings initialized") in new stack
  213.     -- Executing [s@sub-record-check:11] ExecIf("PJSIP/202-00000048", "0?Set(ARG3=dontcare)") in new stack
  214.     -- Executing [s@sub-record-check:12] Set("PJSIP/202-00000048", "REC_POLICY_MODE_SAVE=") in new stack
  215.     -- Executing [s@sub-record-check:13] ExecIf("PJSIP/202-00000048", "0?Set(REC_STATUS=NO)") in new stack
  216.     -- Executing [s@sub-record-check:14] GotoIf("PJSIP/202-00000048", "3?checkaction") in new stack
  217.     -- Goto (sub-record-check,s,17)
  218.     -- Executing [s@sub-record-check:17] GotoIf("PJSIP/202-00000048", "1?sub-record-check,out,1") in new stack
  219.     -- Goto (sub-record-check,out,1)
  220.     -- Executing [out@sub-record-check:1] NoOp("PJSIP/202-00000048", "Outbound Recording Check from 202 to 6181234567") in new stack
  221.     -- Executing [out@sub-record-check:2] Set("PJSIP/202-00000048", "RECMODE=dontcare") in new stack
  222.     -- Executing [out@sub-record-check:3] ExecIf("PJSIP/202-00000048", "1?Goto(routewins)") in new stack
  223.     -- Goto (sub-record-check,out,7)
  224.     -- Executing [out@sub-record-check:7] Gosub("PJSIP/202-00000048", "recordcheck,1(dontcare,out,6181234567)") in new stack
  225.     -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/202-00000048", "Starting recording check against dontcare") in new stack
  226.     -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/202-00000048", "dontcare") in new stack
  227.     -- Goto (sub-record-check,recordcheck,3)
  228.     -- Executing [recordcheck@sub-record-check:3] Return("PJSIP/202-00000048", "") in new stack
  229.     -- Executing [out@sub-record-check:8] Return("PJSIP/202-00000048", "") in new stack
  230.     -- Executing [6181234567@from-internal:3] ExecIf("PJSIP/202-00000048", "0 ?Set(CDR(accountcode)=)") in new stack
  231.     -- Executing [6181234567@from-internal:4] Set("PJSIP/202-00000048", "_ROUTEID=2") in new stack
  232.     -- Executing [6181234567@from-internal:5] Set("PJSIP/202-00000048", "_ROUTENAME=Default ARLV") in new stack
  233.     -- Executing [6181234567@from-internal:6] Set("PJSIP/202-00000048", "MOHCLASS=default") in new stack
  234.     -- Executing [6181234567@from-internal:7] Set("PJSIP/202-00000048", "_CALLERIDNAMEINTERNAL=202") in new stack
  235.     -- Executing [6181234567@from-internal:8] Set("PJSIP/202-00000048", "_CALLERIDNUMINTERNAL=202") in new stack
  236.     -- Executing [6181234567@from-internal:9] Set("PJSIP/202-00000048", "_EMAILNOTIFICATION=FALSE") in new stack
  237.     -- Executing [6181234567@from-internal:10] Set("PJSIP/202-00000048", "_NODEST=") in new stack
  238.     -- Executing [6181234567@from-internal:11] Macro("PJSIP/202-00000048", "dialout-trunk,2,16181234567,,off") in new stack
  239.     -- Executing [s@macro-dialout-trunk:1] Set("PJSIP/202-00000048", "DIAL_TRUNK=2") in new stack
  240.     -- Executing [s@macro-dialout-trunk:2] ExecIf("PJSIP/202-00000048", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
  241.     -- Executing [s@macro-dialout-trunk:3] GosubIf("PJSIP/202-00000048", "0?sub-pincheck,s,1()") in new stack
  242.     -- Executing [s@macro-dialout-trunk:4] ExecIf("PJSIP/202-00000048", "0?Set(CALLERID(num)=202)") in new stack
  243.     -- Executing [s@macro-dialout-trunk:5] GotoIf("PJSIP/202-00000048", "0?disabletrunk,1") in new stack
  244.     -- Executing [s@macro-dialout-trunk:6] Set("PJSIP/202-00000048", "DIAL_NUMBER=16181234567") in new stack
  245.     -- Executing [s@macro-dialout-trunk:7] Set("PJSIP/202-00000048", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
  246.     -- Executing [s@macro-dialout-trunk:8] Set("PJSIP/202-00000048", "OUTBOUND_GROUP=OUT_2") in new stack
  247.     -- Executing [s@macro-dialout-trunk:9] Set("PJSIP/202-00000048", "DIAL_TRUNK_OPTIONS=T") in new stack
  248.     -- Executing [s@macro-dialout-trunk:10] GotoIf("PJSIP/202-00000048", "0?nomax") in new stack
  249.     -- Executing [s@macro-dialout-trunk:11] GotoIf("PJSIP/202-00000048", "0?chanfull") in new stack
  250.     -- Executing [s@macro-dialout-trunk:12] GotoIf("PJSIP/202-00000048", "0?skipoutcid") in new stack
  251.     -- Executing [s@macro-dialout-trunk:13] Macro("PJSIP/202-00000048", "outbound-callerid,2") in new stack
  252.     -- Executing [s@macro-outbound-callerid:1] NoOp("PJSIP/202-00000048", "202") in new stack
  253.     -- Executing [s@macro-outbound-callerid:2] NoOp("PJSIP/202-00000048", "") in new stack
  254.     -- Executing [s@macro-outbound-callerid:3] NoOp("PJSIP/202-00000048", "off") in new stack
  255.     -- Executing [s@macro-outbound-callerid:4] ExecIf("PJSIP/202-00000048", "0?Set(CALLERPRES(name-pres)=)") in new stack
  256.     -- Executing [s@macro-outbound-callerid:5] ExecIf("PJSIP/202-00000048", "0?Set(CALLERPRES(num-pres)=)") in new stack
  257.     -- Executing [s@macro-outbound-callerid:6] Set("PJSIP/202-00000048", "HOTDESCKCHAN=202-00000048") in new stack
  258.     -- Executing [s@macro-outbound-callerid:7] Set("PJSIP/202-00000048", "HOTDESKEXTEN=202") in new stack
  259.     -- Executing [s@macro-outbound-callerid:8] Set("PJSIP/202-00000048", "HOTDESKCALL=0") in new stack
  260.     -- Executing [s@macro-outbound-callerid:9] ExecIf("PJSIP/202-00000048", "0?Set(HOTDESKCALL=1)") in new stack
  261.     -- Executing [s@macro-outbound-callerid:10] ExecIf("PJSIP/202-00000048", "0?Set(CALLERID(name)=)") in new stack
  262.     -- Executing [s@macro-outbound-callerid:11] Set("PJSIP/202-00000048", "ALLOWTHISROUTE=NO") in new stack
  263.     -- Executing [s@macro-outbound-callerid:12] ExecIf("PJSIP/202-00000048", "0?Set(ALLOWTHISROUTE=YES)") in new stack
  264.     -- Executing [s@macro-outbound-callerid:13] ExecIf("PJSIP/202-00000048", "0?Hangup()") in new stack
  265.     -- Executing [s@macro-outbound-callerid:14] ExecIf("PJSIP/202-00000048", "0?Set(REALCALLERIDNUM=202)") in new stack
  266.     -- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/202-00000048", "0?Set(AMPUSER=202)") in new stack
  267.     -- Executing [s@macro-outbound-callerid:16] GotoIf("PJSIP/202-00000048", "1?normcid") in new stack
  268.     -- Goto (macro-outbound-callerid,s,20)
  269.     -- Executing [s@macro-outbound-callerid:20] Set("PJSIP/202-00000048", "USEROUTCID=202") in new stack
  270.     -- Executing [s@macro-outbound-callerid:21] Set("PJSIP/202-00000048", "EMERGENCYCID=202") in new stack
  271.     -- Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/202-00000048", "0?Set(EMERGENCYCID=)") in new stack
  272.     -- Executing [s@macro-outbound-callerid:23] Set("PJSIP/202-00000048", "TRUNKOUTCID=<6185551212>") in new stack
  273.     -- Executing [s@macro-outbound-callerid:24] GotoIf("PJSIP/202-00000048", "1?trunkcid") in new stack
  274.     -- Goto (macro-outbound-callerid,s,30)
  275.     -- Executing [s@macro-outbound-callerid:30] ExecIf("PJSIP/202-00000048", "1?Set(CALLERID(all)=<6185551212>)") in new stack
  276.     -- Executing [s@macro-outbound-callerid:31] ExecIf("PJSIP/202-00000048", "1?Set(CALLERID(all)=202)") in new stack
  277.     -- Executing [s@macro-outbound-callerid:32] ExecIf("PJSIP/202-00000048", "0?Set(CALLERID(all)=)") in new stack
  278.     -- Executing [s@macro-outbound-callerid:33] ExecIf("PJSIP/202-00000048", "0?Set(CALLERID(all)=202)") in new stack
  279.     -- Executing [s@macro-outbound-callerid:34] Set("PJSIP/202-00000048", "TIOHIDE=no") in new stack
  280.     -- Executing [s@macro-outbound-callerid:35] ExecIf("PJSIP/202-00000048", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  281.     -- Executing [s@macro-outbound-callerid:36] ExecIf("PJSIP/202-00000048", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  282.     -- Executing [s@macro-outbound-callerid:37] ExecIf("PJSIP/202-00000048", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  283.     -- Executing [s@macro-outbound-callerid:38] ExecIf("PJSIP/202-00000048", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  284.     -- Executing [s@macro-outbound-callerid:39] Set("PJSIP/202-00000048", "CDR(outbound_cnum)=202") in new stack
  285.     -- Executing [s@macro-outbound-callerid:40] Set("PJSIP/202-00000048", "CDR(outbound_cnam)=") in new stack
  286.     -- Executing [s@macro-dialout-trunk:14] GosubIf("PJSIP/202-00000048", "1?sub-flp-2,s,1()") in new stack
  287.     -- Executing [s@sub-flp-2:1] ExecIf("PJSIP/202-00000048", "0?Set(TARGET_FLP_2=161816181234567)") in new stack
  288.     -- Executing [s@sub-flp-2:2] GotoIf("PJSIP/202-00000048", "0?match") in new stack
  289.     -- Executing [s@sub-flp-2:3] ExecIf("PJSIP/202-00000048", "0?Set(TARGET_FLP_2=116181234567)") in new stack
  290.     -- Executing [s@sub-flp-2:4] GotoIf("PJSIP/202-00000048", "0?match") in new stack
  291.     -- Executing [s@sub-flp-2:5] ExecIf("PJSIP/202-00000048", "0?Return()") in new stack
  292.     -- Executing [s@sub-flp-2:6] ExecIf("PJSIP/202-00000048", "0?Return()") in new stack
  293.     -- Executing [s@sub-flp-2:7] ExecIf("PJSIP/202-00000048", "0?Set(TARGET_FLP_2=6181234567)") in new stack
  294.     -- Executing [s@sub-flp-2:8] GotoIf("PJSIP/202-00000048", "0?match") in new stack
  295.     -- Executing [s@sub-flp-2:9] ExecIf("PJSIP/202-00000048", "0?Set(TARGET_FLP_2=6181234567)") in new stack
  296.     -- Executing [s@sub-flp-2:10] GotoIf("PJSIP/202-00000048", "0?match") in new stack
  297.     -- Executing [s@sub-flp-2:11] ExecIf("PJSIP/202-00000048", "0?Set(TARGET_FLP_2=6181234567)") in new stack
  298.     -- Executing [s@sub-flp-2:12] GotoIf("PJSIP/202-00000048", "0?match") in new stack
  299.     -- Executing [s@sub-flp-2:13] Return("PJSIP/202-00000048", "") in new stack
  300.     -- Executing [s@macro-dialout-trunk:15] Set("PJSIP/202-00000048", "OUTNUM=16181234567") in new stack
  301.     -- Executing [s@macro-dialout-trunk:16] Set("PJSIP/202-00000048", "custom=PJSIP") in new stack
  302.     -- Executing [s@macro-dialout-trunk:17] ExecIf("PJSIP/202-00000048", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
  303.     -- Executing [s@macro-dialout-trunk:18] ExecIf("PJSIP/202-00000048", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
  304.     -- Executing [s@macro-dialout-trunk:19] Macro("PJSIP/202-00000048", "dialout-trunk-predial-hook,") in new stack
  305.     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/202-00000048", "") in new stack
  306.     -- Executing [s@macro-dialout-trunk:20] GotoIf("PJSIP/202-00000048", "0?skipcrm") in new stack
  307.     -- Executing [s@macro-dialout-trunk:21] Set("PJSIP/202-00000048", "__CRM_DIRECTION=OUTBOUND") in new stack
  308.     -- Executing [s@macro-dialout-trunk:22] Set("PJSIP/202-00000048", "__CRM_DESTINATION=16181234567") in new stack
  309.     -- Executing [s@macro-dialout-trunk:23] Set("PJSIP/202-00000048", "__CRM_SOURCE=202") in new stack
  310.     -- Executing [s@macro-dialout-trunk:24] AGI("PJSIP/202-00000048", "agi://127.0.0.1/sangomacrm.agi") in new stack
  311.     -- <PJSIP/202-00000048>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
  312.     -- Executing [s@macro-dialout-trunk:25] Set("PJSIP/202-00000048", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
  313.     -- Executing [s@macro-dialout-trunk:26] NoOp("PJSIP/202-00000048", "CRM Finished") in new stack
  314.     -- Executing [s@macro-dialout-trunk:27] GotoIf("PJSIP/202-00000048", "0?bypass,1") in new stack
  315.     -- Executing [s@macro-dialout-trunk:28] ExecIf("PJSIP/202-00000048", "1?Set(CONNECTEDLINE(num,i)=16181234567)") in new stack
  316.     -- Executing [s@macro-dialout-trunk:29] ExecIf("PJSIP/202-00000048", "1?Set(CONNECTEDLINE(name,i)=CID:202)") in new stack
  317.     -- Executing [s@macro-dialout-trunk:30] ExecIf("PJSIP/202-00000048", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)202)") in new stack
  318.     -- Executing [s@macro-dialout-trunk:31] GotoIf("PJSIP/202-00000048", "0?customtrunk") in new stack
  319.     -- Executing [s@macro-dialout-trunk:32] ExecIf("PJSIP/202-00000048", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
  320.     -- Executing [s@macro-dialout-trunk:33] Set("PJSIP/202-00000048", "HASH(__SIPHEADERS,Alert-Info)=unset") in new stack
  321.     -- Executing [s@macro-dialout-trunk:34] Dial("PJSIP/202-00000048", "PJSIP/16181234567@Voip.ms_ARLV,300,Tb(func-apply-sipheaders^s^1,(2))U(sub-send-obroute-email^16181234567^6181234567^2^1608232763^^202)") in new stack
  322.     -- PJSIP/Voip.ms_ARLV-00000049 Internal Gosub(func-apply-sipheaders,s,1(2)) start
  323.     -- Executing [s@func-apply-sipheaders:1] ExecIf("PJSIP/Voip.ms_ARLV-00000049", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
  324.     -- Executing [s@func-apply-sipheaders:2] NoOp("PJSIP/Voip.ms_ARLV-00000049", "Applying SIP Headers to channel PJSIP/Voip.ms_ARLV-00000049") in new stack
  325.     -- Executing [s@func-apply-sipheaders:3] Set("PJSIP/Voip.ms_ARLV-00000049", "TECH=PJSIP") in new stack
  326.     -- Executing [s@func-apply-sipheaders:4] Set("PJSIP/Voip.ms_ARLV-00000049", "SIPHEADERKEYS=Alert-Info") in new stack
  327.     -- Executing [s@func-apply-sipheaders:5] While("PJSIP/Voip.ms_ARLV-00000049", "1") in new stack
  328.     -- Executing [s@func-apply-sipheaders:6] Set("PJSIP/Voip.ms_ARLV-00000049", "sipheader=unset") in new stack
  329.     -- Executing [s@func-apply-sipheaders:7] ExecIf("PJSIP/Voip.ms_ARLV-00000049", "0?SIPRemoveHeader(Alert-Info:)") in new stack
  330.     -- Executing [s@func-apply-sipheaders:8] ExecIf("PJSIP/Voip.ms_ARLV-00000049", "1?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
  331. [2020-12-17 19:19:23] ERROR[8132]: res_pjsip_header_funcs.c:410 remove_header: No headers had been previously added to this session.
  332.     -- Executing [s@func-apply-sipheaders:9] ExecIf("PJSIP/Voip.ms_ARLV-00000049", "0?Set(sipheader=<http://127.0.0.1>;info=unset)") in new stack
  333.     -- Executing [s@func-apply-sipheaders:10] ExecIf("PJSIP/Voip.ms_ARLV-00000049", "0?Set(sipheader=<http://127.0.0.1>unset)") in new stack
  334.     -- Executing [s@func-apply-sipheaders:11] ExecIf("PJSIP/Voip.ms_ARLV-00000049", "0?SIPAddHeader(Alert-Info:unset)") in new stack
  335.     -- Executing [s@func-apply-sipheaders:12] ExecIf("PJSIP/Voip.ms_ARLV-00000049", "0?Set(PJSIP_HEADER(add,Alert-Info)=unset)") in new stack
  336.     -- Executing [s@func-apply-sipheaders:13] EndWhile("PJSIP/Voip.ms_ARLV-00000049", "") in new stack
  337.     -- Executing [s@func-apply-sipheaders:5] While("PJSIP/Voip.ms_ARLV-00000049", "0") in new stack
  338.     -- Executing [s@func-apply-sipheaders:14] Return("PJSIP/Voip.ms_ARLV-00000049", "") in new stack
  339.   == Spawn extension (from-pstn, 6181234567, 1) exited non-zero on 'PJSIP/Voip.ms_ARLV-00000049'
  340.     -- PJSIP/Voip.ms_ARLV-00000049 Internal Gosub(func-apply-sipheaders,s,1(2)) complete GOSUB_RETVAL=
  341.     -- Called PJSIP/16181234567@Voip.ms_ARLV
  342. <--- Transmitting SIP request (1019 bytes) to UDP:69.162.175.29:5060 --->
  343. INVITE sip:16181234567@chicago3.voip.ms SIP/2.0
  344. Via: SIP/2.0/UDP 208.10.38.203:5060;rport;branch=z9hG4bKPj53623d8f-eabd-49e6-bae3-2f6a2519dc1c
  345. From: <sip:202@10.10.2.1>;tag=2d95f6da-0157-4655-888a-280a8e569bb5
  346. To: <sip:16181234567@chicago3.voip.ms>
  347. Contact: <sip:asterisk@208.10.38.203:5060>
  348. Call-ID: 6a16a7e3-f242-4662-92a6-7b3b7a3bb1b8
  349. CSeq: 29283 INVITE
  350. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  351. Supported: 100rel, timer, replaces, norefersub, histinfo
  352. Session-Expires: 1800
  353. Min-SE: 90
  354. Max-Forwards: 70
  355. User-Agent: FPBX-15.0.16.81(16.15.0)
  356. Content-Type: application/sdp
  357. Content-Length:   339
  358.  
  359. v=0
  360. o=- 504169732 504169732 IN IP4 1.70.38.203
  361. s=Asterisk
  362. c=IN IP4 208.10.38.203
  363. t=0 0
  364. m=audio 10176 RTP/AVP 0 8 3 111 9 101
  365. a=rtpmap:0 PCMU/8000
  366. a=rtpmap:8 PCMA/8000
  367. a=rtpmap:3 GSM/8000
  368. a=rtpmap:111 G726-32/8000
  369. a=rtpmap:9 G722/8000
  370. a=rtpmap:101 telephone-event/8000
  371. a=fmtp:101 0-16
  372. a=ptime:20
  373. a=maxptime:150
  374. a=sendrecv
  375.  
  376. <--- Received SIP response (561 bytes) from UDP:69.162.175.29:5060 --->
  377. SIP/2.0 100 Trying
  378. Via: SIP/2.0/UDP 208.10.38.203:5060;branch=z9hG4bKPj53623d8f-eabd-49e6-bae3-2f6a2519dc1c;received=208.10.38.203;rport=5060
  379. From: <sip:202@10.10.2.1>;tag=2d95f6da-0157-4655-888a-280a8e569bb5
  380. To: <sip:16181234567@chicago3.voip.ms>
  381. Call-ID: 6a16a7e3-f242-4662-92a6-7b3b7a3bb1b8
  382. CSeq: 29283 INVITE
  383. Server: voip.ms
  384. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  385. Supported: replaces, timer
  386. Session-Expires: 1800;refresher=uas
  387. Contact: <sip:16181234567@69.162.175.29:5060>
  388. Content-Length: 0
  389.  
  390.  
  391. <--- Received SIP response (531 bytes) from UDP:69.162.175.29:5060 --->
  392. SIP/2.0 603 Declined
  393. Via: SIP/2.0/UDP 208.10.38.203:5060;branch=z9hG4bKPj53623d8f-eabd-49e6-bae3-2f6a2519dc1c;received=208.10.38.203;rport=5060
  394. From: <sip:202@10.10.2.1>;tag=2d95f6da-0157-4655-888a-280a8e569bb5
  395. To: <sip:16181234567@chicago3.voip.ms>;tag=as6b468be0
  396. Call-ID: 6a16a7e3-f242-4662-92a6-7b3b7a3bb1b8
  397. CSeq: 29283 INVITE
  398. Server: voip.ms
  399. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  400. Supported: replaces, timer
  401. Session-Expires: 1800;refresher=uas
  402. Content-Length: 0
  403.  
  404.  
  405. <--- Transmitting SIP request (407 bytes) to UDP:69.162.175.29:5060 --->
  406. ACK sip:16181234567@chicago3.voip.ms SIP/2.0
  407. Via: SIP/2.0/UDP 208.10.38.203:5060;rport;branch=z9hG4bKPj53623d8f-eabd-49e6-bae3-2f6a2519dc1c
  408. From: <sip:202@10.10.2.1>;tag=2d95f6da-0157-4655-888a-280a8e569bb5
  409. To: <sip:16181234567@chicago3.voip.ms>;tag=as6b468be0
  410. Call-ID: 6a16a7e3-f242-4662-92a6-7b3b7a3bb1b8
  411. CSeq: 29283 ACK
  412. Max-Forwards: 70
  413. User-Agent: FPBX-15.0.16.81(16.15.0)
  414. Content-Length:  0
  415.  
  416.  
  417.   == Everyone is busy/congested at this time (1:0/0/1)
  418.     -- Executing [s@macro-dialout-trunk:35] NoOp("PJSIP/202-00000048", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
  419.     -- Executing [s@macro-dialout-trunk:36] GotoIf("PJSIP/202-00000048", "0?continue,1:s-CHANUNAVAIL,1") in new stack
  420.     -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
  421.     -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("PJSIP/202-00000048", "RC=21") in new stack
  422.     -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("PJSIP/202-00000048", "21,1") in new stack
  423.     -- Goto (macro-dialout-trunk,21,1)
  424.     -- Executing [21@macro-dialout-trunk:1] Goto("PJSIP/202-00000048", "continue,1") in new stack
  425.     -- Goto (macro-dialout-trunk,continue,1)
  426.     -- Executing [continue@macro-dialout-trunk:1] NoOp("PJSIP/202-00000048", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
  427.     -- Executing [continue@macro-dialout-trunk:2] ExecIf("PJSIP/202-00000048", "1?Set(CALLERID(number)=202)") in new stack
  428.     -- Executing [6181234567@from-internal:12] Macro("PJSIP/202-00000048", "outisbusy,") in new stack
  429.     -- Executing [s@macro-outisbusy:1] Progress("PJSIP/202-00000048", "") in new stack
  430.     -- Executing [s@macro-outisbusy:2] GotoIf("PJSIP/202-00000048", "0?emergency,1") in new stack
  431.     -- Executing [s@macro-outisbusy:3] GotoIf("PJSIP/202-00000048", "0?intracompany,1") in new stack
  432.     -- Executing [s@macro-outisbusy:4] Playback("PJSIP/202-00000048", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
  433.     -- <PJSIP/202-00000048> Playing 'all-circuits-busy-now.ulaw' (language 'en')
  434.        > 0x7f8355147f70 -- Strict RTP learning after remote address set to: 10.10.10.192:20160
  435. <--- Transmitting SIP response (860 bytes) to UDP:10.10.10.192:5060 --->
  436. SIP/2.0 183 Session Progress
  437. Via: SIP/2.0/UDP 10.10.10.192:5060;rport=5060;received=10.10.10.192;branch=z9hG4bK3acc06ab
  438. Call-ID: 3acc0000-5629500e@10.10.2.1
  439. From: "202" <sip:202@10.10.2.1>;tag=12cd3acc-e3-675a1fc3
  440. To: <sip:6181234567@10.10.2.1>;tag=e9272585-24ed-4d6f-bba6-1ed4ba12c490
  441. CSeq: 1614067131 INVITE
  442. Server: FPBX-15.0.16.81(16.15.0)
  443. Contact: <sip:10.10.2.1:5060>
  444. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  445. P-Asserted-Identity: "CID:202" <sip:6181234567@10.10.2.1>
  446. Content-Type: application/sdp
  447. Content-Length:   253
  448.  
  449. v=0
  450. o=- 315440051 315440052 IN IP4 10.10.2.1
  451. s=Asterisk
  452. c=IN IP4 10.10.2.1
  453. t=0 0
  454. m=audio 16028 RTP/AVP 0 8 101
  455. a=rtpmap:0 PCMU/8000
  456. a=rtpmap:8 PCMA/8000
  457. a=rtpmap:101 telephone-event/8000
  458. a=fmtp:101 0-16
  459. a=ptime:20
  460. a=maxptime:150
  461. a=sendrecv
  462.  
  463.        > 0x7f8355147f70 -- Strict RTP switching to RTP target address 10.10.10.192:20160 as source
  464. <--- Received SIP request (606 bytes) from UDP:10.10.10.95:5060 --->
  465. SUBSCRIBE sip:*85@10.10.2.1 SIP/2.0
  466. Via:SIP/2.0/UDP 10.10.10.95:5060;rport;branch=z9hG4bK5adb1419
  467. From:<sip:218@10.10.2.1>;tag=5fdb5adb-2e8-26b415f2
  468. To:<sip:*85@10.10.2.1>
  469. Contact:<sip:218@10.10.10.95:5060;transport=UDP>;reg-id=1;+sip.instance="<urn:uuid:4949137e-b236-3667-805a-dc98ba34e038>"
  470. Call-ID:5adb0000-18e5d7a7@10.10.10.95
  471. CSeq:2 SUBSCRIBE
  472. Expires: 180
  473. User-Agent:Mitel-5324-SIP-Phone 03.00.02.05 08000F4986DF
  474. Supported:path,outbound,eventlist
  475. Event: dialog
  476. Max-Forwards:70
  477. Accept:application/dialog-info+xml
  478. Accept:application/rlmi+xml
  479. Accept:multipart/related
  480. Content-Length:0
  481.  
  482.  
  483. <--- Transmitting SIP response (475 bytes) to UDP:10.10.10.95:5060 --->
  484. SIP/2.0 401 Unauthorized
  485. Via: SIP/2.0/UDP 10.10.10.95:5060;rport=5060;received=10.10.10.95;branch=z9hG4bK5adb1419
  486. Call-ID: 5adb0000-18e5d7a7@10.10.10.95
  487. From: <sip:218@10.10.2.1>;tag=5fdb5adb-2e8-26b415f2
  488. To: <sip:*85@10.10.2.1>;tag=z9hG4bK5adb1419
  489. CSeq: 2 SUBSCRIBE
  490. WWW-Authenticate: Digest realm="asterisk",nonce="1608232764/b447a862ab8727bc663aab67b6d6d2ae",opaque="6b3ea6782442ce39",algorithm=md5,qop="auth"
  491. Server: FPBX-15.0.16.81(16.15.0)
  492. Content-Length:  0
  493.  
  494.  
  495. <--- Received SIP request (875 bytes) from UDP:10.10.10.95:5060 --->
  496. SUBSCRIBE sip:*85@10.10.2.1 SIP/2.0
  497. Via:SIP/2.0/UDP 10.10.10.95:5060;rport;branch=z9hG4bK5adb141a
  498. From:<sip:218@10.10.2.1>;tag=5fdb5adb-2e8-26b415f2
  499. To:<sip:*85@10.10.2.1>
  500. Contact:<sip:218@10.10.10.95:5060;transport=UDP>;reg-id=1;+sip.instance="<urn:uuid:4949137e-b236-3667-805a-dc98ba34e038>"
  501. Call-ID:5adb0000-18e5d7a7@10.10.10.95
  502. CSeq:3 SUBSCRIBE
  503. Expires: 180
  504. User-Agent:Mitel-5324-SIP-Phone 03.00.02.05 08000F4986DF
  505. Authorization: Digest username="218", realm="asterisk", nonce="1608232764/b447a862ab8727bc663aab67b6d6d2ae", uri="sip:*85@10.10.2.1", qop=auth, nc=00000001, cnonce="794-1608211163", response="b6e2cebe5192cca87cf3e97c21b1f812", opaque="6b3ea6782442ce39", algorithm=MD5
  506. Supported:path,outbound,eventlist
  507. Event: dialog
  508. Max-Forwards:70
  509. Accept:application/dialog-info+xml
  510. Accept:application/rlmi+xml
  511. Accept:multipart/related
  512. Content-Length:0
  513.  
  514.  
  515. [2020-12-17 19:19:24] NOTICE[8132]: res_pjsip_exten_state.c:418 new_subscribe: Endpoint '218' state subscription failed: Extension '*85' does not exist in context 'from-internal' or has no associated hint
  516. <--- Transmitting SIP response (326 bytes) to UDP:10.10.10.95:5060 --->
  517. SIP/2.0 404 Not Found
  518. Via: SIP/2.0/UDP 10.10.10.95:5060;rport=5060;received=10.10.10.95;branch=z9hG4bK5adb141a
  519. Call-ID: 5adb0000-18e5d7a7@10.10.10.95
  520. From: <sip:218@10.10.2.1>;tag=5fdb5adb-2e8-26b415f2
  521. To: <sip:*85@10.10.2.1>;tag=z9hG4bK5adb141a
  522. CSeq: 3 SUBSCRIBE
  523. Server: FPBX-15.0.16.81(16.15.0)
  524. Content-Length:  0
  525.  
  526.  
  527. <--- Received SIP request (652 bytes) from UDP:10.10.2.209:5060 --->
  528. SUBSCRIBE sip:*299@10.10.2.1 SIP/2.0
  529. Via:SIP/2.0/UDP 10.10.2.209:5060;rport;branch=z9hG4bK5ad887f7
  530. From:<sip:209@10.10.2.1>;tag=5fda41fe-152-4c332445
  531. To:<sip:*299@10.10.2.1>;tag=6bec26d0-f414-48e8-a491-43e56972fd10
  532. Contact:<sip:209@10.10.2.209:5060;transport=UDP>;reg-id=1;+sip.instance="<urn:uuid:08901668-9178-36c4-af7c-f010c67f96c9>"
  533. Call-ID:41fe0000-23e3ccf8@10.10.2.209
  534. CSeq:6427 SUBSCRIBE
  535. Expires: 180
  536. User-Agent:Mitel-5324-SIP-Phone 03.00.02.05 08000F61F06C
  537. Supported:path,outbound,eventlist
  538. Event: dialog
  539. Max-Forwards:70
  540. Accept:application/dialog-info+xml
  541. Accept:application/rlmi+xml
  542. Accept:multipart/related
  543. Content-Length:0
  544.  
  545.  
  546. <--- Transmitting SIP response (548 bytes) to UDP:10.10.2.209:5060 --->
  547. SIP/2.0 200 OK
  548. Via: SIP/2.0/UDP 10.10.2.209:5060;rport=5060;received=10.10.2.209;branch=z9hG4bK5ad887f7
  549. Call-ID: 41fe0000-23e3ccf8@10.10.2.209
  550. From: <sip:209@10.10.2.1>;tag=5fda41fe-152-4c332445
  551. To: <sip:*299@10.10.2.1>;tag=6bec26d0-f414-48e8-a491-43e56972fd10
  552. CSeq: 6427 SUBSCRIBE
  553. Expires: 180
  554. Contact: <sip:10.10.2.1:5060>
  555. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  556. Supported: 100rel, timer, replaces, norefersub
  557. Server: FPBX-15.0.16.81(16.15.0)
  558. Content-Length:  0
  559.  
  560.  
  561. <--- Transmitting SIP request (806 bytes) to UDP:10.10.2.209:5060 --->
  562. NOTIFY sip:209@10.10.2.209:5060 SIP/2.0
  563. Via: SIP/2.0/UDP 10.10.2.1:5060;rport;branch=z9hG4bKPj0dc52d70-a2fc-411a-8f65-03ce71194e84
  564. From: <sip:*299@10.10.2.1>;tag=6bec26d0-f414-48e8-a491-43e56972fd10
  565. To: <sip:209@10.10.2.1>;tag=5fda41fe-152-4c332445
  566. Contact: <sip:10.10.2.1:5060>
  567. Call-ID: 41fe0000-23e3ccf8@10.10.2.209
  568. CSeq: 6427 NOTIFY
  569. Event: dialog
  570. Subscription-State: active;expires=179
  571. Allow-Events: presence, dialog, message-summary, refer
  572. Max-Forwards: 70
  573. User-Agent: FPBX-15.0.16.81(16.15.0)
  574. Content-Type: application/dialog-info+xml
  575. Content-Length:   228
  576.  
  577. <?xml version="1.0" encoding="UTF-8"?>
  578. <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="1" state="full" entity="sip:*299@10.10.2.1:5060">
  579.  <dialog id="*299">
  580.   <state>terminated</state>
  581.  </dialog>
  582. </dialog-info>
  583.  
  584. <--- Received SIP response (566 bytes) from UDP:10.10.2.209:5060 --->
  585. SIP/2.0 200 OK
  586. Via:SIP/2.0/UDP 10.10.2.1:5060;rport=5060;received=10.10.2.1;branch=z9hG4bKPj0dc52d70-a2fc-411a-8f65-03ce71194e84
  587. From:<sip:*299@10.10.2.1>;tag=6bec26d0-f414-48e8-a491-43e56972fd10
  588. To:<sip:209@10.10.2.1>;tag=5fda41fe-152-4c332445
  589. CSeq:6427 NOTIFY
  590. User-Agent:Mitel-5324-SIP-Phone 03.00.02.05 08000F61F06C
  591. Call-ID:41fe0000-23e3ccf8@10.10.2.209
  592. Contact:<sip:209@10.10.2.209:5060;transport=UDP>;reg-id=1;+sip.instance="<urn:uuid:08901668-9178-36c4-af7c-f010c67f96c9>"
  593. Allow:SUBSCRIBE,NOTIFY
  594. Supported:path,outbound,eventlist
  595. Content-Length:0
  596.  
  597.  
  598. <--- Received SIP request (439 bytes) from UDP:10.10.10.192:5060 --->
  599. CANCEL sip:6181234567@10.10.2.1 SIP/2.0
  600. Via:SIP/2.0/UDP 10.10.10.192:5060;rport;branch=z9hG4bK3acc06ab
  601. From:"202" <sip:202@10.10.2.1>;tag=12cd3acc-e3-675a1fc3
  602. To:<sip:6181234567@10.10.2.1>
  603. Contact:"202" <sip:202@10.10.10.192:5060;transport=UDP>
  604. Call-ID:3acc0000-5629500e@10.10.2.1
  605. CSeq:1614067131 CANCEL
  606. User-Agent:Mitel-5224-SIP-Phone 08.00.00.04 08000F385567
  607. Supported:timer,100rel,replaces
  608. Max-Forwards:70
  609. Content-Length:0
  610.  
  611.  
  612. <--- Transmitting SIP response (358 bytes) to UDP:10.10.10.192:5060 --->
  613. SIP/2.0 200 OK
  614. Via: SIP/2.0/UDP 10.10.10.192:5060;rport=5060;received=10.10.10.192;branch=z9hG4bK3acc06ab
  615. Call-ID: 3acc0000-5629500e@10.10.2.1
  616. From: "202" <sip:202@10.10.2.1>;tag=12cd3acc-e3-675a1fc3
  617. To: <sip:6181234567@10.10.2.1>;tag=e9272585-24ed-4d6f-bba6-1ed4ba12c490
  618. CSeq: 1614067131 CANCEL
  619. Server: FPBX-15.0.16.81(16.15.0)
  620. Content-Length:  0
  621.  
  622.  
  623. <--- Transmitting SIP response (544 bytes) to UDP:10.10.10.192:5060 --->
  624. SIP/2.0 487 Request Terminated
  625. Via: SIP/2.0/UDP 10.10.10.192:5060;rport=5060;received=10.10.10.192;branch=z9hG4bK3acc06ab
  626. Call-ID: 3acc0000-5629500e@10.10.2.1
  627. From: "202" <sip:202@10.10.2.1>;tag=12cd3acc-e3-675a1fc3
  628. To: <sip:6181234567@10.10.2.1>;tag=e9272585-24ed-4d6f-bba6-1ed4ba12c490
  629. CSeq: 1614067131 INVITE
  630. Server: FPBX-15.0.16.81(16.15.0)
  631. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  632. P-Asserted-Identity: "CID:202" <sip:6181234567@10.10.2.1>
  633. Content-Length:  0
  634.  
  635.  
  636.     -- <PJSIP/202-00000048> Playing 'please-try-call-later.ulaw' (language 'en')
  637.     -- Executing [h@from-internal:1] Macro("PJSIP/202-00000048", "hangupcall") in new stack
  638.     -- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/202-00000048", "1?theend") in new stack
  639.     -- Goto (macro-hangupcall,s,3)
  640.     -- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/202-00000048", "0?Set(CDR(recordingfile)=)") in new stack
  641.     -- Executing [s@macro-hangupcall:4] NoOp("PJSIP/202-00000048", " montior file= ") in new stack
  642.     -- Executing [s@macro-hangupcall:5] GotoIf("PJSIP/202-00000048", "1?skipagi") in new stack
  643.     -- Goto (macro-hangupcall,s,7)
  644.     -- Executing [s@macro-hangupcall:7] Hangup("PJSIP/202-00000048", "") in new stack
  645.   == Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'PJSIP/202-00000048' in macro 'hangupcall'
  646.   == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/202-00000048'
  647.     -- PJSIP/202-00000048 Internal Gosub(crm-hangup,s,1) start
  648.     -- Executing [s@crm-hangup:1] NoOp("PJSIP/202-00000048", "Sending Hangup to CRM") in new stack
  649.     -- Executing [s@crm-hangup:2] NoOp("PJSIP/202-00000048", "HANGUP CAUSE: 21") in new stack
  650.     -- Executing [s@crm-hangup:3] ExecIf("PJSIP/202-00000048", "0?Set(__CRM_VOICEMAIL=)") in new stack
  651.     -- Executing [s@crm-hangup:4] NoOp("PJSIP/202-00000048", "MASTER CHANNEL: 1608232763.72 = 1608232763.72") in new stack
  652.     -- Executing [s@crm-hangup:5] GotoIf("PJSIP/202-00000048", "0?return") in new stack
  653.     -- Executing [s@crm-hangup:6] Set("PJSIP/202-00000048", "__CRM_HANGUP=1") in new stack
  654.     -- Executing [s@crm-hangup:7] AGI("PJSIP/202-00000048", "agi://127.0.0.1/sangomacrm.agi") in new stack
  655. <--- Received SIP request (435 bytes) from UDP:10.10.10.192:5060 --->
  656. ACK sip:10.10.2.1:5060 SIP/2.0
  657. Via:SIP/2.0/UDP 10.10.10.192:5060;rport;branch=z9hG4bK3acc06ab
  658. From:"202" <sip:202@10.10.2.1>;tag=12cd3acc-e3-675a1fc3
  659. To:<sip:6181234567@10.10.2.1>;tag=e9272585-24ed-4d6f-bba6-1ed4ba12c490
  660. Contact:"202" <sip:202@10.10.10.192:5060;transport=UDP>
  661. Call-ID:3acc0000-5629500e@10.10.2.1
  662. CSeq:1614067131 ACK
  663. User-Agent:Mitel-5224-SIP-Phone 08.00.00.04 08000F385567
  664. Max-Forwards:70
  665. Content-Length:0
  666.  
  667.  
  668.     -- <PJSIP/202-00000048>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
  669.     -- Executing [s@crm-hangup:8] Return("PJSIP/202-00000048", "") in new stack
  670.   == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/202-00000048'
  671.     -- PJSIP/202-00000048 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  672. <--- Received SIP request (655 bytes) from UDP:10.10.2.208:5060 --->
  673. SUBSCRIBE sip:*8585@10.10.2.1 SIP/2.0
  674. Via:SIP/2.0/UDP 10.10.2.208:5060;rport;branch=z9hG4bK5addc6c5
  675. From:<sip:208@10.10.2.1>;tag=5fda4254-1c4-2184d57c
  676. To:<sip:*8585@10.10.2.1>;tag=8cc7e9bf-d536-4118-93e5-4a2fce45b766
  677. Contact:<sip:208@10.10.2.208:5060;transport=UDP>;reg-id=1;+sip.instance="<urn:uuid:87f25800-2be3-3685-8353-e68cb5f5f6c8>"
  678. Call-ID:42540000-57b001dc@10.10.2.208
  679. CSeq:12418 SUBSCRIBE
  680. Expires: 180
  681. User-Agent:Mitel-5324-SIP-Phone 03.00.02.05 08000F4899E4
  682. Supported:path,outbound,eventlist
  683. Event: dialog
  684. Max-Forwards:70
  685. Accept:application/dialog-info+xml
  686. Accept:application/rlmi+xml
  687. Accept:multipart/related
  688. Content-Length:0
  689.  
  690.  
  691. <--- Transmitting SIP response (550 bytes) to UDP:10.10.2.208:5060 --->
  692. SIP/2.0 200 OK
  693. Via: SIP/2.0/UDP 10.10.2.208:5060;rport=5060;received=10.10.2.208;branch=z9hG4bK5addc6c5
  694. Call-ID: 42540000-57b001dc@10.10.2.208
  695. From: <sip:208@10.10.2.1>;tag=5fda4254-1c4-2184d57c
  696. To: <sip:*8585@10.10.2.1>;tag=8cc7e9bf-d536-4118-93e5-4a2fce45b766
  697. CSeq: 12418 SUBSCRIBE
  698. Expires: 180
  699. Contact: <sip:10.10.2.1:5060>
  700. Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
  701. Supported: 100rel, timer, replaces, norefersub
  702. Server: FPBX-15.0.16.81(16.15.0)
  703. Content-Length:  0
  704.  
  705.  
  706. <--- Transmitting SIP request (810 bytes) to UDP:10.10.2.208:5060 --->
  707. NOTIFY sip:208@10.10.2.208:5060 SIP/2.0
  708. Via: SIP/2.0/UDP 10.10.2.1:5060;rport;branch=z9hG4bKPj361d212f-a9ac-41ed-a49c-2c80ccbf8745
  709. From: <sip:*8585@10.10.2.1>;tag=8cc7e9bf-d536-4118-93e5-4a2fce45b766
  710. To: <sip:208@10.10.2.1>;tag=5fda4254-1c4-2184d57c
  711. Contact: <sip:10.10.2.1:5060>
  712. Call-ID: 42540000-57b001dc@10.10.2.208
  713. CSeq: 12418 NOTIFY
  714. Event: dialog
  715. Subscription-State: active;expires=179
  716. Allow-Events: presence, dialog, message-summary, refer
  717. Max-Forwards: 70
  718. User-Agent: FPBX-15.0.16.81(16.15.0)
  719. Content-Type: application/dialog-info+xml
  720. Content-Length:   230
  721.  
  722. <?xml version="1.0" encoding="UTF-8"?>
  723. <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="1" state="full" entity="sip:*8585@10.10.2.1:5060">
  724.  <dialog id="*8585">
  725.   <state>terminated</state>
  726.  </dialog>
  727. </dialog-info>
  728.  
  729. <--- Received SIP response (568 bytes) from UDP:10.10.2.208:5060 --->
  730. SIP/2.0 200 OK
  731. Via:SIP/2.0/UDP 10.10.2.1:5060;rport=5060;received=10.10.2.1;branch=z9hG4bKPj361d212f-a9ac-41ed-a49c-2c80ccbf8745
  732. From:<sip:*8585@10.10.2.1>;tag=8cc7e9bf-d536-4118-93e5-4a2fce45b766
  733. To:<sip:208@10.10.2.1>;tag=5fda4254-1c4-2184d57c
  734. CSeq:12418 NOTIFY
  735. User-Agent:Mitel-5324-SIP-Phone 03.00.02.05 08000F4899E4
  736. Call-ID:42540000-57b001dc@10.10.2.208
  737. Contact:<sip:208@10.10.2.208:5060;transport=UDP>;reg-id=1;+sip.instance="<urn:uuid:87f25800-2be3-3685-8353-e68cb5f5f6c8>"
  738. Allow:SUBSCRIBE,NOTIFY
  739. Supported:path,outbound,eventlist
  740. Content-Length:0
  741.  
  742.  
  743. freepbx*CLI>
  744. Disconnected from Asterisk server
  745. Asterisk cleanly ending (0).
  746. Executing last minute cleanups
  747. [root@freepbx ~]#

Reply to "All circuits are busy"

Here you can reply to the paste above