[Asterisk-Users] ZAP channels

Marko Rakar Marko at printel.hr
Mon Apr 5 11:37:31 MST 2004


I have made bri-stuff.0.0.2rc19 to work (I think) but I can not achieve
any in-dialing nor I can dial out;

this is what I have from "pri intense debug span 1" command

----------

*CLI> pri intense debug span 1
Enabled EXTENSIVE debugging on span 1
    -- Executing Playback("SIP/201-a862", "tt-weasels") in new stack
    -- Playing 'tt-weasels' (language 'en')
    -- Executing SetCallerID("SIP/201-a862", "340") in new stack
    -- Executing Dial("SIP/201-a862", "Zap/1/333") in new stack

> [02 ff 03 08 01 03 05 04 03 80 90 a3 18 01 89 6c 05 21 81 33 34 30 70
03 c1 33 33 a1 ]
> Unnumbered frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 127        EA: 1
>   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
> 25 bytes of data
> Protocol Discriminator: Q.931 (8)  len=25
> Call Ref: len= 1 (reference 3/0x3) (Originator)
> Message type: SETUP (5)
> Bearer Capability (len= 3) [ 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)
> Channel ID (len= 3) [ Ext: 1  IntID: Implicit, Other Spare: 0,
Exclusive Dchan: 0
>                        ChanSel: B1 channel
                         ]
> Calling Number (len= 7) [ Ext: 0  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user
number passed network screening (1) '340' ]
> Called Number (len= 5) [ Ext: 1  TON: Subscriber Number (4)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '33' ]
> Sending Complete (len= 0)
    -- Called 1/333
    -- Hungup 'Zap/1-1'
  == Spawn extension (default, 4000, 3) exited non-zero on
'SIP/201-a862'

--------------


from what I understand here I have initiated a call on ZAP but it dialed
number 1/333 instead of 333

this is my zapata.conf file

----------------

[channels]
;
; Default language
;
;language=en
;
; Default context
;
;
switchtype = euroisdn
signalling = bri_net_ptmp

pridialplan=local
echocancel=yes
immediate=yes
context=default

group => 1
stripmsd=> 1
channel => 1-2
-------------------

and here is a portion of extensions.conf which deals with outside call
(or tries);


exten => 4000,1,Playback(tt-weasels)
exten => 4000,2,SetCallerID(340)
exten => 4000,3,Dial(Zap/1/333)

exten => _5xxx,1,Dial,Zap/g1/BYEXTENSION


can anybody help me to fix what I am doing wrong?

----
The linuX Files -- The Source is Out There. 

mailto:marko at printel.hr
http://printel.hr  



More information about the asterisk-users mailing list