Advertisement
Guest User

sip debug

a guest
Jan 4th, 2012
501
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.57 KB | None | 0 0
  1. ast18*CLI> originate SIP/test02/9221536790 application Dial
  2. <--- SIP read from UDP:192.168.1.55:5060 --->
  3. OPTIONS sip:192.168.1.109:5060 SIP/2.0
  4. Max-Forwards: 10
  5. Record-Route: <sip:192.168.1.55;r2=on;lr=on;ftag=2d3174b1>
  6. Record-Route: <sip:127.0.0.1;r2=on;lr=on;ftag=2d3174b1>
  7. Via: SIP/2.0/UDP 192.168.1.55;branch=z9hG4bK457c.70d0d6d1.0
  8. Via: SIP/2.0/UDP 127.0.0.1:5062;rport=5062;branch=0
  9. From: sip:[email protected];tag=2d3174b1
  10. To: sip:192.168.1.109:5060
  11. CSeq: 1 OPTIONS
  12. Content-Length: 0
  13.  
  14. <------------->
  15. --- (11 headers 0 lines) ---
  16. Looking for s in default (domain 192.168.1.109:5060)
  17.  
  18. <--- Transmitting (NAT) to 192.168.1.55:5060 --->
  19. SIP/2.0 404 Not Found
  20. Via: SIP/2.0/UDP 192.168.1.55;branch=z9hG4bK457c.70d0d6d1.0;received=192.168.1.55;rport=5060
  21. Via: SIP/2.0/UDP 127.0.0.1:5062;rport=5062;branch=0
  22. From: sip:[email protected];tag=2d3174b1
  23. To: sip:192.168.1.109:5060;tag=as1ae382e5
  24. CSeq: 1 OPTIONS
  25. Server: Asterisk PBX 1.8.8.1
  26. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
  27. Supported: replaces, timer
  28. Accept: application/sdp
  29. Content-Length: 0
  30.  
  31.  
  32. <------------>
  33. Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: OPTIONS)
  34. Really destroying SIP dialog '[email protected]' Method: OPTIONS
  35. Really destroying SIP dialog '[email protected]' Method: REGISTER
  36. ast18*CLI> originate SIP/test02/9221536790 application Dial
  37. Audio is at 5060
  38. Adding codec 0x2 (gsm) to SDP
  39. Adding codec 0x4 (ulaw) to SDP
  40. Adding codec 0x8 (alaw) to SDP
  41. Adding codec 0x800000000000 (testlaw) to SDP
  42. Adding non-codec 0x1 (telephone-event) to SDP
  43. Reliably Transmitting (no NAT) to 192.168.1.55:5060:
  44. INVITE sip:[email protected] SIP/2.0
  45. Via: SIP/2.0/UDP 192.168.1.109:5060;branch=z9hG4bK31b2fdfd
  46. Max-Forwards: 70
  47. From: "Anonymous" <sip:[email protected]>;tag=as4c200289
  48. Contact: <sip:[email protected]:5060>
  49. Call-ID: [email protected]:5060
  50. CSeq: 102 INVITE
  51. User-Agent: Asterisk PBX 1.8.8.1
  52. Date: Wed, 04 Jan 2012 07:02:40 GMT
  53. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
  54. Supported: replaces, timer
  55. Content-Type: application/sdp
  56. Content-Length: 283
  57.  
  58. v=0
  59. o=root 316975547 316975547 IN IP4 192.168.1.109
  60. s=Asterisk PBX 1.8.8.1
  61. c=IN IP4 192.168.1.109
  62. t=0 0
  63. m=audio 17764 RTP/AVP 3 0 8 101
  64. a=rtpmap:3 GSM/8000
  65. a=rtpmap:0 PCMU/8000
  66. a=rtpmap:8 PCMA/8000
  67. a=rtpmap:101 telephone-event/8000
  68. a=fmtp:101 0-16
  69. a=ptime:20
  70. a=sendrecv
  71.  
  72. ---
  73.  
  74. <--- SIP read from UDP:192.168.1.55:5060 --->
  75. SIP/2.0 100 Trying
  76. Via: SIP/2.0/UDP 192.168.1.109:5060;branch=z9hG4bK31b2fdfd;rport=5060
  77. From: "Anonymous" <sip:[email protected]>;tag=as4c200289
  78. Call-ID: [email protected]:5060
  79. CSeq: 102 INVITE
  80. Server: Sipwise NGCP LB 2.X
  81. Content-Length: 0
  82.  
  83. <------------->
  84. --- (8 headers 0 lines) ---
  85.  
  86. <--- SIP read from UDP:192.168.1.55:5060 --->
  87. SIP/2.0 407 Proxy Authentication Required
  88. Via: SIP/2.0/UDP 192.168.1.109:5060;rport=5060;branch=z9hG4bK31b2fdfd
  89. From: "Anonymous" <sip:[email protected]>;tag=as4c200289
  90. To: <sip:[email protected]>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.cd9c
  91. Call-ID: [email protected]:5060
  92. CSeq: 102 INVITE
  93. Proxy-Authenticate: Digest realm="anonymous.invalid", nonce="TwP6vE8D+ZCxFT8cujmaiPxNP3F7TJR4"
  94. Server: Sipwise NGCP Proxy 2.X
  95. Content-Length: 0
  96.  
  97. <------------->
  98. --- (9 headers 0 lines) ---
  99. Transmitting (no NAT) to 192.168.1.55:5060:
  100. ACK sip:[email protected] SIP/2.0
  101. Via: SIP/2.0/UDP 192.168.1.109:5060;branch=z9hG4bK31b2fdfd
  102. Max-Forwards: 70
  103. From: "Anonymous" <sip:[email protected]>;tag=as4c200289
  104. To: <sip:[email protected]>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.cd9c
  105. Contact: <sip:[email protected]:5060>
  106. Call-ID: [email protected]:5060
  107. CSeq: 102 ACK
  108. User-Agent: Asterisk PBX 1.8.8.1
  109. Content-Length: 0
  110.  
  111.  
  112. ---
  113. Audio is at 5060
  114. Adding codec 0x2 (gsm) to SDP
  115. Adding codec 0x4 (ulaw) to SDP
  116. Adding codec 0x8 (alaw) to SDP
  117. Adding codec 0x800000000000 (testlaw) to SDP
  118. Adding non-codec 0x1 (telephone-event) to SDP
  119. Reliably Transmitting (no NAT) to 192.168.1.55:5060:
  120. INVITE sip:[email protected] SIP/2.0
  121. Via: SIP/2.0/UDP 192.168.1.109:5060;branch=z9hG4bK1efe7d0c
  122. Max-Forwards: 70
  123. From: "Anonymous" <sip:[email protected]>;tag=as4c200289
  124. Contact: <sip:[email protected]:5060>
  125. Call-ID: [email protected]:5060
  126. CSeq: 103 INVITE
  127. User-Agent: Asterisk PBX 1.8.8.1
  128. Proxy-Authorization: Digest username="test02", realm="anonymous.invalid", algorithm=MD5, uri="sip:[email protected]", nonce="TwP6vE8D+ZCxFT8cujmaiPxNP3F7TJR4", response="c56f3b0172e4bd15a03fc032ba1dec3e"
  129. Date: Wed, 04 Jan 2012 07:02:40 GMT
  130. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
  131. Supported: replaces, timer
  132. Content-Type: application/sdp
  133. Content-Length: 283
  134.  
  135. v=0
  136. o=root 316975547 316975548 IN IP4 192.168.1.109
  137. s=Asterisk PBX 1.8.8.1
  138. c=IN IP4 192.168.1.109
  139. t=0 0
  140. m=audio 17764 RTP/AVP 3 0 8 101
  141. a=rtpmap:3 GSM/8000
  142. a=rtpmap:0 PCMU/8000
  143. a=rtpmap:8 PCMA/8000
  144. a=rtpmap:101 telephone-event/8000
  145. a=fmtp:101 0-16
  146. a=ptime:20
  147. a=sendrecv
  148.  
  149. ---
  150.  
  151. <--- SIP read from UDP:192.168.1.55:5060 --->
  152. SIP/2.0 100 Trying
  153. Via: SIP/2.0/UDP 192.168.1.109:5060;branch=z9hG4bK1efe7d0c;rport=5060
  154. From: "Anonymous" <sip:[email protected]>;tag=as4c200289
  155. Call-ID: [email protected]:5060
  156. CSeq: 103 INVITE
  157. Server: Sipwise NGCP LB 2.X
  158. Content-Length: 0
  159.  
  160. <------------->
  161. --- (8 headers 0 lines) ---
  162.  
  163. <--- SIP read from UDP:192.168.1.55:5060 --->
  164. SIP/2.0 407 Proxy Authentication Required
  165. Via: SIP/2.0/UDP 192.168.1.109:5060;rport=5060;branch=z9hG4bK1efe7d0c
  166. From: "Anonymous" <sip:[email protected]>;tag=as4c200289
  167. To: <sip:[email protected]>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.6705
  168. Call-ID: [email protected]:5060
  169. CSeq: 103 INVITE
  170. Proxy-Authenticate: Digest realm="anonymous.invalid", nonce="TwP6vE8D+ZCxFT8cujmaiPxNP3F7TJR4"
  171. Server: Sipwise NGCP Proxy 2.X
  172. Content-Length: 0
  173.  
  174. <------------->
  175. --- (9 headers 0 lines) ---
  176. Transmitting (no NAT) to 192.168.1.55:5060:
  177. ACK sip:[email protected] SIP/2.0
  178. Via: SIP/2.0/UDP 192.168.1.109:5060;branch=z9hG4bK1efe7d0c
  179. Max-Forwards: 70
  180. From: "Anonymous" <sip:[email protected]>;tag=as4c200289
  181. To: <sip:[email protected]>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.6705
  182. Contact: <sip:[email protected]:5060>
  183. Call-ID: [email protected]:5060
  184. CSeq: 103 ACK
  185. User-Agent: Asterisk PBX 1.8.8.1
  186. Content-Length: 0
  187.  
  188.  
  189. ---
  190. Audio is at 5060
  191. Adding codec 0x2 (gsm) to SDP
  192. Adding codec 0x4 (ulaw) to SDP
  193. Adding codec 0x8 (alaw) to SDP
  194. Adding codec 0x800000000000 (testlaw) to SDP
  195. Adding non-codec 0x1 (telephone-event) to SDP
  196. Reliably Transmitting (no NAT) to 192.168.1.55:5060:
  197. INVITE sip:[email protected] SIP/2.0
  198. Via: SIP/2.0/UDP 192.168.1.109:5060;branch=z9hG4bK1b310208
  199. Max-Forwards: 70
  200. From: "Anonymous" <sip:[email protected]>;tag=as4c200289
  201. Contact: <sip:[email protected]:5060>
  202. Call-ID: [email protected]:5060
  203. CSeq: 104 INVITE
  204. User-Agent: Asterisk PBX 1.8.8.1
  205. Proxy-Authorization: Digest username="test02", realm="anonymous.invalid", algorithm=MD5, uri="sip:[email protected]", nonce="TwP6vE8D+ZCxFT8cujmaiPxNP3F7TJR4", response="c56f3b0172e4bd15a03fc032ba1dec3e"
  206. Date: Wed, 04 Jan 2012 07:02:40 GMT
  207. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
  208. Supported: replaces, timer
  209. Content-Type: application/sdp
  210. Content-Length: 283
  211.  
  212. v=0
  213. o=root 316975547 316975549 IN IP4 192.168.1.109
  214. s=Asterisk PBX 1.8.8.1
  215. c=IN IP4 192.168.1.109
  216. t=0 0
  217. m=audio 17764 RTP/AVP 3 0 8 101
  218. a=rtpmap:3 GSM/8000
  219. a=rtpmap:0 PCMU/8000
  220. a=rtpmap:8 PCMA/8000
  221. a=rtpmap:101 telephone-event/8000
  222. a=fmtp:101 0-16
  223. a=ptime:20
  224. a=sendrecv
  225.  
  226. ---
  227.  
  228. <--- SIP read from UDP:192.168.1.55:5060 --->
  229. SIP/2.0 100 Trying
  230. Via: SIP/2.0/UDP 192.168.1.109:5060;branch=z9hG4bK1b310208;rport=5060
  231. From: "Anonymous" <sip:[email protected]>;tag=as4c200289
  232. Call-ID: [email protected]:5060
  233. CSeq: 104 INVITE
  234. Server: Sipwise NGCP LB 2.X
  235. Content-Length: 0
  236.  
  237. <------------->
  238. --- (8 headers 0 lines) ---
  239.  
  240. <--- SIP read from UDP:192.168.1.55:5060 --->
  241. SIP/2.0 407 Proxy Authentication Required
  242. Via: SIP/2.0/UDP 192.168.1.109:5060;rport=5060;branch=z9hG4bK1b310208
  243. From: "Anonymous" <sip:[email protected]>;tag=as4c200289
  244. To: <sip:[email protected]>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.6e24
  245. Call-ID: [email protected]:5060
  246. CSeq: 104 INVITE
  247. Proxy-Authenticate: Digest realm="anonymous.invalid", nonce="TwP6vE8D+ZCxFT8cujmaiPxNP3F7TJR4"
  248. Server: Sipwise NGCP Proxy 2.X
  249. Content-Length: 0
  250.  
  251. <------------->
  252. --- (9 headers 0 lines) ---
  253. Transmitting (no NAT) to 192.168.1.55:5060:
  254. ACK sip:[email protected] SIP/2.0
  255. Via: SIP/2.0/UDP 192.168.1.109:5060;branch=z9hG4bK1b310208
  256. Max-Forwards: 70
  257. From: "Anonymous" <sip:[email protected]>;tag=as4c200289
  258. To: <sip:[email protected]>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.6e24
  259. Contact: <sip:[email protected]:5060>
  260. Call-ID: [email protected]:5060
  261. CSeq: 104 ACK
  262. User-Agent: Asterisk PBX 1.8.8.1
  263. Content-Length: 0
  264.  
  265.  
  266. ---
  267. Audio is at 5060
  268. Adding codec 0x2 (gsm) to SDP
  269. Adding codec 0x4 (ulaw) to SDP
  270. Adding codec 0x8 (alaw) to SDP
  271. Adding codec 0x800000000000 (testlaw) to SDP
  272. Adding non-codec 0x1 (telephone-event) to SDP
  273. Reliably Transmitting (no NAT) to 192.168.1.55:5060:
  274. INVITE sip:[email protected] SIP/2.0
  275. Via: SIP/2.0/UDP 192.168.1.109:5060;branch=z9hG4bK30a7c983
  276. Max-Forwards: 70
  277. From: "Anonymous" <sip:[email protected]>;tag=as4c200289
  278. Contact: <sip:[email protected]:5060>
  279. Call-ID: [email protected]:5060
  280. CSeq: 105 INVITE
  281. User-Agent: Asterisk PBX 1.8.8.1
  282. Proxy-Authorization: Digest username="test02", realm="anonymous.invalid", algorithm=MD5, uri="sip:[email protected]", nonce="TwP6vE8D+ZCxFT8cujmaiPxNP3F7TJR4", response="c56f3b0172e4bd15a03fc032ba1dec3e"
  283. Date: Wed, 04 Jan 2012 07:02:40 GMT
  284. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
  285. Supported: replaces, timer
  286. Content-Type: application/sdp
  287. Content-Length: 283
  288.  
  289. v=0
  290. o=root 316975547 316975550 IN IP4 192.168.1.109
  291. s=Asterisk PBX 1.8.8.1
  292. c=IN IP4 192.168.1.109
  293. t=0 0
  294. m=audio 17764 RTP/AVP 3 0 8 101
  295. a=rtpmap:3 GSM/8000
  296. a=rtpmap:0 PCMU/8000
  297. a=rtpmap:8 PCMA/8000
  298. a=rtpmap:101 telephone-event/8000
  299. a=fmtp:101 0-16
  300. a=ptime:20
  301. a=sendrecv
  302.  
  303. ---
  304.  
  305. <--- SIP read from UDP:192.168.1.55:5060 --->
  306. SIP/2.0 100 Trying
  307. Via: SIP/2.0/UDP 192.168.1.109:5060;branch=z9hG4bK30a7c983;rport=5060
  308. From: "Anonymous" <sip:[email protected]>;tag=as4c200289
  309. Call-ID: [email protected]:5060
  310. CSeq: 105 INVITE
  311. Server: Sipwise NGCP LB 2.X
  312. Content-Length: 0
  313.  
  314. <------------->
  315. --- (8 headers 0 lines) ---
  316.  
  317. <--- SIP read from UDP:192.168.1.55:5060 --->
  318. SIP/2.0 407 Proxy Authentication Required
  319. Via: SIP/2.0/UDP 192.168.1.109:5060;rport=5060;branch=z9hG4bK30a7c983
  320. From: "Anonymous" <sip:[email protected]>;tag=as4c200289
  321. To: <sip:[email protected]>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.bbf7
  322. Call-ID: [email protected]:5060
  323. CSeq: 105 INVITE
  324. Proxy-Authenticate: Digest realm="anonymous.invalid", nonce="TwP6vE8D+ZCxFT8cujmaiPxNP3F7TJR4"
  325. Server: Sipwise NGCP Proxy 2.X
  326. Content-Length: 0
  327.  
  328. <------------->
  329. --- (9 headers 0 lines) ---
  330. Transmitting (no NAT) to 192.168.1.55:5060:
  331. ACK sip:[email protected] SIP/2.0
  332. Via: SIP/2.0/UDP 192.168.1.109:5060;branch=z9hG4bK30a7c983
  333. Max-Forwards: 70
  334. From: "Anonymous" <sip:[email protected]>;tag=as4c200289
  335. To: <sip:[email protected]>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.bbf7
  336. Contact: <sip:[email protected]:5060>
  337. Call-ID: [email protected]:5060
  338. CSeq: 105 ACK
  339. User-Agent: Asterisk PBX 1.8.8.1
  340. Content-Length: 0
  341.  
  342.  
  343. ---
  344. [Jan 4 10:02:40] NOTICE[29823]: chan_sip.c:19718 handle_response_invite: Failed to authenticate on INVITE to '"Anonymous" <sip:[email protected]>;tag=as4c200289'
  345. ast18*CLI> quit
  346. root@ast18:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement