[Asterisk-Users] Variable digit length in national dial plan
marco.parisotto at puntocontatto.it
marco.parisotto at puntocontatto.it
Sun Mar 14 05:58:01 MST 2004
Dear All,
we are integrating Asterisk between PSTN and a Panasonic PBX using 2 E100P
cards
and PRI lines.
------PSTN----<>--PRI---Asterisk----<>-----PRI---Panasonic PBX
Everything works fine except for outgoing calls.
In Italy the local call may have a variable lenght (9 or 10 digit). How
can we
instruct Asterisk to wait the possibly 10th digit?
We tried to configure the extension.con as follow:
;emergency number
exten => _1xx,1,Dial(Zap/g2/${EXTEN})
;international
exten => _00XX.,1,Dial(Zap/g2/${EXTEN})
;Local 9 Digit
exten => _0XXXXXXXX,1,Dial(Zap/g2/${EXTEN})
;Local 10 Digit
exten => _0XXXXXXXXX,1,Dial(Zap/g2/${EXTEN})
But it does not work.... while attempting a number of ten digit asterisk
sends out a 9 lenght digit number, ignoring the 10th digit.
We have a work around that consists in terminating the dialed number
with a # character... But it is very unprofessional solution.
May someone help us?
Best regards,
Marco
More information about the asterisk-users
mailing list