Usually you set the group based on something else. I use memcache for this..
so I toss the IP against memcache, which returns a group id, then I use that
in the do_routing() cmd.
Of course, this requires pre-populating the cache src_ip => group_id

The newly released startup_route can do that for you now. :D

-Brett


On Thu, Sep 10, 2009 at 8:00 AM, Julien Chavanton <[email protected]>wrote:

>  With Dynamic Routing, how can we route based on source IP address/Gateway
> ?
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to