[asterisk-bugs] [JIRA] (ASTERISK-15521) SIP URIs are not always parsed correctly

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed Feb 25 20:23:34 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-15521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan closed ASTERISK-15521.
----------------------------------

    Resolution: Suspended

> SIP URIs are not always parsed correctly
> ----------------------------------------
>
>                 Key: ASTERISK-15521
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-15521
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Channels/chan_sip/Interoperability
>            Reporter: nick_lewis
>            Severity: Minor
>
> There are many sip headers containing uris that chan_sip.c does not parse correctly. There is already a function parse_uri that does correctly parse uris but for many headers it is not used. 
> ****** ADDITIONAL INFORMATION ******
> Examples of headers that could benefit from parse_uri are:
> "p-asserted-id", "remote-party-id", "diversion", "refer-to", "referred-by", "also"
> Also some headers do make use of parse_uri in some sip methods but not others. Examples include the request-line the to-header and the from-header
> There are even examples of some parts of uris being got with parse_uri will other parts are got using incorrect code such as in the get_domain function



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list