Hi Andrei, Thanks for the reply.
I am using the publicly available iptel proxy server(195.37.77.99) to test my implementation of SIP-ALG. I am using the following configuration
HOST1(winXP)---FW---Internet---HOST2(winCP)
FW is the firewall/NAT device, which has the ALG implementation. I am using SJPhone on my hosts to communicate using SIP(UDP). I observe that the responses to requests sent by HOST1 come from the proxy(iptel) to the source port(of FW), from which the request was sent, instead of on VIA. There is no "rport" field in the VIA header field of the request.
Does anyone know if the iptel proxy server is configured to use "force_rport".
thanks Mahesh
On Sep 29, 2004 at 11:49, mahesh mahesha@intoto.com wrote:
Hi All,
I have a question regarding the functioning of the Iptel proxy server. As far as I know, only when there is "rports" field present in the "via" header field in a SIP request(INVITE for ex.), the proxy server should
send
the responses to the source port from which the request is sent. I would like to know if there is any other case in which the responses are sent to the source port instead of the VIA port.
No, for UDP there isn't (if no rport is present and you don't use force_rport() in your config, the response is sent to the via port if present and if not, to 5060). For TCP, ser will always try to reuse the original connection, so if the connection on which it received the request is still up, it will send the reply back on it.
Andrei