[asterisk-users] dialplan reloading

Jerry Geis geisj at pagestation.com
Fri Nov 2 07:20:55 CDT 2012


> 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
Actually my mistake - looks like based on "my code" certain things happen
and I issue two "dialplan reload" commands. So the second is killing the 
first.
Then asterisk looses information.

So certainly I should not be doing that - but I'm surprised asterisk 
lets another reload
happen before the first is complete.

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121102/02f6a485/attachment.htm>


More information about the asterisk-users mailing list