aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323/ast_h323.cpp
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-13 19:07:51 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-13 19:07:51 +0000
commit9033b5ddca4057ff69d434abf183ff45bc9c28ca (patch)
tree78f342999240aa70778c319c900caa1675305d42 /channels/h323/ast_h323.cpp
parent209d3f4fe320494da340423332398f2e249c93b8 (diff)
Lets see if this way works to remove all capabilities from the list
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2688 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323/ast_h323.cpp')
-rwxr-xr-xchannels/h323/ast_h323.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp
index 927e0a299..c399912b1 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) {