void InputTonePlugin::sendTone( char tone ) { if( !endPoint ) return; H323Connection *c = endPoint->FindConnectionWithLock( currentCallToken.latin1() ); if( !c ) return; c->SendUserInputTone(tone); c->Unlock(); }
void MyH323EndPoint::SendUserTone(const PString &token, char tone) { H323Connection *connection = NULL; connection = FindConnectionWithLock(token); if (connection != NULL) { connection->SendUserInputTone(tone, 500); connection->Unlock(); } }