No wonder I was getting confused. The key here for me was that I was
calling my route before the do_routing(). Now my tests actually work
and things are much simpler now that it's all contained within drouting :)
Thank you for pointing that out, much appreciated.
Mark.
PS. Sorry about the duplic
Mark,
Drouting is pushing the the GW IP into the host/domain part of the RURI,
so you can "see" it via $rd (after do_routing()). Also your scripting
seems logic.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Summit 2019
https://w
Thanks for the reply.
This actually stems from an earlier post regarding rtpproxy. Within that
logic I am testing $si which is fine but I also need to test the
destination GW IP hence $dd but the variable is null at that point so I'm
thinking I need to grab the destination GW IP address beforehand
Thanks for the reply.
This actually stems from an earlier post regarding rtpproxy. Within that
logic I am testing $si which is fine but I also need to test the
destination GW IP hence $dd but the variable is null at that point so I'm
thinking I need to grab the destination GW IP address beforehand
Hi Mark,
The Dynamic Routing module is doing routing based on prefix/number -
that's what the engine knows. Of course you can combine with source IP
by translating/mapping groups of src IPs into routing groups.
Not sure what you are expect the module to do, if you want to route only
based on
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 someth