On Friday 26 July 2013, Kamlesh Kumar wrote:
> Thank you Carlos,
> 
> you were right, there was one empty file among all included files which
> were causing this problem.
> 
> Couple of more queries:
> 
> Will system performance be affected if there are 20k dialplan
> entries(including all external files and contexts) in extensions.conf?

Not by as much as you think, because the dialplan is compiled into an 
intermediate form when Asterisk starts  (and again when you execute `dialplan 
reload`) -- it doesn't have to parse the whole text file for every call.

> Can we define variable in external file, and include that external file in
> extensions.conf and then use that variable in dialplan?

Yes  (and that's a sensible way of doing it anyway).  Just remember, a 
variable won't have a value until the include statement which includes the file 
with the line that defines it is parsed.


-- 
AJS

Answers come *after* questions.

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to