[pjsip] [PJSIP] How to make port of via and contact is the same in REGISTER?
Cheng, 成
ato_wu at yahoo.com.tw
Fri Nov 6 07:09:45 CST 2009
Hi:
I am using pjsip v1..4 to implement my application, and I want my app using connect to SIP server by TCP.
The pjsip creates a random socket port and modify the via header (e.g. port 2050) to register to sip server in transport layer.
But, in the Contact header, the specific port is 5060 orignal.
I know the acc_check_nat_addr() will auto update the information, then unregister and register.
I want the port in the Via and Contact is the same value in the first REGISTER by TCP connection.
How can I do to reach the goal?
Best Regards
DaCheng
___________________________________________________
您的生活即時通 - 溝通、娛樂、生活、工作一次搞定!
http://messenger.yahoo.com.tw/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091106/4a7c7371/attachment-0001.html>
More information about the pjsip
mailing list