Hello,

 

When an inbound call is answered and it reach the CONNECTED STATE, out
of band DTMF are not dispatched to event listener function.

 

In sipXtapi log file I found these messages:

"MpdPtAvt(00E927E0) No application registered to receive Signal KeyDown"

....

....

"MpdPtAvt(00E927E0) No application registered to receive Signal KeyUp"

 

Debugging sipXtapi I've noticed that in SipConnection::answer the
addToneListener method is not used!

I've tried to call addToneListener in SipConnection::answer and DTMF
events are correctly dispatched to application.

 

Original Code:

if(remoteRtpPort > 0)

{

mpMediaInterface->startRtpSend(mConnectionId, numMatchingCodecs,
matchingCodecs);

}

fireAudioStartEvents() ;

 

Suggested Patch:

if(remoteRtpPort > 0)

{

mpMediaInterface->startRtpSend(mConnectionId,

numMatchingCodecs, matchingCodecs);

       ///Patch

mpMediaInterface->addToneListener(getDtmfQueuedEvent(),mConnectionId);

}

fireAudioStartEvents() ;

 

In your opinion is this correct?

 

Regards,

Stefano Irace

_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to