In case there are multiple load balancer, Record-Route need to be filled with 
custom name, value tag. This is done so that once dialog is made, all further 
messages follow same selected server (which was first selected by load 
balancer).
-
Vipul

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Iñaki Baz 
Castillo
Sent: Wednesday, October 08, 2008 1:36 PM
Cc: [EMAIL PROTECTED]; [email protected]
Subject: Re: [Sip-implementors] [Sip] Should SIP LoadBalancer add VIA header?

2008/10/8 Karthikeyan Gopal <[EMAIL PROTECTED]>:
> Hi All,
>
>   My Query:
>
>      1. SIP-Load Balancer should add VIA header?

A SIP load balander is in fact a SIP proxy (generally in stateless), so it must 
add's a Via header.


>      2. SIP Response should traverse SIP-Loadbalancer or the 
> SIP-Server can send it directly to respective SIP-Client.

The resopnse should traverse the load balancer. This is by SIP definition. 
Imagine two cases:

1) Load balancer ---> SIP UDP ---> UAS
In this case the UAS would reply to the Via sent-by in case it's equal to the 
load balancer IP address. In case the Via sent-by added by the load balancer is 
a hostname then the UAS would add "received=REAL_SOURCE_IP_OF_LOAD_BALANCER" to 
Via and sent replies there,

2) Load balancer ---> SIP TCP ---> UAS
By definition a UAS msut reply using the incoming TCP connection.





--
Iñaki Baz Castillo
<[EMAIL PROTECTED]>

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to