[Home]

Summary:ASTERISK-10381: errors on 'zap rsetart'
Reporter:Dmitry Andrianov (dimas)Labels:
Date Opened:2007-09-24 05:14:31Date Closed:2011-06-07 14:08:18
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_zap
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:First of all sorry if I choosen wrong category and it should be Zaptel instead of Asterisk/chan_zap. It it s bit unclear.

Every second time I execute 'zap restert' command from the CLI, I see some error messages. Ususlly second execution goes without errors. Sometimes it is third one. Next time I execute 'zap restart' error appears again.

****** ADDITIONAL INFORMATION ******

Below is output from console of three consequent zap restarts:

line*CLI> zap restart
Destroying channels and reloading zaptel configuration.
 == Parsing '/etc/asterisk/zapata.conf': Found
[Sep 24 14:28:32] WARNING[15179]: chan_zap.c:903 zt_open: Unable to specify channel 1: Device or resource busy
[Sep 24 14:28:32] ERROR[15179]: chan_zap.c:7160 mkintf: Unable to open channel 1: Device or resource busy
here = 0, tmp->channel = 1, channel = 1
[Sep 24 14:28:32] ERROR[15179]: chan_zap.c:10467 build_channels: Unable to register channel '1-4'
[Sep 24 14:28:32] WARNING[15179]: chan_zap.c:9764 zap_restart: Reload channels from zap config failed!
line*CLI>
line*CLI> zap restart
Destroying channels and reloading zaptel configuration.
 == Parsing '/etc/asterisk/zapata.conf': Found
[Sep 24 14:28:33] WARNING[15179]: chan_zap.c:903 zt_open: Unable to specify channel 1: Device or resource busy
[Sep 24 14:28:33] ERROR[15179]: chan_zap.c:7160 mkintf: Unable to open channel 1: Device or resource busy
here = 0, tmp->channel = 1, channel = 1
[Sep 24 14:28:33] ERROR[15179]: chan_zap.c:10467 build_channels: Unable to register channel '1-4'
[Sep 24 14:28:33] WARNING[15179]: chan_zap.c:9764 zap_restart: Reload channels from zap config failed!
line*CLI>
line*CLI> zap restart
Destroying channels and reloading zaptel configuration.
 == Parsing '/etc/asterisk/zapata.conf': Found
   -- Registered channel 1, FXS Kewlstart signalling
   -- Registered channel 2, FXS Kewlstart signalling
   -- Registered channel 3, FXS Kewlstart signalling
   -- Registered channel 4, FXS Kewlstart signalling
   -- Registered channel 7, FXS Kewlstart signalling
   -- Registered channel 8, FXS Kewlstart signalling
   -- Registered channel 6, FXS Kewlstart signalling
   -- Registered channel 22, FXO Kewlstart signalling
   -- Registered channel 23, FXO Kewlstart signalling
   -- Registered channel 24, FXO Kewlstart signalling
   -- Registered channel 21, FXO Kewlstart signalling
   -- Automatically generated pseudo channel
 == Parsing '/etc/asterisk/users.conf': Found
line*CLI>
Comments:By: Olle Johansson (oej) 2007-12-18 02:32:07.000-0600

mattf? Ping!

/Housekeeping

By: Dmitry Andrianov (dimas) 2008-01-28 14:15:17.000-0600

Guys,
4 months since issue was filled.
It is 100% reproducible on two installations I have - one with Digium TDM2400 another with Xorcom Astribank. Every time I need to do "zap restart" several times before I get success.

Could someone take a look please? I know that the best approach is "do it youeself" but I'm anything but Zaptel developer...

By: Joshua C. Colp (jcolp) 2008-02-14 11:06:45.000-0600

Please follow progress at issue 11017. It includes a fix that should fix this issue.