aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch/freeswitch_hunt_group_destinations_edit.tmp
diff options
context:
space:
mode:
Diffstat (limited to 'config/freeswitch/freeswitch_hunt_group_destinations_edit.tmp')
-rw-r--r--config/freeswitch/freeswitch_hunt_group_destinations_edit.tmp7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/freeswitch/freeswitch_hunt_group_destinations_edit.tmp b/config/freeswitch/freeswitch_hunt_group_destinations_edit.tmp
index aa4117fa..1c8ea4ed 100644
--- a/config/freeswitch/freeswitch_hunt_group_destinations_edit.tmp
+++ b/config/freeswitch/freeswitch_hunt_group_destinations_edit.tmp
@@ -177,7 +177,12 @@ display_top_tabs(build_menu());
<?php
echo " <select name='destinationprofile' class='formfld'>\n";
echo " <option></option>\n";
-
+ if (htmlspecialchars($pconfig['destinationprofile']) == "auto") {
+ echo " <option selected='yes'>auto</option>\n";
+ }
+ else {
+ echo " <option>auto</option>\n";
+ }
foreach (ListFiles('/usr/local/freeswitch/conf/sip_profiles') as $key=>$sip_profile_file){
$sip_profile_name = str_replace(".xml", "", $sip_profile_file);