Advertisement
powerponch

SIP messages when making a call to local extension

Sep 8th, 2015
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.50 KB | None | 0 0
  1. SIP Debugging when making a call to local extension
  2. The extension only plays a "hello world" recording
  3.  
  4.  
  5. INVITE sip:200@192.168.0.4 SIP/2.0
  6. Via: SIP/2.0/WS 192.0.2.177;branch=z9hG4bK2696832
  7. Max-Forwards: 69
  8. To: <sip:200@192.168.0.4>
  9. From: "UA WebRTC" <sip:1001@192.168.0.4>;tag=9q1k7ijiab
  10. Call-ID: 6gejrmupvj5asi2fdhv8
  11. CSeq: 9260 INVITE
  12. Contact: <sip:grd0bbtt@192.0.2.177;transport=ws;ob>
  13. Content-Type: application/sdp
  14. Session-Expires: 90
  15. Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER
  16. Supported: timer,ice,replaces,outbound
  17. User-Agent: JsSIP 0.7.4
  18. Content-Length: 936
  19.  
  20. v=0
  21. o=mozilla...THIS_IS_SDPARTA-40.0 4294967295 0 IN IP4 0.0.0.0
  22. s=-
  23. t=0 0
  24. a=sendrecv
  25. a=fingerprint:sha-256 2F:5D:E3:B3:9B:9C:8E:00:AF:81:CC:E8:39:CA:05:CF:40:D1:66:11:91:3A:F1:A2:6D:78:D5:51:5F:22:96:AC
  26. a=group:BUNDLE sdparta_0
  27. a=ice-options:trickle
  28. a=msid-semantic:WMS *
  29. m=audio 35823 RTP/SAVPF 109 9 0 8
  30. c=IN IP4 192.168.0.4
  31. a=candidate:0 1 UDP 2122252543 192.168.0.4 35823 typ host
  32. a=candidate:0 2 UDP 2122252542 192.168.0.4 35135 typ host
  33. a=sendrecv
  34. a=end-of-candidates
  35. a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
  36. a=ice-pwd:516e745ffd8bf121177f0b7680506018
  37. a=ice-ufrag:37f2205c
  38. a=mid:sdparta_0
  39. a=msid:{aa42a325-b228-4ff3-b52f-de1f1288836e} {7b2300a8-f4ea-4b74-bbfa-ac5c4835b3c8}
  40. a=rtcp:35135 IN IP4 192.168.0.4
  41. a=rtcp-mux
  42. a=rtpmap:109 opus/48000/2
  43. a=rtpmap:9 G722/8000/1
  44. a=rtpmap:0 PCMU/8000
  45. a=rtpmap:8 PCMA/8000
  46. a=setup:actpass
  47. a=ssrc:1479786588 cname:{0dbce354-bdf6-4ee7-acb0-e4f12c501e04}
  48.  
  49. +70ms
  50. JsSIP:Transport
  51. received WebSocket text message:
  52.  
  53. SIP/2.0 401 Unauthorized
  54. Via: SIP/2.0/WS 192.0.2.177;branch=z9hG4bK2696832;received=192.168.0.4
  55. From: "UA WebRTC" <sip:1001@192.168.0.4>;tag=9q1k7ijiab
  56. To: <sip:200@192.168.0.4>;tag=as34ac1926
  57. Call-ID: 6gejrmupvj5asi2fdhv8
  58. CSeq: 9260 INVITE
  59. Server: Asterisk PBX 12.8.2
  60. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  61. Supported: replaces, timer
  62. WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="3d67a76d"
  63. Content-Length: 0
  64.  
  65. +43ms
  66. JsSIP:Transport
  67. sending WebSocket message:
  68.  
  69. ACK sip:200@192.168.0.4 SIP/2.0
  70. Via: SIP/2.0/WS 192.0.2.177;branch=z9hG4bK2696832
  71. To: <sip:200@192.168.0.4>;tag=as34ac1926
  72. From: "UA WebRTC" <sip:1001@192.168.0.4>;tag=9q1k7ijiab
  73. Call-ID: 6gejrmupvj5asi2fdhv8
  74. CSeq: 9260 ACK
  75. Content-Length: 0
  76.  
  77. +40ms
  78. JsSIP:Transport
  79. sending WebSocket message:
  80.  
  81. INVITE sip:200@192.168.0.4 SIP/2.0
  82. Via: SIP/2.0/WS 192.0.2.177;branch=z9hG4bK3632996
  83. Max-Forwards: 69
  84. To: <sip:200@192.168.0.4>
  85. From: "UA WebRTC" <sip:1001@192.168.0.4>;tag=9q1k7ijiab
  86. Call-ID: 6gejrmupvj5asi2fdhv8
  87. CSeq: 9261 INVITE
  88. Authorization: Digest algorithm=MD5, username="1001", realm="asterisk", nonce="3d67a76d", uri="sip:200@192.168.0.4", response="abff34d15fffc9b5baaadeab85d770c9"
  89. Contact: <sip:grd0bbtt@192.0.2.177;transport=ws;ob>
  90. Content-Type: application/sdp
  91. Session-Expires: 90
  92. Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER
  93. Supported: timer,ice,replaces,outbound
  94. User-Agent: JsSIP 0.7.4
  95. Content-Length: 936
  96.  
  97. v=0
  98. o=mozilla...THIS_IS_SDPARTA-40.0 4294967295 0 IN IP4 0.0.0.0
  99. s=-
  100. t=0 0
  101. a=sendrecv
  102. a=fingerprint:sha-256 2F:5D:E3:B3:9B:9C:8E:00:AF:81:CC:E8:39:CA:05:CF:40:D1:66:11:91:3A:F1:A2:6D:78:D5:51:5F:22:96:AC
  103. a=group:BUNDLE sdparta_0
  104. a=ice-options:trickle
  105. a=msid-semantic:WMS *
  106. m=audio 35823 RTP/SAVPF 109 9 0 8
  107. c=IN IP4 192.168.0.4
  108. a=candidate:0 1 UDP 2122252543 192.168.0.4 35823 typ host
  109. a=candidate:0 2 UDP 2122252542 192.168.0.4 35135 typ host
  110. a=sendrecv
  111. a=end-of-candidates
  112. a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
  113. a=ice-pwd:516e745ffd8bf121177f0b7680506018
  114. a=ice-ufrag:37f2205c
  115. a=mid:sdparta_0
  116. a=msid:{aa42a325-b228-4ff3-b52f-de1f1288836e} {7b2300a8-f4ea-4b74-bbfa-ac5c4835b3c8}
  117. a=rtcp:35135 IN IP4 192.168.0.4
  118. a=rtcp-mux
  119. a=rtpmap:109 opus/48000/2
  120. a=rtpmap:9 G722/8000/1
  121. a=rtpmap:0 PCMU/8000
  122. a=rtpmap:8 PCMA/8000
  123. a=setup:actpass
  124. a=ssrc:1479786588 cname:{0dbce354-bdf6-4ee7-acb0-e4f12c501e04}
  125.  
  126. +18ms
  127. JsSIP:InviteClientTransaction Timer D expired for transaction z9hG4bK2696832 +44ms
  128. JsSIP:Transport
  129. received WebSocket text message:
  130.  
  131. SIP/2.0 100 Trying
  132. Via: SIP/2.0/WS 192.0.2.177;branch=z9hG4bK3632996;received=192.168.0.4
  133. From: "UA WebRTC" <sip:1001@192.168.0.4>;tag=9q1k7ijiab
  134. To: <sip:200@192.168.0.4>
  135. Call-ID: 6gejrmupvj5asi2fdhv8
  136. CSeq: 9261 INVITE
  137. Server: Asterisk PBX 12.8.2
  138. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  139. Supported: replaces, timer
  140. Session-Expires: 90;refresher=uas
  141. Contact: <sip:200@192.168.0.4:5060;transport=WS>
  142. Content-Length: 0
  143.  
  144. +116ms
  145. JsSIP:RTCSession receiveInviteResponse() +31ms
  146. JsSIP:Transport
  147. received WebSocket text message:
  148.  
  149. SIP/2.0 200 OK
  150. Via: SIP/2.0/WS 192.0.2.177;branch=z9hG4bK3632996;received=192.168.0.4
  151. From: "UA WebRTC" <sip:1001@192.168.0.4>;tag=9q1k7ijiab
  152. To: <sip:200@192.168.0.4>;tag=as2a14b282
  153. Call-ID: 6gejrmupvj5asi2fdhv8
  154. CSeq: 9261 INVITE
  155. Server: Asterisk PBX 12.8.2
  156. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  157. Supported: replaces, timer
  158. Session-Expires: 90;refresher=uas
  159. Contact: <sip:200@192.168.0.4:5060;transport=WS>
  160. Content-Type: application/sdp
  161. Require: timer
  162. Content-Length: 774
  163.  
  164. v=0
  165. o=root 1590611571 1590611571 IN IP4 192.168.0.4
  166. s=Asterisk PBX 12.8.2
  167. c=IN IP4 192.168.0.4
  168. t=0 0
  169. m=audio 19864 RTP/SAVPF 0
  170. a=rtpmap:0 PCMU/8000
  171. a=ptime:20
  172. a=maxptime:150
  173. a=ice-ufrag:00b9259c164316017df96bd7099a0b59
  174. a=ice-pwd:3eac7a773d965d021529752477b9278e
  175. a=candidate:Hc0a80004 1 UDP 2130706431 192.168.0.4 19864 typ host
  176. a=candidate:Sbdd9418e 1 UDP 1694498815 189.217.65.142 35710 typ srflx raddr 192.168.0.4 rport 19864
  177. a=candidate:Hc0a80004 2 UDP 2130706430 192.168.0.4 19865 typ host
  178. a=candidate:Sbdd9418e 2 UDP 1694498814 189.217.65.142 46555 typ srflx raddr 192.168.0.4 rport 19865
  179. a=connection:new
  180. a=setup:active
  181. a=fingerprint:SHA-256 E2:B9:77:44:04:96:8D:D9:EA:67:B9:E0:6E:93:49:08:5B:33:53:7D:DD:51:5A:1B:0F:7D:45:CA:BD:F9:CE:BA
  182. a=sendrecv
  183.  
  184. +8ms
  185. JsSIP:RTCSession receiveInviteResponse() +21ms
  186. JsSIP:Dialog new UAC dialog created with status CONFIRMED +9ms
  187. JsSIP:RTCSession session accepted +29ms
  188. JsSIP:RTCSession sendRequest() +10ms
  189. JsSIP:RTCSession:Request new | ACK +11ms
  190. JsSIP:Transport
  191. sending WebSocket message:
  192.  
  193. ACK sip:200@192.168.0.4:5060;transport=ws SIP/2.0
  194. Via: SIP/2.0/WS 192.0.2.177;branch=z9hG4bK5815096
  195. Max-Forwards: 69
  196. To: <sip:200@192.168.0.4>;tag=as2a14b282
  197. From: "UA WebRTC" <sip:1001@192.168.0.4>;tag=9q1k7ijiab
  198. Call-ID: 6gejrmupvj5asi2fdhv8
  199. CSeq: 9261 ACK
  200. Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER
  201. Supported: outbound
  202. User-Agent: JsSIP 0.7.4
  203. Content-Length: 0
  204.  
  205. +18ms
  206. JsSIP:RTCSession session confirmed +11ms
  207. LocalMediaStream { id="{aa42a325-b228-4ff3-b52f-de1f1288836e}", currentTime=0.300375, stop=stop(), more...}//printing of local stream
  208. miScript.js (line 69)
  209. CALL CONFIRMED
  210. miScript.js (line 70)
  211. element is null
  212. jssip-0.7.4.js (line 22924)
  213. MediaStream { id="{38caf558-e986-4c52-b9cd-4abe5384051e}", currentTime=0.0309375, getAudioTracks=getAudioTracks(), more...}
  214. //printing of remote stream
  215. miScript.js (line 77)
  216. REMOTE STREAM RECEIVED
  217. miScript.js (line 78)
  218. TypeError: element is null
  219. jssip-0.7.4.js (line 22924, col 17)
  220. JsSIP:Transport
  221. received WebSocket text message:
  222.  
  223. BYE sip:grd0bbtt@192.0.2.177;transport=ws;ob SIP/2.0
  224. Via: SIP/2.0/WS 192.168.0.4:5060;branch=z9hG4bK4a805194
  225. Max-Forwards: 70
  226. From: <sip:200@192.168.0.4>;tag=as2a14b282
  227. To: "UA WebRTC" <sip:1001@192.168.0.4>;tag=9q1k7ijiab
  228. Call-ID: 6gejrmupvj5asi2fdhv8
  229. CSeq: 102 BYE
  230. User-Agent: Asterisk PBX 12.8.2
  231. Proxy-Authorization: Digest username="1001", realm="asterisk", algorithm=MD5, uri="sip:192.168.0.4", nonce="3d67a76d", response="4ff114fe1b3b95781c646407da538133"
  232. X-Asterisk-HangupCause: Normal Clearing
  233. X-Asterisk-HangupCauseCode: 16
  234. Content-Length: 0
  235.  
  236. +2s
  237. JsSIP:RTCSession receiveRequest() +22ms
  238. JsSIP:Transport
  239. sending WebSocket message:
  240.  
  241. SIP/2.0 200 OK
  242. Via: SIP/2.0/WS 192.168.0.4:5060;branch=z9hG4bK4a805194
  243. To: "UA WebRTC" <sip:1001@192.168.0.4>;tag=9q1k7ijiab
  244. From: <sip:200@192.168.0.4>;tag=as2a14b282
  245. Call-ID: 6gejrmupvj5asi2fdhv8
  246. CSeq: 102 BYE
  247. Supported: outbound
  248. Content-Length: 0
  249.  
  250. +12ms
  251. JsSIP:RTCSession session ended +12ms
  252. JsSIP:RTCSession close() +8ms
  253. JsSIP:RTCSession close() | closing local MediaStream +12ms
  254. JsSIP:Dialog dialog 6gejrmupvj5asi2fdhv89q1k7ijiabas2a14b282 deleted +11ms
  255. JsSIP:NonInviteServerTransaction Timer J expired for transaction z9hG4bK4a805194 +29ms
  256. TypeError: e.data is undefined
  257. miScript.js (line 65, col 12)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement