Change earlyrtp enum

chan-sccp enum is now yes / no and all older values equate to one of these. Help updated in chan-sccp revision: 566c8695
This commit is contained in:
steve-lad 2021-07-05 11:17:03 +02:00
parent a493165153
commit b15729a340
3 changed files with 11 additions and 21 deletions

View file

@ -396,17 +396,13 @@ and open the template in the editor. Base Version before all crash :-)
<button value="no">NO</button> <button value="no">NO</button>
<help>This option set global allow devices to do direct RTP sessions (default Off)</help> <help>This option set global allow devices to do direct RTP sessions (default Off)</help>
</item> </item>
<item type="IS" id="5" seq="0"> <item type="IS" id="5" seq="99">
<name>earlyrtp</name> <name>earlyrtp</name>
<label>Early RTP</label> <label>Early RTP</label>
<default>none</default> <default></default>
<button-d value="immediate">Immediate</button-d> <button value="yes">Yes</button>
<button value="offhook">Offhook</button> <button value="no">No</button>
<button value="dialing">Dial</button> <help>The audio stream will be open in the progress and connected state. Valid options: Yes/ No</help>
<button value="ringout">Ringout</button>
<button value="progress">Progress</button>
<button value="none">None</button>
<help>The audio strem will be open in the progress and connected state. Valid options: NONE, progress, offhook, dial, ringout. Default may be Progress.</help>
</item> </item>
<item type="IS" id="5" seq="0"> <item type="IS" id="5" seq="0">
<name>simulate_enbloc</name> <name>simulate_enbloc</name>
@ -1623,7 +1619,6 @@ and open the template in the editor. Base Version before all crash :-)
<name>directrtp</name> <name>directrtp</name>
<label>Direct RTP</label> <label>Direct RTP</label>
<default></default> <default></default>
<button- value="off">Auto</button->
<button value="no">NO</button> <button value="no">NO</button>
<button value="Yes">Yes</button> <button value="Yes">Yes</button>
<help>This option allow devices to do direct RTP sessions (default Off)</help> <help>This option allow devices to do direct RTP sessions (default Off)</help>
@ -1631,14 +1626,10 @@ and open the template in the editor. Base Version before all crash :-)
<item type="IS" id="5" seq="99"> <item type="IS" id="5" seq="99">
<name>earlyrtp</name> <name>earlyrtp</name>
<label>Early RTP</label> <label>Early RTP</label>
<default>NONE</default> <default></default>
<button-d value="immediate">Immediate</button-d> <button value="yes">Yes</button>
<button value="offhook">Offhook</button> <button value="no">No</button>
<button value="dialing">Dial</button> <help>The audio stream will be open in the progress and connected state. Valid options: Yes/ No</help>
<button value="ringout">Ringout</button>
<button value="progress">Progress</button>
<button value="none">None</button>
<help>The audio stream will be open in the progress and connected state. Valid options: none, progress, offhook, dial, ringout. Default may be Progress.</help>
</item> </item>
</page_group> </page_group>

View file

@ -121,8 +121,7 @@ function Get_DB_config($sccp_compatible)
'park' => array('create' => "enum('on','off') NOT NULL default 'on'", 'modify' => "enum('on','off')"), 'park' => array('create' => "enum('on','off') NOT NULL default 'on'", 'modify' => "enum('on','off')"),
'directrtp' => array('create' => "enum('no','yes') NOT NULL default 'no'", 'modify' => "enum('no','yes')"), 'directrtp' => array('create' => "enum('no','yes') NOT NULL default 'no'", 'modify' => "enum('no','yes')"),
'dndFeature' => array('create' => "enum('on','off') NOT NULL default 'off'", 'modify' => "enum('on','off')"), 'dndFeature' => array('create' => "enum('on','off') NOT NULL default 'off'", 'modify' => "enum('on','off')"),
'earlyrtp' => array('create' => "ENUM('immediate','offHook','dialing','ringout','progress','none') NOT NULL default 'none'", 'earlyrtp' => array('create' => "ENUM('yes','no') NOT NULL default 'no'", 'modify' => "ENUM('yes','no')"),
'modify' => "ENUM('immediate','offHook','dialing','ringout','progress','none')"),
'monitor' => array('create' => "enum('on','off') NOT NULL default 'off'", 'modify' => "enum('on','off')"), 'monitor' => array('create' => "enum('on','off') NOT NULL default 'off'", 'modify' => "enum('on','off')"),
'audio_tos' => array('create' => "VARCHAR(11) NOT NULL default '0xB8'",'modify' => "0xB8"), 'audio_tos' => array('create' => "VARCHAR(11) NOT NULL default '0xB8'",'modify' => "0xB8"),
'audio_cos' => array('create' => "VARCHAR(11) NOT NULL default '0x6'",'modify' => "0x6"), 'audio_cos' => array('create' => "VARCHAR(11) NOT NULL default '0x6'",'modify' => "0x6"),

View file

@ -1,7 +1,7 @@
<module> <module>
<rawname>sccp_manager</rawname> <rawname>sccp_manager</rawname>
<name>SCCP Manager</name> <name>SCCP Manager</name>
<version>14.3.0.0</version> <version>14.3.0.1</version>
<type>setup</type> <type>setup</type>
<category>SCCP Connectivity</category> <category>SCCP Connectivity</category>
<publisher>Steve Lad, Alex GP</publisher> <publisher>Steve Lad, Alex GP</publisher>