<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Will test against master, but anyway, according to
<div><a href="https://tools.ietf.org/html/rfc3986#section-1.2.3">https://tools.ietf.org/html/rfc3986#section-1.2.3</a><br /></div>
<div>«#» is a special symbol for URI scheme (and Contact holds URI) and must be encoded.</div>
</div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
Regards, Igor</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
On Dec 14, 2017, 8:22 PM +0200, Michael Jerris <mike@jerris.com>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">Does FreeSWITCH master show the same issue? I added a bit back some more url encoding to more fields we generate to make sure we don’t send things that need to be encoded unencoded. I don’t recall if # is one of the chars that actually must be or not.
<div class=""><br class="" />
<div>
<blockquote type="cite" class="" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">
<div class="">On Dec 14, 2017, at 1:10 PM, Igor Olhovskiy <<a href="mailto:igorolhovskiy@gmail.com" class="">igorolhovskiy@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline" />
<div class="">
<div class="">
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;" class="">Hi!
<div class=""><br class="" /></div>
<div class="">Run into a bug, when using «#» (hash) symbol in numbers using sip-over-wss with jssip or sip.js.</div>
<div class=""><br class="" /></div>
<div class="">Idea is, when you call some number, that contains # symbol, Freeswitch in a case of 2nd leg answer sends 200 OK with full dialed number in Contact field.</div>
<div class="">And when jssip or sipjs tries to parse Contact field with hash symbol, they can’t do it (maybe cause this symbol is not urlencoded)</div>
<div class=""><br class="" /></div>
<div class="">So, is this a FS bug or more to JS sip libraries?</div>
</div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;" class=""><br class="" />
Regards, Igor</div>
</div>
_________________________________________________________________________<br class="" />
Professional FreeSWITCH Consulting Services:<br class="" />
<a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="" />
http://www.freeswitchsolutions.com<br class="" />
<br class="" />
Official FreeSWITCH Sites<br class="" />
http://www.freeswitch.org<br class="" />
http://confluence.freeswitch.org<br class="" />
http://www.cluecon.com<br class="" />
<br class="" />
FreeSWITCH-users mailing list<br class="" />
FreeSWITCH-users@lists.freeswitch.org<br class="" />
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="" />
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="" />
http://www.freeswitch.org</div>
</blockquote>
</div>
<br class="" /></div>
</blockquote>
</div>
</body>
</html>