diff options
author | mcrane <mctch@yahoo.com> | 2009-06-13 23:29:14 -0600 |
---|---|---|
committer | mcrane <mctch@yahoo.com> | 2009-06-14 00:00:56 -0600 |
commit | 87af9fbf3bc1abed07190fe7240fc8193a5f972d (patch) | |
tree | e74aee7e6fa4a7f3e3a2778419e4663e10e9a397 /config/freeswitch/freeswitch_status.tmp | |
parent | fd75d753f279e3aa774b0b315193e1589d2ae34d (diff) | |
download | pfsense-packages-87af9fbf3bc1abed07190fe7240fc8193a5f972d.tar.gz pfsense-packages-87af9fbf3bc1abed07190fe7240fc8193a5f972d.tar.bz2 pfsense-packages-87af9fbf3bc1abed07190fe7240fc8193a5f972d.zip |
FreeSWITCH package clean up blank recordings, add dialplan default.xml, add dialplan public.xml, adjust wording on setup, and extension pages, create lan profile directory if it doesn't exist, status page add rescan and restart.
Diffstat (limited to 'config/freeswitch/freeswitch_status.tmp')
-rw-r--r-- | config/freeswitch/freeswitch_status.tmp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/freeswitch/freeswitch_status.tmp b/config/freeswitch/freeswitch_status.tmp index 413fbbbd..4fa4181a 100644 --- a/config/freeswitch/freeswitch_status.tmp +++ b/config/freeswitch/freeswitch_status.tmp @@ -195,7 +195,13 @@ foreach (ListFiles('/usr/local/freeswitch/conf/sip_profiles') as $key=>$sip_prof echo "<td width='50%' align='right'>\n"; echo " <input type='button' value='start' onclick=\"document.location.href='/packages/freeswitch/freeswitch_cmd.php?cmd=api+sofia+profile+".$sip_profile_name."+start';\" />\n"; echo " <input type='button' value='stop' onclick=\"document.location.href='/packages/freeswitch/freeswitch_cmd.php?cmd=api+sofia+profile+".$sip_profile_name."+stop';\" />\n"; - echo " <input type='button' value='flush_inbound_reg' onclick=\"document.location.href='/packages/freeswitch/freeswitch_cmd.php?cmd=api+sofia+profile+".$sip_profile_name."+flush_inbound_reg';\" />\n"; + echo " <input type='button' value='restart' onclick=\"document.location.href='/packages/freeswitch/freeswitch_cmd.php?cmd=api+sofia+profile+".$sip_profile_name."+restart';\" />\n"; + if ($sip_profile_name == "external") { + echo " <input type='button' value='rescan' onclick=\"document.location.href='/packages/freeswitch/freeswitch_cmd.php?cmd=api+sofia+profile+".$sip_profile_name."+rescan';\" />\n"; + } + else { + echo " <input type='button' value='flush_inbound_reg' onclick=\"document.location.href='/packages/freeswitch/freeswitch_cmd.php?cmd=api+sofia+profile+".$sip_profile_name."+flush_inbound_reg';\" />\n"; + } echo "</td>\n"; echo "</tr>\n"; echo "</table>\n"; |