Hmmm......have you took a look to this:
   http://www.openser.org/docs/modules/1.2.x/dispatcher.html#AEN177

it might be what you are looking for....

regards,
bogdan

Klaus Darilion wrote:
Hi!

I want to use the dispatcher module to use load-balancing/failover to
gateways. Thus, I also want to change the domainpart of the RURI to be the
IP address of the gateway - but dispatcher only sets the DURI.

Is there an easy way to set the RURI/domain too or do I have to use:

avp_write("$rU","$avp(i:666)");
ds_select_dst(...);
avp_pushto("$ru","$du");
avp_pushto("$ru/username","$avp(i:666)");

Is there a more easy way?

btw - I think above workaround would not work in failure_route as
ds_next_dst adds a new branch but avp_pushto works against branches[0] -
correct?

thanks
klaus




_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to