[OpenSIPS-Users] Return GW IP
Mark Farmer
farmorg at gmail.com
Tue Mar 5 09:01:14 EST 2019
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
farmorg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190305/782969f5/attachment.html>
More information about the Users
mailing list