From: Jeremy McNamara Date: Tue, 13 Apr 2004 18:26:27 +0000 (+0000) Subject: make sure capability set is clean before setting new value(s) X-Git-Tag: 1.0.0-rc1~742 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3f45d14b30644dd2f2f8e0c785a13fd0bfbd055;p=thirdparty%2Fasterisk.git make sure capability set is clean before setting new value(s) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2685 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp index ffb585539b..e71c513d37 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);