[Asterisk-cvs] asterisk/channels chan_sip.c,1.243,1.244
martinp at lists.digium.com
martinp at lists.digium.com
Fri Nov 14 11:31:10 CST 2003
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv1322/channels
Modified Files:
chan_sip.c
Log Message:
A little oops ...
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.243
retrieving revision 1.244
diff -u -d -r1.243 -r1.244
--- chan_sip.c 13 Nov 2003 00:44:31 -0000 1.243
+++ chan_sip.c 14 Nov 2003 17:57:26 -0000 1.244
@@ -6272,11 +6272,11 @@
ast_log(LOG_WARNING, "This application requires the argument: info, inband, rfc2833\n");
return 0;
}
- if (strcasecmp(mode,"info"))
+ if (!strcasecmp(mode,"info"))
p->dtmfmode = SIP_DTMF_INFO;
- else if (strcasecmp(mode,"rfc2833"))
+ else if (!strcasecmp(mode,"rfc2833"))
p->dtmfmode = SIP_DTMF_RFC2833;
- else if (strcasecmp(mode,"inband"))
+ else if (!strcasecmp(mode,"inband"))
p->dtmfmode = SIP_DTMF_INBAND;
else
ast_log(LOG_WARNING, "I don't know about this dtmf mode: %s\n",mode);
More information about the svn-commits
mailing list