powerponch

Asterisk + WebRTC subscribing UA jsSIP

Sep 8th, 2015
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. REGISTER sip:192.168.0.4 SIP/2.0
  2. Via: SIP/2.0/WS 192.0.2.177;branch=z9hG4bK9352120
  3. Max-Forwards: 69
  4. From: "UA WebRTC" <sip:[email protected]>;tag=f8m06houfb
  5. Call-ID: liamoji649fhds9jtdajfi
  6. CSeq: 1 REGISTER
  7. Contact: <sip:[email protected];transport=ws>;+sip.ice;reg-id=1;+sip.instance="<urn:uuid:b1a09033-7533-47a8-a039-1a6760b2af84>";expires=600
  8. Expires: 600
  9. Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER
  10. Supported: path,gruu,outbound
  11. User-Agent: JsSIP 0.7.4
  12. Content-Length: 0
  13.  
  14. +15ms
  15. jssip-0.7.4.js (line 22459)
  16. JsSIP:Transport
  17. received WebSocket text message:
  18.  
  19. SIP/2.0 401 Unauthorized
  20. Via: SIP/2.0/WS 192.0.2.177;branch=z9hG4bK9352120;received=192.168.0.4
  21. From: "UA WebRTC" <sip:[email protected]>;tag=f8m06houfb
  22. To: <sip:[email protected]>;tag=as2235a73d
  23. Call-ID: liamoji649fhds9jtdajfi
  24. CSeq: 1 REGISTER
  25. Server: Asterisk PBX 12.8.2
  26. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  27. Supported: replaces, timer
  28. WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="0f6c6c26"
  29. Content-Length: 0
  30.  
  31.  
  32. +30ms
  33. jssip-0.7.4.js (line 22459)
  34. JsSIP:Transport
  35. sending WebSocket message:
  36.  
  37. REGISTER sip:192.168.0.4 SIP/2.0
  38. Via: SIP/2.0/WS 192.0.2.177;branch=z9hG4bK1900716
  39. Max-Forwards: 69
  40. From: "UA WebRTC" <sip:[email protected]>;tag=f8m06houfb
  41. Call-ID: liamoji649fhds9jtdajfi
  42. CSeq: 2 REGISTER
  43. Authorization: Digest algorithm=MD5, username="1001", realm="asterisk", nonce="0f6c6c26", uri="sip:192.168.0.4", response="bed4984f5fc3c21f3854dccdb30a74b2"
  44. Contact: <sip:[email protected];transport=ws>;+sip.ice;reg-id=1;+sip.instance="<urn:uuid:b1a09033-7533-47a8-a039-1a6760b2af84>";expires=600
  45. Expires: 600
  46. Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER
  47. Supported: path,gruu,outbound
  48. User-Agent: JsSIP 0.7.4
  49. Content-Length: 0
  50.  
  51. +32ms
  52. jssip-0.7.4.js (line 22459)
  53. JsSIP:Transport
  54. received WebSocket text message:
  55.  
  56. SIP/2.0 200 OK
  57. Via: SIP/2.0/WS 192.0.2.177;branch=z9hG4bK1900716;received=192.168.0.4
  58. From: "UA WebRTC" <sip:[email protected]>;tag=f8m06houfb
  59. To: <sip:[email protected]>;tag=as2235a73d
  60. Call-ID: liamoji649fhds9jtdajfi
  61. CSeq: 2 REGISTER
  62. Server: Asterisk PBX 12.8.2
  63. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  64.  
  65. Supported: replaces, timer
  66. Expires: 600
  67. Contact: <sip:[email protected];transport=ws>;expires=600
  68. Date: Mon, 24 Aug 2015 14:15:52 GMT
  69. Content-Length: 0
Advertisement
Add Comment
Please, Sign In to add comment