[Asterisk-Users] /dev/zap not created

2005-03-02 Thread Rizwan Chaudhry
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


Re: [Asterisk-Users] /dev/zap not created

2005-03-02 Thread Matthew Boehm
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 [EMAIL PROTECTED]
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
___
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] /dev/zap not created

2005-03-02 Thread Phil Quinney
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.
___
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] /dev/zap not created

2005-03-02 Thread Justin Richards
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 [EMAIL PROTECTED] 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

___
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] /dev/zap not created

2005-03-02 Thread Karl H. Putz
snip
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.


I'm running FC2 V2.6.10-1.14 and it is not using udev.

When you build zaptel, follow the make install with
make devicesthis will create the /dev/zap devices

and possibly

make config this will place the startup scripts for the zaptel 
service into
the rc.d area


Karl Putz


___
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