diff options
author | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-04-13 18:26:27 +0000 |
---|---|---|
committer | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-04-13 18:26:27 +0000 |
commit | f3fea3491fd6082d8adff9e2947fb9ae2df6c1e1 (patch) | |
tree | dc6bb5fc097209d309cea7d11ab0d35a07b8a129 /channels/h323 | |
parent | dadc8ea44dd03cdc0d2f96a6bd8d59a6a15c405d (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/h323')
-rwxr-xr-x | channels/h323/ast_h323.cpp | 2 |
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); |