Summary:ASTERISK-01322: Hangup during voicemail locks zap channel
Reporter:cmslaght (cmslaght)Labels:
Date Opened:2004-03-31 22:41:49.000-0600Date Closed:2004-09-25 02:18:19
Versions:Frequency of
Description:Upgraded from 2.4 Kernal to 2.6 kernal w/ Digium T1 card, adtran 750 and most current CVS.
When someone calls in and hangs up during the voicemail announcement, Zap channel never releases unless Asterisk process is killed (stop now does not work).
Have not seen a zap channel hang except during voicemail.  
Comments:By: Tilghman Lesher (tilghman) 2004-04-01 18:17:38.000-0600

Could you post some more information on your setup?  Processor type, number of processors, type & amount of memory, motherboard model, other cards in the system, etc.  Also, what changes did you make to /usr/src/zaptel/zconfig.h?

Have you tried to 'make clean' on all your sources (zaptel, libpri, asterisk) and rebuild?

By: Mark Spencer (markster) 2004-04-02 02:09:44.000-0600

Find someone on IRC to look at your setup.  Are you running -stable or -head?  There was an issue in -stable that if your sendmail program freezes it will take voicemail with it, but that issue is gone in head.

By: cmslaght (cmslaght) 2004-04-02 09:54:48.000-0600

Sorry it took so long to get back.

Dual Pentium II Celeron 400 Mhz, Tyan motherboard, 256MB RAM, Digium Single T1 card plugged into a Adtran 750 using 5 FXS cards and 1 FXO card.

Linux version 2.6.3-gentoo-r1 (root@livecd) (gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)) #1 SMP Sun Mar 14 15:33:24
EST 2004.
Asterisk CVS-03/29/04-15:46:18

The problem can be reproduced just by calling in and when you get the voimail unavailable greating hangup.  At that point asterisk reports: == Spawn extension (inbound-analog, 208, 2) exited non-zero on 'Zap/23-1'

Show channels:
 Channel  (Context    Extension    Pri )   State Appl.         Data
      Zap/23-1  (inbound-analog 208          2   )      Up (None)        (None)

To get this channel back i have to kill the asterisk process.

By: cmslaght (cmslaght) 2004-04-02 10:11:01.000-0600

Produced same results when calling in from a IAX and sip.

I also ran a make clean;make install on asterisk last night and zaptel this morning.

By: Mark Spencer (markster) 2004-04-02 10:49:30.000-0600

Find me on IRC so I can see what is going on.

By: Mark Spencer (markster) 2004-04-03 20:39:29.000-0600

Also update to latest CVS, there was a small bug which could be related to this problem that has been fixed.

By: cmslaght (cmslaght) 2004-04-04 17:20:14

Updated to the 4-4-04 16:55 CVS and that seems to have done the trick.  I also applied advanced5.diff for advanced voicemail features and that applied correctly.  I am going to run a series of tests and followup again.

By: kenneth (kenneth) 2004-04-04 19:26:51

Fixed for me also.  I had this problem using Analog Phones via a TDM400P card.

By: Mark Spencer (markster) 2004-04-04 23:52:36

Fixed in CVS