Newbie install problem. And I already searched everywhere


#1

Hi,

When startin * it tells me:

[chan_zap.so] => (Zapata Telephony w/PRI)
== Parsing ‘/etc/asterisk/zapata.conf’: Found
Sep 3 17:21:59 DEBUG[1076873856]: chan_zap.c:1208 update_conf: Updated conferencing on 1, with 0 conference users
– Registered channel 1, PRI Signalling signalling
Sep 3 17:21:59 DEBUG[1076873856]: chan_zap.c:1208 update_conf: Updated conferencing on 2, with 0 conference users
– Registered channel 2, PRI Signalling signalling
– Automatically generated pseudo channel
== Starting D-Channel on span 1
== Registered channel type ‘Zap’ (Zapata Telephony Driver w/PRI)
== Registered channel type ‘Tor’ (Zapata Telephony Driver w/PRI)
== Registered application ‘CallingPres’
== Manager registered action ZapTransfer
== Manager registered action ZapHangup
== Manager registered action ZapDialOffhook
== Manager registered action ZapDNDon
== Manager registered action ZapDNDoff
== Manager registered action ZapShowChannels
[app_sendtext.so] => (Send Text Applications)

When I try to use a channel it says:

Executing Dial(“SIP/4001-d927”, “Zap/2/0652456343}”) in new stack
Sep 3 17:23:02 NOTICE[1117264816]: app_dial.c:727 dial_exec: Unable to create channel of type ‘Zap’

My relevant extension is:
exten => _97.,1,Dial(Zap/2/${EXTEN:2}})

and my zapata.conf is:

[channels]
switchtype = euroisdn

; p2mp TE mode
signalling = bri_cpe_ptmp

; p2p TE mode
;signalling = bri_cpe
; p2mp NT mode
;signalling = bri_net_ptmp
; p2p NT mode
signalling = bri_net

pridialplan = national
prilocaldialplan = local
nationalprefix = 0
internationalprefix = 00

echocancel=yes
echotraining = 100
echocancelwhenbridged=yes

immediate=yes
group = 1
context=incoming
channel => 1-2

can anyone give me a hint how th debug the rest?
(off course a clean cut solution would be nice too :smile: )


#2

What exactly are you installing can you explain in brief?


#3

Hi,

I am, strying to get Asterisk to work with my Eicon Diva BRI ISDN PCI card using the zapfhc drivers. the driver recognizes te card and I am already beyond the
’no channel avail’ phase. Now it goes wrong during the SETUP phase of the ISDN connection (so tells ’ bri debug span 1’ me).

Someone already suggested using the mISDN drivers. WShat do y think?


#4

I think you’re trouble isn’t with the drivers at all…

Check your extn definition:

exten => _97.,1,Dial(Zap/2/${EXTEN:2}})

Should be:

exten => _97.,1,Dial(Zap/2/${EXTEN:2}) <—notice the missing second }


#5

I installed other drivers (zapfhc) and now I get the following info. Why does it fail?

*CLI>
– Executing SetCallerID(“SIP/4001-dafe”, “499477688”) in new stack
– Executing Dial(“SIP/4001-dafe”, “Zap/g1/0652456343|120”) in new stack
– Making new call for cr 131

Protocol Discriminator: Q.931 (8) len=39
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 89]
Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Exclusive Dchan: 0
ChanSel: B1 channel
]
[6c 0b 21 81 34 39 39 34 37 37 36 38 38]
Calling Number (len=13) [ 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) ‘499477688’ ]
[70 0b a1 30 36 35 32 34 35 36 33 34 33]
Called Number (len=13) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) ‘0652456343’ ]
[a1]
Sending Complete (len= 1)
– Called g1/0652456343
No response to SETUP message
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Initiated, peerstate Overlap sending
– Channel 0/1, span 1 got hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Initiated, peerstate Overlap sending
– Hungup ‘Zap/1-1’
== No one is available to answer at this time

*CLI>


#6

Hello,

I am a bit confused why you are using the ZAP drivers with the Eicon Diva Server BRI card. I would recommend using the Diva Server 4 Linux drivers (available from the eicon web site www.eicon.com) and then use the chan_capi interface.

This is what I have found the best results with.

Thanks


#7

It is not an Eicon Diva server card.