I installed asterisk on Fedora Core 2 kernel 2.6.5. I followed the standard procedure. zaptel-libpri-asterisk. The thing is that I constantly get the error message: line 4: Unable to open master device '/dev/zap/ctl' where the file zaptel.conf contains only 4 files: fxoks=1 fxsks=4 defaultzone=us loadzone=us I cant run asterisk and get a load of error messages. When I tried to check the directory /dev/zap, it wasnt there. It isnt created during installation. Can someone help me out. Apart from that, should I get a dialtone in the fxs module when the tdm400p is connected in the computer? because I have no way of checking whether my device is correctly connected.
be sure to run "service zaptel start" and also "make install" inside zaptel one of those two commands creates all the necessary /dev stuff. -Matthew ----- Original Message ----- From: "Rizwan Chaudhry" <rizwanch@gmail.com> To: <asterisk-users@lists.digium.com> Sent: Wednesday, March 02, 2005 9:02 AM Subject: [Asterisk-Users] /dev/zap not created> I installed asterisk on Fedora Core 2 kernel 2.6.5. I followed the > standard procedure. zaptel-libpri-asterisk. The thing is that I > constantly get the error message: > > line 4: Unable to open master device '/dev/zap/ctl' > > where the file zaptel.conf contains only 4 files: > > fxoks=1 > fxsks=4 > defaultzone=us > loadzone=us > > I cant run asterisk and get a load of error messages. > > When I tried to check the directory /dev/zap, it wasnt there. It isnt > created during installation. Can someone help me out. > > Apart from that, should I get a dialtone in the fxs module when the > tdm400p is connected in the computer? because I have no way of > checking whether my device is correctly connected. > _______________________________________________ > 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
Hey Rizwan, On 2 Mar 2005, at 15:02, Rizwan Chaudhry wrote:> I installed asterisk on Fedora Core 2 kernel 2.6.5. I followed the > standard procedure. zaptel-libpri-asterisk. The thing is that I > constantly get the error message: > > line 4: Unable to open master device '/dev/zap/ctl'I'm not 100% sure, but I think Fedora Core 2 uses UDEV. Look through the output of ps -A and see if there is a udevd running. If there is you're running udev and need to read README.udev which is in the zaptel source directory.> where the file zaptel.conf contains only 4 files: > > fxoks=1 > fxsks=4 > defaultzone=us > loadzone=us > > I cant run asterisk and get a load of error messages. > > When I tried to check the directory /dev/zap, it wasnt there. It isnt > created during installation. Can someone help me out. > > Apart from that, should I get a dialtone in the fxs module when the > tdm400p is connected in the computer? because I have no way of > checking whether my device is correctly connected. >Things won't be properly loaded until you have udev sorted. As far as I know anyway. Phil.
there might be an easier way, but i changed the asterisk source code before i compiled to reference the zap devices under /dev in their new place. i think everything you need to change is under the apps dir in the source tree On Wed, 2 Mar 2005 20:02:33 +0500, Rizwan Chaudhry <rizwanch@gmail.com> wrote:> I installed asterisk on Fedora Core 2 kernel 2.6.5. I followed the > standard procedure. zaptel-libpri-asterisk. The thing is that I > constantly get the error message: > > line 4: Unable to open master device '/dev/zap/ctl' > > where the file zaptel.conf contains only 4 files: > > fxoks=1 > fxsks=4 > defaultzone=us > loadzone=us > > I cant run asterisk and get a load of error messages. > > When I tried to check the directory /dev/zap, it wasnt there. It isnt > created during installation. Can someone help me out. > > Apart from that, should I get a dialtone in the fxs module when the > tdm400p is connected in the computer? because I have no way of > checking whether my device is correctly connected. > _______________________________________________ > 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 >