[Asterisk-Users] Unable to create channel of type 'Zap' error

Rich Adamson radamson at routers.com
Sat Feb 19 05:20:44 MST 2005


> I'm trying to configure a 100xp fxo card for the first time but am not able to
> get the channel type ZAP recognised....
> 
> app_dial.c:743 dial_exec: Unable to create channel of type 'Zap'
> 
> WHen starting asterisk with -vvvgc i see
> 
> [chan_zap.so] => (Zapata Telephony w/PRI)
>   == Parsing '/etc/asterisk/zapata.conf': Found
>     -- Registered channel 1, FXS Kewlstart signalling
>     -- Automatically generated pseudo channel
>   == 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                               
>                                                                               
> 
> when I type "zap show channel 1 i see:
> 
> zap show channel 1
> Channel: 1
> File Descriptor: 17
> Span: 1
> Extension:
> Dialing: no
> Context: internal
> Caller ID string:
> Destroy: 0
> InAlarm: 1
> Signalling Type: FXS Kewlstart
> Owner: <None>
> Real: <None>
> Callwait: <None>
> Threeway: <None>
> Confno: -1
> Propagated Conference: -1
> Real in conference: 0
> DSP: no
> Relax DTMF: no
> Dialing/CallwaitCAS: 0/0
> Default law: ulaw
> Fax Handled: no
> Pulse phone: no
> Echo Cancellation: 128 taps, currently OFF
> Actual Confinfo: Num/0, Mode/0x0000
> Actual Confmute: No
> Actual Hookstate: Onhook
> *CLI>                                    
> 
> The test I perform to dial is: 
> 
> exten => 47302410,1,Dial(Zap/1/47302410)
> 
> I deal the number and get teh ZAP error.  Can anoyone suggest soemthing I'm
> missing as I've never ued a ZAP interface before...and seems that
> http://www.voip-info.org is overloaded, not been able to get a page from them
> for a few days..

The only hint in the above is the "InAlarm: 1" entry; that should be 0.
That would suggest the /etc/zaptel.conf entry has an issue, ztcfg -vv 
didn't complete properly, the phone line isn't plugged into the card,
or something like that.






More information about the asterisk-users mailing list