Check out db_http. You can do just about whatever you want with it:<div><a href="http://www.opensips.org/html/docs/modules/devel/db_http.html">http://www.opensips.org/html/docs/modules/devel/db_http.html</a></div><div><br>
</div><div>Word of caution. The exec module has a lot of overhead associated with it.</div><div><br></div><div>-Brett</div><div> </div><div><div class="gmail_quote">On Tue, Dec 22, 2009 at 4:07 AM, Saeed Akhtar <span dir="ltr"><<a href="mailto:saeedakhtar.484@gmail.com">saeedakhtar.484@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">Hi all,<div><br></div><div>Is there any other application which can do routing for me. If I don't wana use OpenSIPS routing and rather want to direct OpenSIPS through some other application which can tell OpenSIPS to route calls. Can I do this? Is there any application already built there? if yes and there are more than 1 then which is the better choice??<br>
<br>Regards,<br><font color="#888888"><br>Saeed Akhtar</font><div><div></div><div class="h5"><br><br>
<br><br><div class="gmail_quote">On Tue, Dec 15, 2009 at 6:23 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sorry, by bad!! I made a mistake in reading your email....<br>
<br>
So, about RADIUS-driven routing....The only way to get back info from<br>
RADIUS server is via a AUTH request (ACC requests do not return data<br>
from RADIUS server).<br>
<br>
So, I suggest using 1.6 with the new aaa_radius module - you can build<br>
custom auth request and you process (from the script) the RADIUS answer:<br>
<a href="http://www.opensips.org/html/docs/modules/devel/aaa_radius.html#id228094" target="_blank">http://www.opensips.org/html/docs/modules/devel/aaa_radius.html#id228094</a><br>
<div><br>
Regards,<br>
Bogdan<br>
<br>
Saeed Akhtar wrote:<br>
</div><div>> sorry but FS=?<br>
><br>
><br>
> Regards,<br>
><br>
> Saeed Akhtar<br>
><br>
><br>
><br>
> On Tue, Dec 15, 2009 at 1:13 PM, Bogdan-Andrei Iancu<br>
</div><div><div></div><div>> <<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a> <mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>>> wrote:<br>
><br>
> Hi Saeed,<br>
><br>
> Typically there are 2 ways to do it:<br>
><br>
> 1) based on proxying - opensips sends the call to FS and let FS to<br>
> send<br>
> the call wherever it decides<br>
><br>
> 2) based on redirect - opensips sends the call to FS , FS<br>
> determines the<br>
> destination which is send back in a 3xx reply to opensips;<br>
> opensips uses<br>
> the address to send the call forward.<br>
><br>
> Regards,<br>
> Bogdan<br>
><br>
> Saeed Akhtar wrote:<br>
> > hi all,<br>
> ><br>
> > I have a little requirement. I'm using opensips with freeradius for<br>
> > AAA purposes. Now I want to use it as router of unknown<br>
> destinations.<br>
> > I know I can use drouting module to do this, but I want<br>
> freeradius to<br>
> > decide where to route my call. So is there any possibility that<br>
> > freeradius tell opensips where to route call?<br>
> ><br>
> ><br>
> > Regards,<br>
> ><br>
> > Saeed Akhtar<br>
> ><br>
> ><br>
> ------------------------------------------------------------------------<br>
> ><br>
> > _______________________________________________<br>
> > Users mailing list<br>
</div></div>> > <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><br>
<div>> > <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> ><br>
><br>
><br>
> --<br>
> Bogdan-Andrei Iancu<br>
</div>> <a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a> <<a href="http://www.voice-system.ro" target="_blank">http://www.voice-system.ro</a>><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><br>
<div><div></div><div>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div></div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>