Type of number


#1

Hi,
does anybody know where in asterisk can I set TON=type of number, when i make a call this parameter is set to international, but in zapata.conf i have set pridialplan to national, I mean for calling party number.

pls help

extensions.conf:
exten => _X.,1,Noop(${CALLERIDNUM})
exten => _X.,2,Dial(zap/g2/003${EXTEN})
exten => _X.,3,Hangup
exten => t,1,Hangup
exten => T,1,Hangup
exten => i,1,Hangup

zapata.conf:

[code]
[channels]
context=ui_calls
switchtype=euroisdn
pridialplan=national
prilocaldialplan=national
signalling=pri_cpe
usecallerid=yes
hidecallerid=no
usecallingpres=no
threewaycalling=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
immediate=no
rxgain=0.0
txgain=0.0

group = 1
channel=>1-15,17-31
context=from_pri_etel
group=3
channel => 63-77,79-93
;prilocaldialplan=national
context=from_pri_etel_4c
;pridialplan=national
;prilocaldialplan=international
group = 2
channel=>32-46,48-62
;prilocaldialplan=national
context=from_pri_etel_003
group = 4
channel => 94-108,110-124

callgroup=1
pickupgroup=1
immediate=no
[/code]