<sip:0e7m...@192.0.2.198;transport=ws>
or
<sip:6gjl...@ec2c66jsa0ei.invalid;transport=ws>
The user could be parsed from the SIP uri passed to SIP.UA and the host could be set to the local ip of the client or the client's external IP if it is known.
I am curious why the SIP URIs used for things like Register look like this:<sip:0e7m...@192.0.2.198;transport=ws>
or
<sip:6gjlmali@ec2c66jsa0ei.invalid;transport=ws>
Since the JavaScript stack in a browser has no way to determine the local address from which the WebSocket connection was made, this implementation uses a random ".invalid" domain name for the Via header "sent-by" parameter and for the hostport of the URI in the Contact header (see Appendix B.1).
Hi Michael,SIP.js follows (and was built around) the SIP over Websockets RFC, which introduces these type of URIs. Is there some reason you are looking for this information in particular? It is generally somewhere else in your message headers, such as the to or from field.
I am curious why the SIP URIs used for things like Register look like this:<sip:0e7m...@192.0.2.198;transport=ws>
or
<sip:6gjl...@ec2c66jsa0ei.invalid;transport=ws>
<sip:6gjlmali@ec2c66jsa0ei.invalid;transport=ws>
--
You received this message because you are subscribed to the Google Groups "SIP.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sip_js+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sip_js/c83e5bde-bfa0-4fbc-9fff-b744301f27fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<sip:6gjl...@ec2c66jsa0ei.invalid;transport=ws>
The user could be parsed from the SIP uri passed to SIP.UA and the host could be set to the local ip of the client or the client's external IP if it is known.
--
You received this message because you are subscribed to the Google Groups "SIP.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sip_js+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sip_js/c83e5bde-bfa0-4fbc-9fff-b744301f27fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "SIP.js" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sip_js/hd-GBOFgKsE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sip_js+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sip_js/576AB0CB.4020301%40onsip.com.
<sip:6gjl...@ec2c66jsa0ei.invalid;transport=ws>
<sip:6gjlmali@ec2c66jsa0ei.invalid;transport=ws>