[Asterisk-cvs] asterisk/channels chan_sip.c,1.685,1.686
markster at lists.digium.com
markster at lists.digium.com
Sun Mar 20 20:22:46 CST 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv1477/channels
Modified Files:
chan_sip.c
Log Message:
Update SIP/IAX documentation and code (Bug #3810)
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.685
retrieving revision 1.686
diff -u -d -r1.685 -r1.686
--- chan_sip.c 20 Mar 2005 07:54:05 -0000 1.685
+++ chan_sip.c 21 Mar 2005 02:17:36 -0000 1.686
@@ -9787,7 +9787,7 @@
} else if (!strcasecmp(v->name, "mask")) {
maskfound++;
inet_aton(v->value, &peer->mask);
- } else if (!strcasecmp(v->name, "port") || !strcasecmp(v->name, "bindport")) {
+ } else if (!strcasecmp(v->name, "port")) {
if (!realtime && ast_test_flag(peer, SIP_DYNAMIC))
peer->defaddr.sin_port = htons(atoi(v->value));
else
@@ -10116,7 +10116,7 @@
tos = 0;
else
ast_log(LOG_WARNING, "Invalid tos value at line %d, should be 'lowdelay', 'throughput', 'reliability', 'mincost', or 'none'\n", v->lineno);
- } else if (!strcasecmp(v->name, "port")) {
+ } else if (!strcasecmp(v->name, "bindport")) {
if (sscanf(v->value, "%i", &ourport) == 1) {
bindaddr.sin_port = htons(ourport);
} else {
More information about the svn-commits
mailing list