Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-18 Thread steve
Hello all,
At this point I am at a complete loss as to how to fix my problem. I
have gone back and rebuilt the whole system from the ground up but am
getting the same results. When I start asterisk with the -f option I do
see what the problem appears to be.

Unable to load config skinny.conf, Skinny disabled.
Unable to open '/dev/dahdi/channel': Permission denied
Unable to open channel 1: Permission denied
here = 0, tmp-channel = 1, channel = 1
Unable to register channel '1-23'

This is because the file permissions are not set correctly on the
/dev/dahdi/channel:

crw-rw  1 root root 196, 254 Apr 17 15:07 channel

Can anyone provide me with a concise step by step guide, or point me to
one, on building Asterisk 11, DADHI and all? I have pieced together
different components of the process but they seem to be in error. Other
than this one problem the Asterisk system works like a champ. I really
need to get my wtce43x card working and ISDN PRI setup on this platform.

Thanks for your assistance.
Steve

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-18 Thread Russ Meyerriecks
On Fri, Apr 18, 2014 at 12:22 PM, st...@vanwambeck.net wrote:

 This is because the file permissions are not set correctly on the
 /dev/dahdi/channel:


Steve,
  The default dahdi.rules file specifies the /dev/dahdi/ directory to be
owned by asterisk:asterisk. What's the contents of your
/etc/udev/rules.d/dahdi.rules file?

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-18 Thread steve
Russ,
Here is what I am showing:

asteriskpbx@asterisk-pbx:/etc/udev/rules.d$ cat dahdi.rules

ACTION!=add,  GOTO=dahdi_add_end

# DAHDI devices with ownership/permissions for running as non-root
SUBSYSTEM==dahdi, OWNER=asterisk, GROUP=asterisk,
MODE=0660

# Backward compat names: /dev/dahdi/channo
SUBSYSTEM==dahdi_channels,SYMLINK+=dahdi/%m

# Add persistant names as well
SUBSYSTEM==dahdi_channels, ATTRS{hardware_id}!=,   
SYMLINK+=dahdi/devices/%s{hardware_id}/%s{local_spanno}/%n
SUBSYSTEM==dahdi_channels, ATTRS{location}!=,  
SYMLINK+=dahdi/devices/@%s{location}/%s{local_spanno}/%n

LABEL=dahdi_add_end

# hotplug scripts
SUBSYSTEM==dahdi_devices,
RUN+=%E{DAHDI_TOOLS_ROOTDIR}/usr/share/dahdi/dahdi_handle_device
SUBSYSTEM==dahdi_spans,  
RUN+=%E{DAHDI_TOOLS_ROOTDIR}/usr/share/dahdi/dahdi_span_config
 
 
 Original Message 
Subject: Re: [asterisk-users] DAHDI loading issue on Asterisk
From: Russ Meyerriecks rmeyerrie...@digium.com
Date: Fri, April 18, 2014 12:09 pm
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com


On Fri, Apr 18, 2014 at 12:22 PM, st...@vanwambeck.net wrote:This is
because the file permissions are not set correctly on the
/dev/dahdi/channel:


Steve,
  The default dahdi.rules file specifies the /dev/dahdi/ directory to be
owned by asterisk:asterisk. What's the contents of your
/etc/udev/rules.d/dahdi.rules file?
 

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-18 Thread Russ Meyerriecks
On Fri, Apr 18, 2014 at 2:58 PM, st...@vanwambeck.net wrote:

 Russ,
 Here is what I am showing:

 asteriskpbx@asterisk-pbx:/etc/udev/rules.d$ cat dahdi.rules

 ACTION!=add,  GOTO=dahdi_add_end

 # DAHDI devices with ownership/permissions for running as non-root
 SUBSYSTEM==dahdi, OWNER=asterisk, GROUP=asterisk,
 MODE=0660


Hmm, this looks right. Does chan_dahdi.so load up properly if you chown -R
asterisk:asterisk /dev/dahdi ?

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-18 Thread steve
Russ,
I think that got it... I had to make a slight change to the command
though:
root@asterisk-pbx:/etc/dahdi# chown -R asteriskpbx:asteriskpbx
/dev/dahdi
 
Astersisk is now showing the dahdi and pri commands. I can see channels
now from the pri show channels command. I think I am good to go now.

Thanks for the guidance, have a wonderful weekend!
Steve
  
 Original Message 
Subject: Re: [asterisk-users] DAHDI loading issue on Asterisk
From: Russ Meyerriecks rmeyerrie...@digium.com
Date: Fri, April 18, 2014 1:15 pm
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com

On Fri, Apr 18, 2014 at 2:58 PM, st...@vanwambeck.net wrote:
Russ,
Here is what I am showing:

asteriskpbx@asterisk-pbx:/etc/udev/rules.d$ cat dahdi.rules

ACTION!=add,  GOTO=dahdi_add_end

# DAHDI devices with ownership/permissions for running as non-root
SUBSYSTEM==dahdi, OWNER=asterisk, GROUP=asterisk,
MODE=0660


Hmm, this looks right. Does chan_dahdi.so load up properly if you chown
-R asterisk:asterisk /dev/dahdi ?
  

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-18 Thread Russ Meyerriecks
On Fri, Apr 18, 2014 at 3:36 PM, st...@vanwambeck.net wrote:

 Russ,
 I think that got it... I had to make a slight change to the command
 though:
 root@asterisk-pbx:/etc/dahdi# chown -R asteriskpbx:asteriskpbx
 /dev/dahdi

 Astersisk is now showing the dahdi and pri commands. I can see channels
 now from the pri show channels command. I think I am good to go now.

 Thanks for the guidance, have a wonderful weekend!
 Steve


Oh I see, udev must have been setting the ownership to root because the
asterisk user/group doesn't exist on your system.

# DAHDI devices with ownership/permissions for running as non-root
 SUBSYSTEM==dahdi, OWNER=asterisk, GROUP=asterisk,
 MODE=0660


In the dahdi.rules file, change the owner and group on this line to
asteriskpbx so this fix will persist through a module reload.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-18 Thread steve
Russ,
OK, I see where the disconnect is now. As I mentioned somewhere along
the line there doesn't seem to be a definative guide on building all of
the things from scratch outside of the Asterisk. The Definitive Guide
3rd Edition which does touch on the Linux install and making the
Asterisk user asteriskpbx. As we now see the DAHDI implementation is
looking for the asterisk user. This sure can be a touch confusing. 

I did push the server through a restart to see if it would come up and
indeed it did not. Looking at the /dev/dahdi directory everything is set
back to root/root! Time to rebuild the system with the username of
asterisk and go home!!!

Thanks again for the assist.
Steve
 


Oh I see, udev must have been setting the ownership to root because the
asterisk user/group doesn't exist on your system.


# DAHDI devices with ownership/permissions for running as non-root
SUBSYSTEM==dahdi, OWNER=asterisk, GROUP=asterisk,
MODE=0660




In the dahdi.rules file, change the owner and group on this line to
asteriskpbx so this fix will persist through a module reload.
 

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-18 Thread Russ Meyerriecks
On Fri, Apr 18, 2014 at 4:06 PM, st...@vanwambeck.net wrote:

 Russ,

 I did push the server through a restart to see if it would come up and
 indeed it did not. Looking at the /dev/dahdi directory everything is set
 back to root/root! Time to rebuild the system with the username of
 asterisk and go home!!!


My only guess here would be that either the asteriskpbx user or group
doesn't actually exist in one of the two system files /etc/shadow or
/etc/group. I might check there to be sure. If they were missing you could
just do the usual useradd and groupadd to add them.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-17 Thread steve

 Sean,
Yes, it is:

asteriskpbx@asteriskpbx:~$ lsmod | grep dahdi
dahdi 227741  2 oct612x,wcte43x
crc_ccitt  12707  1 dahdi
asteriskpbx@asteriskpbx:~$


Do you have the kernel module loaded?

lsmod | grep dahdi

sean


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] DAHDI loading issue on Asterisk

2014-04-16 Thread steve
Hi all,
I have a fresh install of Asterisk 11.8.1 and am putting a Digium TE435 4 T1 card in it for ISDN PRI. I can get the card to be recognised by the DAHDI utilities but when I put in the file "chan_dahdi.conf" with either the generated file from samples with what seem to be appropriate settings or with the basic config as outlined on the DAHDI install guide the Asterisk "core show help" display is missing all the "dahdi" and "pri" commands.If I remove the "chan_dahdi.conf" file and restart Asterisk the commands magically reappear. I have gone back and checked on menuselect but don't see anything obvious that I have missed to support this function. I have run out of ideas on how to integrate this. The documentation makes it sound pretty simple but I have been fighting this for a week now with no success.
I am not seeing any parse errors from the module reload command:asteriskpbx*CLI module reload chan_dahdi.soasteriskpbx*CLIThe truncated output from "core show help" is:core stop when convenient Shut down Asterisk at empty call volumecore waitfullybooted Wait for Asterisk to be fully booteddata get Data API getdata show providers Show data providers... resencestate change Change a custom presence statepresencestate list List currently know custom presence statesrealtime destroy Delete a row from a RealTime databaserealtime load Used to print out RealTime variables.I can restart the asteriskpbx process without the "chan_dahdi.conf" file and all the dahdi and pri commands are present. The "chan_dahdi.conf" file I am loading is a basic file from the DAHDI instructions. Even the sample file will not correctly load up either.asteriskpbx@asteriskpbx:/etc/asterisk$ cat chan_dahdi.conf[trunkgroups][channels]usecallerid = yeshidecallerid = nocallwaiting = yesusecallingpres = yescallwaitingcallerid = yesthreewaycalling = yestransfer = yescanpark = yescancallforward = yescallreturn = yesechocancel = yesechocancelwhenbridged = yesrelaxdtmf = yesrxgain = 0.0txgain = 0.0group = 1callgroup = 1pickupgroup = 1immediate = noswitchtype = 5esssignalling = pri_cpecontext = incomingechocancel = yeschannel = 1-23

Any suggestions on what I am missing would be greatly appreciated.
Steve VanWambeck

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-16 Thread Josh Metzger
Try starting Asterisk with the -f option.  It will NOT fork into the
background so you will see all messages on startup (including any that
might not end up in the log file).  Search for DAHDI errors which will
likely be there.

Also, if you configure everything and start DAHDI but don't start Asterisk
and run dahdi_tool, is it showing you the circuits in an OK state?

Josh


On Wed, Apr 16, 2014 at 5:25 PM, st...@vanwambeck.net wrote:

 Hi all,
 I have a fresh install of Asterisk 11.8.1 and am putting a Digium TE435 4
 T1 card in it for ISDN PRI. I can get the card to be recognised by the
 DAHDI utilities but when I put in the file chan_dahdi.conf with either
 the generated file from samples with what seem to be appropriate settings
 or with the basic config as outlined on the DAHDI install guide the
 Asterisk core show help display is missing all the dahdi and pri
 commands.

 If I remove the chan_dahdi.conf file and restart Asterisk the commands
 magically reappear. I have gone back and checked on menuselect but don't
 see anything obvious that I have missed to support this function.

 I have run out of ideas on how to integrate this. The documentation makes
 it sound pretty simple but I have been fighting this for a week now with no
 success.
 I am not seeing any parse errors from the module reload command:

 asteriskpbx*CLI module reload chan_dahdi.so
 asteriskpbx*CLI

 The truncated output from core show help is:

 core stop when convenient Shut down Asterisk at empty call volume
 core waitfullybooted Wait for Asterisk to be fully booted
 data get Data API get
 data show providers Show data providers
 ... 
 resencestate change Change a custom presence state
 presencestate list List currently know custom presence states
 realtime destroy Delete a row from a RealTime database
 realtime load Used to print out RealTime variables.

 I can restart the asteriskpbx process without the chan_dahdi.conf file
 and all the dahdi and pri commands are present. The chan_dahdi.conf file
 I am loading is a basic file from the DAHDI instructions. Even the sample
 file will not correctly load up either.

 asteriskpbx@asteriskpbx:/etc/asterisk$ cat chan_dahdi.conf
 [trunkgroups]

 [channels]
 usecallerid = yes
 hidecallerid = no
 callwaiting = yes
 usecallingpres = yes
 callwaitingcallerid = yes
 threewaycalling = yes
 transfer = yes
 canpark = yes
 cancallforward = yes
 callreturn = yes
 echocancel = yes
 echocancelwhenbridged = yes
 relaxdtmf = yes
 rxgain = 0.0
 txgain = 0.0
 group = 1
 callgroup = 1
 pickupgroup = 1
 immediate = no
 switchtype = 5ess
 signalling = pri_cpe
 context = incoming
 echocancel = yes
 channel = 1-23

 Any suggestions on what I am missing would be greatly appreciated.
 Steve VanWambeck

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-16 Thread steve
Josh,
Yes, I only have one span currently connected, the other 3 are looped. With the Asterisk process stopped I do see the OK on the "dahdi_tool" screen.

I am not seeing any sort of errors in the /var/log/asterisk directory but when I start asterisk manually with the -f option I do get the following:

Unable to open '/dev/dahdi/channel': Permission deniedUnable to open channel 1: Permission deniedhere = 0, tmp-channel = 1, channel = 1Unable to register channel '1-23'
Looking at the /dev/dahdi directory I see the following:
 snip
lrwxrwxrwx 1 root root 12 Apr 15 11:30 95 - chan/004/023lrwxrwxrwx 1 root root 12 Apr 15 11:30 96 - chan/004/024drwxr-xr-x 6 root root 120 Apr 15 11:30 chancrw-rw 1 root root 196, 254 Apr 15 11:30 channelcrw-rw 1 root root 196, 0 Apr 15 11:30 ctldrwxr-xr-x 2 root root 80 Apr 15 11:30 devicescrw-rw 1 root root 196, 255 Apr 15 11:30 pseudocrw-rw 1 root root 196, 253 Apr 15 11:30 timerroot@asteriskpbx:/dev/dahdi# cd
I compiled the dahdi package under "sudo su", perhaps that is what is wrong???

Steve

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-16 Thread steve
(resend in plain text)...

Josh,

Yes, I only have one span currently connected, the other 3 are looped.
With the Asterisk process stopped I do see the OK on the dahdi_tool
screen.

I am not seeing any sort of errors in the /var/log/asterisk directory
but when I start asterisk manually with the -f option I do get the
following:

Unable to open '/dev/dahdi/channel': Permission denied
Unable to open channel 1: Permission denied
here = 0, tmp-channel = 1, channel = 1
Unable to register channel '1-23'
poll() failed: Interrupted system call

Looking at the /dev/dahdi directory I see the following:
snip
lrwxrwxrwx  1 root root   12 Apr 15 11:30 95 - chan/004/023
lrwxrwxrwx  1 root root   12 Apr 15 11:30 96 - chan/004/024
drwxr-xr-x  6 root root  120 Apr 15 11:30 chan
crw-rw  1 root root 196, 254 Apr 15 11:30 channel
crw-rw  1 root root 196,   0 Apr 15 11:30 ctl
drwxr-xr-x  2 root root   80 Apr 15 11:30 devices
crw-rw  1 root root 196, 255 Apr 15 11:30 pseudo
crw-rw  1 root root 196, 253 Apr 15 11:30 timer
root@asteriskpbx:

I compiled the dahdi package under sudo su, perhaps that is what is
wrong???

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-16 Thread Sean Darcy

On 04/16/2014 05:42 PM, Josh Metzger wrote:

Try starting Asterisk with the -f option.  It will NOT fork into the
background so you will see all messages on startup (including any that
might not end up in the log file).  Search for DAHDI errors which will
likely be there.

Also, if you configure everything and start DAHDI but don't start
Asterisk and run dahdi_tool, is it showing you the circuits in an OK
state?

Josh


On Wed, Apr 16, 2014 at 5:25 PM, st...@vanwambeck.net
mailto:st...@vanwambeck.net wrote:

Hi all,
I have a fresh install of Asterisk 11.8.1 and am putting a Digium
TE435 4 T1 card in it for ISDN PRI. I can get the card to be
recognised by the DAHDI utilities but when I put in the file
chan_dahdi.conf with either the generated file from samples with
what seem to be appropriate settings or with the basic config as
outlined on the DAHDI install guide the Asterisk core show help
display is missing all the dahdi and pri commands.

If I remove the chan_dahdi.conf file and restart Asterisk the
commands magically reappear. I have gone back and checked on
menuselect but don't see anything obvious that I have missed to
support this function.

I have run out of ideas on how to integrate this. The documentation
makes it sound pretty simple but I have been fighting this for a
week now with no success.__ __
I am not seeing any parse errors from the module reload command:

asteriskpbx*CLI module reload chan_dahdi.so http://chan_dahdi.so
asteriskpbx*CLI

The truncated output from core show help is:

core stop when convenient Shut down Asterisk at empty call volume
core waitfullybooted Wait for Asterisk to be fully booted
data get Data API get
data show providers Show data providers
... 
resencestate change Change a custom presence state
presencestate list List currently know custom presence states
realtime destroy Delete a row from a RealTime database
realtime load Used to print out RealTime variables.

I can restart the asteriskpbx process without the chan_dahdi.conf
file and all the dahdi and pri commands are present. The
chan_dahdi.conf file I am loading is a basic file from the DAHDI
instructions. Even the sample file will not correctly load up either.

asteriskpbx@asteriskpbx:/etc/asterisk$ cat chan_dahdi.conf
[trunkgroups]

[channels]
usecallerid = yes
hidecallerid = no
callwaiting = yes
usecallingpres = yes
callwaitingcallerid = yes
threewaycalling = yes
transfer = yes
canpark = yes
cancallforward = yes
callreturn = yes
echocancel = yes
echocancelwhenbridged = yes
relaxdtmf = yes
rxgain = 0.0
txgain = 0.0
group = 1
callgroup = 1
pickupgroup = 1
immediate = no
switchtype = 5ess
signalling = pri_cpe
context = incoming
echocancel = yes
channel = 1-23

Any suggestions on what I am missing would be greatly appreciated.
Steve VanWambeck



Do you have the kernel module loaded?

lsmod | grep dahdi

sean


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users