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
This commit is contained in:
parent
dadc8ea44d
commit
f3fea3491f
|
@ -858,6 +858,8 @@ int h323_set_capability(int cap, int dtmfMode)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
endPoint->SetCapability(0, 0, 0);
|
||||||
|
|
||||||
mode = dtmfMode;
|
mode = dtmfMode;
|
||||||
if (dtmfMode == H323_DTMF_INBAND) {
|
if (dtmfMode == H323_DTMF_INBAND) {
|
||||||
endPoint->SetSendUserInputMode(H323Connection::SendUserInputAsTone);
|
endPoint->SetSendUserInputMode(H323Connection::SendUserInputAsTone);
|
||||||
|
|
Reference in New Issue