Re: [asterisk-users] cli commands missing
Hi Eric, Am Sonntag, den 12.10.2008, 18:06 -0700 schrieb Eric Fort: resolve.conf and dns is working. The problem persists. /var/log/asterisk/messages shows a few notices and warnings on res_smdi.c, res_musiconhold.c, and usbradio.c. when I disable loading of these in modules.conf asterisk crashes on load. Eric try to start asterisk in foreground. First stop it and then start it on the shell: asterisk -vv You will see all the messages while autoloading. Some of them might tell You, why a module is not loaded. HTH, Regards, Karsten ___ -- 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
Re: [asterisk-users] cli commands missing
On Mon, Oct 13, 2008 at 06:51:47PM +0200, Karsten Wemheuer wrote: Hi Eric, Am Sonntag, den 12.10.2008, 18:06 -0700 schrieb Eric Fort: resolve.conf and dns is working. The problem persists. /var/log/asterisk/messages shows a few notices and warnings on res_smdi.c, res_musiconhold.c, and usbradio.c. when I disable loading of these in modules.conf asterisk crashes on load. Eric try to start asterisk in foreground. First stop it and then start it on the shell: asterisk -vv Actually often many v-s flood you with messages and hide the errors. asterisk -U asterisk -c But then again, this information should already be in the logs. -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- 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
Re: [asterisk-users] cli commands missing
I've seen something like that (in your next post you show 20-some modules, a stock install will be 100 modules) when using the openSUSE distribution Asterisk package along with asterisk-addons package. What happens is it gets stuck on some module that is not configured I think one of the ones relating to database or CDR. You will notice if you do an asterisk -vc that you did not get Asterisk is ready at the point where your modules are missing. I think after a few minutes everything loads (module times out starting with its default config) If this is the case you should just disable any modules you don't use from /usr/lib/asterisk/modules or /usr/lib64/asterisk/modules you can move them out of there at first and eventually add them as noload to modules.conf (so when you upgrade to a newer version you don't run into the same issue). On Sat, Oct 11, 2008 at 11:17 PM, Eric Fort [EMAIL PROTECTED] wrote: I just loaded a new asterisk install (1.4.19) and found that the sip, iax, and extentions commands are missing from the cli and are not listed in help either? Any idea what could have happened or where these commands may have gone? Thanks, Eric ___ -- 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 ___ -- 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
Re: [asterisk-users] cli commands missing
On Oct 12, 2008, at 6:31 AM, Eric Fort wrote: autoload is enabled but all the modules are not loaded. Why would this be? what should I look at? The cli output and modules.conf are below. Eric modules.conf: ; ; Asterisk configuration file ; ; Module Loader configuration file ; [modules] autoload=yes noload=chan_oss.so noload=chan_alsa.so noload=chan_phone.so [global] --- A couple of things to check: Is your DNS lookup on the box working? Are all the configfiles readable by asterisk? Can you try to stop asterisk and start it with: asterisk -vvgcd That will show you what it's doing and may give you pointers why it's not working. ___ -- 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
Re: [asterisk-users] cli commands missing
resolve.conf and dns is working. The problem persists. /var/log/asterisk/messages shows a few notices and warnings on res_smdi.c, res_musiconhold.c, and usbradio.c. when I disable loading of these in modules.conf asterisk crashes on load. Eric On Sun, Oct 12, 2008 at 1:10 AM, Michiel van Baak [EMAIL PROTECTED]wrote: On Oct 12, 2008, at 6:31 AM, Eric Fort wrote: autoload is enabled but all the modules are not loaded. Why would this be? what should I look at? The cli output and modules.conf are below. Eric modules.conf: ; ; Asterisk configuration file ; ; Module Loader configuration file ; [modules] autoload=yes noload=chan_oss.so noload=chan_alsa.so noload=chan_phone.so [global] --- A couple of things to check: Is your DNS lookup on the box working? Are all the configfiles readable by asterisk? Can you try to stop asterisk and start it with: asterisk -vvgcd That will show you what it's doing and may give you pointers why it's not working. ___ -- 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 ___ -- 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
[asterisk-users] cli commands missing
I just loaded a new asterisk install (1.4.19) and found that the sip, iax, and extentions commands are missing from the cli and are not listed in help either? Any idea what could have happened or where these commands may have gone? Thanks, Eric ___ -- 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
Re: [asterisk-users] cli commands missing
On Sat, Oct 11, 2008 at 08:17:09PM -0700, Eric Fort wrote: I just loaded a new asterisk install (1.4.19) and found that the sip, iax, and extentions commands are missing from the cli and are not listed in help either? Any idea what could have happened or where these commands may have gone? It probably means that the respective modules (chan_sip.so, chan_iax2.so, etc.) were not loaded. Do you have autoload enabled in modules.conf? -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- 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
Re: [asterisk-users] cli commands missing
autoload is enabled but all the modules are not loaded. Why would this be? what should I look at? The cli output and modules.conf are below. Eric modules.conf: ; ; Asterisk configuration file ; ; Module Loader configuration file ; [modules] autoload=yes noload=chan_oss.so noload=chan_alsa.so noload=chan_phone.so [global] --- here's what's loaded: test*CLI module show Module Description Use Count res_musiconhold.so Music On Hold Resource 0 res_speech.so Generic Speech Recognition API 0 res_features.soCall Features Resource 0 res_monitor.so Call Monitoring Resource 0 res_adsi.soADSI Resource0 res_smdi.soSimplified Message Desk Interface (SMDI) 0 res_crypto.so Cryptographic Digital Signatures 0 res_agi.so Asterisk Gateway Interface (AGI) 0 res_indications.so Indications Resource 0 app_sayunixtime.so Say time 0 codec_g726.so ITU G.726-32kbps G726 Transcoder 0 func_strings.soString handling dialplan functions 0 pbx_realtime.soRealtime Switch 0 app_cdr.so Tell Asterisk to not maintain a CDR for 0 app_sms.so SMS/PSTN handler 0 codec_a_mu.so A-law and Mulaw direct Coder/Decoder 0 app_page.soPage Multiple Phones 0 format_vox.so Dialogic VOX (ADPCM) File Format 0 app_echo.soSimple Echo Application 0 app_channelredirect.so Channel Redirect 0 chan_usbradio.so usb Console Channel Driver 0 21 modules loaded - Eric On Sat, Oct 11, 2008 at 8:40 PM, Tzafrir Cohen [EMAIL PROTECTED]wrote: On Sat, Oct 11, 2008 at 08:17:09PM -0700, Eric Fort wrote: I just loaded a new asterisk install (1.4.19) and found that the sip, iax, and extentions commands are missing from the cli and are not listed in help either? Any idea what could have happened or where these commands may have gone? It probably means that the respective modules (chan_sip.so, chan_iax2.so, etc.) were not loaded. Do you have autoload enabled in modules.conf? -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED][EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- 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 ___ -- 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