[PJSIP] How to make port of via and contact is the same in REGISTER?

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

 



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>


[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