[Home]

Summary:ASTERISK-08719: [patch] User has to wait for ResponseTimeout before extension is dialed
Reporter:Patrick Cervicek (cervi)Labels:
Date Opened:2007-02-02 13:44:40.000-0600Date Closed:2007-06-11 17:21:24
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_disa
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20070514__bug8971_rework.diff.txt
( 1) app_disa_user_dial.txt
( 2) app_disa.patch.txt
Description:When a user dials in to app_disa and dials a extension, he has to wait for ResponseTimeout (which could take up to 10 seconds). The user should be able to speed up the dialing process, when he enters '#'. I tested the attached patch and it works. Maybe you want to apply it in the future to app_disa ...
Comments:By: Tilghman Lesher (tilghman) 2007-02-02 14:12:15.000-0600

Actually, that's not true.  I suspect you have an ambiguous dialplan, which is why it waits until the ResponseTimeout (because your entered extension potentially matches more than one extension).

By: Patrick Cervicek (cervi) 2007-02-02 14:18:18.000-0600

What do you do if you have
_X.
in your dialplan (e.g. calls to PSTN) and you don't wand to wait?



By: Tilghman Lesher (tilghman) 2007-02-03 18:52:24.000-0600

If you don't want to wait, then I suggest that you do not use the period "." in your dialplan patterns.

By: Patrick Cervicek (cervi) 2007-02-04 07:54:43.000-0600

How would you dial 00049711333321 with
'_X' ? This would only match for one digit. You can only use '_X.' for PSTN-Calls

By: Tilghman Lesher (tilghman) 2007-02-04 09:37:20.000-0600

You could match with _00XXXXXXXXXXXX

By: Patrick Cervicek (cervi) 2007-02-04 09:49:31.000-0600

Do you think every nation is using the same amount of digits for an extension? I don't understand why you want a user to change his dialplan (which cannot work due to the variable length of PSTN-Extensions) instead of improving app_disa?

By: Tilghman Lesher (tilghman) 2007-02-04 19:46:24.000-0600

No, but I think you can discriminate which countries are dialled with whatever length of extension, based upon the prefix.

By: Tilghman Lesher (tilghman) 2007-02-04 19:50:55.000-0600

In any case, 1) I can't even look at your patch until you have a disclaimer on file, and 2) as a new feature, your patch must be submitted against trunk, not 1.4.

By: Patrick Cervicek (cervi) 2007-02-13 16:52:39.000-0600

1) disclaimer sent
2) diff against trunk done

By: Leif Madsen (lmadsen) 2007-05-12 16:23:49

/Housekeeping

Where are we at with this patch? Is the functionality required?

Leif.

By: raarts (raarts) 2007-05-13 17:12:55

Corydon76: Maybe you can discriminate which countries are dialled with whatever length of extension, based upon the prefix, but that would require a very long dialplan, which would need to be maintained as national dialplans change.

I think this is a useful functionality for app_disa.

By: Tilghman Lesher (tilghman) 2007-05-14 01:01:18

This really deserves to be optional, so I've gone through and reworked DISA to this end.  You'll need to set the 5th argument to DISA() to 'p', if you wish to have this new behavior.

Patch needs testing.

By: Tilghman Lesher (tilghman) 2007-06-11 17:21:24

Committed, revision 68894.