Solving nat for requests

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

 



On Mon, Jan 12, 2009 at 4:55 PM, mayamatakeshi <mayamatakeshi at gmail.com>wrote:

> Hello, I'm testing my app written with pjsip/pjmedia and everything is
> working fine if NAT is not involved. In case of symmetrical NAT, I can see
> pjsip sends responses properly to the originating address. But after the
> call is answered, if I use pjsip_inv_send_msg to terminate the call, the BYE
> is sent to the address in the header Contact. How can I instruct pjsip to
> send the request (BYE, REINVITE etc) to the originating address of the call?
>
> I've tried to modify the dst fields from tdata.tp_info but it didn't work.
>
>
You must not do that since that breaks the SIP protocol specs. In general
for NAT problems with the SIP signaling, using a proxy and configuring it to
Record-Route should solve most problems.

Cheers
 Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090114/0335e690/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