Allow actions configurations when a DTMF protocol is set on the Account

Add the sipmessage DTMF protocol to the list
This commit is contained in:
Timothée Jaussoin 2022-01-25 11:09:54 +01:00
parent 79921e56e2
commit f3ffa96ea6
3 changed files with 3 additions and 3 deletions

View file

@ -45,7 +45,7 @@ class Account extends Authenticatable
];
public $timestamps = false;
public static $dtmfProtocols = ['sipinfo' => 'SIPInfo', 'rfc2833' => 'RFC2833'];
public static $dtmfProtocols = ['sipinfo' => 'SIPInfo', 'rfc2833' => 'RFC2833', 'sipmessage' => 'SIP Message'];
/**
* Scopes

View file

@ -64,7 +64,7 @@
<h3 class="mt-3">Actions</h3>
@if (!$account->dtmf_protocol)
@if ($account->dtmf_protocol)
<table class="table">
<tbody>

View file

@ -8,7 +8,7 @@
#%define _datadir %{_datarootdir}
#%define _docdir %{_datadir}/doc
%define build_number 125
%define build_number 126
%define var_dir /var/opt/belledonne-communications
%define opt_dir /opt/belledonne-communications/share/flexisip-account-manager