diff options
author | mcrane <mctch@yahoo.com> | 2009-07-22 21:17:08 -0600 |
---|---|---|
committer | mcrane <mctch@yahoo.com> | 2009-07-22 21:17:08 -0600 |
commit | a81e204fc45c8306b06db8e8ee3ef2cb269a0871 (patch) | |
tree | 5c0eaa4c71ad35f1737d291ec874ebe9216026c9 /config/freeswitch/freeswitch_hunt_group_edit.tmp | |
parent | 13b1ff56a408967abfaf506053d30aec62dc9943 (diff) | |
download | pfsense-packages-a81e204fc45c8306b06db8e8ee3ef2cb269a0871.tar.gz pfsense-packages-a81e204fc45c8306b06db8e8ee3ef2cb269a0871.tar.bz2 pfsense-packages-a81e204fc45c8306b06db8e8ee3ef2cb269a0871.zip |
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
Diffstat (limited to 'config/freeswitch/freeswitch_hunt_group_edit.tmp')
-rw-r--r-- | config/freeswitch/freeswitch_hunt_group_edit.tmp | 42 |
1 files changed, 40 insertions, 2 deletions
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]) { @@ -284,6 +288,40 @@ display_top_tabs(build_menu()); </td> </tr> <tr> + <td width="22%" valign="top" class="vncell">PIN</td> + <td width="78%" class="vtable"> + <input name="huntgrouppin" type="text" class="formfld" id="huntgrouppin" size="40" value="<?=htmlspecialchars($pconfig['huntgrouppin']);?>"> + <br> + <span class="vexpl"> + If this is provided then the caller will be required to enter the PIN number. (optional) + </span> + </td> + </tr> + + <tr> + <td width="22%" valign="top" class="vncell">Caller Announce</td> + <td width="78%" class="vtable"> + <?php + echo " <select name='huntgroupcallerannounce' class='formfld'>\n"; + echo " <option></option>\n"; + if (htmlspecialchars($pconfig['huntgroupcallerannounce']) == "true") { + echo " <option selected='yes'>true</option>\n"; + } + else { + echo " <option>true</option>\n"; + } + if (htmlspecialchars($pconfig['huntgroupcallerannounce']) == "false") { + echo " <option selected='yes'>false</option>\n"; + } + else { + echo " <option>false</option>\n"; + } + echo " </select>\n"; + ?> + </td> + </tr> + + <tr> <td width="22%" valign="top" class="vncell">Description</td> <td width="78%" class="vtable"> <input name="huntgroupdescr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['huntgroupdescr']);?>"> |