add keepalive
This commit is contained in:
		
							parent
							
								
									b7a64e854f
								
							
						
					
					
						commit
						3ea36f5459
					
				| 
						 | 
					@ -415,6 +415,17 @@ and open the template in the editor. Base Version before all crash :-)
 | 
				
			||||||
            <button value="no">No</button>
 | 
					            <button value="no">No</button>
 | 
				
			||||||
            <help>Use simulated enbloc dialing to speedup connection when dialing while onhook (older phones)</help>
 | 
					            <help>Use simulated enbloc dialing to speedup connection when dialing while onhook (older phones)</help>
 | 
				
			||||||
        </item>
 | 
					        </item>
 | 
				
			||||||
 | 
					        <item type="IE" id="5">
 | 
				
			||||||
 | 
					            <label>SCCP SERVER Keepalive</label>
 | 
				
			||||||
 | 
					            <input>
 | 
				
			||||||
 | 
					                <name>keepalive</name>
 | 
				
			||||||
 | 
					                <default>60</default>
 | 
				
			||||||
 | 
					                <class>sccp-custom</class>
 | 
				
			||||||
 | 
					                <type>number</type>
 | 
				
			||||||
 | 
					                <options min="60" max="300"></options>
 | 
				
			||||||
 | 
					            </input>
 | 
				
			||||||
 | 
					            <help>Time between Keep Alive checks. Valid range is 60-300 seconds. After much trial-and-error, the minimum (60) seems to work just fine.</help>
 | 
				
			||||||
 | 
					        </item>
 | 
				
			||||||
        <item type="IS" id="11" seq="98">
 | 
					        <item type="IS" id="11" seq="98">
 | 
				
			||||||
            <name>phonepersonalization</name>
 | 
					            <name>phonepersonalization</name>
 | 
				
			||||||
            <label>Allow push background from server </label>
 | 
					            <label>Allow push background from server </label>
 | 
				
			||||||
| 
						 | 
					@ -1655,6 +1666,17 @@ and open the template in the editor. Base Version before all crash :-)
 | 
				
			||||||
            <button value="no">No</button>
 | 
					            <button value="no">No</button>
 | 
				
			||||||
            <help>The audio stream will be open in the progress and connected state. Valid options: Yes/ No</help>
 | 
					            <help>The audio stream will be open in the progress and connected state. Valid options: Yes/ No</help>
 | 
				
			||||||
        </item>
 | 
					        </item>
 | 
				
			||||||
 | 
					        <item type="IE" id="5">
 | 
				
			||||||
 | 
					            <label>SCCP SERVER Keepalive</label>
 | 
				
			||||||
 | 
					            <input>
 | 
				
			||||||
 | 
					                <name>keepalive</name>
 | 
				
			||||||
 | 
					                <default>60</default>
 | 
				
			||||||
 | 
					                <class>sccp-custom</class>
 | 
				
			||||||
 | 
					                <type>number</type>
 | 
				
			||||||
 | 
					                <options min="60" max="300"></options>
 | 
				
			||||||
 | 
					            </input>
 | 
				
			||||||
 | 
					            <help>Time between Keep Alive checks. Valid range is 60-300 seconds. After much trial-and-error, the minimum (60) seems to work just fine.</help>
 | 
				
			||||||
 | 
					        </item>
 | 
				
			||||||
    </page_group>
 | 
					    </page_group>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <page_group name="sccp_dp_new_template">
 | 
					    <page_group name="sccp_dp_new_template">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										16
									
								
								install.php
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								install.php
									
									
									
									
									
								
							| 
						 | 
					@ -291,7 +291,8 @@ function Get_DB_config($sccp_compatible)
 | 
				
			||||||
              '_loginname' => array('rename' => 'loginname'),
 | 
					              '_loginname' => array('rename' => 'loginname'),
 | 
				
			||||||
              '_profileid' => array('rename' => 'profileid'),
 | 
					              '_profileid' => array('rename' => 'profileid'),
 | 
				
			||||||
              '_dialrules' => array('rename' => 'dialrules'),
 | 
					              '_dialrules' => array('rename' => 'dialrules'),
 | 
				
			||||||
              '_description' => array('rename' => 'description')
 | 
					              '_description' => array('rename' => 'description'),
 | 
				
			||||||
 | 
					              'keepalive' => array('create' => "INT(11) DEFAULT '60'", 'modify' => 'INT(11)', 'def_modify' => "60")
 | 
				
			||||||
            ),
 | 
					            ),
 | 
				
			||||||
        'sccpline' => array (
 | 
					        'sccpline' => array (
 | 
				
			||||||
              'regcontext' => array('create' => "VARCHAR(20) NULL default 'sccpregistration'", 'modify' => "VARCHAR(20)"),
 | 
					              'regcontext' => array('create' => "VARCHAR(20) NULL default 'sccpregistration'", 'modify' => "VARCHAR(20)"),
 | 
				
			||||||
| 
						 | 
					@ -732,12 +733,13 @@ function InstallDB_CreateSccpDeviceConfigView($sccp_compatible)
 | 
				
			||||||
            (SELECT GROUP_CONCAT(CONCAT_WS(',', homebutton.buttontype, homebutton.name, homebutton.options ) SEPARATOR ';') FROM sccpbuttonconfig AS homebutton WHERE homebutton.ref = sccpuser.homedevice  ORDER BY homebutton.instance )
 | 
					            (SELECT GROUP_CONCAT(CONCAT_WS(',', homebutton.buttontype, homebutton.name, homebutton.options ) SEPARATOR ';') FROM sccpbuttonconfig AS homebutton WHERE homebutton.ref = sccpuser.homedevice  ORDER BY homebutton.instance )
 | 
				
			||||||
                END
 | 
					                END
 | 
				
			||||||
                AS button, if(sccpdevice.profileid = 0, sccpdevice.description, sccpuser.description) AS description, sccpdevice.name, sccpdevice.type,
 | 
					                AS button, if(sccpdevice.profileid = 0, sccpdevice.description, sccpuser.description) AS description, sccpdevice.name, sccpdevice.type,
 | 
				
			||||||
                sccpdevice.addon, sccpdevice.tzoffset, sccpdevice.imageversion, sccpdevice.deny, sccpdevice.permit, sccpdevice.earlyrtp, sccpdevice.mwilamp, sccpdevice.mwioncall,
 | 
					                sccpdevice.addon, sccpdevice.tzoffset, sccpdevice.imageversion, sccpdevice.deny, sccpdevice.permit, sccpdevice.earlyrtp, sccpdevice.mwilamp,
 | 
				
			||||||
                sccpdevice.dndFeature, sccpdevice.transfer, sccpdevice.cfwdall, sccpdevice.cfwdbusy, sccpdevice.private, sccpdevice.privacy, sccpdevice.nat, sccpdevice.directrtp,
 | 
					                sccpdevice.mwioncall, sccpdevice.dndFeature, sccpdevice.transfer, sccpdevice.cfwdall, sccpdevice.cfwdbusy, sccpdevice.private, sccpdevice.privacy,
 | 
				
			||||||
                sccpdevice.softkeyset, sccpdevice.audio_tos, sccpdevice.audio_cos, sccpdevice.video_tos, sccpdevice.video_cos, sccpdevice.conf_allow,
 | 
					                sccpdevice.nat, sccpdevice.directrtp, sccpdevice.softkeyset, sccpdevice.audio_tos, sccpdevice.audio_cos, sccpdevice.video_tos, sccpdevice.video_cos,
 | 
				
			||||||
                sccpdevice.conf_play_general_announce, sccpdevice.conf_play_part_announce, sccpdevice.conf_mute_on_entry, sccpdevice.conf_music_on_hold_class,
 | 
					                sccpdevice.conf_allow, sccpdevice.conf_play_general_announce, sccpdevice.conf_play_part_announce, sccpdevice.conf_mute_on_entry,
 | 
				
			||||||
                sccpdevice.conf_show_conflist, sccpdevice.force_dtmfmode, sccpdevice.setvar, sccpdevice.backgroundImage, sccpdevice.backgroundThumbnail,
 | 
					                sccpdevice.conf_music_on_hold_class, sccpdevice.conf_show_conflist, sccpdevice.force_dtmfmode, sccpdevice.setvar, sccpdevice.backgroundImage, 
 | 
				
			||||||
                sccpdevice.ringtone, sccpdevice.callhistory_answered_elsewhere, sccpdevice.useRedialMenu, sccpdevice.cfwdnoanswer, sccpdevice.park, sccpdevice.monitor, sccpdevice.phonecodepage
 | 
					                sccpdevice.backgroundThumbnail, sccpdevice.ringtone, sccpdevice.callhistory_answered_elsewhere, sccpdevice.useRedialMenu, sccpdevice.cfwdnoanswer,
 | 
				
			||||||
 | 
					                sccpdevice.park, sccpdevice.monitor, sccpdevice.phonecodepage, sccpdevice.keepalive
 | 
				
			||||||
            FROM sccpdevice
 | 
					            FROM sccpdevice
 | 
				
			||||||
            LEFT JOIN sccpuser sccpuser ON ( sccpuser.name = sccpdevice.loginname )
 | 
					            LEFT JOIN sccpuser sccpuser ON ( sccpuser.name = sccpdevice.loginname )
 | 
				
			||||||
            GROUP BY sccpdevice.name;";
 | 
					            GROUP BY sccpdevice.name;";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue