Author: derek Date: Wed Jan 17 17:29:41 2007 New Revision: 236 Modified: sofaswitch/trunk/voip/jocall.cxx Log: Send DTMF text via the "SendUserInputTone" method, rather than the SendUserInputString method. Critical for IAX2 handling. Modified: sofaswitch/trunk/voip/jocall.cxx ============================================================================== --- sofaswitch/trunk/voip/jocall.cxx (original) +++ sofaswitch/trunk/voip/jocall.cxx Wed Jan 17 17:29:41 2007 @@ -173,7 +173,8 @@ void MyOpalCall::SendThisDtmf(const PString & value) { for (PSafePtr<OpalConnection> conn(connectionsActive, PSafeReadOnly); conn != NULL; ++conn) { - conn->SendUserInputString(value); + for (PINDEX i = 0; i < value.GetLength(); i++) + conn->SendUserInputTone(value[i]); } }
participants (1)
-
SofaSWITCH SVN