[SR-Users] Best way to do routing against a list of gateways

Yu Boot yu at yu-boot.ru
Wed Nov 29 12:36:50 CET 2017


Hello.

Try carrierroute module. Use it with failure_route to iterate thru 
different gateways from database.


29.11.2017 14:29, voipspace voipspace пишет:
> Hi
> I want to build the following scenerio
> There should be some sort of database table to hold a list of gateway 
> entries with fields ip, prefix, and name/description.
> It would be good to use exiting tables to use what is avaiable. Have 
> been looking at the lcr and drouting tables
> but it seems they are designed to choose automaticaly for you and not 
> just returning data about specific entries.
> Please suggest how I may archive the following
> Kamailio will receive a request it will then send to another Kamailio 
> redirect server.
> The response from the redirect will have a sip header value holding 
> the id/name of the gateway choosen.
> I want Kamailio processing the reponse to use the gateway id/name to 
> lookup on the table and access the full details
> ip, prefix details.
> This data can then be used to construct the relay parameter.
> Regards
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171129/54a11f46/attachment.html>


More information about the sr-users mailing list