From 5ebb0b8c15dc4a7ec0b3409b21cf5ce0d696e2a1 Mon Sep 17 00:00:00 2001 From: Jeremy McNamara Date: Tue, 13 Apr 2004 19:07:51 +0000 Subject: [PATCH] Lets see if this way works to remove all capabilities from the list git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2688 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/h323/ast_h323.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp index 927e0a2998..c399912b15 100755 --- a/channels/h323/ast_h323.cpp +++ b/channels/h323/ast_h323.cpp @@ -858,7 +858,8 @@ int h323_set_capability(int cap, int dtmfMode) return 1; } -// endPoint->RemoveCapabilities("ALL"); + /* clean up old capabilities list before changing */ + endPoint->RemoveCapabilities(PStringArray("All")); mode = dtmfMode; if (dtmfMode == H323_DTMF_INBAND) {