aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch/freeswitch_hunt_group_edit.tmp
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-06-19 06:16:38 -0600
committermcrane <mctch@yahoo.com>2009-06-19 06:21:12 -0600
commit6919906b41eab4e7ff51455a8e8a9735a61145dd (patch)
tree61ad78fbfe60cc4d45863a41003a94e11307d63c /config/freeswitch/freeswitch_hunt_group_edit.tmp
parent2ae85567c2f898664393eaef1489ce0f6f9e4af7 (diff)
downloadpfsense-packages-6919906b41eab4e7ff51455a8e8a9735a61145dd.tar.gz
pfsense-packages-6919906b41eab4e7ff51455a8e8a9735a61145dd.tar.bz2
pfsense-packages-6919906b41eab4e7ff51455a8e8a9735a61145dd.zip
FreeSWITCH update fax, add ringback for music or ring tone to the huntgroup, option to keep voicemail file on local filesystem, and remove invalid characters from caller id number on the extension.
Diffstat (limited to 'config/freeswitch/freeswitch_hunt_group_edit.tmp')
-rw-r--r--config/freeswitch/freeswitch_hunt_group_edit.tmp30
1 files changed, 29 insertions, 1 deletions
diff --git a/config/freeswitch/freeswitch_hunt_group_edit.tmp b/config/freeswitch/freeswitch_hunt_group_edit.tmp
index 49720fcd..7657a03d 100644
--- a/config/freeswitch/freeswitch_hunt_group_edit.tmp
+++ b/config/freeswitch/freeswitch_hunt_group_edit.tmp
@@ -57,6 +57,7 @@ if (isset($id) && $a_hunt_group[$id]) {
$pconfig['huntgrouptimeout'] = $a_hunt_group[$id]['huntgrouptimeout'];
$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['huntgroupdescr'] = $a_hunt_group[$id]['huntgroupdescr'];
}
@@ -95,6 +96,7 @@ if ($_POST) {
$huntgroupent['huntgrouptimeout'] = $_POST['huntgrouptimeout'];
$huntgroupent['huntgrouptimeoutdestination'] = $_POST['huntgrouptimeoutdestination'];
$huntgroupent['huntgrouptimeouttype'] = $_POST['huntgrouptimeouttype'];
+ $huntgroupent['huntgroupringback'] = $_POST['huntgroupringback'];
$huntgroupent['huntgroupcidnameprefix'] = $_POST['huntgroupcidnameprefix'];
$huntgroupent['huntgroupdescr'] = $_POST['huntgroupdescr'];
@@ -244,7 +246,33 @@ display_top_tabs(build_menu());
?>
</td>
</tr>
-
+ <tr>
+ <td width="22%" valign="top" class="vncellreq">Ring Back</td>
+ <td width="78%" class="vtable">
+ <?php
+ echo " <select name='huntgroupringback' class='formfld'>\n";
+ echo " <option></option>\n";
+ if (htmlspecialchars($pconfig['huntgroupringback']) == "ring") {
+ echo " <option selected='yes'>ring</option>\n";
+ }
+ else {
+ echo " <option>ring</option>\n";
+ }
+ if (htmlspecialchars($pconfig['huntgroupringback']) == "music") {
+ echo " <option selected='yes'>music</option>\n";
+ }
+ else {
+ echo " <option>music</option>\n";
+ }
+ echo " </select>\n";
+ ?>
+ <br>
+ <span class="vexpl">
+ Defines what the caller will hear while destination is being called. The choices are music
+ (music on hold) ring (ring tone.) default: music
+ </span>
+ </td>
+ </tr>
<tr>
<td width="22%" valign="top" class="vncell">CID Prefix</td>
<td width="78%" class="vtable">