diff options
Diffstat (limited to 'config/freeswitch_dev/freeswitch_hunt_group_edit.tmp')
-rw-r--r-- | config/freeswitch_dev/freeswitch_hunt_group_edit.tmp | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/config/freeswitch_dev/freeswitch_hunt_group_edit.tmp b/config/freeswitch_dev/freeswitch_hunt_group_edit.tmp index 82fa87e0..fe22a78e 100644 --- a/config/freeswitch_dev/freeswitch_hunt_group_edit.tmp +++ b/config/freeswitch_dev/freeswitch_hunt_group_edit.tmp @@ -60,6 +60,7 @@ if (isset($id) && $a_hunt_group[$id]) { $pconfig['huntgroupringback'] = $a_hunt_group[$id]['huntgroupringback']; $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']; } @@ -97,9 +98,10 @@ if ($_POST) { $huntgroupent['huntgrouptimeout'] = $_POST['huntgrouptimeout']; $huntgroupent['huntgrouptimeoutdestination'] = $_POST['huntgrouptimeoutdestination']; $huntgroupent['huntgrouptimeouttype'] = $_POST['huntgrouptimeouttype']; - $huntgroupent['huntgroupringback'] = $_POST['huntgroupringback']; - $huntgroupent['huntgroupcidnameprefix'] = $_POST['huntgroupcidnameprefix']; - $huntgroupent['huntgrouppin'] = $_POST['huntgrouppin']; + $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]) { @@ -296,6 +298,29 @@ display_top_tabs(build_menu()); </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"> |