[OpenSIPS-Users] Implementing routing and failure using perl

Ali Pey alipey at gmail.com
Tue Dec 3 18:33:39 CET 2013


Hello,

When you use perl, you would have to implement your own logic and you can't
use the dynamic routing or load balancer module from inside your perl
script. You must be thinking of something similar to ESL in freeswitch or
AGI in asterisk and that's not here.

Regards,
Ali


On Tue, Dec 3, 2013 at 12:17 PM, Nick Cameo <symack at gmail.com> wrote:

> Hello Everyone,
>
> We use dr (ie, do_routing), and failure (ie, use_next_gw()) in our
> opensips configuration. Now we are trying to migrate certain
> functionality to our perl script where we do some processing on the
> INVITEs.
>
> My question is which predefined OpenSIPS perl functions do we have the
> will allow us to implement the same routing and failover functionality
> that we currently have using OpenSIPS script. More specifically, what
> Perl functions do we have to implement relaying and failover. As
> mentioned earlier, we do use DR so our dr_rules/gateways tables are
> populated.
>
> Kind Regards,
>
> Nick.
>
> _______________________________________________
> 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/20131203/b9d46a3d/attachment.htm>


More information about the Users mailing list