HI all, Well, finally I can solved the problem. My problem was that I couldn't detect incoming Dtmf when compiling my application with pjsip version 1.6, but I could detect them when I compiling my application with pjsip version 1.3. So I thought that there was an error in Pjsip version 1.6. But testing with pjsua application and analysing its code I detected that in version 1.6 the rtp transport took the local ip and not my public IP so I never received the dtmf events and the "play file end" events. For solve that I must call the pjsua_media_transports_create and create a transport with my public IP like that: pjsua_transport_config pjMediaTransportConfig; pjsua_transport_config_default (&pjMediaTransportConfig); pjMediaTransportConfig.public_addr = pj_str("190.xxx.xxx.xxx"); //My public address pjsua_media_transports_create (&pjMediaTransportConfig); And that's all. Thanks Jose -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100706/e66e43b1/attachment.html>