[Asterisk-cvs] asterisk/channels chan_sip.c,1.848,1.849
markster
markster
Tue Sep 13 20:44:36 CDT 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv30601/channels
Modified Files:
chan_sip.c
Log Message:
Handle dialog updates to to tag properly (bug #5166)
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.848
retrieving revision 1.849
diff -u -d -r1.848 -r1.849
--- chan_sip.c 14 Sep 2005 00:27:51 -0000 1.848
+++ chan_sip.c 14 Sep 2005 00:43:11 -0000 1.849
@@ -9236,7 +9236,7 @@
__sip_ack(p, seqno, 0, sipmethod);
/* Get their tag if we haven't already */
- if (ast_strlen_zero(p->theirtag)) {
+ if (ast_strlen_zero(p->theirtag) || (resp >= 200)) {
to = get_header(req, "To");
to = strcasestr(to, "tag=");
if (to) {
More information about the svn-commits
mailing list