[Asterisk-Dev] Incorrect behavior : address for SIP responses

Julian J. M. julianjm at gmail.com
Wed Jun 8 06:13:24 MST 2005


You are probably using nat=yes for that peer. Then asterisk asumes
that the other end is behind a symetric nat firewall, thus replying to
the originating port, and not 5060.

Julian J. M.

On 5/27/05, Christian Cayeux <Christian.Cayeux at alcatel.fr> wrote:
> Hello all,
> 
> When receiving a SIP request, I've observed that asterisk SIP channel
> returns responses to the address it was received from. For exemple, if a SIP
> UA, name it A, sends an Invite from a port UDP:7777 to asterisk port
> UDP:5060, then Asterisk replies a 100 Trying to A:7777! On so on for each
> response.
> 
> But this behavior is not compliant to RFC3261 ( on my understanding :-) ) :
> see section 18.2.2. Its says that (i understand that), when UDP is used and
> unless specified in Via, the response must be sent to UDP:5060.
> 
> Has anyone an opinion on that? Is it already a known problem?
> 
> Thanks in advance for info.
> 
> Christian.



More information about the asterisk-dev mailing list