[Asterisk-Users] Variable digit length in national dial plan
Keith Lard
klard at tampabay.rr.com
Sun Mar 14 06:36:40 MST 2004
I am of course a relative newbie...but if I remember correctly the first
match completes the dial sequence, so if you have the 9 digit before the 10
digit it would never hit the 10 digit. Maybe you should try flipping them
around.
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of
marco.parisotto at puntocontatto.it
Sent: Sunday, March 14, 2004 7:58 AM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Variable digit length in national dial plan
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
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list