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
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