[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:15:18 CDT 2014


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

Rusty Newton edited comment on ASTERISK-23169 at 3/11/14 4:14 PM:
------------------------------------------------------------------

Tested fine on 12 and trunk, though it would only go in trunk. 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.


was (Author: rnewton):
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