The key is - create and register a route inside module, not inside included config file.
I understand what do you suggest but it is not I'm trying to achieve.
Not sure exactly what you mean. But Kamailio do offer support for multiple configuration files which are then included in main kamailio.cfg file. Those can contain other route definitions which can be called-in from main route or just about another route without any problem.Thank you.On Sun, Feb 10, 2013 at 7:11 PM, Konstantin M. <evilzluk@gmail.com> wrote:
_______________________________________________Hello,
Is there a way to register a valid routes inside module ?
Example:
request_route {
...
route(ProgramRoute);
...
}
where ProgramRoute is registered inside external module.
Thanks!
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk@hotmail.com
Email: shaheryarkh@googlemail.com
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev