[Serusers] Via Appending and t_relay vs. forward

Michael Shuler mike at bwsys.net
Tue Sep 28 04:50:55 CEST 2004


I am using a L4 switch to load balance across a few SER servers.  The L4
switch has a virtual IP address on it that needs to appear as the
Record-Route and I am assuming the Via headers.  The record route is easily
take care of by the record_route_preset() function and that seems to cause
everything to work fine with the appropriate alias settings added so the
myself variable works correctly but I don't really see how to control what
SER uses as the Via IP.  I am using the following to proxy the INVITE:

if(!t_relay())
{
	xlog("L_INFO", "Failed sending requesting %rm URI (%ru)");
	sl_reply_error();
};


I am assuming there is either some global setting that can be changed or
some sortof rewrite function but I just can't seem to find it :(

Any help would be appreciated!!!

Thanks in advance!


----------------------------------------

Michael Shuler, C.E.O.
BitWise Communications, Inc. (CLEC) And BitWise Systems, Inc. (ISP)
682 High Point Lane
East Peoria, IL 61611
Office: (217) 585-0357
Cell: (309) 657-6365
Fax: (309) 213-3500
E-Mail: mike at bwsys.net
Customer Service: (877) 976-0711 




More information about the sr-users mailing list