From a81e204fc45c8306b06db8e8ee3ef2cb269a0871 Mon Sep 17 00:00:00 2001 From: mcrane Date: Wed, 22 Jul 2009 21:17:08 -0600 Subject: FreeSWITCH pkg move changes from dev pkg to this one. Add caller announce and pin numbe options for huntgroups, Add ability to use 5 digit extensions, *97 added general voicemail, *99[extension] allows you to transfer a call directly to voicemail --- config/freeswitch/freeswitch_hunt_group_edit.tmp | 42 ++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) (limited to 'config/freeswitch/freeswitch_hunt_group_edit.tmp') diff --git a/config/freeswitch/freeswitch_hunt_group_edit.tmp b/config/freeswitch/freeswitch_hunt_group_edit.tmp index 29915f67..fe22a78e 100644 --- a/config/freeswitch/freeswitch_hunt_group_edit.tmp +++ b/config/freeswitch/freeswitch_hunt_group_edit.tmp @@ -58,7 +58,9 @@ if (isset($id) && $a_hunt_group[$id]) { $pconfig['huntgrouptimeoutdestination'] = $a_hunt_group[$id]['huntgrouptimeoutdestination']; $pconfig['huntgrouptimeouttype'] = $a_hunt_group[$id]['huntgrouptimeouttype']; $pconfig['huntgroupringback'] = $a_hunt_group[$id]['huntgroupringback']; - $pconfig['huntgroupcidnameprefix'] = $a_hunt_group[$id]['huntgroupcidnameprefix']; + $pconfig['huntgroupcidnameprefix'] = $a_hunt_group[$id]['huntgroupcidnameprefix']; + $pconfig['huntgrouppin'] = $a_hunt_group[$id]['huntgrouppin']; + $pconfig['huntgroupcallerannounce'] = $a_hunt_group[$id]['huntgroupcallerannounce']; $pconfig['huntgroupdescr'] = $a_hunt_group[$id]['huntgroupdescr']; } @@ -96,8 +98,10 @@ if ($_POST) { $huntgroupent['huntgrouptimeout'] = $_POST['huntgrouptimeout']; $huntgroupent['huntgrouptimeoutdestination'] = $_POST['huntgrouptimeoutdestination']; $huntgroupent['huntgrouptimeouttype'] = $_POST['huntgrouptimeouttype']; - $huntgroupent['huntgroupringback'] = $_POST['huntgroupringback']; + $huntgroupent['huntgroupringback'] = $_POST['huntgroupringback']; $huntgroupent['huntgroupcidnameprefix'] = $_POST['huntgroupcidnameprefix']; + $huntgroupent['huntgrouppin'] = $_POST['huntgrouppin']; + $huntgroupent['huntgroupcallerannounce'] = $_POST['huntgroupcallerannounce']; $huntgroupent['huntgroupdescr'] = $_POST['huntgroupdescr']; if (isset($id) && $a_hunt_group[$id]) { @@ -283,6 +287,40 @@ display_top_tabs(build_menu()); + + PIN + + +
+ + If this is provided then the caller will be required to enter the PIN number. (optional) + + + + + + Caller Announce + + \n"; + echo " \n"; + if (htmlspecialchars($pconfig['huntgroupcallerannounce']) == "true") { + echo " \n"; + } + else { + echo " \n"; + } + if (htmlspecialchars($pconfig['huntgroupcallerannounce']) == "false") { + echo " \n"; + } + else { + echo " \n"; + } + echo " \n"; + ?> + + + Description -- cgit v1.2.3