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

Brett Nemeroff brett at nemeroff.com
Thu Sep 10 17:18:06 CEST 2009


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 <jc at atlastelecom.com>wrote:

>  With Dynamic Routing, how can we route based on source IP address/Gateway
> ?
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090910/53b21097/attachment.htm 


More information about the Users mailing list