Hi all
I'm using drouting and I need to route calls to various Gateway types based
on $si and destination IP but it seems that $dd is not known at this point.
How can I get the IP address of the destination gateway from the drouting
database and assign it to a usable variable?
I'm thinking something like this:
if ($si =~"^(10\.*)" && goes_to_gw("1")) {
$dd = ???????
}
Many thanks
Mark.
--
Mark Farmer
[email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users