[asterisk-users] Zap dialling issues

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Jun 27 06:27:06 CDT 2007


On Wed, Jun 27, 2007 at 07:41:48PM +1000, Nathan Dennis wrote:
> I'm having problems getting an Xorcom USB Bri 4 dialling out in
> Australia.

First off, is layer 1 and 2 up? If you use a recent version of our
driver (see my previous message) this should be observed by a steady
single blink to the port's led (green, as the first two ports are TE).

If you're not sure, then what's the output of:

  egrep 'Layer 1|D-Channel' /proc/xpp/XBUS-*/XPD-*/bri_info

>  
> I can receive calls into the system without an issue, but I can not for
> the life of me dial out of the system. 

Hmmm... this suggests that the problem is with chan_zap's configuration
(zapata.conf).

>  Below are my configs, I'm hoping
> its something simple that I just can't see as I've been looking at it
> for to long. Can any one point me in the right direction.
>  
> P.S. Yes it is meant to be in TE PTP mode as the current Digium B410P
> works fine in that mode
>  
>  
>  
> /etc/asterisk/extensions.conf  Extract
> [internal]
> include=>features
> include=>speeddial
>  
> 
> ;Extention number for main Q
> exten => 700,1,Goto(mainq,q,1)
>    
> ;-----------------------------------------------------
> ;Calling a local extensions mailbox
> exten => _*7XX,1,Set(Extension=${EXTEN:1})
> exten => _*7XX,n,Goto(directtovoicemail,s,1)
>  
> ;------------------------------------------------------
>  
> ;Static externaly accessable Conference room with recording
> exten =>
> 599,1,Set(MEETME_RECORDINGFILE=/var/spool/asterisk/monitor/conference-50
> 0-${EPOCH});
> exten => 599,n,MeetMe(500,cMr,4081)
> exten => 599,n,Hangup
>  
> ;Dynamic Conference rooms for internal users to transfer callers to
> exten => _5XX,1,MeetMe(${EXTEN},cMd)
> exten => _5XX,n,Hangup
>  
> exten => 6000,1,Dial(zap/0418608609)
>  
>  
> /etc/asterisk/zapata.conf
> [channels]

Add here:

pridialplan=unknown

> ;echocancel = yes
> ;transfer = yes
> callgroup=1
> pickupgroup=1
>  
> ; Span 1: XBUS-00/XPD-00 "Xorcom XPD #0/0: BRI_TE" 
> group=0,11
> context=zapin
> switchtype = euroisdn
> signalling = bri_cpe
> channel => 1-2
>  
> ; Span 2: XBUS-00/XPD-08 "Xorcom XPD #0/8: BRI_TE" 
> group=0,12
> context=zapin
> switchtype = euroisdn
> signalling = bri_cpe
> channel => 4-5
>  
> 
> ; Span 3: XBUS-00/XPD-10 "Xorcom XPD #0/16: BRI_TE" 
> ;group=0,13
> ;context=zapin
> ;switchtype = euroisdn
> ;signalling = bri_cpe
> ;channel => 7-8
>  
>  
>  
> ; Span 4: XBUS-00/XPD-18 "Xorcom XPD #0/24: BRI_TE" 
> ;group=0,14
> ;context=zapin
> ;switchtype = euroisdn
> ;signalling = bri_cpe
> ;channel => 10-11
>  
> /etc/zaptel.conf
> # Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
> # Zaptel Configuration File
> #
> # This file is parsed by the Zaptel Configurator, ztcfg
> #
>  
> # It must be in the module loading order
>  
> 
> # Span 1: XBUS-00/XPD-00 "Xorcom XPD #0/0: BRI_TE"
> span=1,1,1,ccs,ami
> # termtype: te
> bchan=1-2
> dchan=3
>  
> # Span 2: XBUS-00/XPD-08 "Xorcom XPD #0/8: BRI_TE"
> span=2,2,1,ccs,ami
> # termtype: te
> bchan=4-5
> dchan=6
>  
> # Span 3: XBUS-00/XPD-10 "Xorcom XPD #0/16: BRI_TE"
> span=3,3,1,ccs,ami
> # termtype: te
> bchan=7-8
> dchan=9
>  
> # Span 4: XBUS-00/XPD-18 "Xorcom XPD #0/24: BRI_TE"
> span=4,4,1,ccs,ami
> # termtype: te
> bchan=10-11
> dchan=12
>  
> # Global data
>  
> loadzone        = au
> defaultzone     = au
> 
>  
> Error recieved in console without group
>  
> -- Executing Dial("SIP/701-09f0fc18", "zap/0418608609") in new stack
> Jun 27 19:27:13 NOTICE[4011]: app_dial.c:1089 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/701-09f0fc18' status is 'CONGESTION'
> 
>  
>  
> Error recieved in console with g0 in the dial string
>  -- Executing Dial("SIP/701-08d76e98", "zap/g0/0418608609") in new stack
>     -- Requested transfer capability: 0x00 - SPEECH
>     -- Called g0/0418608609
>     -- Zap/1-1 is proceeding passing it to SIP/701-08d76e98
>     -- Channel 0/1, span 1 got hangup request
>     -- Channel 0/1, span 1 received AOC-E charging 0 units
> Jun 27 19:28:35 WARNING[4046]: app_dial.c:738 wait_for_answer: Unable to
> forward voice
>     -- Hungup 'Zap/1-1'
>   == Everyone is busy/congested at this time (1:0/0/1)
>   == Auto fallthrough, channel 'SIP/701-08d76e98' status is
> 'CHANUNAVAIL'
> 
>  
> 
> Nathan Dennis 
> __________________________________________________________ 
> Integrated Solutions (QLD)P/L        Phone: +61 (7) 4044 0300 
>                                                 Direct: +61 (7) 4044
> 0302
> 124 Spence Street                       Fax:    +61 (7) 4041 6600
> CAIRNS QLD 4868                        Mobile: 0418 608609
> 
> Australia         
> 
> E-mail: nathan.dennis at i-solutions.net.au
> <mailto:nathan.dennis at i-solutions.net.au> 
> Web Site: www.i-solutions.net.au <http://www.i-solutions.net.au/> 
> 
> Offices and agents in Cairns - Brisbane - Melbourne -- Adelaide --
> Sydney
> __________________________________________________________ 
> The information transmitted is intended only for the person or entity to
> which 
> it is addressed and may contain confidential and/or privileged material.
> 
> Any review, retransmission, dissemination or other use of, or taking of
> any 
> action in reliance upon, this information by persons or entities other
> than the 
> intended recipient is prohibited. If you received this in error, please
> contact 
> the sender and delete the material from any computer.
>  

> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
               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