[Asterisk-cvs] asterisk/channels chan_sip.c,1.483,1.484
markster at lists.digium.com
markster at lists.digium.com
Tue Aug 31 09:45:54 CDT 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv31637/channels
Modified Files:
chan_sip.c
Log Message:
Minor SIP cleanup for poking on startup (bug #2331)
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.483
retrieving revision 1.484
diff -u -d -r1.483 -r1.484
--- chan_sip.c 30 Aug 2004 05:21:34 -0000 1.483
+++ chan_sip.c 31 Aug 2004 13:49:18 -0000 1.484
@@ -4262,12 +4262,12 @@
}
ast_verbose(VERBOSE_PREFIX_3 "SIP Seeding '%s' at %s@%s:%d for %d\n", p->name,
p->username, ast_inet_ntoa(iabuf, sizeof(iabuf), in), atoi(c), atoi(d));
- sip_poke_peer(p);
expiry = atoi(d);
memset(&p->addr, 0, sizeof(p->addr));
p->addr.sin_family = AF_INET;
p->addr.sin_addr = in;
p->addr.sin_port = htons(atoi(c));
+ sip_poke_peer(p);
if (p->expire > -1)
ast_sched_del(sched, p->expire);
p->expire = ast_sched_add(sched, (expiry + 10) * 1000, expire_register, (void *)p);
More information about the svn-commits
mailing list