Possible bug: stateless behavior when transport=tcp

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

 



Harald Radke wrote:
> hm... not sure if that is the issue here...the main prob IMHO that the
> Asterisk PJSIP proxy tries to contact the source port of a TCP
> connection the endpoint
> used to send its REGISTER/INVITE, whatever, instead of using the
> "official" EP's listener port for SIP requests (I take it is also 5060).
> So if EP1 registered to Asterisk with TCP Connect: <EP_IP>:12345 <----->
> <AST_IP>:5060
> and then EP2 sends an INVITE to EP1 via Asterisk, the proxy tries to
> create a TCP connection
> <EP_IP>:12345 <-------> <AST_IP>:54321
> which fails, but should be:
> <EP_IP>:5060 <---------> <AST_IP>:54321
> (Ports != 5060 are representing randomly drawn ones)

If the transport option is specified as is rewrite_contact this is the 
exact behavior that will occur.

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org



[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