Summary:ASTERISK-14993: bridged zaptel channel issue
Reporter:Abeer (zzabeerss)Labels:
Date Opened:2009-10-15 05:24:08Date Closed:2011-06-07 14:01:04
Versions:Frequency of
Environment:Attachments:( 0) issue_log.txt
Description:Dear Members,

I need some help with the following

In my extensions.conf I put the following code

exten => 111,1,Answer()
exten => 111,n,Dial(Zap/g0/03009243953)

When the call lands on a zaptel channel, it lands on extension 111, and then it is routed to an external number through another zap channel in the group "g0".

Currently there are 12 zap channels

So for example if the call landed on zap/11-1 and it is routed through zap/1-1 then both zap/11-1 and zap/1-1 get occupied/busy.

So I'm binding two zap channels together.

Now the issue I'm facing is that even after the hangup from both sides
the channels are still occupied and not freed to receive more calls.

I'm using Trixbox, Asterisk 1.4.22-4

I'm using Sangoma A200 cards, and wanpipe drivers wanpipe-modules-2.6.18-128.1.10.el5-

Kindly require your help


Comments:By: Tzafrir Cohen (tzafrir) 2009-10-15 07:00:19

How can you tell that the call was hung up? What is the output of:

 core show channels

before and after hanging up?

How can you tell that they are still marked as in-use afterwards?

By: Abeer (zzabeerss) 2009-10-15 08:33:08

Yes, I did exactly that.
The channels were not destroyed.

And when I dialed the number again, it was engaged.

Both zap/11-1 and zap/1-1 remain Busy untill I do softhangup.

By: Tzafrir Cohen (tzafrir) 2009-10-15 09:20:09

What do you mean by "hang up"?

Is it a call from an analog handset (FXS)? To an analog trunk (FXO)?

Can you provide a more complete trace of such a call? Prefereably with verbosity level >=3 , and also debug log (as it will show events sent from the DAHDI drivers).

By: Abeer (zzabeerss) 2009-10-15 09:26:12

By hangup i mean that i put my handset down but the channels were not destroyed.

I used an analog handset to dial to asterisk

and then the following script

exten => 111,1,Answer()
exten => 111,n,Dial(Zap/g0/03009243953)

dials out to a cell phone.

I'll upload the logs within 24 hours.

By: Abeer (zzabeerss) 2009-10-15 23:30:28

I've uploaded the file issue_log.txt

with verbosity 10
and debug 10

By: Abeer (zzabeerss) 2009-10-16 09:31:39

could this line be causing the problem? I added this line to a macro-dial

-- Executing [s@macro-dial:8] GotoIf("Zap/11-1", "1?evoice|111|1") in new stack

By: Leif Madsen (lmadsen) 2009-10-26 08:48:03

This appears to be a support/configuration issue. Please utilize the #asterisk-users IRC channel and/or the asterisk-users mailing list. Thanks!