Incoming DTMF not detected in PJSIP version 1.6 (solved)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux