[asterisk-users] HFC-S zap channels always busy

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Jan 10 18:04:01 CST 2008


On Fri, Jan 11, 2008 at 12:45:48AM +0100, Jaap Winius wrote:
> Quoting Tzafrir Cohen <tzafrir.cohen at xorcom.com>:
> 
> > What do you mean by "In Use"?
> 
>     # cat /proc/zaptel/*
>     Span 1: ZTHFC1 "HFC-S PCI A Zaptel Driver card 0 [TE]" (MASTER) AMI/CCS
> 
>                1 ZTHFC1/0/1 Clear (In use)
>                2 ZTHFC1/0/2 Clear (In use)
>                3 ZTHFC1/0/3 HDLCFCS (In use)
> 
> > When Asterisk runs, they are "(In use)" - by Asterisk.
> 
> I would hope so. I do see:
> 
>     # asterisk -rx 'pri show spans'
>     PRI span 1/0: Provisioned, Up, Active
> 
> and
> 
>     # asterisk -rx 'zap show channels'
>        Chan Extension  Context         Language   MOH Interpret
>      pseudo            isdn-in         en         default
>           1            isdn-in         en         default
>           2            isdn-in         en         default
> 
> This is when I use the vzaphfc modules. However, any attempt to dial  
> out via ISDN results in errors like:
> 
>      -- Executing [0654314647 at phones:1] Dial("SIP/1000-081f3220",  
> "Zap/g0/0654314647 at channels||r") in new stack

'@channels'?

What is the Dial command you use?

Can you post the relevant part of your diaplan?

Also, try:

  bri debug span 1

And see if you see any traffic there when you try to call out.

In addition: are you sure that there are channels set for group=0 ?
Maybe try a channel directly: Zap/1 or Zap/2 instead of Zap/g0 .

> [Jan 11 00:12:15] WARNING[1354]: app_dial.c:1130 dial_exec_full:  
> Unable to create channel of type 'Zap' (cause 34 - Circuit/channel  
> congestion)
>    == Everyone is busy/congested at this time (1:0/1/0)
>    == Auto fallthrough, channel 'SIP/1000-081f3220' status is 'CONGESTION'
> [Jan 11 00:12:15] NOTICE[1354]: cdr.c:434 ast_cdr_free: CDR on channel  
> 'SIP/1000-081f3220' not posted
> 
> In this case, the rule that I use in extensions.conf for dialing out is:
> 
>     exten => _X.,1,Dial(Zap/g0/${EXTEN}@channels,,r)
> 
> >   signalling=bri_cpe
> 
> I've tried that, but unless I'm doing something else wrong  
> (hopefully), using "signalling=bri_cpe" instead of  
> "signalling=bri_cpe_ptmp" makes no difference.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+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