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
This commit is contained in:
Jeremy McNamara 2004-04-13 19:07:51 +00:00
parent 64d509a931
commit 5ebb0b8c15
1 changed files with 2 additions and 1 deletions

View File

@ -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) {