Re: [SR-Users] Proxying INVITE message without port information in R-URI

2011-01-20 Thread Vikram Ragukumar
Klaus, To me it seems that the SIP server also does some kind of NAT traversal: it puts the Contact IP in to the RURI but it sends the request to the IP:port from which the REGISTER was received (that's called NAT traversal). So, either fix the SIP server (make sure it adds the port as in the C

Re: [SR-Users] Proxying INVITE message without port information in R-URI

2011-01-20 Thread Klaus Darilion
>> The contact usually is the IP address of the client. So, if you the SIP >> server routes based on the contact header, it should send the INVITE >> directly to the client not to the proxy. Somehow this all does not fit >> together. > > Clarification : Both clients A and B have the proxy as an ou

Re: [SR-Users] Proxying INVITE message without port information in R-URI

2011-01-20 Thread Vikram Ragukumar
Klaus, Thanks for your continued help. How? Does it change the Contact header? Yes, the proxy changes the Contact header. So the SIP server is the registrar? Correct. The contact usually is the IP address of the client. So, if you the SIP server routes based on the contact header, it sh

Re: [SR-Users] Proxying INVITE message without port information in R-URI

2011-01-20 Thread Klaus Darilion
Am 19.01.2011 18:21, schrieb Vikram Ragukumar: Klaus, Alex, Thank you for your replies. Does the SIP server perform NAT traversal? Does the SIP proxy perform NAT traversal? The SIP proxy performs NAT traversal. How? Does it change the Contact header? How does the SIP server route th

Re: [SR-Users] Proxying INVITE message without port information in R-URI

2011-01-19 Thread Vikram Ragukumar
Klaus, Alex, Thank you for your replies. Does the SIP server perform NAT traversal? Does the SIP proxy perform NAT traversal? The SIP proxy performs NAT traversal. How does the SIP server route the INVITE requests? Does it route based on registered Contact or does it route them statically

Re: [SR-Users] Proxying INVITE message without port information in R-URI

2011-01-18 Thread Klaus Darilion
Am 18.01.2011 20:27, schrieb Vikram Ragukumar: Hello, Alex, Klaus thank you for your replies. Usually the softphones register to the proxy or SIP server. Thus, the proxy or SIP server knows under which IP:port (The IP:port from which the REGISTER was received) it can contact the sofpthone.

Re: [SR-Users] Proxying INVITE message without port information in R-URI

2011-01-18 Thread Alex Balashov
It is assumed 5060 by default. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ On Jan 18, 2011, at 2:27 PM, Vikram Ragukumar wrote: Hello, Alex, Klaus thank yo

Re: [SR-Users] Proxying INVITE message without port information in R-URI

2011-01-18 Thread Vikram Ragukumar
Hello, Alex, Klaus thank you for your replies. Usually the softphones register to the proxy or SIP server. Thus, the proxy or SIP server knows under which IP:port (The IP:port from which the REGISTER was received) it can contact the sofpthone. Yes, the softphones are registered to the SIP ser

Re: [SR-Users] Proxying INVITE message without port information in R-URI

2011-01-18 Thread Klaus Darilion
When A places a call to B, an INVITE is proxied to the Sip Server from A. The Sip Server now sends another INVITE to the proxy, however the R-URI of this INVITE does not contain the port number that the INVITE is supposed to be sent to. Hence the proxy sends the INVITE to the default SIP port 5060

Re: [SR-Users] Proxying INVITE message without port information in R-URI

2011-01-18 Thread Alex Balashov
Vikram, 1. The port is not mandatory. 2. You can force the port in the RURI explicitly by manipulating the mutable pseudovariable $rp prior to relay, E.g. $rp = 5067; -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-06

[SR-Users] Proxying INVITE message without port information in R-URI

2011-01-18 Thread Vikram Ragukumar
Hello, The diagram below shows the SIP message flow in our setup when Softphone A places a call to Softphone B. --- - -- - --- |Softphone A|-<->-|Proxy|-<->-|Sip Server|-<->-|Proxy|-<->-|Softphone B| --- - --