Ticket #4068 (closed Feature Requests: fixed)

Opened 3 years ago

Last modified 3 years ago

move single extension dialing (vs. groups) out of dialparties.agi

Reported by: p_lindheimer Assigned to: p_lindheimer
Priority: major Milestone: 2.8
Component: Core Version: 2.7-branch
Keywords: Cc:
Confirmation: Need testing Distro:
Backend Engine: All Distro Ver:
Backend Ver: 1.6 or 1.4 + func_extate.c SVN Revision (if applicable):

Description

There have been requests to eliminate dialparties.agi which is at the heart of dialing extensions, ringgroups, follow-me, and many features such as CF, CFB, CFU, call screening and several features in queues, ringgroups, etc.

Call paths that are simply dialing single extensions and not requiring the more complex group dialplan that handles ring strategies, etc - might be able to be moved out of the script allowing busy systems such as with many ringall queue agents to have less load form less dialparties.agi scripts running.

Attachments

func_extstate.c (3.5 kB) - added by p_lindheimer on 02/23/10 11:10:37.
my modified copy of func_extstate.c for Asterisk 1.4

Change History

02/22/10 19:55:37 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

(In [8905]) fixes #4068 re #4066 change back to from-internal, also adds macro-dial-one re #4069 though this is not used but can be enabled by setting USEDIALONE in amportal.conf. This is an un-tested macro which almost certainly has bugs and thus is not being put into general use nor is it targeted for use in 2.7

02/22/10 19:59:54 changed by p_lindheimer

(In [8907]) adds un-published option, USEDIALONE, to use the experimental macro-dial-one in place of macro-dial + dialparties.agi when dialing single extensions. The macro has been very little tested and is otherwise not used at all if this is not set. However, this will enable for those who want to start to test the macro and help flush out its operation for a 2.8 target re #4068

02/22/10 23:50:02 changed by p_lindheimer

  • status changed from closed to reopened.
  • version changed from 2.6-branch to 2.7-branch.
  • resolution deleted.

Although this capability is not targeted until 2.8, it has been added to 2.7 to allow early and extensive testing for those willing to enable it and help debug the dialplan as issues are found. The requirements are:

  • Asterisk 1.6 or higher
  • Asterisk 1.4 with a backport of func_extstate.c (EXTENSION_STATE())
  • amportal.conf: USEDIALONE=true

If those conditions are met, then macro-exten-vm and macro-simple-dial will both have thier calls to macro-dial replaced with calls to macro-dial-one. All functionality should be the same as when run with dialparties.agi.

02/22/10 23:50:39 changed by p_lindheimer

  • confirmation changed from Unreviewed to Need testing.
  • engine_version set to 1.6 or 1.4 + func_extate.c.

02/23/10 11:10:37 changed by p_lindheimer

  • attachment func_extstate.c added.

my modified copy of func_extstate.c for Asterisk 1.4

02/23/10 12:33:06 changed by p_lindheimer

(In [8914]) added checks for ast version and existance of EXTENSION_STATE() in experimental macro-dial-one re #4068

02/26/10 14:04:09 changed by p_lindheimer

(In [8936]) closes #4084 adds S, X, Z and D prefixes, adds optional use of macro-dial-one re #4068, removes setting of BLKVM_OVERRIDE when Agent Restrictions is set to Extension Only which will allow subsequent transfers to voicemail when advanced device mode is being used and is not needed with the restricted context and dialplan used in that setting for Local channels either

02/28/10 01:32:53 changed by p_lindheimer

(In [9043]) Merged revisions 8714-9042 via svnmerge from http://svn.freepbx.org/freepbx/branches/2.7

................

r8714 | p_lindheimer | 2010-01-30 08:02:33 -0800 (Sat, 30 Jan 2010) | 1 line

branch trunk to 2.7

................

r8731 | p_lindheimer | 2010-01-30 09:18:30 -0800 (Sat, 30 Jan 2010) | 1 line

Creating release 2.7.0beta1

................

r8750 | mickecarlsson | 2010-02-01 13:25:40 -0800 (Mon, 01 Feb 2010) | 1 line

Closes #2839 #3980 #3992 added setting in amportal.conf for using Google DNS for enumlookup.ago

................

r8751 | mickecarlsson | 2010-02-01 13:29:00 -0800 (Mon, 01 Feb 2010) | 1 line

Dont use language specific page in the url

................

r8763 | mickecarlsson | 2010-02-02 11:02:41 -0800 (Tue, 02 Feb 2010) | 1 line

Updated amp.pot for 2.7

................

r8764 | mickecarlsson | 2010-02-02 11:25:42 -0800 (Tue, 02 Feb 2010) | 1 line

Spelling error fix

................

r8766 | mickecarlsson | 2010-02-02 11:46:04 -0800 (Tue, 02 Feb 2010) | 1 line

Spelling error fixes for 2.7 branch

................

r8772 | mickecarlsson | 2010-02-02 14:34:58 -0800 (Tue, 02 Feb 2010) | 1 line

Close #4024 add check for Asterisk 1.6 in GotoIfTime? extensions class

................

r8829 | p_lindheimer | 2010-02-16 08:09:12 -0800 (Tue, 16 Feb 2010) | 9 lines

Merged revisions 8828 via svnmerge from http://svn.freepbx.org/freepbx/branches/2.6

........

r8828 | p_lindheimer | 2010-02-16 08:06:59 -0800 (Tue, 16 Feb 2010) | 1 line

sytax error == should be assignment =

........

................

r8843 | p_lindheimer | 2010-02-17 09:17:43 -0800 (Wed, 17 Feb 2010) | 1 line

change mohmp3 to moh, put moh as default in template, use mohmp3 as fallback default when not specified for compatibility re #4051

................

r8846 | p_lindheimer | 2010-02-17 12:15:05 -0800 (Wed, 17 Feb 2010) | 1 line

closes #4052 add option to force reinstall or downgrade modules

................

r8847 | p_lindheimer | 2010-02-17 12:23:23 -0800 (Wed, 17 Feb 2010) | 1 line

bump the base version to RC1 in prep for RC1 tarball

................

r8848 | p_lindheimer | 2010-02-17 12:27:26 -0800 (Wed, 17 Feb 2010) | 1 line

update CHANGES for RC release

................

r8849 | p_lindheimer | 2010-02-17 12:36:58 -0800 (Wed, 17 Feb 2010) | 1 line

closes #3575 check for ASTMANAGERHOST and ASTMANAGERPORT

................

r8860 | p_lindheimer | 2010-02-17 16:50:54 -0800 (Wed, 17 Feb 2010) | 1 line

Creating release 2.7.0RC1

................

r8861 | p_lindheimer | 2010-02-17 16:53:25 -0800 (Wed, 17 Feb 2010) | 1 line

Modify build tools to deal with change from mohmp3 to moh

................

r8862 | p_lindheimer | 2010-02-17 16:53:45 -0800 (Wed, 17 Feb 2010) | 1 line

Creating release 2.7.0RC1

................

r8873 | p_lindheimer | 2010-02-17 17:10:45 -0800 (Wed, 17 Feb 2010) | 1 line

remove the wihtmodules generation part of script, we don't use that anymore

................

r8880 | mickecarlsson | 2010-02-18 13:54:51 -0800 (Thu, 18 Feb 2010) | 1 line

Finally, an automated tool to generate all .pot files for localization, ugly but working. Requires some setup yet to be documented, should have merge from trunk but I did not manage that so here is another ci

................

r8881 | p_lindheimer | 2010-02-18 16:45:33 -0800 (Thu, 18 Feb 2010) | 1 line

fixes #4057 don't iterate through global array when calling hooks or hooks that do the same will end the loop prematurely

................

r8907 | p_lindheimer | 2010-02-22 16:59:53 -0800 (Mon, 22 Feb 2010) | 1 line

adds un-published option, USEDIALONE, to use the experimental macro-dial-one in place of macro-dial + dialparties.agi when dialing single extensions. The macro has been very little tested and is otherwise not used at all if this is not set. However, this will enable for those who want to start to test the macro and help flush out its operation for a 2.8 target re #4068

................

r8923 | mickecarlsson | 2010-02-24 12:38:40 -0800 (Wed, 24 Feb 2010) | 1 line

Commented out format_au.so as it is removed from Asterisk 1.4 and later.

................

r8950 | mickecarlsson | 2010-02-27 06:40:10 -0800 (Sat, 27 Feb 2010) | 1 line

Updated amp.pot, updated swedish language

................

r8952 | mickecarlsson | 2010-02-27 07:45:55 -0800 (Sat, 27 Feb 2010) | 1 line

Removed obsolete language tool

................

r8971 | p_lindheimer | 2010-02-27 21:48:35 -0800 (Sat, 27 Feb 2010) | 1 line

2.7.0 upgrade directory for release

................

r8972 | p_lindheimer | 2010-02-27 21:52:36 -0800 (Sat, 27 Feb 2010) | 1 line

update CHANGES

................

r9029 | p_lindheimer | 2010-02-27 22:17:38 -0800 (Sat, 27 Feb 2010) | 1 line

Creating release 2.7.0

................

02/28/10 11:54:45 changed by p_lindheimer

  • milestone changed from Cut Line to 2.8.

03/15/10 01:38:43 changed by p_lindheimer

(In [9217]) added bunch of the dahdi code re #4135, removed optional use of USEDIALONE re #4068 if detected will use it - WARNING some of this code is still untested

03/17/10 01:57:26 changed by p_lindheimer

  • status changed from reopened to closed.
  • resolution set to fixed.

this macro is now always used if EXTENSION_STATE() is available so it needs only to be installed to get this going.