is it possible to divide the script route in others files and do includes?
With that, I want to have one file for route[1] , one for route[2] .
Hi Franco, yo can use m4 scripting, please review M4 Scripting Tutorialhttp://www.kamailio.org/docs/scripting.html 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
openser.m4 /*------------------*/ define(`INVITE_ROUTE',`1')dnl ... include(`route1.m4')dnl include(`route2.m4')dnl include(`route3.m4')dnl ..
Cheers,
Gustavo Mistrinelli
On Thu, Aug 7, 2008 at 6:26 AM, Francois Berganz < francois@acropolistelecom.net> wrote:
is it possible to divide the script route in others files and do includes?
With that, I want to have one file for route[1] , one for route[2] …
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users