[asterisk-bugs] [JIRA] (ASTERISK-24063) [patch]Asterisk does not respect outbound proxy when sending qualify requests

Walter Doekes (JIRA) noreply at issues.asterisk.org
Thu Aug 21 05:35:29 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=221828#comment-221828 ] 

Walter Doekes commented on ASTERISK-24063:
------------------------------------------

As for "one line of code": in chan_sip, one line of code can have a big ripple effect.

Just by browsing chan_sip, I cannot immediately tell whether the proxy gets unreffed at the end. AFAICS, we get to {{dialog_unref \-> __sip_destroy}} where {{p\->options->outboundproxy}} gets unreffed/freed, but {{p->outboundproxy}} itself does not.

> [patch]Asterisk does not respect outbound proxy when sending qualify requests
> -----------------------------------------------------------------------------
>
>                 Key: ASTERISK-24063
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24063
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 11.4.0, 11.6.0
>         Environment: CentOS 6
>            Reporter: Damian Ivereigh
>            Assignee: Damian Ivereigh
>         Attachments: outboundproxy-dai.patch
>
>
> The outboundproxy setting is ignored when sending the qualify packets (OPTIONS). This means that if an asterisk server is unable to send the packet directly to a peer, it is unable to qualify any non inbound registered peer (e.g. a peer SIP Trunk). This problem is found on asterisk-11.6-cert4
> I have a patch to fix it - I will attempt to attach it.



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



More information about the asterisk-bugs mailing list