Summary:ASTERISK-11360: Show channels
Reporter:GPSH (gaurav6628)Labels:
Date Opened:2008-02-02 06:32:56.000-0600Date Closed:2011-06-07 14:03:01
Versions:Frequency of
Description:hi we are using asterisk 1.4.17 and zaptel and libpri 1.4.0 and facing some issue with asterisk not displaying anything if we run show channels command on asterisk cli .

how ever it doesnt gets hanged and when we exit on cli and run asterisk -vvvgrc again then again it shows  calls getting dialed but when we run show channels it again doesnt displays anything .

another issue which we are facing is channels doesnt gets released even they are disconnected from the remote end due to which CHANNEL UNAVAILABLE COMES ON ASTERISK CLI .

we manually have to to soft hangup or have to kill asterisk in order to run concurrent channels at the same time .

we are using 4 e1 at com card where 3 PRI from the TATA VSNL are terminated to it .


i am attaching zaptel.conf and zapata.conf for the reference .

localhost*CLI> show channels
Channel              Location             State   Application(Data)
SIP/181-08e94000     181@default:1        Ringing AppDial((Outgoing Line))
Zap/5-1              9119811422464@defaul Dialing AppDial((Outgoing Line))
SIP/154-08c464f0     (None)               Up      Bridged Call(Local/154@default
Local/154@default-f0 154@default:2        Up      Dial(SIP/154)
Local/154@default-f0 9119811422464@defaul Up      Dial(Zap/g1/9811422464||o)
Zap/2-1              9119213200241@defaul Dialing AppDial((Outgoing Line))
Local/9119213200241@ 9119213200241@defaul Ring    Dial(Zap/g1/9213200241||o)
Local/9119213200241@ 9119213200241@defaul Down    (None)
Zap/3-1              09212195623@default: Ringing AppDial((Outgoing Line))
SIP/187-08c5b180     09212195623@default: Up      Dial(Zap/g1/9212195623)
SIP/162-08b41dc8     (None)               Up      Bridged Call(Zap/7-1)
SIP/170-08d24550     (None)               Up      Bridged Call(Zap/14-1)
Zap/25-1             (None)               Up      Bridged Call(Local/159@default
SIP/159-08e3c818     (None)               Up      Bridged Call(Local/159@default
Local/159@default-cf 159@default:2        Up      Dial(SIP/159)
Local/159@default-cf 9119971391494@defaul Up      Dial(Zap/g1/9971391494||o)
Zap/33-1             9119810038301@defaul Ringing AppDial((Outgoing Line))
Local/9119810038301@ 9119810038301@defaul Ring    Dial(Zap/g1/9810038301||o)
Local/9119810038301@ 9119810038301@defaul Down    (None)
Zap/26-1             9119871446384@defaul Ringing AppDial((Outgoing Line))
Local/9119871446384@ 9119871446384@defaul Ring    Dial(Zap/g1/9871446384||o)
Local/9119871446384@ 9119871446384@defaul Down    (None)
Zap/23-1             181@default:2        Up      Dial(SIP/181)
Zap/21-1             9119999269923@defaul Dialing AppDial((Outgoing Line))
Local/9119999269923@ 9119999269923@defaul Ring    Dial(Zap/g1/9999269923||o)
Local/9119999269923@ 9119999269923@defaul Down    (None)
Zap/9-1              9119310669774@defaul Ringing AppDial((Outgoing Line))
Local/9119310669774@ 9119310669774@defaul Ring    Dial(Zap/g1/9310669774||o)
Local/9119310669774@ 9119310669774@defaul Down    (None)
SIP/172-08eb4048     (None)               Up      Bridged Call(Zap/20-1)
Zap/7-1              162@default:2        Up      Dial(SIP/162)
Zap/14-1             170@default:2        Up      Dial(SIP/170)
Zap/20-1             172@default:2        Up      Dial(SIP/172)
SIP/190-b4a3a6b8     (None)               Up      Bridged Call(Zap/30-1)
Zap/31-1             (None)               Up      Bridged Call(Local/157@default
SIP/157-08ea1950     (None)               Up      Bridged Call(Local/157@default
Local/157@default-08 157@default:2        Up      Dial(SIP/157)
Local/157@default-08 9119810623460@defaul Up      Dial(Zap/g1/9810623460||o)
SIP/151-08ee6128     (None)               Up      Bridged Call(Zap/29-1)
Zap/30-1             190@default:2        Up      Dial(SIP/190)
Zap/29-1             151@default:2        Up      Dial(SIP/151)
SIP/182-08e2d2f8     (None)               Up      Bridged Call(Zap/11-1)
SIP/155-08edb9b0     (None)               Up      Bridged Call(Zap/8-1)
Zap/11-1             182@default:2        Up      Dial(SIP/182)
Zap/8-1              155@default:2        Up      Dial(SIP/155)
Zap/27-1             (None)               Up      Bridged Call(SIP/165-b4b57ea0)
SIP/165-b4b57ea0     098@default:4        Up      Dial(Zap/g1/98)
SIP/191-b49460e8     (None)               Up      Bridged Call(Zap/40-1)
Zap/40-1             191@default:2        Up      Dial(SIP/191)
Zap/10-1             (None)               Up      Bridged Call(Local/150@default
SIP/150-08d9ee88     (None)               Up      Bridged Call(Local/150@default
Local/150@default-18 150@default:2        Up      Dial(SIP/150)
Local/150@default-18 9119810113665@defaul Up      Dial(Zap/g1/9810113665||o)
Zap/6-1              (None)               Up      Bridged Call(Local/180@default
SIP/180-08e56a50     (None)               Up      Bridged Call(Local/180@default
Local/180@default-7e 180@default:2        Up      Dial(SIP/180)
Local/180@default-7e 9119891625805@defaul Up      Dial(Zap/g1/9891625805||o)
SIP/125-b4988ca0     (None)               Up      Bridged Call(Zap/19-1)
Zap/19-1             125@default:2        Up      Dial(SIP/125)
SIP/156-08dd7ee8     (None)               Up      Bridged Call(Zap/12-1)
Zap/12-1             156@default:2        Up      Dial(SIP/156)
localhost*CLI> exit
Comments:By: Tilghman Lesher (tilghman) 2008-02-03 11:56:02.000-0600

It's clear that you have a mismatched Asterisk and Zaptel version.  The current version of Zaptel is 1.4.8, and you NEED to be running that version when running Asterisk 1.4.17.