[asterisk-users] analog phone digit delay
Justin Killen
jkillen at allamericanasphalt.com
Thu Jul 11 14:13:52 CDT 2013
Right, but when you type any of those, there's only a 3 second inter-digit timeout because EVERYTHING is a match of the catch-all. There is no excessive delay, but instead a delay so short that I'm getting complaints.
If I implement your suggestion and change the code in the channel driver, then there would be an 8 second delay all the time, even when dialing a number like 3001, which IMHO is excessive (and what I was referring to in the previous post).
So, again:
my two options as before:
1) Have the timeout be so short (3 seconds) that users complain (but they get a fancy message).
2) The timeouts are reasonable (8 seconds), but when they're wrong the users get a busy signal (no fancy message).
Plus we can add a third option:
3) Alter chan_dahdi.c to increase matchdigittimeout to 8 seconds, then: The timeouts on invalid extensions are reasonable (8 seconds), but timeouts are valid extensions are excessive (8 seconds), and we get a fancy message.
It's a shame that reasonable timeouts and a nice message are mutually exclusive.
-Justin
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric Wieling
Sent: Thursday, July 11, 2013 10:34 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] analog phone digit delay
This issue is simple dialplan management, which applies to any PBX. This is something every PBX admin has to deal with.
Here is an example using 4-digit extensions in the 3xxx range and outside calls are dialed with a leading 1 so the PBX knows it is an outside call. There should be no excessive delay when dialing extensions or PSTN numbers in the setup below. Calls should match when the last digit is dialed for those calls. For invalid numbers there will, of course, be a delay.
exten => _1NXXNXXXXXX,1,DoYourOutsideDialing
exten => _3XXX,1,DoYourInsideDialing
exten => _[24-9].,1,DoErrorHandling
exten => _X,1,DoErrorHandling
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Justin Killen
Sent: Thursday, July 11, 2013 1:11 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] analog phone digit delay
No, I understand - maybe I'm not explaining myself well.
Yes, I can change the source so that pattern-matched input delays 8 seconds instead of 3, but then the users have to wait 8 seconds for every number they dial (even internal 3 digit calls). I think what I really want is for the catch-all pattern to not trigger the shorter timeout. It seems to me that if 3/8 second timeouts are standard and a catch-all for fancy messages is commonplace, then the two should work together without too much trouble, but instead they are currently mutually exclusive.
I realize that a code change will be required to accomplish standard 3/8 second wait times AND be able to get a fancy message (I'll be submitting an issue to jira - I'm thinking add a special 'no pattern matched' extension like i or t). For the time being, I have the catch-all disabled at the site and things are running smoother.
Thanks Eric for your help on this - you helped me to track down the cause of the issue and provided a work-around, which is much appreciated.
-Justin
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric Wieling
Sent: Thursday, July 11, 2013 9:48 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] analog phone digit delay
You seem to be confused.
If you want to change the dialing timeouts on Asterisk analog channels, then you need to change the source code. Now your dialing timeout problem is fixed. I did that about 10 years ago to handle slow dialing users on asterisk analog ports.
Then add a catchall pattern for bad numbers and your congestion tone is fixed. done!
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Justin Killen
Sent: Thursday, July 11, 2013 12:26 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] analog phone digit delay
So my only two options then are:
1) Have the timeout be so short that users complain (but they get a fancy message).
2) The timeouts are reasonable, but when they're wrong the users get a busy signal (no fancy message).
It's a shame that reasonable timeouts and a nice message are mutually exclusive.
--Justin
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric Wieling
Sent: Thursday, July 11, 2013 7:08 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] analog phone digit delay
I imagine setting up a catch-all extension pattern is your best option. That is what most seem people do.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Justin Killen
Sent: Wednesday, July 10, 2013 4:51 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] analog phone digit delay
Okay, so I is no good. Does anybody else have a work-around for this?
-Justin
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric Wieling
Sent: Wednesday, July 10, 2013 1:43 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] analog phone digit delay
"I" has the same limitations as dialplan timeouts, you have to be in a Background or WaitExten or similar for them to work. These items are designed for IVRS.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Justin Killen
Sent: Wednesday, July 10, 2013 4:40 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] analog phone digit delay
It seems likely that this is exactly what is happening. I'd rather not change the code though, but rather fix the dialplan. I'm thinking using the 'i' extension would work just the same - would there be a reason to use a wildcard pattern match instead of i?
-Justin
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric Wieling
Sent: Wednesday, July 10, 2013 1:12 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] analog phone digit delay
More information about the asterisk-users
mailing list