[sr-dev] why new tcp connection?

Juha Heinanen jh at tutpro.com
Mon Nov 9 12:08:56 CET 2009


Andrei Pelinescu-Onciul writes:

 > I have somewhere a function that does just that (using the above
 > format). I used it a long time ago for load balancing (IIRC lb added
 > received="..." to nated contacts when forwarding to the proxies behind
 > it and removed "received" from r-uri, set the proper send socket based
 > on dstip and the destination based on the received=uri when forwarding a
 > message from a proxy to the outside world).
 > I can create a new module for it (if it's  not already in one of
 > them).

andrei,

there is a long thread on this and the needed functions have already
been written.

the only function that is missing is one that returns the number of
rr uris in the message.  do you happen to have that somewhere in your
closet?  it would be highly appreciated.

-- juha





More information about the sr-dev mailing list