Dial command problem

Hi
I have a little problem

when I use Dial(Zap/0128440446) in my dail plan, astersik will say system is busy, person is not available

If I use Dial(Zap/128440446) without the zero every think is fine

so why the zero is making problem, it’s like asterisk do not read from the first letter is it’s zero or some thing else.

Please any help?

http://www.voip-info.org/wiki/index.php?page=Asterisk+Zap+channels

What are you using for lines Alog or PRI ?
If its PRI its because you havent set it up correctly

thank you for the reply

the card is pri here my configuration:

zaptel.conf

span=1,1,0,ccs,hdb3
bchan=1-15,17-31
dchan=16

span=2,2,0,ccs,hdb3
bchan=32-46,48-62
dchan=47

span=3,0,0,ccs,hdb3
bchan=63-77,79-93
dchan=78

span=4,0,0,ccs,hdb3
bchan=94-108,110-124
dchan=109

and for zapata.conf is :

context=from-zaptel
;signalling=fxs_ks

signalling=pri_cpe

;pri_cpe=PRI slave;pri_net=PRI master
;pri_cpe=PRI slave
;pri_net=PRI master

switchtype=euroisdn

;switchtype=national

rxwink=300 ; Atlas seems to use long (250ms) winks
;

; Whether or not to do distinctive ring detection on FXO lines
;

callerid=asreceived
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
;echotraining=400
rxgain=2.0
txgain=2.0
;group=0
callgroup=1
pickupgroup=1
immediate=yes
usecallingpres=yes
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
echotraining=400
;Include genzaptelconf configs

group=1

channel =>1-15,17-31

channel =>32-46,48,62

channel =>63-77,79-93

channel =>94-108,110-124

please let me know what want wrong

Djalil

Use “Dial(Zap/g1/0128440446)” You forgot to tell it what channels to dial out from.

sorry,
But using the command Dial(Zap/g1/0128440446) do not work aloso

is only if I use Dial(Zap/g1/028440446)

with taking the 0 number out, and that is the problem?

Hi

Ok

have a look at cyber-cottage.co.uk/wiki/ind … 1_cards.3F

your problem is i expect

[quote]pridialplan=unknown
prilocaldialplan=unknown[/quote]

Hi
Thank you very much, now I added these tow lines in zapata.conf

pridialplan=unknown
prilocaldialplan=unknown

and I am able to call normally

Thank you very much