VoIP using PjSIP : pjsua_acc.c SIP registration failed, status=408 (Request Timeout)

蓝咒 提交于 2019-12-08 12:32:56

问题


I am trying to run test VoIP program as given in http://www.pjsip.org/pjsip/docs/html/page_pjsip_sample_simple_pjsuaua_c.htm

I am trying public SIP servers present at http://www1.cs.columbia.edu/sip/servers.html

But I always get error message as

14:33:25.515 pjsua_acc.c SIP registration failed, status=408 (Request Timeout)

I never used SIP before, I am not able to guess where the problem is. Is there any simple way to test SIP servers? Does anybody know public free SIP server that works?

Thanks


回答1:


The 408 timeout message typically means that the user agent, in this case your pjsip application, sent it's request but did not get a response.

I'm involved in a free SIP service called sipsorcery that you can test your software with. It lets you view a full trace of your SIP messages with either a Silverlight browser application or telnet console which is extremely handy when trying to troubleshoot.




回答2:


You can test your SIP client locally with SIPP. It can process REGISTER requests as well as all other SIP messages. In addition you can write xml scripts for SIPP for other complex scenarios.



来源:https://stackoverflow.com/questions/1623816/voip-using-pjsip-pjsua-acc-c-sip-registration-failed-status-408-request-time

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!