[Serusers] forward() and t_relay() differences

Michael Shuler mike at bwsys.net
Mon Oct 4 19:07:56 CEST 2004


Thanks, I already read that.  What I was concerned about was more of if they
modified the SIP message differently before being sent.  For example I have
a layer 4 switch in front of 2 SER servers which runs a virtual IP of
198.88.216.84.  The real servers ser0 and ser1 have IP's of 198.88.216.87
and 198.88.216.89 respectively.  The problem I am having is that when I run
2 SER seems to get confused when a gateway starts talking to ser0 while a
client is talking to ser1.  Since the layer 4 switch is doing reverse NAT so
all traffic coming from the 2 ser servers appears as 198.88.216.84 this
causes a problem when they stick themselves in the Via line as their real IP
and not as 198.88.216.84.  Is there a way to override that?  Is t_relay()
what is causing the weirdness?  By using forward(uri:host, uri:port) inplace
of t_relay() will it break anything (I am not checking the status of
t_relay() on return)?

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

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 

> -----Original Message-----
> From: Jiri Kuthan [mailto:jiri at iptel.org] 
> Sent: Monday, October 04, 2004 11:56 AM
> To: Michael Shuler; serusers at lists.iptel.org
> Subject: Re: [Serusers] forward() and t_relay() differences
> 
> 
> 
> http://www.iptel.org/ser/doc/seruser/seruser.html#AEN923
> 
> At 06:42 PM 10/4/2004, Michael Shuler wrote:
> >What is the difference between forward(uri:host, uri:port) 
> and t_relay()?
> >
> >I understand that t_relay() is supposed to be transaction 
> based but I really
> >can't see a difference between the two.
> >
> >
> >
> >----------------------------------------
> >
> >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 
> >
> >_______________________________________________
> >Serusers mailing list
> >serusers at lists.iptel.org
> >http://lists.iptel.org/mailman/listinfo/serusers
> 
> --
> Jiri Kuthan            http://iptel.org/~jiri/ 
> 




More information about the sr-users mailing list