[asterisk-bugs] [JIRA] (ASTERISK-18643) Allow sip devices to have externaddr setting

Joze (JIRA) noreply at issues.asterisk.org
Thu Jan 31 08:44:58 CST 2013


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

Joze updated ASTERISK-18643:
----------------------------

    Attachment: chan_sip.c

I fixed the sip externaddr feature for 1.6.2.24 (That's the one i use). Short test confirms, but it is not tested nearly enough. It was quite simple actually. Besides the new settings added to support externaddr, it only took 2 lines of code in ast_sip_ouraddrfor function to fix this issue. I didn't create a patch (i'm not into patches), but i am attaching the complete chan_sip.c, in case anyone is interested or want to create a patch for 1.8+. I believe it is working properly now. I'll continue to watch this thread for news on patches.
                
> Allow sip devices to have externaddr setting
> --------------------------------------------
>
>                 Key: ASTERISK-18643
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-18643
>             Project: Asterisk
>          Issue Type: New Feature
>      Security Level: None
>          Components: Channels/chan_sip/NewFeature
>    Affects Versions: SVN
>            Reporter: Olle Johansson
>            Assignee: Olle Johansson
>            Severity: Minor
>         Attachments: chan_sip.c
>
>
> This patch adds the ability to specify externaddr= on a per device basis in sip.conf.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list