powerponch

SIP messages when making a call to local extension

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