<div dir="ltr"><font style="font-family: courier new,monospace;" size="2">Hi Franco, yo can use m4 scripting, please review <a href="http://www.kamailio.org/docs/scripting.html">M4 Scripting Tutorial</a><br>The idea is to use constants to enumerate routes, flags, localization variables and maybe can help you to have once file including all other routes files <br>
<br>openser.m4<br>/*------------------*/<br>define(`INVITE_ROUTE&#39;,`1&#39;)dnl<br>...<br>include(`route1.m4&#39;)dnl<br>include(`route2.m4&#39;)dnl<br>include(`route3.m4&#39;)dnl<br>..<br><br>Cheers,<br><br>Gustavo Mistrinelli<br>
</font>
<br><br><div class="gmail_quote">On Thu, Aug 7, 2008 at 6:26 AM, Francois Berganz <span dir="ltr">&lt;<a href="mailto:francois@acropolistelecom.net">francois@acropolistelecom.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="FR">

<div>

<p><span lang="EN-US">is it possible to divide the script route
in others files and do includes?</span></p>

<p><span lang="EN-US">With that, I want to have one file for
route[1] , one for route[2] …</span></p>

</div>

</div>


<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>