On Thu, February 8, 2007 18:18, Bogdan-Andrei Iancu said:
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....
oh my good - I was so blind....
thanks a lot klaus
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 Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users