On Tuesday 23 February 2010 05:27:55 Per Jessen wrote: > Tzafrir Cohen wrote: > > On Tue, Feb 23, 2010 at 09:18:36AM +0100, Per Jessen wrote: > >> About two weeks ago there was a thread about asterisk suddenly dying > >> - I posted a response that the same happens to my asterisk about once > >> a month, sometimes more. > >> Someone suggested using 'safe_asterisk' (and get hold of a core dump) > >> which sounds like a good idea, but one thing I can't figure is how to > >> get "module reload app_queue" executed automatically at startup? > > > > All modules are loaded at startup. Why would you need a reload? > > To be honest I don't remember any more, I just know my queueing doesn't > work unless I reload. I think it's a timing issue at startup - that > app_queue gets loaded too early or something. ah, here is my question > about the same, but back in 2007: > > http://lists.digium.com/pipermail/asterisk-users/2007-May/188072.html
You need to load the chan_local.so channel before pbx_config.so loads, so that your Local channels have the right devicestate. Adding 'preload => chan_local.so', followed by 'preload => pbx_config.so', to your /etc/asterisk/modules.conf should be sufficient. Otherwise, when app_queue queries the state of the Local channels at startup, it finds them to be unavailable. This is why reloading app_queue.so fixes the issue. -- Tilghman Lesher Digium, Inc. | Senior Software Developer twitter: Corydon76 | IRC: Corydon76-dig (Freenode) Check us out at: www.digium.com & www.asterisk.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
