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
--
_____________________________________________________________________
-- 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