marco.parisotto@puntocontatto.it
2004-Mar-14 05:58 UTC
[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
Keith Lard
2004-Mar-14 06:36 UTC
[Asterisk-Users] Variable digit length in national dial plan
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@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of
marco.parisotto@puntocontatto.it
Sent: Sunday, March 14, 2004 7:58 AM
To: asterisk-users@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@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
Musaluke AK
2004-Mar-14 09:03 UTC
[Asterisk-Users] Variable digit length in national dial plan
Does the * actually send all the digits? Does it matter what the 10th or 11th
digit is? I had a similar problem with calls going to an extension hooked to
a GSM terminal on our PBX ( not *).
All didits were being sent by * but the PBX would ignore the last one, so you
had to send any digit after your real number to be dialed. So I told * to add
the last digit like so:
exten => _00XX.,1,Dial(Zap/g2/${EXTEN}8)
Note where the '8' is. It works whatever digit I use here.
At least that worked for me, not sure that is your problem.
goof
On Sunday 14 March 2004 2:58 pm, marco.parisotto@puntocontatto.it
wrote:> 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@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
--
You cannot give a goat to a man as a gift and still hold on to the rope.
Alfred R. Nurnberger
2004-Mar-14 19:51 UTC
[Asterisk-Users] Variable digit length in national dial plan
Try this:
exten => _0XXXXXXXX.,1,Dial(Zap/g2/${EXTEN})
The dot at the end means that more digits may follow.
This way * determines end of number by a timeout.
In general you could use:
exten => _X.,1,Dial(Zap/g2/${EXTEN})
This way ANY length number would be sent out 1:1
Only drawback is the 5 sec. wait until it is sent to the PSTN.
- Alfred
-----Original Message-----
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com]On Behalf Of
marco.parisotto@puntocontatto.it
Sent: Sunday, March 14, 2004 4:58 AM
To: asterisk-users@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@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