[Asterisk-cvs] asterisk/channels/h323 ast_h323.cpp,1.43,1.44
jeremy at lists.digium.com
jeremy at lists.digium.com
Fri Apr 16 01:54:25 CDT 2004
- Previous message: [Asterisk-cvs] asterisk/apps app_festival.c,1.17,1.18
- Next message: [Asterisk-cvs] zaptel tor2.c,1.17,1.18 wct1xxp.c,1.16,1.17 wct4xxp.c,1.39,1.40 zaptel.c,1.67,1.68 zaptel.h,1.30,1.31 ztcfg.c,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/channels/h323
In directory mongoose.digium.com:/tmp/cvs-serv4705
Modified Files:
ast_h323.cpp
Log Message:
Remove all capabilities first
Index: ast_h323.cpp
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/h323/ast_h323.cpp,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- ast_h323.cpp 13 Apr 2004 19:07:51 -0000 1.43
+++ ast_h323.cpp 16 Apr 2004 05:57:30 -0000 1.44
@@ -850,6 +850,7 @@
*/
int h323_set_capability(int cap, int dtmfMode)
{
+ H323Capabilities oldcaps;
int g711Frames = 30;
int gsmFrames = 4;
@@ -859,7 +860,8 @@
}
/* clean up old capabilities list before changing */
- endPoint->RemoveCapabilities(PStringArray("All"));
+ oldcaps = endPoint->GetCapabilities();
+ oldcaps.RemoveAll();
mode = dtmfMode;
if (dtmfMode == H323_DTMF_INBAND) {
- Previous message: [Asterisk-cvs] asterisk/apps app_festival.c,1.17,1.18
- Next message: [Asterisk-cvs] zaptel tor2.c,1.17,1.18 wct1xxp.c,1.16,1.17 wct4xxp.c,1.39,1.40 zaptel.c,1.67,1.68 zaptel.h,1.30,1.31 ztcfg.c,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list