[asterisk-users] DAHDI loading issue on Asterisk
Sean Darcy
seandarcy2 at gmail.com
Wed Apr 16 18:48:09 CDT 2014
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, <steve at vanwambeck.net
> <mailto:steve at 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 at 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
More information about the asterisk-users
mailing list