[Asterisk-cvs] asterisk/channels chan_sip.c,1.802,1.803
russell
russell
Thu Aug 4 15:59:41 CDT 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv2530/channels
Modified Files:
chan_sip.c
Log Message:
there is no reason to check the channeltype of the channel calling SIPAddHeader
because it really only matters what the channeltype is of the *created* channel
in the subsequent dial (bug #4896)
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.802
retrieving revision 1.803
diff -u -d -r1.802 -r1.803
--- chan_sip.c 3 Aug 2005 18:05:40 -0000 1.802
+++ chan_sip.c 4 Aug 2005 20:03:45 -0000 1.803
@@ -11313,11 +11313,6 @@
return 0;
}
ast_mutex_lock(&chan->lock);
- if (chan->type != channeltype) {
- ast_log(LOG_WARNING, "Call this application only on incoming SIP calls\n");
- ast_mutex_unlock(&chan->lock);
- return 0;
- }
/* Check for headers */
while (!ok && no <= 50) {
More information about the svn-commits
mailing list