Junk Mail
2005-Mar-09 16:12 UTC
[Asterisk-Users] Asterisk@home silly problem, please help!
Hi all! After much struggling I got my *@home working fine AND making use of two AVMFritz!PCI cards. Really nice ! (kernel 2.4.2x) There's however a silly glitch that's getting on my nerves, and, kind of a newbie that I am to linux, it should be easy to get help : -- "capiinit start" MUST BE run before Asterisk. (any other way makes * not to start because chan_capi doesn't find CAPI support) You must find this an easy thing, as I did. So I entered /etc/rc.d/ and inserted "capiinit start" to start as early as possible. Also added some lines of junk text so to see them going by as the system boots... What's making me desperate is that the lines go by, capiinit is, in fact, runned, and Asterisk still fails in the end. I login and type my very first command "asterisk -vvvc" and it then starts with no trouble. Is this strange or what ? Thanks in advance for your help. M.G.
Craig Guy
2005-Mar-09 18:54 UTC
[Asterisk-Users] Asterisk@home silly problem, please help!
Maybe a long shot but if you run asterisk as non root user have you checked the permissions on /dev/capi20 ? I have an eicon 4BRI card and every time I reconfigure the card with divas_cfg I do a chown --recursive asterisk:asterisk /dev/capi2* Craig ----- Original Message ----- From: "Junk Mail" <junkmail@segurajuda.dyndns.org> To: <asterisk-users@lists.digium.com> Sent: Thursday, March 10, 2005 7:12 AM Subject: [Asterisk-Users] Asterisk@home silly problem, please help!> Hi all! > > After much struggling I got my *@home working fine AND making use of two > AVMFritz!PCI cards. Really nice ! (kernel 2.4.2x) > > There's however a silly glitch that's getting on my nerves, and, kind of a > newbie that I am to linux, it should be easy to get help : > > -- "capiinit start" MUST BE run before Asterisk. (any other way makes *not> to start because chan_capi doesn't find CAPI support) > > You must find this an easy thing, as I did. So I entered /etc/rc.d/ and > inserted "capiinit start" to start as early as possible. Also added some > lines of junk text so to see them going by as the system boots... > > What's making me desperate is that the lines go by, capiinit is, in fact, > runned, and Asterisk still fails in the end. > I login and type my very first command "asterisk -vvvc" and it then starts > with no trouble. > > Is this strange or what ? > > Thanks in advance for your help. > > M.G. > > _______________________________________________ > 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 >
Jon Lawrence
2005-Mar-10 17:03 UTC
[Asterisk-Users] Asterisk@home silly problem, please help!
On Wednesday 09 March 2005 23:12, Junk Mail wrote:> What's making me desperate is that the lines go by, capiinit is, in fact, > runned, and Asterisk still fails in the end. > I login and type my very first command "asterisk -vvvc" and it then starts > with no trouble. > > Is this strange or what ? > > Thanks in advance for your help. >I'm willing to bet that the modules haven't actually loaded when asterisk tries to start. I'm pretty sure I had the same problem on my box. You need to slow down the boot (I know sounds weird everyone nowadays wants their machines to boot asap), instead of inserting text grabage, find where the modules are loaded and insert a couple of seconds of sleep after the modules are loaded - I'm away from my box atm and can't for the life of me actually remember the syntax. Run a quick google for 'bash sleep'. HTH Jon Jon
Solved! The problem was that "capiinit start" can only be done by user "root" and asterisk is started as user "asterisk". Once I edited sudo ("visudo") and gave permission, the problem was solved. Regards M.G. ----- Original Message ----- From: "Junk Mail" <junkmail@segurajuda.dyndns.org> To: <asterisk-users@lists.digium.com> Sent: Wednesday, March 09, 2005 11:12 PM Subject: [Asterisk-Users] Asterisk@home silly problem, please help!> Hi all! > > After much struggling I got my *@home working fine AND making use of two > AVMFritz!PCI cards. Really nice ! (kernel 2.4.2x) > > There's however a silly glitch that's getting on my nerves, and, kind of a > newbie that I am to linux, it should be easy to get help : > > -- "capiinit start" MUST BE run before Asterisk. (any other way makes *not> to start because chan_capi doesn't find CAPI support) > > You must find this an easy thing, as I did. So I entered /etc/rc.d/ and > inserted "capiinit start" to start as early as possible. Also added some > lines of junk text so to see them going by as the system boots... > > What's making me desperate is that the lines go by, capiinit is, in fact, > runned, and Asterisk still fails in the end. > I login and type my very first command "asterisk -vvvc" and it then starts > with no trouble. > > Is this strange or what ? > > Thanks in advance for your help. > > M.G. > > _______________________________________________ > 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 >