[Home]

Summary:ASTERISK-13581: pseudo channel disappears after dahdi restart
Reporter:Tim King (timking)Labels:
Date Opened:2009-02-14 04:37:33.000-0600Date Closed:2009-06-26 17:14:04
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_dahdi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I don't what the pseudo channel does, nor whether it is represented by channel -2, but immediately after starting * dahdi show channels shows me three channels (this is on a BRI wcb4xx-like card), dahdi restart talks about unregistering channel -2 which is odd and then dahdi show channels tells me pseudo has gone.

Was it important? Why was it there in the first place?

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

Asterisk*CLI> dahdi show channels
  Chan Extension  Context         Language   MOH Interpret        Blocked    State
pseudo            incoming        en_GB      default                         In Service
     4            incoming        en_GB      default                         In Service
     5            incoming        en_GB      default                         In Service
Asterisk*CLI> dahdi restart
Destroying channels and reloading DAHDI configuration.
      > Initial softhangup of all DAHDI channels complete.
[Feb 14 10:19:29] DEBUG[6989]: chan_dahdi.c:11849 dahdi_restart: Waiting to join thread of span 1 with pid=0xb63febb0, cancel_code=0
[Feb 14 10:19:29] DEBUG[6989]: chan_dahdi.c:11851 dahdi_restart: Joined thread of span 1
[Feb 14 10:19:29] DEBUG[6989]: chan_dahdi.c:11872 dahdi_restart: Waiting to join monitor thread with pid=0xb63c2bb0, cancel_code=0
[Feb 14 10:19:29] DEBUG[6989]: chan_dahdi.c:11874 dahdi_restart: Joined monitor thread
      > Final softhangup of all DAHDI channels complete.
 == Unregistered channel -2
 == Unregistered channel 4
 == Unregistered channel 5
[Feb 14 10:19:29] DEBUG[6989]: chan_dahdi.c:11894 dahdi_restart: Channels destroyed. Now re-reading config. 0 active channels remaining.
 == Parsing '/etc/asterisk/chan_dahdi.conf': [Feb 14 10:19:29] DEBUG[6989]: config.c:1282 config_text_file_load: Parsing /etc/asterisk/chan_dahdi.conf

Asterisk*CLI> dahdi show channels
  Chan Extension  Context         Language   MOH Interpret        Blocked    State
     4            incoming        en_GB      default                         In Service
     5            incoming        en_GB      default  
Comments:By: Tzafrir Cohen (tzafrir) 2009-03-03 03:55:22.000-0600

Could you please provide the full trace from a 'dahdi restart'?

Note: 'module reload chan_dahdi.so' does not add or remove channels. 'dahdi restart' removes them all and re-adds them.

By: Tim King (timking) 2009-03-03 04:17:45.000-0600

I don't understand what more I can get - how do I get a "Full Trace"?

I haven't mentioned unloading any modules you can see from my attached "additional Information" what I did.

By: Tzafrir Cohen (tzafrir) 2009-03-04 13:21:25.000-0600

You seem to have no channels generated on 'dahdi restart' . Yet we don't see any error.

What is the output of:

 logger show channels

Can you get 'verbose', 'notice' and 'error' logged to the console as well? Could you repeat the same with verbosity level 3?

By: Tim King (timking) 2009-03-06 05:15:42.000-0600

The only "error" is that the Pseudo channel goes away.
This time on a system with one each FXS & FXO

pbx*CLI> dahdi show channels
  Chan Extension  Context         Language   MOH Interpret        Blocked    State    
pseudo            incoming        en         default                         In Service
     1            default         en         default                         In Service
     2            incoming        en         default                         In Service
pbx*CLI> logger show channels
Channel                             Type     Status    Configuration
-------                             ----     ------    -------------
                                   Console  Enabled    - Debug Warning Notice Error
/var/log/asterisk/messages          File     Enabled    - Warning Notice Error

pbx*CLI> core set verbose 3
Verbosity was 0 and is now 3
pbx*CLI> core set debug 3
Core debug was 0 and is now 3
pbx*CLI> dahdi restart
Destroying channels and reloading DAHDI configuration.
 == Unregistered channel -2
 == Unregistered channel 1
 == Unregistered channel 2
[Mar  6 11:11:55] DEBUG[4286]: chan_dahdi.c:11897 dahdi_restart: Channels destroyed. Now re-reading config. 0 active channels remaining.
 == Parsing '/etc/asterisk/chan_dahdi.conf': [Mar  6 11:11:55] DEBUG[4286]: config.c:1282 config_text_file_load: Parsing /etc/asterisk/chan_dahdi.conf
 == Found
[Mar  6 11:11:55] DEBUG[4286]: chan_dahdi.c:1648 update_conf: Updated conferencing on 1, with 0 conference users
   -- Reconfigured channel 1, FXO Kewlstart signalling
[Mar  6 11:11:55] DEBUG[4286]: chan_dahdi.c:1648 update_conf: Updated conferencing on 2, with 0 conference users
   -- Reconfigured channel 2, FXS Kewlstart signalling

pbx*CLI> dahdi show channels
  Chan Extension  Context         Language   MOH Interpret        Blocked    State    
     1            default         en         default                         In Service
     2            incoming        en         default                         In Service

By: Jeff Peeler (jpeeler) 2009-06-26 17:09:03

The dahdi pseudo channel is used for the recording of conferences with meetme.

By: Digium Subversion (svnbot) 2009-06-26 17:09:19

Repository: asterisk
Revision: 203848

U   branches/1.4/channels/chan_dahdi.c

------------------------------------------------------------------------
r203848 | jpeeler | 2009-06-26 17:09:19 -0500 (Fri, 26 Jun 2009) | 5 lines

Make sure to recreate the dahdi pseudo channel after dahdi restart

(closes issue ASTERISK-13581)
Reported by: timking

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=203848

By: Digium Subversion (svnbot) 2009-06-26 17:11:32

Repository: asterisk
Revision: 203853

_U  trunk/
U   trunk/channels/chan_dahdi.c

------------------------------------------------------------------------
r203853 | jpeeler | 2009-06-26 17:11:32 -0500 (Fri, 26 Jun 2009) | 12 lines

Merged revisions 203848 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
 r203848 | jpeeler | 2009-06-26 17:09:19 -0500 (Fri, 26 Jun 2009) | 5 lines
 
 Make sure to recreate the dahdi pseudo channel after dahdi restart
 
 (closes issue ASTERISK-13581)
 Reported by: timking
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=203853

By: Digium Subversion (svnbot) 2009-06-26 17:12:49

Repository: asterisk
Revision: 203855

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_dahdi.c

------------------------------------------------------------------------
r203855 | jpeeler | 2009-06-26 17:12:48 -0500 (Fri, 26 Jun 2009) | 19 lines

Merged revisions 203853 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r203853 | jpeeler | 2009-06-26 17:11:31 -0500 (Fri, 26 Jun 2009) | 12 lines
 
 Merged revisions 203848 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r203848 | jpeeler | 2009-06-26 17:09:19 -0500 (Fri, 26 Jun 2009) | 5 lines
   
   Make sure to recreate the dahdi pseudo channel after dahdi restart
   
   (closes issue ASTERISK-13581)
   Reported by: timking
 ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=203855

By: Digium Subversion (svnbot) 2009-06-26 17:13:38

Repository: asterisk
Revision: 203856

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_dahdi.c

------------------------------------------------------------------------
r203856 | jpeeler | 2009-06-26 17:13:37 -0500 (Fri, 26 Jun 2009) | 19 lines

Merged revisions 203853 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r203853 | jpeeler | 2009-06-26 17:11:31 -0500 (Fri, 26 Jun 2009) | 12 lines
 
 Merged revisions 203848 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r203848 | jpeeler | 2009-06-26 17:09:19 -0500 (Fri, 26 Jun 2009) | 5 lines
   
   Make sure to recreate the dahdi pseudo channel after dahdi restart
   
   (closes issue ASTERISK-13581)
   Reported by: timking
 ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=203856

By: Digium Subversion (svnbot) 2009-06-26 17:14:03

Repository: asterisk
Revision: 203857

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_dahdi.c

------------------------------------------------------------------------
r203857 | jpeeler | 2009-06-26 17:14:03 -0500 (Fri, 26 Jun 2009) | 19 lines

Merged revisions 203853 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r203853 | jpeeler | 2009-06-26 17:11:31 -0500 (Fri, 26 Jun 2009) | 12 lines
 
 Merged revisions 203848 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r203848 | jpeeler | 2009-06-26 17:09:19 -0500 (Fri, 26 Jun 2009) | 5 lines
   
   Make sure to recreate the dahdi pseudo channel after dahdi restart
   
   (closes issue ASTERISK-13581)
   Reported by: timking
 ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=203857