Unable to create channel of type


#1

Aug 26 18:53:01 NOTICE[1123580848]: app_dial.c:727 dial_exec: Unable to create channel of type 'Phone’
Aug 26 18:53:01 NOTICE[1123580848]: app_dial.c:727 dial_exec: Unable to create channel of type 'Zap’
Aug 26 18:53:01 NOTICE[1123580848]: app_dial.c:727 dial_exec: Unable to create channel of type ‘Zap’

what did i did wrong in extensions for an outgoing call?
exten => _96XXXXXXXXX,1,Dial(Phone/phone0/${Num})
exten => _96XXXXXXXXX,2,Dial(Zap/g1/${Num})
exten => _96XXXXXXXXX,3,Dial(Zap/g2/${Num})
exten => _96XXXXXXXXX,4,Congestion

or in zapata ? - root *guru said that this zapata is PSTN and not ISDN BRI. Please show me ISDN BRI commands.
loadzone=us
defaultzone=us
fxsks=1
fxoks=3
[channels]
language=en
context=incoming
signalling=fxs_ks
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
pickupgroup=1
immediate=yes
musiconhold=default
channel => 1

additional info

CLI> capi info
Contr1: 2 B channels total, 2 B channels free.
CLI>zap show channels
Chan Extension Context Language MusicOnHold
pseudo default


#2

Try to put ${EXTEN} instead ${NUM}


#3

thank you
the problem was solved using CAPI (ISDN) instead of Phone (PSTN) or Zap (zaptel cards only)