I am not very familiar with the SIP standards, however the behavior you describe seems to be legit.
http://www.faqs.org/rfcs/rfc3581.html When the client sends the request, if the request is sent using UDP, the client MUST be prepared to receive the response on the same IP address and port it used to populate the source IP address and source port of the request. For backwards compatibility, the client MUST still be prepared to receive a response on the port indicated in the sent-by field of the topmost Via header field value, as specified in Section 18.1.1 of SIP [1]. Marius On 5/27/05, Christian Cayeux <[EMAIL PROTECTED]> 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. > > _______________________________________________ > Asterisk-Dev mailing list > [email protected] > http://lists.digium.com/mailman/listinfo/asterisk-dev > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-dev > _______________________________________________ Asterisk-Dev mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-dev To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
