Re: [asterisk-users] Start asterisk on boot
On Mon, 2009-01-26 at 09:32 +0100, Ralf Träskman wrote: Hi We runs asterisk 1.6 on a ubuntu 8.04 server. How can I get asterisk to start at boot? I have created an file named asterisk in /etc/event.d and put in this # This service maintains Asterisk from the point the system is # started until it is shut down again. description Asterisk daemon start on runlevel-2 stop on shutdown respawn exec //usr/sbin/asterisk –f But it doesn’t work. Regards /ralf Ralf Träskman, IT AdLibris AB, Odengatan 106, 113 22 Stockholm, Sweden Dir: +46-(0)707548074, vxl: +46-(0)85460 60 00, fax: +46-(0)85460 60 99 r...@adlibris.com www.adlibris.com P Please consider the environment before printing this e-mail I am using the /etc/init.d/asterisk startup file and works Just make sure that permissions are set correctly. The default asterisk package from ubuntu reps runs as non-root so if you have installed it prior to installing 1.6 some things will be warped. -- Stelios S. Koroneos Digital OPSiS - Embedded Intelligence Tel +30 210 9858296 Ext 100 Fax +30 210 9858298 http://www.digital-opsis.com ___ -- 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] Start asterisk on boot
2009/1/26 Ralf Träskman r...@adlibris.com Hi We runs asterisk 1.6 on a ubuntu 8.04 server. How can I get asterisk to start at boot? I have created an file named asterisk in /etc/event.d and put in this # This service maintains Asterisk from the point the system is # started until it is shut down again. description Asterisk daemon start on runlevel-2 stop on shutdown respawn exec //usr/sbin/asterisk –f But it doesn't work. Regards /ralf 1. Copy relevant file from contrib directory into /etc/init.d directory (while renaming it asterisk) 2. Then sudo update-rc.d asterisk defaults and it's done Ralf Träskman, IT AdLibris AB, Odengatan 106, 113 22 Stockholm, Sweden Dir: +46-(0)707548074, vxl: +46-(0)85460 60 00, fax: +46-(0)85460 60 99 r...@adlibris.com www.adlibris.com P *Please consider the environment before printing this e-mail* ___ -- 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] Start asterisk on boot
How did you installed asterisk? 2009/1/26 Ralf Träskman r...@adlibris.com: Hi We runs asterisk 1.6 on a ubuntu 8.04 server. How can I get asterisk to start at boot? I have created an file named asterisk in /etc/event.d and put in this # This service maintains Asterisk from the point the system is # started until it is shut down again. description Asterisk daemon start on runlevel-2 stop on shutdown respawn exec //usr/sbin/asterisk –f But it doesn't work. Regards /ralf Ralf Träskman, IT AdLibris AB, Odengatan 106, 113 22 Stockholm, Sweden Dir: +46-(0)707548074, vxl: +46-(0)85460 60 00, fax: +46-(0)85460 60 99 r...@adlibris.com www.adlibris.com P Please consider the environment before printing this e-mail ___ -- 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] Start asterisk on boot
On Mon, Jan 26, 2009 at 09:32:26AM +0100, Ralf Träskman wrote: Hi We runs asterisk 1.6 on a ubuntu 8.04 server. How can I get asterisk to start at boot? I have created an file named asterisk in /etc/event.d and put in this # This service maintains Asterisk from the point the system is # started until it is shut down again. description Asterisk daemon start on runlevel-2 stop on shutdown respawn exec //usr/sbin/asterisk -f exec /usr/sbin/asterisk -U asterisk please. How do you intend to stop it? -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/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] Start asterisk on boot
Hi That didnt work either, do i have to set some permissions? /ralf From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Olivier Sent: den 26 januari 2009 09:52 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Start asterisk on boot 2009/1/26 Ralf Träskman r...@adlibris.commailto:r...@adlibris.com Hi We runs asterisk 1.6 on a ubuntu 8.04 server. How can I get asterisk to start at boot? I have created an file named asterisk in /etc/event.d and put in this # This service maintains Asterisk from the point the system is # started until it is shut down again. description Asterisk daemon start on runlevel-2 stop on shutdown respawn exec //usr/sbin/asterisk -f But it doesn't work. Regards /ralf 1. Copy relevant file from contrib directory into /etc/init.d directory (while renaming it asterisk) 2. Then sudo update-rc.d asterisk defaults and it's done Ralf Träskman, IT AdLibris AB, Odengatan 106, 113 22 Stockholm, Sweden Dir: +46-(0)707548074, vxl: +46-(0)85460 60 00, fax: +46-(0)85460 60 99 r...@adlibris.commailto:r...@adlibris.com www.adlibris.comhttp://www.adlibris.com/ P Please consider the environment before printing this e-mail ___ -- 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] Start asterisk on boot
2009/1/26 Ralf Träskman r...@adlibris.com Hi We runs asterisk 1.6 on a ubuntu 8.04 server. How can I get asterisk to start at boot? I have created an file named asterisk in /etc/event.d and put in this # This service maintains Asterisk from the point the system is # started until it is shut down again. description Asterisk daemon start on runlevel-2 stop on shutdown respawn exec //usr/sbin/asterisk –f But it doesn't work. Regards /ralf Ralf Träskman, IT AdLibris AB, Odengatan 106, 113 22 Stockholm, Sweden Dir: +46-(0)707548074, vxl: +46-(0)85460 60 00, fax: +46-(0)85460 60 99 r...@adlibris.com www.adlibris.com P *Please consider the environment before printing this e-mail* ___ -- 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 go to the source directory where you did ./configure make make install and run make config this will make all the start/stop scripts for you. David -- (\__/) (='.'=)This is Bunny. Copy and paste bunny into your ()_()signature to help him gain world domination. ___ -- 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] start asterisk
You need to change the line type in either your zapata.conf or your zaptel.conf they need to match. - Original Message - From: Luz Lopez [EMAIL PROTECTED] To: asterisk-users@lists.digium.com Sent: Thursday, April 28, 2005 11:01 AM Subject: [Asterisk-Users] start asterisk Hi All. I have installed Asterisk on linux Redhat version 9, I follow step by ssstep the installation, my card digium is TDM400P, whith modprobe wcfxs I have load this module. My vonfiguration files are in /etc/asterisk, the file /etc/zaptel.conf hace the folloeing lines: fxoks=1 #fxsks=4 loadzone=us defaultzone=us whit command ztcfg -vv say: Zaptel Configuration == Channel map: Channel 01: FXO Kewlstart (Default) (Slaves: 01) 1 channels configured. Nut when I start the asterisk the following message appear Apr 28 10:54:53 localhost asterisk[2557]: NOTICE[2557]: manager.c:1478 in init_manager: Unable to open management configuration manager.conf. Call management disabled. Apr 28 10:54:53 localhost asterisk[2557]: NOTICE[2557]: chan_agent.c:809 in read_agent_config: No agent configuration found -- agent support disabled Apr 28 10:54:53 localhost asterisk[2557]: NOTICE[2557]: chan_mgcp.c:3948 in reload_config: Unable to load config mgcp.conf, MGCP disabled Apr 28 10:54:53 localhost asterisk[2557]: ERROR[2557]: chan_iax2.c:6839 in set_config: Unable to load config iax.conf Apr 28 10:54:53 localhost asterisk[2557]: NOTICE[2557]: iax2-provision.c:496 in iax_provision_reload: No IAX provisioning configuration found, IAX provisioning disabled. Apr 28 10:54:53 localhost asterisk[2557]: NOTICE[2557]: chan_skinny.c:2541 in reload_config: Unable to load config skinny.conf, Skinny disabled Apr 28 10:54:53 localhost asterisk[2557]: WARNING[2557]: chan_oss.c:1016 in load_module: XXX I don't work right with non-full duplex sound cards XXX Apr 28 10:54:53 localhost asterisk[2557]: WARNING[2557]: chan_oss.c:257 in sound_thread: Read error on sound device: Resource temporarily unavailable Apr 28 10:54:53 localhost asterisk[2557]: ERROR[2557]: chan_zap.c:6220 in mkintf: Signalling requested is FXS Kewlstart but line is in FXO Kewlstart signalling Apr 28 10:54:53 localhost asterisk[2557]: ERROR[2557]: chan_zap.c:9155 in setup_zap: Unable to register channel '1' Apr 28 10:54:53 localhost asterisk[2557]: WARNING[2557]: loader.c:345 in ast_load_resource: chan_zap.so: load_module failed, returning -1 Apr 28 10:54:53 localhost asterisk[2557]: WARNING[2557]: loader.c:440 in load_modules: Loading module chan_zap.so failed! Somebody can give me suggestions? Thanks in Advanced, Regards. _ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] start asterisk
On Thu, 28 Apr 2005 16:01:44 + Luz Lopez [EMAIL PROTECTED] wrote: Hi All. I have installed Asterisk on linux Redhat version 9, I follow step by ssstep the installation, my card digium is TDM400P, whith modprobe wcfxs I have load this module. My vonfiguration files are in /etc/asterisk, the file /etc/zaptel.conf hace the folloeing lines: fxoks=1 #fxsks=4 loadzone=us defaultzone=us whit command ztcfg -vv say: Zaptel Configuration == Channel map: Channel 01: FXO Kewlstart (Default) (Slaves: 01) 1 channels configured. Nut when I start the asterisk the following message appear Apr 28 10:54:53 localhost asterisk[2557]: NOTICE[2557]: manager.c:1478 in init_manager: Unable to open management configuration manager.conf. Call management disabled. Apr 28 10:54:53 localhost asterisk[2557]: NOTICE[2557]: chan_agent.c:809 in read_agent_config: No agent configuration found -- agent support disabled Apr 28 10:54:53 localhost asterisk[2557]: NOTICE[2557]: chan_mgcp.c:3948 in reload_config: Unable to load config mgcp.conf, MGCP disabled Apr 28 10:54:53 localhost asterisk[2557]: ERROR[2557]: chan_iax2.c:6839 in set_config: Unable to load config iax.conf Apr 28 10:54:53 localhost asterisk[2557]: NOTICE[2557]: iax2-provision.c:496 in iax_provision_reload: No IAX provisioning configuration found, IAX provisioning disabled. Apr 28 10:54:53 localhost asterisk[2557]: NOTICE[2557]: chan_skinny.c:2541 in reload_config: Unable to load config skinny.conf, Skinny disabled Apr 28 10:54:53 localhost asterisk[2557]: WARNING[2557]: chan_oss.c:1016 in load_module: XXX I don't work right with non-full duplex sound cards XXX Apr 28 10:54:53 localhost asterisk[2557]: WARNING[2557]: chan_oss.c:257 in sound_thread: Read error on sound device: Resource temporarily unavailable Apr 28 10:54:53 localhost asterisk[2557]: ERROR[2557]: chan_zap.c:6220 in mkintf: Signalling requested is FXS Kewlstart but line is in FXO Kewlstart signalling Apr 28 10:54:53 localhost asterisk[2557]: ERROR[2557]: chan_zap.c:9155 in setup_zap: Unable to register channel '1' Apr 28 10:54:53 localhost asterisk[2557]: WARNING[2557]: loader.c:345 in ast_load_resource: chan_zap.so: load_module failed, returning -1 Apr 28 10:54:53 localhost asterisk[2557]: WARNING[2557]: loader.c:440 in load_modules: Loading module chan_zap.so failed! Somebody can give me suggestions? Thanks in Advanced, Regards. Did you put the correct settings in zapata.conf as per the wiki?? http://www.voip-info.org/wiki-Asterisk+config+zapata.conf ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] start asterisk
Hi, I have installed zaptel, but I haven't in /etc/rc.d/init.d the file to start zaptel. From: Jerry Geis [EMAIL PROTECTED] Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] start asterisk Date: Thu, 28 Apr 2005 11:08:17 -0500 did you do the following service zaptel stop service zaptel start then run asterisk... ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users