Ok, that would definitely make things easier/better - thanks!! //Anders
On Thu, Jun 10, 2010 at 8:24 AM, Iñaki Baz Castillo <i...@aliax.net> wrote: > 2010/6/10 Klaus Darilion <klaus.mailingli...@pernau.at>: >> somewhere between normal routing decisions and t_relay(), e.g. >> >> route { >> ...sanity checks >> ...authentication >> ...NAT traversal >> ...routing decisions >> >> if ($rd = "1.2.3.4") { #ip address of gateway >> $rd = "domain.com"; >> } >> >> t_relay(); >> exit; >> } > > Also if you use LCR module the domain part of the RURI can be set by > giving such value to the "hostname" field in the gw table. > > -- > Iñaki Baz Castillo > <i...@aliax.net> > _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users