[asterisk-bugs] [JIRA] (ASTERISK-23169) [patch] Support getting local SIP IP using CHANNEL() dial plan function

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Mar 11 16:13:18 CDT 2014


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

Rusty Newton updated ASTERISK-23169:
------------------------------------

    Attachment: ourip_v2.diff

Tested fine. Changed the help text to "R/O Get the IP address of the local socket." which makes more sense, since it doesn't matter whether we received the call or are originating the call.



> [patch] Support getting local SIP IP using CHANNEL() dial plan function
> -----------------------------------------------------------------------
>
>                 Key: ASTERISK-23169
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23169
>             Project: Asterisk
>          Issue Type: New Feature
>      Security Level: None
>          Components: Channels/chan_sip/General, Functions/func_channel
>    Affects Versions: SVN, 11.7.0
>            Reporter: Ben Smithurst
>            Assignee: Rusty Newton
>            Severity: Minor
>         Attachments: ourip.diff, ourip_v2.diff
>
>
> It is useful for us in some dial plan code to be able to determine the local SIP IP.  I couldn't see a way of doing this, so I extended CHANNEL() to support it.  I'm submitting this because it's pretty simple and it may be useful for other people.



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



More information about the asterisk-bugs mailing list