[Serusers] Load Balance & request URI

a c lra101 at yahoo.com
Thu Jun 16 22:39:11 CEST 2005


hello Greger,

 Isn't this a bug interms of RFC? Shouldn't the ruri
contain the next hop address?

 As for making changes to the dispatcher module..this
will be dangerous in my hands :-( Could someone add
this?

thank you
ac

--- "Greger V. Teigre" <greger at teigre.com> wrote:

> I believe dispatcher changes dst_uri (the uri the
> message will be sent to, 
> not the ruri).  I'm not aware of any function that
> will copy the dst_uri to 
> ruri, but maybe avpops can do that?!
> Anyway, it should be fairly straightforward adding a
> parameter to dispatcher 
> controlling whether also the ruri will be changed. 
> After a quick check (no 
> guarantees), I believe you can use this function in
> the same location in 
> dispatcher module where set_dst_uri is called:
> int rewrite_uri(struct sip_msg* _m, str* _s)
> 
> g-)
> 
> a c wrote:
> > hello,
> >
> > I have SER doing load balance across app servers.
> I
> > would like SER to change the request URI with the
> > ipaddress of the server in the returned
> destination
> > set{using dispatcher module to Load balance}. How
> > would I do this?
> >
> > rewritehost(?)
> >
> > regards,
> > ac
> >
> >
> >
> >
> >
> > __________________________________
> > Discover Yahoo!
> > Find restaurants, movies, travel and more fun for
> the weekend. Check
> > it out! http://discover.yahoo.com/weekend.html
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the sr-users mailing list