$v_project_label: Hunt Group: Destinations: Edit

\n"; if ($input_errors) print_input_errors($input_errors); ?>

Destination
extension: 1001
voicemail: 1001
sip uri (voicemail): sofia/internal/*98@${domain}
sip uri (external number): sofia/gateway/gatewayname/12081231234
sip uri (auto attendant): sofia/internal/5002@${domain}
Type \n"; echo " \n"; if (htmlspecialchars($pconfig['destinationtype']) == "extension") { echo " \n"; } else { echo " \n"; } if (htmlspecialchars($pconfig['destinationtype']) == "voicemail") { echo " \n"; } else { echo " \n"; } if (htmlspecialchars($pconfig['destinationtype']) == "sip uri") { echo " \n"; } else { echo " \n"; } echo " \n"; ?>
Profile \n"; echo " \n"; if (htmlspecialchars($pconfig['destinationprofile']) == "auto") { echo " \n"; } else { echo " \n"; } foreach (ListFiles('/usr/local/freeswitch/conf/sip_profiles') as $key=>$sip_profile_file){ $sip_profile_name = str_replace(".xml", "", $sip_profile_file); if (htmlspecialchars($pconfig['destinationprofile']) == $sip_profile_name) { echo " \n"; } else { echo " \n"; } } echo " \n"; ?>
Order \n"; //echo " \n"; if (strlen(htmlspecialchars($pconfig['destinationorder']))> 0) { echo " \n"; } $i=0; while($i<=999) { if (strlen($i) == 1) { echo " \n"; } if (strlen($i) == 2) { echo " \n"; } if (strlen($i) == 3) { echo " \n"; } $i++; } echo " \n"; ?>
Processing of each destination is determined by this order.
Description
You may enter a description here for your reference (not parsed).