<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); ">Sorry to step in here but I think the 2 of you are talking at cropp
purposes
I initial query was about a dialplan reload, not an asterisk restart.
Jerry, how long does your system take to perform a dialplan reload?
surely it is under a second.
If you look in the logs, at the end of any dialplan reload (well in 1.8
at least) you will get some time stats such as below
[2012-10-29 00:10:03] VERBOSE[19096] pbx.c: -- Time to scan old dialplan and merge leftovers back into the new: 0.000041 sec
[2012-10-29 00:10:03] VERBOSE[19096] pbx.c: -- Time to restore hints and swap in new dialplan: 0.000003 sec
[2012-10-29 00:10:03] VERBOSE[19096] pbx.c: -- Time to delete the old dialplan: 0.000004 sec
[2012-10-29 00:10:03] VERBOSE[19096] pbx.c: -- Total time merge_contexts_delete: 0.000048 sec
As you can see in this example it takes under a ten thousandth of a
second.
Is that something to really be concerned about?
Regards
Ish</pre>
</blockquote>
Actually my mistake - looks like based on "my code" certain things
happen<br>
and I issue two "dialplan reload" commands. So the second is killing
the first.<br>
Then asterisk looses information.<br>
<br>
So certainly I should not be doing that - but I'm surprised asterisk
lets another reload<br>
happen before the first is complete. <br>
<br>
Jerry<br>
</body>
</html>