[Freeswitch-users] FS or JSSIP/SIP.JS bug?

Igor Olhovskiy igorolhovskiy at gmail.com
Thu Dec 14 22:23:28 UTC 2017


Will test against master, but anyway, according to
https://tools.ietf.org/html/rfc3986#section-1.2.3
«#» is a special symbol for URI scheme (and Contact holds URI) and must be encoded.

Regards, Igor

On Dec 14, 2017, 8:22 PM +0200, Michael Jerris <mike at jerris.com>, wrote:
> 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.
>
> > On Dec 14, 2017, at 1:10 PM, Igor Olhovskiy <igorolhovskiy at gmail.com> wrote:
> >
> > Hi!
> >
> > Run into a bug, when using «#» (hash) symbol in numbers using sip-over-wss with jssip or sip.js.
> >
> > 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.
> > 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)
> >
> > So, is this a FS bug or more to JS sip libraries?
> >
> > Regards, Igor
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://confluence.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171215/abd0a536/attachment-0001.html>


More information about the FreeSWITCH-users mailing list