[asterisk-bugs] [JIRA] (ASTERISK-15687) [patch] From-header parsed twice for each invite or subscription request
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Wed Feb 25 20:03:35 CST 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-15687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Jordan closed ASTERISK-15687.
----------------------------------
Resolution: Suspended
> [patch] From-header parsed twice for each invite or subscription request
> ------------------------------------------------------------------------
>
> Key: ASTERISK-15687
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-15687
> Project: Asterisk
> Issue Type: Bug
> Components: Channels/chan_sip/General
> Reporter: nick_lewis
> Severity: Minor
> Attachments: chan_sip.c-parseonce2.patch, chan_sip.c-parseonce.patch
>
>
> The handlers in chan_sip.c for invite and subscription requests parse the from-header twice. The first time is in check_user_full and the second time is in get_destination.
> ****** ADDITIONAL INFORMATION ******
> I suggest that there be added a function (named something like get_source) that is called before check_user(_full) and get_destination. It would parse the from-header and populate pvt->cid_num and pvt->fromdomain as required by the other two functions. (In the case of the handler for options requests it would be called before get_destination because check_user is not yet supported for that method.)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list