[pjsip] STUN timeout issue

girish_kumar girish_kumar at infosys.com
Mon May 26 06:32:23 EDT 2008


I am observing a STUN related issue with PJSIP for last few days. Many times, the PJSIP stack does not get initialized as it does get a response from configured STUN server. I am using PJSIP through the wrapper written for Sipekphone project.

On checking the logs, I found that it is destroying itself after throwing following error:-

Error contacting STUN server: Received no response from STUN server (PJLIB_UTIL_ESTUNNOTRESPOND) [status=320010]

Lately, there has been slightly more network activity in my setup which may be resulting in more delay & packet loss on WiFi router. Can it result in failure of this NAT check?

Log file indicates that timeout occurred within 5 seconds of transmit of first Stun request message. Is there any setting which can increase this timeout value so that NAT check can work in more congested and lossy network?

Please help. I am attaching the Log file also for your reference.


**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080526/02902efd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pjsip_log.log
Type: application/octet-stream
Size: 6494 bytes
Desc: pjsip_log.log
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080526/02902efd/attachment.log>

More information about the pjsip mailing list