aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-06 20:19:04 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-06 20:19:04 +0000
commitccb307b7a87bd930f286efcf887513f034cab9da (patch)
tree927069ddda2f4c3c90139354d168893fa6c8813f /channels/chan_sip.c
parent1420f15197af64e05b5648c893df70c33130ee36 (diff)
- Adding alias "udpbindaddr" for the UDP port to comply with "tcpbindaddr" and "tlsbindaddr".
Note: I don't think we can start properly without UDP port open, that needs to be tested. - Removing "bindport" from configuration example, not needed to mention this any more I suggest we deprecate "bindaddr" and "bindport" in trunk (for 1.6.1) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128525 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index ec30f1602..93bc400e3 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -21147,7 +21147,7 @@ static int reload_config(enum channelreloadreason reason)
if (ast_parse_arg(v->value, PARSE_INADDR, &stunaddr))
ast_log(LOG_WARNING, "Invalid STUN server address: %s\n", v->value);
externexpire = time(NULL);
- } else if (!strcasecmp(v->name, "bindaddr")) {
+ } else if (!strcasecmp(v->name, "bindaddr") || !strcasecmp(v->name, "udpbindaddr")) {
if (ast_parse_arg(v->value, PARSE_INADDR, &bindaddr))
ast_log(LOG_WARNING, "Invalid address: %s\n", v->value);
} else if (!strcasecmp(v->name, "localnet")) {