Of course your right! I misunderstood the question and talked about ser's port.
In addition, if the Via header includes the "rport" parameter, then ser will send the request to the port from which the request was sent - useful for NAT traversal.
Klaus
-----Original Message----- From: Bernie Hoeneisen [mailto:bhoeneis@switch.ch] Sent: Thursday, December 11, 2003 10:12 AM To: Klaus Darilion Cc: Santosh Subramanian, Noida; serusers@lists.iptel.org Subject: RE: [Serusers] response port..?
Hi!
According to the standards, this depends on the Via header field entry, which the User Agent is inserting to the REGISTER request. Responses are routed according to the topmost Via header field (every SIP hop removes its own Via header field entry). So if the User Agent has inserted a different port to its Via header field, e.g. something like
REGISTER sip:registar.xyz.ch SIP/2.0 Via: SIP/2.0/UDP 130.59.6.181:8888 From: ...
The response will be sent to port 8888
If no port is specified, the default port (5060) will be used. I assume, that in SER it is implemented according to the standards. Or am I wrong...?
cheers, Bernie
On Thu, 11 Dec 2003, Klaus Darilion wrote:
The default behaviour is that ser listen and sends on the same port:
Register
your client ------------> ser (port 5060)
200 OK
your client <------------ ser (port 5060)
klaus
-----Original Message----- From: Santosh Subramanian, Noida
[mailto:Santoshsu@noida.hcltech.com]
Sent: Thu 11.12.2003
06:54
To: 'serusers@lists.iptel.org' Cc: Subject: [Serusers] response port..?
If I use the port 5060 for sending REGISTER request,
response from SER
will be on the same port or on different port no..?
Kind Regards, Santhosh.S
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
On Dec 11, 2003 at 10:41, Klaus Darilion darilion@ict.tuwien.ac.at wrote:
Of course your right! I misunderstood the question and talked about ser's port.
In addition, if the Via header includes the "rport" parameter, then ser will send the request to the port from which the request was sent - useful for NAT traversal.
Or if you use force_rport(); in the ser config (ser will add rport and behave as if rport was present in the original message).
Andrei
Hrm. force_rport() eh ? Can't seem to find this in the manual.
Andrei Pelinescu-Onciul wrote:
On Dec 11, 2003 at 10:41, Klaus Darilion darilion@ict.tuwien.ac.at wrote:
Of course your right! I misunderstood the question and talked about ser's port.
In addition, if the Via header includes the "rport" parameter, then ser will send the request to the port from which the request was sent - useful for NAT traversal.
Or if you use force_rport(); in the ser config (ser will add rport and behave as if rport was present in the original message).
Andrei
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
On Dec 11, 2003 at 18:03, Jim Burwell jimb@jsbc.cc wrote:
Hrm. force_rport() eh ? Can't seem to find this in the manual.
You are right, we forgot to document it. Its main use is nat traversal (together with nathelper).
Andrei