[Asterisk-cvs] asterisk/channels chan_h323.c,1.65,1.66
jeremy at lists.digium.com
jeremy at lists.digium.com
Fri Jul 9 05:06:48 CDT 2004
- Previous message: [Asterisk-cvs] asterisk pbx.c,1.135,1.136
- Next message: [Asterisk-cvs] asterisk app.c,1.23,1.24 asterisk.c,1.102,1.103 callerid.c,1.17,1.18 cdr.c,1.19,1.20 channel.c,1.128,1.129 config.c,1.24,1.25 db.c,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv10267
Modified Files:
chan_h323.c
Log Message:
fix seg fault condition
Index: chan_h323.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_h323.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- chan_h323.c 30 Jun 2004 16:56:51 -0000 1.65
+++ chan_h323.c 9 Jul 2004 08:52:35 -0000 1.66
@@ -862,7 +862,7 @@
strtok_r(host, "/", &(h323id));
- if (*h323id) {
+ if (h323id && !ast_strlen_zero(h323id)) {
h323_set_id(h323id);
}
@@ -877,10 +877,11 @@
p->capability = capability;
if (p->dtmfmode) {
- if (p->dtmfmode & H323_DTMF_RFC2833)
+ if (p->dtmfmode & H323_DTMF_RFC2833) {
p->nonCodecCapability |= AST_RTP_DTMF;
- else
+ } else {
p->nonCodecCapability &= ~AST_RTP_DTMF;
+ }
}
/* pass on our preferred codec to the H.323 stack */
h323_set_capability(format, dtmfmode);
- Previous message: [Asterisk-cvs] asterisk pbx.c,1.135,1.136
- Next message: [Asterisk-cvs] asterisk app.c,1.23,1.24 asterisk.c,1.102,1.103 callerid.c,1.17,1.18 cdr.c,1.19,1.20 channel.c,1.128,1.129 config.c,1.24,1.25 db.c,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list