<div dir="ltr">Hello,<div><br></div><div>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.</div>
<div><br></div><div>Regards,</div><div>Ali<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 3, 2013 at 12:17 PM, Nick Cameo <span dir="ltr"><<a href="mailto:symack@gmail.com" target="_blank">symack@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Everyone,<br>
<br>
We use dr (ie, do_routing), and failure (ie, use_next_gw()) in our<br>
opensips configuration. Now we are trying to migrate certain<br>
functionality to our perl script where we do some processing on the<br>
INVITEs.<br>
<br>
My question is which predefined OpenSIPS perl functions do we have the<br>
will allow us to implement the same routing and failover functionality<br>
that we currently have using OpenSIPS script. More specifically, what<br>
Perl functions do we have to implement relaying and failover. As<br>
mentioned earlier, we do use DR so our dr_rules/gateways tables are<br>
populated.<br>
<br>
Kind Regards,<br>
<br>
Nick.<br>
<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>
</blockquote></div><br></div><img class="cm-tracker" src="https://contactmonkey.com/api/v1/tracker?cm_session=a10a9047-2df2-456c-9540-89068f1f5577&cm_type=open&cm_user_email=alipey@gmail.com"></div></div>