<div> </div><div>Carrierroute still is doing prefix matching which i do not need</div><div><br /></div><div><br /></div><div>29.11.2017, 11:38, "Yu Boot" <yu@yu-boot.ru>:</div><blockquote type="cite">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hello.</p>
<p>Try carrierroute module. Use it with failure_route to iterate
thru different gateways from database.<br />
</p>
<br />
<div>29.11.2017 14:29, voipspace voipspace
пишет:<br />
</div>
<blockquote type="cite" cite="mid:453641511954994@web29j.yandex.ru">
<div>
<div>
<div>Hi</div>
<div> </div>
<div>I want to build the following scenerio</div>
<div> </div>
<div>There should be some sort of database table to hold a
list of gateway entries with fields ip, prefix, and
name/description.</div>
<div> </div>
<div>It would be good to use exiting tables to use what is
avaiable. Have been looking at the lcr and drouting tables</div>
<div>but it seems they are designed to choose automaticaly for
you and not just returning data about specific entries.</div>
<div> </div>
<div>Please suggest how I may archive the following</div>
<div> </div>
<div>Kamailio will receive a request it will then send to
another Kamailio redirect server.</div>
<div>The response from the redirect will have a sip header
value holding the id/name of the gateway choosen.</div>
<div> </div>
<div>I want Kamailio processing the reponse to use the gateway
id/name to lookup on the table and access the full details</div>
<div>ip, prefix details. </div>
<div> </div>
<div>This data can then be used to construct the relay
parameter.</div>
<div> </div>
<div>Regards</div>
<div> </div>
</div>
</div>
<br />
<fieldset></fieldset>
<br />
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br />
</div>
,<p>_______________________________________________<br />Kamailio (SER) - Users Mailing List<br /><a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br /><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br /></p></blockquote>