[Asterisk-Users] asterisk@home and zaphfc dial out not working

bman at host.sk bman at host.sk
Mon Sep 5 05:17:15 MST 2005


Hello,

 I have asterisk at home with zaphfc patch applied
 (http://dondisperato.blogspot.com/), but I can not make call to 
 legacy PBX (Alcatel 4400). I can only accept incoming calls.

 I am dialing with this: exten => 202,1,Dial(Zap/g1/242)

---
 asterisk1*CLI> bri debug span 1
Enabled debugging on span 1
    -- Executing Dial("SIP/201-4678", "Zap/g1/242") in new stack
-- Making new call for cr 131
    -- Requested transfer capability: 0x00 - SPEECH
> Protocol Discriminator: Q.931 (8)  len=26
> Call Ref: len= 1 (reference 3/0x3) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer capability: 
Speech (0)
>                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode 
(16)
>                              Ext: 1  User information layer 1: A-Law (35)
> [18 01 81]
> Channel ID (len= 3) [ Ext: 1  IntID: Implicit, Other Spare: 0, Preferred 
Dchan: 0
>                        ChanSel: B1 channel
                         ]
> [6c 05 00 80 32 30 31]
> Calling Number (len= 7) [ Ext: 0  TON: Unknown Number Type (0)  NPI: Unknown 
Number Plan (0)
>                           Presentation: Presentation permitted, user number 
not screened (0) '201' ]
> [70 04 80 32 34 32]
> Called Number (len= 6) [ Ext: 1  TON: Unknown Number Type (0)  NPI: Unknown 
Number Plan (0) '242' ]
> [a1]
> Sending Complete (len= 1)
    -- Called g1/242
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 1 (reference 131/0x83) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 03 81 95 80]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: 
Private network serving the local user (1)
<                  Ext: 1  Cause: Call Rejected (21), class = Normal Event 
(1) ]
<              Cause data 1: 80 (128)
-- Processing IE 8 (cs0, Cause)
    -- Channel 0/1, span 1 got hangup
    -- Zap/1-1 is circuit-busy
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
    -- Hungup 'Zap/1-1'
  == Everyone is busy/congested at this time
--
------------------------------------------------------------------
zaptel.conf:
# hfc-s pci a span definition
# most of the values should be bogus because we are not really zaptel
loadzone=nl
defaultzone=nl

span=1,1,3,ccs,ami
bchan=1-2
dchan=3

------------------------------------------------------------------
zapata.conf:
;
; Zapata telephony interface
;
; Configuration file
;
[channels]
musiconhold      = default
language         = en
;
; ISDN
;
switchtype        = euroisdn
echocancel        = yes
immediate         = no
overlapdial       = no
pridialplan       = unknown
prilocaldialplan  = unknown
nationalprefix    = 0
internationalprefix = 00

context           = from-pstn
signalling        = bri_cpe_ptmp  ; HFC-S TE mode
usecallerid       = yes
usecallingpres    = yes
group             = 1
channel => 1-2

 what is wrong?



More information about the asterisk-users mailing list