Guest User

Untitled

a guest
Jun 12th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.89 KB | None | 0 0
  1. root@newsip:/etc/asterisk# asterisk -r
  2. Asterisk 1.4.23.2, Copyright (C) 1999 - 2008 Digium, Inc. and others.
  3. Created by Mark Spencer <[email protected]>
  4. Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
  5. This is free software, with components licensed under the GNU General Public
  6. License version 2 and other licenses; you are welcome to redistribute it under
  7. certain conditions. Type 'core show license' for details.
  8. =========================================================================
  9. Connected to Asterisk 1.4.23.2 currently running on newsip (pid = 24372)
  10. Verbosity is at least 3
  11. -- Remote UNIX connection
  12. REGISTER 13 headers, 0 lines
  13. Reliably Transmitting (no NAT) to 64.192.112.13:5060:
  14. REGISTER sip:sip.gafachi.com SIP/2.0
  15. Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK0baadee8;rport
  16. From: <sip:[email protected]>;tag=as41812f25
  17. CSeq: 116 REGISTER
  18. User-Agent: Asterisk PBX
  19. Max-Forwards: 70
  20. Authorization: Digest username="a9465sDWkdqbrh2a", realm="sip.gafachi.com", algorithm=MD5, uri="sip:sip.gafachi.com", nonce="36157cc3be3e6789", response="af56d542af43e5c3da520b64df46b232"
  21. Expires: 120
  22. Contact: <sip:[email protected]>
  23. Event: registration
  24. Content-Length: 0
  25.  
  26.  
  27. ---
  28. newsip*CLI>
  29. <--- SIP read from 64.192.112.13:5060 --->
  30. SIP/2.0 100 Trying
  31. Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK0baadee8;received=67.110.177.220;rport=5060
  32. From: <sip:[email protected]>;tag=as41812f25
  33. CSeq: 116 REGISTER
  34. Server: Gafachi UAS v110.08
  35. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
  36. Contact: <sip:[email protected]>
  37. Content-Length: 0
  38.  
  39.  
  40. <------------->
  41. --- (10 headers 0 lines) ---
  42. newsip*CLI>
  43. <--- SIP read from 64.192.112.13:5060 --->
  44. SIP/2.0 401 Unauthorized
  45. Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK0baadee8;received=67.110.177.220;rport=5060
  46. From: <sip:[email protected]>;tag=as41812f25
  47. To: <sip:[email protected]>;tag=gssc797afe0a44b190c1dd349cbf7ccdf56
  48. CSeq: 116 REGISTER
  49. Server: Gafachi UAS v110.08
  50. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
  51. Contact: <sip:[email protected]>
  52. WWW-Authenticate: Digest realm="sip.gafachi.com", nonce="190c1234a8cf34ae"
  53. Content-Length: 0
  54.  
  55.  
  56. <------------->
  57. --- (11 headers 0 lines) ---
  58. Responding to challenge, registration to domain/host name sip.gafachi.com
  59. REGISTER 13 headers, 0 lines
  60. Reliably Transmitting (no NAT) to 64.192.112.13:5060:
  61. REGISTER sip:sip.gafachi.com SIP/2.0
  62. Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK5be142cf;rport
  63. From: <sip:[email protected]>;tag=as557a57be
  64. CSeq: 117 REGISTER
  65. User-Agent: Asterisk PBX
  66. Max-Forwards: 70
  67. Authorization: Digest username="a9465sDWkdqbrh2a", realm="sip.gafachi.com", algorithm=MD5, uri="sip:sip.gafachi.com", nonce="190c1234a8cf34ae", response="677b7f60c0cfb5e5bc1991b4d371e17a"
  68. Expires: 120
  69. Contact: <sip:[email protected]>
  70. Event: registration
  71. Content-Length: 0
  72.  
  73.  
  74. ---
  75. newsip*CLI>
  76. <--- SIP read from 64.192.112.13:5060 --->
  77. SIP/2.0 100 Trying
  78. Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK5be142cf;received=67.110.177.220;rport=5060
  79. From: <sip:[email protected]>;tag=as557a57be
  80. CSeq: 117 REGISTER
  81. Server: Gafachi UAS v110.08
  82. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
  83. Contact: <sip:[email protected]>
  84. Content-Length: 0
  85.  
  86.  
  87. <------------->
  88. --- (10 headers 0 lines) ---
  89. newsip*CLI>
  90. <--- SIP read from 64.192.112.13:5060 --->
  91. SIP/2.0 200 OK
  92. Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK5be142cf;received=67.110.177.220;rport=5060
  93. From: <sip:[email protected]>;tag=as557a57be
  94. To: <sip:[email protected]>;tag=gssc797afe0a44b190c1dd349cbf7ccdf56
  95. CSeq: 117 REGISTER
  96. Server: Gafachi UAS v110.08
  97. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
  98. Contact: <sip:[email protected]>
  99. Date: Fri, 03 Apr 2009 20:57:43 GMT
  100. Content-Length: 0
  101.  
  102.  
  103. <------------->
  104. --- (11 headers 0 lines) ---
  105. Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: REGISTER)
  106. -- Executing [6108882763@from-internal:1] Macro("SIP/123-b750ac88", "user-callerid|SKIPTTL|") in new stack
  107. -- Executing [s@macro-user-callerid:1] Set("SIP/123-b750ac88", "AMPUSER=123") in new stack
  108. -- Executing [s@macro-user-callerid:2] GotoIf("SIP/123-b750ac88", "0?report") in new stack
  109. -- Executing [s@macro-user-callerid:3] ExecIf("SIP/123-b750ac88", "1|Set|REALCALLERIDNUM=123") in new stack
  110. -- Executing [s@macro-user-callerid:4] Set("SIP/123-b750ac88", "AMPUSER=123") in new stack
  111. -- Executing [s@macro-user-callerid:5] Set("SIP/123-b750ac88", "AMPUSERCIDNAME=andy aastra g722 test") in new stack
  112. -- Executing [s@macro-user-callerid:6] GotoIf("SIP/123-b750ac88", "0?report") in new stack
  113. -- Executing [s@macro-user-callerid:7] Set("SIP/123-b750ac88", "AMPUSERCID=123") in new stack
  114. -- Executing [s@macro-user-callerid:8] Set("SIP/123-b750ac88", "CALLERID(all)="andy aastra g722 test" <123>") in new stack
  115. -- Executing [s@macro-user-callerid:9] Set("SIP/123-b750ac88", "REALCALLERIDNUM=123") in new stack
  116. -- Executing [s@macro-user-callerid:10] ExecIf("SIP/123-b750ac88", "0|Set|CHANNEL(language)=") in new stack
  117. -- Executing [s@macro-user-callerid:11] GotoIf("SIP/123-b750ac88", "1?continue") in new stack
  118. -- Goto (macro-user-callerid,s,20)
  119. -- Executing [s@macro-user-callerid:20] NoOp("SIP/123-b750ac88", "Using CallerID "andy aastra g722 test" <123>") in new stack
  120. -- Executing [6108882763@from-internal:2] Set("SIP/123-b750ac88", "_NODEST=") in new stack
  121. -- Executing [6108882763@from-internal:3] Macro("SIP/123-b750ac88", "record-enable|123|OUT|") in new stack
  122. -- Executing [s@macro-record-enable:1] GotoIf("SIP/123-b750ac88", "1?check") in new stack
  123. -- Goto (macro-record-enable,s,4)
  124. -- Executing [s@macro-record-enable:4] AGI("SIP/123-b750ac88", "recordingcheck|20090403-165953|1238792393.4") in new stack
  125. -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  126. recordingcheck|20090403-165953|1238792393.4: Outbound recording not enabled
  127. -- AGI Script recordingcheck completed, returning 0
  128. -- Executing [s@macro-record-enable:5] MacroExit("SIP/123-b750ac88", "") in new stack
  129. -- Executing [6108882763@from-internal:4] Macro("SIP/123-b750ac88", "dialout-trunk|3|6108882763||") in new stack
  130. -- Executing [s@macro-dialout-trunk:1] Set("SIP/123-b750ac88", "DIAL_TRUNK=3") in new stack
  131. -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/123-b750ac88", "0?sub-pincheck|s|1") in new stack
  132. -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/123-b750ac88", "0?disabletrunk|1") in new stack
  133. -- Executing [s@macro-dialout-trunk:4] Set("SIP/123-b750ac88", "DIAL_NUMBER=6108882763") in new stack
  134. -- Executing [s@macro-dialout-trunk:5] Set("SIP/123-b750ac88", "DIAL_TRUNK_OPTIONS=tr") in new stack
  135. -- Executing [s@macro-dialout-trunk:6] Set("SIP/123-b750ac88", "OUTBOUND_GROUP=OUT_3") in new stack
  136. -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/123-b750ac88", "1?nomax") in new stack
  137. -- Goto (macro-dialout-trunk,s,9)
  138. -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/123-b750ac88", "0?skipoutcid") in new stack
  139. -- Executing [s@macro-dialout-trunk:10] Set("SIP/123-b750ac88", "DIAL_TRUNK_OPTIONS=") in new stack
  140. -- Executing [s@macro-dialout-trunk:11] Macro("SIP/123-b750ac88", "outbound-callerid|3") in new stack
  141. -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/123-b750ac88", "0|SetCallerPres|") in new stack
  142. -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/123-b750ac88", "0|Set|REALCALLERIDNUM=123") in new stack
  143. -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/123-b750ac88", "1?normcid") in new stack
  144. -- Goto (macro-outbound-callerid,s,6)
  145. -- Executing [s@macro-outbound-callerid:6] Set("SIP/123-b750ac88", "USEROUTCID=4844219919") in new stack
  146. -- Executing [s@macro-outbound-callerid:7] Set("SIP/123-b750ac88", "EMERGENCYCID=") in new stack
  147. -- Executing [s@macro-outbound-callerid:8] Set("SIP/123-b750ac88", "TRUNKOUTCID=") in new stack
  148. -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/123-b750ac88", "1?trunkcid") in new stack
  149. -- Goto (macro-outbound-callerid,s,12)
  150. -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/123-b750ac88", "0|Set|CALLERID(all)=") in new stack
  151. -- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/123-b750ac88", "0?exit") in new stack
  152. -- Executing [s@macro-outbound-callerid:14] Set("SIP/123-b750ac88", "CALLERID(all)=4844219919") in new stack
  153. -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/123-b750ac88", "0|SetCallerPres|prohib_passed_screen") in new stack
  154. -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/123-b750ac88", "1|AGI|fixlocalprefix") in new stack
  155. -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
  156. == fixlocalprefix: Dialpattern NXXXXXXXXX matched. 6108882763 -> 6108882763
  157. -- AGI Script fixlocalprefix completed, returning 0
  158. -- Executing [s@macro-dialout-trunk:13] Set("SIP/123-b750ac88", "OUTNUM=6108882763") in new stack
  159. -- Executing [s@macro-dialout-trunk:14] Set("SIP/123-b750ac88", "custom=SIP/gafachi") in new stack
  160. -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/123-b750ac88", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
  161. -- Executing [s@macro-dialout-trunk:16] Macro("SIP/123-b750ac88", "dialout-trunk-predial-hook|") in new stack
  162. -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/123-b750ac88", "") in new stack
  163. -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/123-b750ac88", "0?bypass|1") in new stack
  164. -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/123-b750ac88", "0?customtrunk") in new stack
  165. -- Executing [s@macro-dialout-trunk:19] Dial("SIP/123-b750ac88", "SIP/gafachi/6108882763|300|") in new stack
  166. Audio is at 67.110.177.220 port 16118
  167. Adding codec 0x4 (ulaw) to SDP
  168. Adding codec 0x8 (alaw) to SDP
  169. Adding codec 0x1000 (g722) to SDP
  170. Adding non-codec 0x1 (telephone-event) to SDP
  171. Reliably Transmitting (no NAT) to 64.192.112.13:5060:
  172. INVITE sip:[email protected] SIP/2.0
  173. Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK309b2ae7;rport
  174. From: "4844219919" <sip:[email protected]>;tag=as19a50e04
  175. Contact: <sip:[email protected]>
  176. CSeq: 102 INVITE
  177. User-Agent: Asterisk PBX
  178. Max-Forwards: 70
  179. Date: Fri, 03 Apr 2009 20:59:54 GMT
  180. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
  181. Supported: replaces
  182. Content-Type: application/sdp
  183. Content-Length: 292
  184.  
  185. v=0
  186. o=root 24372 24372 IN IP4 67.110.177.220
  187. s=session
  188. c=IN IP4 67.110.177.220
  189. t=0 0
  190. m=audio 16118 RTP/AVP 0 8 9 101
  191. a=rtpmap:0 PCMU/8000
  192. a=rtpmap:8 PCMA/8000
  193. a=rtpmap:9 G722/8000
  194. a=rtpmap:101 telephone-event/8000
  195. a=fmtp:101 0-16
  196. a=silenceSupp:off - - - -
  197. a=ptime:20
  198. a=sendrecv
  199.  
  200. ---
  201. -- Called gafachi/6108882763
  202. newsip*CLI>
  203. <--- SIP read from 64.192.112.13:5060 --->
  204. SIP/2.0 407 Proxy Authentication Required
  205. Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK309b2ae7;received=67.110.177.220;rport=5060
  206. From: "4844219919" <sip:[email protected]>;tag=as19a50e04
  207. To: <sip:[email protected]>;tag=gss2a24713c5348a6b3f5ac12f772f1e779
  208. CSeq: 102 INVITE
  209. Server: Gafachi UAS v110.08
  210. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
  211. Contact: <sip:[email protected]>
  212. Proxy-Authenticate: Digest realm="sip.gafachi.com", nonce="d40227c398504aa4"
  213. Content-Length: 0
  214.  
  215.  
  216. <------------->
  217. --- (11 headers 0 lines) ---
  218. Transmitting (no NAT) to 64.192.112.13:5060:
  219. ACK sip:[email protected] SIP/2.0
  220. Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK309b2ae7;rport
  221. From: "4844219919" <sip:[email protected]>;tag=as19a50e04
  222. To: <sip:[email protected]>;tag=gss2a24713c5348a6b3f5ac12f772f1e779
  223. Contact: <sip:[email protected]>
  224. CSeq: 102 ACK
  225. User-Agent: Asterisk PBX
  226. Max-Forwards: 70
  227. Content-Length: 0
  228.  
  229.  
  230. ---
  231. Audio is at 67.110.177.220 port 16118
  232. Adding codec 0x4 (ulaw) to SDP
  233. Adding codec 0x8 (alaw) to SDP
  234. Adding codec 0x1000 (g722) to SDP
  235. Adding non-codec 0x1 (telephone-event) to SDP
  236. Reliably Transmitting (no NAT) to 64.192.112.13:5060:
  237. INVITE sip:[email protected] SIP/2.0
  238. Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK21c11287;rport
  239. From: "4844219919" <sip:[email protected]>;tag=as19a50e04
  240. Contact: <sip:[email protected]>
  241. CSeq: 103 INVITE
  242. User-Agent: Asterisk PBX
  243. Max-Forwards: 70
  244. Proxy-Authorization: Digest username="a9465sDWkdqbrh2a", realm="sip.gafachi.com", algorithm=MD5, uri="sip:[email protected]", nonce="d40227c398504aa4", response="ae695ba245efb6b5489f3bf382da662f"
  245. Date: Fri, 03 Apr 2009 20:59:54 GMT
  246. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
  247. Supported: replaces
  248. Content-Type: application/sdp
  249. Content-Length: 292
  250.  
  251. v=0
  252. o=root 24372 24373 IN IP4 67.110.177.220
  253. s=session
  254. c=IN IP4 67.110.177.220
  255. t=0 0
  256. m=audio 16118 RTP/AVP 0 8 9 101
  257. a=rtpmap:0 PCMU/8000
  258. a=rtpmap:8 PCMA/8000
  259. a=rtpmap:9 G722/8000
  260. a=rtpmap:101 telephone-event/8000
  261. a=fmtp:101 0-16
  262. a=silenceSupp:off - - - -
  263. a=ptime:20
  264. a=sendrecv
  265.  
  266. ---
  267. newsip*CLI>
  268. <--- SIP read from 64.192.112.13:5060 --->
  269. SIP/2.0 404 Not Found
  270. Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK21c11287;received=67.110.177.220;rport=5060
  271. From: "4844219919" <sip:[email protected]>;tag=as19a50e04
  272. To: <sip:[email protected]>;tag=gss2a24713c5348a6b3f5ac12f772f1e779
  273. CSeq: 103 INVITE
  274. Server: Gafachi UAS v110.08
  275. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
  276. Contact: <sip:[email protected]>
  277. Content-Length: 0
  278.  
  279.  
  280. <------------->
  281. --- (10 headers 0 lines) ---
  282. Transmitting (no NAT) to 64.192.112.13:5060:
  283. ACK sip:[email protected] SIP/2.0
  284. Via: SIP/2.0/UDP 67.110.177.220:5060;branch=z9hG4bK21c11287;rport
  285. From: "4844219919" <sip:[email protected]>;tag=as19a50e04
  286. To: <sip:[email protected]>;tag=gss2a24713c5348a6b3f5ac12f772f1e779
  287. Contact: <sip:[email protected]>
  288. CSeq: 103 ACK
  289. User-Agent: Asterisk PBX
  290. Max-Forwards: 70
  291. Content-Length: 0
  292.  
  293.  
  294. ---
  295. -- SIP/gafachi-b750ec10 is circuit-busy
  296. == Everyone is busy/congested at this time (1:0/1/0)
  297. -- Executing [s@macro-dialout-trunk:20] Goto("SIP/123-b750ac88", "s-CONGESTION|1") in new stack
  298. -- Goto (macro-dialout-trunk,s-CONGESTION,1)
  299. -- Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf("SIP/123-b750ac88", "1?noreport") in new stack
  300. -- Goto (macro-dialout-trunk,s-CONGESTION,3)
  301. -- Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp("SIP/123-b750ac88", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack
  302. -- Executing [6108882763@from-internal:5] Macro("SIP/123-b750ac88", "outisbusy|") in new stack
  303. -- Executing [s@macro-outisbusy:1] Playback("SIP/123-b750ac88", "all-circuits-busy-now|noanswer") in new stack
  304. -- <SIP/123-b750ac88> Playing 'all-circuits-busy-now' (language 'en')
  305. Really destroying SIP dialog '[email protected]' Method: INVITE
  306. == Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/123-b750ac88' in macro 'outisbusy'
  307. == Spawn extension (from-internal, 6108882763, 5) exited non-zero on 'SIP/123-b750ac88'
  308. -- Executing [h@from-internal:1] Macro("SIP/123-b750ac88", "hangupcall") in new stack
  309. -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/123-b750ac88", "w") in new stack
  310. -- Executing [s@macro-hangupcall:2] NoCDR("SIP/123-b750ac88", "") in new stack
  311. -- Executing [s@macro-hangupcall:3] GotoIf("SIP/123-b750ac88", "1?skiprg") in new stack
  312. -- Goto (macro-hangupcall,s,6)
  313. -- Executing [s@macro-hangupcall:6] GotoIf("SIP/123-b750ac88", "1?skipblkvm") in new stack
  314. -- Goto (macro-hangupcall,s,9)
  315. -- Executing [s@macro-hangupcall:9] GotoIf("SIP/123-b750ac88", "1?theend") in new stack
  316. -- Goto (macro-hangupcall,s,11)
  317. -- Executing [s@macro-hangupcall:11] Hangup("SIP/123-b750ac88", "") in new stack
  318. == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/123-b750ac88' in macro 'hangupcall'
  319. == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/123-b750ac88'
  320. newsip*CLI> exit
Add Comment
Please, Sign In to add comment