aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-13 18:26:27 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-13 18:26:27 +0000
commitf3fea3491fd6082d8adff9e2947fb9ae2df6c1e1 (patch)
treedc6bb5fc097209d309cea7d11ab0d35a07b8a129 /channels
parentdadc8ea44dd03cdc0d2f96a6bd8d59a6a15c405d (diff)
make sure capability set is clean before setting new value(s)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2685 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/h323/ast_h323.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp
index ffb585539..e71c513d3 100755
--- a/channels/h323/ast_h323.cpp
+++ b/channels/h323/ast_h323.cpp
@@ -858,6 +858,8 @@ int h323_set_capability(int cap, int dtmfMode)
return 1;
}
+ endPoint->SetCapability(0, 0, 0);
+
mode = dtmfMode;
if (dtmfMode == H323_DTMF_INBAND) {
endPoint->SetSendUserInputMode(H323Connection::SendUserInputAsTone);