[asterisk-users] ZAPTEL PROBLEM

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Apr 30 13:37:22 MST 2007


On Mon, Apr 30, 2007 at 12:25:07PM -0500, Diego Quintana Cruz wrote:
> Hi all,
> I am using a TDM400P card with 2 FXS and 2 FXO modules. Everything
> seems nice, but i'm not able to make calls nor to receive any. When I
> try to make a call, I keep receiven the "all circuits are busy now"
> message, and when I receive calls, asterisk doesn't seems to care
> (don't get anything on the CLI)
> 
> I'm using Asterisk 1.2.17 and Zaptel 1.2.16 from Xorcom's repository
> 
> voip:~# asterisk -rx 'zap show status'
> Description                              Alarms     IRQ        bpviol     
> CRC4
> Wildcard TDM400P REV I Board 1           OK         0          0          0
> 
> voip:~# asterisk -rx 'zap show channels'
>   Chan Extension  Context         Language   MusicOnHold
> pseudo            from-internal   es
>      1            from-internal   es
>      2            from-internal   es
>      3            from-pstn       es
>      4            from-pstn       es

After some further digging:

it turns out that when there' a problem, the output of the above command
is actually:
> 
> voip:~# asterisk -rx 'zap show channels'
>   Chan Extension  Context         Language   MusicOnHold
> pseudo            from-internal   es
>      1            from-internal   es
>      2            from-internal   es
>      4            from-pstn       es

that is: channel 3 has been destroyed.

The logs show:

Apr 30 14:50:53 DEBUG[6003] chan_zap.c: Message status for 401 changed from -1 to 0 on 1
Apr 30 14:51:00 NOTICE[6003] chan_zap.c: Got ZT_EVENT_REMOVED. Destroying channel 3
Apr 30 14:51:16 DEBUG[6004] chan_sip.c: Stopping retransmission on [snipped by Tzafrir]

This seems to happen when you disconnect an incoming FXO call.



ZT_EVENT_REMOVED is defined to be 20 . That package includes a patch
that has been applied to trunk in rev 58321.

Anybody encountered this in Asterisk/trunk with a wctdm card with an FXO
module?

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-users mailing list