Re: [OpenSIPS-Users] Dynamic Routing - routing using source IP address

2009-09-10 Thread Brett Nemeroff
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 wrote:

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


[OpenSIPS-Users] Dynamic Routing - routing using source IP address

2009-09-10 Thread Julien Chavanton
With Dynamic Routing, how can we route based on source IP address/Gateway ?
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users