[asterisk-users] Problem with DAHDI

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Feb 15 12:05:59 CST 2018


On Thu, Feb 15, 2018 at 06:55:16PM +0100, Luca Bertoncello wrote:
> Hi again!
> 
> I tried to attach two VoIP-phones to my new Asterisk 13.14.1 on a Banana PI
> with Armbian/Debian 9.
> 
> First test was to call a test service that say the time. Works!
> Second test was to record my voice and play it again. Works!
> Third test was to call the other VoIP-phone. It does NOT work... :(
> 
> Then I noticed that, by starting, Asterisk says the following messages:
> 
> [Feb 15 18:42:54] NOTICE[3428]: loader.c:1446 load_modules: 319 modules will be loaded.
> [Feb 15 18:43:01] NOTICE[3428]: res_odbc.c:1089 load_module: res_odbc loaded.
> [Feb 15 18:43:12] WARNING[3428]: res_phoneprov.c:1231 get_defaults: Unable to find a valid server address or name.
> [Feb 15 18:43:15] NOTICE[3428]: pbx_lua.c:1640 load_or_reload_lua_stuff: Lua PBX Switch loaded.
> SIP channel loading...
> [Feb 15 18:43:24] NOTICE[3428]: chan_skinny.c:8429 config_load: Configuring skinny from skinny.conf
> [Feb 15 18:43:24] WARNING[3428]: chan_dahdi.c:4126 dahdi_open: Unable to open '/dev/dahdi/channel': No such file or directory
> [Feb 15 18:43:24] ERROR[3428]: chan_dahdi.c:12110 mkintf: Unable to open channel 1: No such file or directory
> here = 0, tmp->channel = 1, channel = 1

This means that you have configured a dahdi channel in
/etc/asterisk/chan_dahdi.conf . The default configuration does not
include one. Do you have any DAHDI device on the system?

> [Feb 15 18:43:24] ERROR[3428]: chan_dahdi.c:17518 build_channels: Unable to register channel '1'
> [Feb 15 18:43:24] WARNING[3428]: chan_dahdi.c:19041 process_dahdi: Dahdichan '1' failure ignored: ignore_failed_channels.
> [Feb 15 18:43:24] WARNING[3428]: chan_dahdi.c:4126 dahdi_open: Unable to open '/dev/dahdi/channel': No such file or directory
> [Feb 15 18:43:24] ERROR[3428]: chan_dahdi.c:12110 mkintf: Unable to open channel 1: No such file or directory
> here = 0, tmp->channel = 1, channel = 1
> [Feb 15 18:43:24] ERROR[3428]: chan_dahdi.c:17518 build_channels: Unable to register channel '1'
> [Feb 15 18:43:24] WARNING[3428]: chan_dahdi.c:19041 process_dahdi: Dahdichan '1' failure ignored: ignore_failed_channels.
> [Feb 15 18:43:24] WARNING[3428]: chan_dahdi.c:4126 dahdi_open: Unable to open '/dev/dahdi/channel': No such file or directory
> [Feb 15 18:43:24] ERROR[3428]: chan_dahdi.c:12110 mkintf: Unable to open channel 1: No such file or directory
> here = 0, tmp->channel = 1, channel = 1
> [Feb 15 18:43:24] ERROR[3428]: chan_dahdi.c:17518 build_channels: Unable to register channel '1'
> [Feb 15 18:43:24] WARNING[3428]: chan_dahdi.c:19041 process_dahdi: Dahdichan '1' failure ignored: ignore_failed_channels.
> [Feb 15 18:43:24] WARNING[3428]: chan_dahdi.c:4126 dahdi_open: Unable to open '/dev/dahdi/channel': No such file or directory
> [Feb 15 18:43:24] ERROR[3428]: chan_dahdi.c:12110 mkintf: Unable to open channel 1: No such file or directory
> here = 0, tmp->channel = 1, channel = 1
> [Feb 15 18:43:24] ERROR[3428]: chan_dahdi.c:17518 build_channels: Unable to register channel '1'
> [Feb 15 18:43:24] WARNING[3428]: chan_dahdi.c:19041 process_dahdi: Dahdichan '1' failure ignored: ignore_failed_channels.
> [Feb 15 18:43:24] WARNING[3428]: chan_dahdi.c:4126 dahdi_open: Unable to open '/dev/dahdi/channel': No such file or directory
> [Feb 15 18:43:24] ERROR[3428]: chan_dahdi.c:12110 mkintf: Unable to open channel 1: No such file or directory
> here = 0, tmp->channel = 1, channel = 1
> [Feb 15 18:43:24] ERROR[3428]: chan_dahdi.c:17518 build_channels: Unable to register channel '1'
> [Feb 15 18:43:24] WARNING[3428]: chan_dahdi.c:19041 process_dahdi: Dahdichan '1' failure ignored: ignore_failed_channels.
> [Feb 15 18:43:24] WARNING[3428]: chan_dahdi.c:4126 dahdi_open: Unable to open '/dev/dahdi/channel': No such file or directory
> [Feb 15 18:43:24] ERROR[3428]: chan_dahdi.c:12110 mkintf: Unable to open channel 1: No such file or directory
> here = 0, tmp->channel = 1, channel = 1
> [Feb 15 18:43:24] ERROR[3428]: chan_dahdi.c:17518 build_channels: Unable to register channel '1'
> [Feb 15 18:43:24] WARNING[3428]: chan_dahdi.c:19041 process_dahdi: Dahdichan '1' failure ignored: ignore_failed_channels.
> [Feb 15 18:43:28] NOTICE[3428]: confbridge/conf_config_parser.c:2094 verify_default_profiles: Adding default_menu menu to app_confbridge
> [Feb 15 18:43:28] NOTICE[3428]: cel_tds.c:452 tds_load_module: cel_tds has no global category, nothing to configure.
> [Feb 15 18:43:28] WARNING[3428]: cel_tds.c:557 load_module: cel_tds module had config problems; declining load
> [Feb 15 18:43:28] NOTICE[3428]: cel_custom.c:97 load_config: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
> [Feb 15 18:43:29] ERROR[3428]: codec_dahdi.c:820 find_transcoders: Failed to open /dev/dahdi/transcode: No such file or directory
> Asterisk Ready.
> 
> it does not seems to be normal, but I can't understand why /dev/dahdi/channel
> does not exists...
> I installed the Paket asterisk-dahdi, of course...

If /dev/dahdi/channel itself does not exist, it means that the
kernel-level support is not loaded (or not even configured). It is
generally from the kernel module dahdi, which is an out-of-tree one.

If you really want it, you may need to run:

  m-a a-i dahdi

But do you really have a DAHDI device?

-- 
               Tzafrir Cohen
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com



More information about the asterisk-users mailing list