From d92797f82a523d1945fd6229f56e5ba682c504ad Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 4 Sep 2021 20:16:16 -0600 Subject: [PATCH] Show the flush registrations button for the external SIP profile. --- app/sip_status/sip_status.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/sip_status/sip_status.php b/app/sip_status/sip_status.php index d5d84edead..f2aa7326e1 100644 --- a/app/sip_status/sip_status.php +++ b/app/sip_status/sip_status.php @@ -247,9 +247,7 @@ echo "
\n"; echo " \n"; echo "
\n"; - if ($sip_profile_name != "external") { - echo button::create(['type'=>'button','label'=>$text['button-flush_registrations'],'icon'=>'eraser','collapse'=>'hide-xs','link'=>'cmd.php?profile='.urlencode($sip_profile_name).'&action=flush_inbound_reg']); - } + echo button::create(['type'=>'button','label'=>$text['button-flush_registrations'],'icon'=>'eraser','collapse'=>'hide-xs','link'=>'cmd.php?profile='.urlencode($sip_profile_name).'&action=flush_inbound_reg']); echo button::create(['type'=>'button','label'=>$text['button-registrations'],'icon'=>'phone-alt','collapse'=>'hide-xs','link'=>PROJECT_PATH.'/app/registrations/registrations.php?profile='.urlencode($sip_profile_name)]); if ($profile_state == 'stopped') { echo button::create(['type'=>'button','label'=>$text['button-start'],'icon'=>$_SESSION['theme']['button_icon_start'],'collapse'=>'hide-xs','link'=>'cmd.php?profile='.urlencode($sip_profile_name).'&action=start']);