From 6365b28cf23957f54386468ebf70c911bc0bac1b Mon Sep 17 00:00:00 2001 From: Joyce Babu Date: Sat, 20 Aug 2022 20:58:15 +0530 Subject: [PATCH] Add Telekonnectors Galaxy 1000 template. (#6442) --- app/devices/app_config.php | 6 + .../telekonnectors/galaxy1000/{$mac}.cfg | 1188 +++++++++++++++++ 2 files changed, 1194 insertions(+) create mode 100644 resources/templates/provision/telekonnectors/galaxy1000/{$mac}.cfg diff --git a/app/devices/app_config.php b/app/devices/app_config.php index 4ad4fd8efc..be1c9b2533 100644 --- a/app/devices/app_config.php +++ b/app/devices/app_config.php @@ -3480,4 +3480,10 @@ $vendors[$y]['uuid'] = "0f5b8507-3799-4a95-848b-1edfd5484869"; $vendors[$y]['name'] = "yeastar"; + //telekonnectors details + $y++; + $vendors[$y]['uuid'] = "89959f8f-946a-4d4d-be7f-1385bf8b0d64"; + $vendors[$y]['name'] = "telekonnectors"; + $z=0; + ?> diff --git a/resources/templates/provision/telekonnectors/galaxy1000/{$mac}.cfg b/resources/templates/provision/telekonnectors/galaxy1000/{$mac}.cfg new file mode 100644 index 0000000000..af687fdcce --- /dev/null +++ b/resources/templates/provision/telekonnectors/galaxy1000/{$mac}.cfg @@ -0,0 +1,1188 @@ + + +2.0002 + +DHCP + + + +{if isset($dns_server_primary)}{$dns_server_primary}{else}9.9.9.9{/if} +{if isset($dns_server_secondary)}{$dns_server_secondary}{else}8.8.8.8{/if} +1 +0 +VoIP +1 +0 +1 +2 +0 +10000 +200 +{$ntp_server_primary} +{$ntp_server_secondary} +1 +{$telekonnectors_time_zone} +{$telekonnectors_location} +{$telekonnectors_time_zone_name} +{$telekonnectors_enable_dst} +2 +60 +60 +3 +5 +0 +2 +10 +5 +0 +2 +0 + +1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + +1 +1 +0 +1 +0 +0 +0 +11 +1 +5 +0 +1 +. +0 + + +P1 +0 +0 +0 +0 +0 +1 +0 +0 +1 +1 +1 +1 +1 +0 +20 +0 + +0 +0 +1 +3 +1 +2 +3 +0 +0 +1 +0 +1 +1 +0 +10 +10 +0 +0 +1 +1 +0 +0 + +1 +1 +1 +0 + + + +0 +0 + + + + + + +0 + + +P1 + + + + + +11 +1 +2 +120 +1 +1 +0 +0 +2 +101 +0 +0 +3 +7 +1 +0 +0 +0 +0 +60 +40 +25 +150 +200 +0 +0 + + +P1 +5 +3 +5 +0 +0 +5 +5 +5 +G722/8000 +PCMA/8000 +PCMU/8000 +G729/8000 + + + + + + +Alert1 + +1 + + +Alert2 + +2 + + +Alert3 + +3 + + +Alert4 + +4 + + +Alert5 + +5 + + +Alert6 + +6 + + +Alert7 + +7 + + +Alert8 + +8 + + +Alert9 + +9 + + +Alert10 + +1 + + + + +5060 + +3478 +50 +800 + +32 +0 +0 +0 +1 +1 +0 +0 +1 +1 +0 +0 + + +SIP1 +{$account.1.user_id} +{$account.1.display_name} +{$telekonnectors_server_name} +{$account.1.server_address} +{$account.1.sip_port} +{$account.1.auth_id} +{$account.1.password} +{$account.1.register_expires} +{if isset($account.1.password)}1{else}0{/if} +{$account.1.outbound_proxy_primary} +{$account.1.sip_port} +{$account.1.auth_id} +{$account.1.password} +{$account.1.outbound_proxy_secondary} +{$account.1.sip_port} +1 +1 +0 +0 + +0 + +0 +0 +0 + + + +5 +0 + +0 +0 + + +2 +30 +0 + +1 +0 +0 +0 +0 +3 +0 +0 +1 +0 +3600 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +1 +5060 + +{if $account.1.sip_transport == 'udp'}0{/if} +{if $account.1.sip_transport == 'tcp'}1{/if} +{if $account.1.sip_transport == 'tls'}2{/if} +{if $account.1.sip_transport == 'dns srv'}1{/if} +{if $account.1.sip_transport == 'dns srv'}1{/if} + +1 +0 +0 +0 + +0 +0 +1 +0 + + + + +1 +0 +5 +1 +0 + + + + + + + + + + + + + + +G722,G711U,G711A,G729,G726-32,G723 + + +0 +0 +4 +0 +1 +0 +1 +0 +0 +0 +0 +0 + +0 +1 +0 + + +5060 + +0 +0 +0 + + +1 +0 +0 +1 +0 + + +SIP2 +{$account.2.user_id} +{$account.2.display_name} +{$telekonnectors_server_name} +{$account.2.server_address} +{$account.2.sip_port} +{$account.2.auth_id} +{$account.2.password} +{$account.2.register_expires} +{if isset($account.2.password)}1{else}0{/if} +{$account.2.outbound_proxy_primary} +{$account.2.sip_port} +{$account.2.auth_id} +{$account.2.password} +{$account.2.outbound_proxy_secondary} +{$account.2.sip_port} +1 +1 +0 +0 + +0 + +0 +0 +0 + + + +5 +0 + +0 +0 + + +2 +30 +0 + +1 +0 +0 +0 +0 +3 +0 +0 +1 +0 +3600 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +1 +5060 + +{if $account.2.sip_transport == 'udp'}0{/if} +{if $account.2.sip_transport == 'tcp'}1{/if} +{if $account.2.sip_transport == 'tls'}2{/if} +{if $account.2.sip_transport == 'dns srv'}1{/if} +{if $account.2.sip_transport == 'dns srv'}1{/if} + +1 +0 +0 +0 + +0 +0 +1 +0 + + + + +1 +0 +5 +1 +0 + + + + + + + + + + + + + + +G722,G711U,G711A,G729,G726-32,G723 + + +0 +0 +4 +0 +1 +0 +1 +0 +0 +0 +0 +0 + +0 +1 +0 + + +5060 + +0 +0 +0 + + +1 +0 +0 +1 +0 + + + + +0 +0 +1 + + +MCAST1 +0 + + + + +MCAST2 +0 + + + + +MCAST3 +0 + + + + +MCAST4 +0 + + + + +MCAST5 +0 + + + + +MCAST6 +0 + + + + +MCAST7 +0 + + + + +MCAST8 +0 + + + + +MCAST9 +0 + + + + +MCAST10 +0 + + + + + + +user123 +password +ANY + + + +80 +0 +443 +0 +0 +0 + + +Account1 +{if isset($admin_name)}{$admin_name}{else}admin{/if} +{if isset($admin_password)}{$admin_password}{else}admin{/if} +10 + + +Account2 +guest +guest +5 + + + + +0 +1 +1 +60 +1 +0 +60 +-1 +46 +256 +0 +0 +0 +1 +1 +254 +132 + + +0 +0 +0 +1 +0 + + +0 +0.0.0.0 +514 + + +0 +0 + + +123 +123 + +0 +0 +{$telekonnectors_emergency_number} +{$telekonnectors_greeting} +5 +{$telekonnectors_hotel_lcd} +30 +0 +0 +0 +0 +0 +0 +0 +0 +0 +0 +{if isset($telekonnectors_time_display)}{$telekonnectors_time_display}{else}0{/if} +Galaxy 1000 +1 +0 +0 +0 +1 +{if isset($telekonnectors_date_display)}{$telekonnectors_date_display}{else}0{/if} +0 +1 +0 +0 +1 + + + +0 +0 + + + +BWCLog1 + + + + +0 + + +BWCLog2 + + + + +0 + + +BWCLog3 + + + + +0 + + + + +BWDir1 + + + + +0 + + +BWDir2 + + + + +0 + + +BWDir3 + + + + +0 + + +BWDir4 + + + + +0 + + +BWDir5 + + + + +0 + + +BWDir6 + + + + +0 + + + + +LDAP1 + + +389 +0 +3 +0 +0 +0 + + + +telephoneNumber +mobile +home +cn + + + + +LDAP2 + + +389 +0 +3 +0 +0 +0 + + + +telephoneNumber +mobile +home +cn + + + + +LDAP3 + + +389 +0 +3 +0 +0 +0 + + + +telephoneNumber +mobile +home +cn + + + + +LDAP4 + + +389 +0 +3 +0 +0 +0 + + + +telephoneNumber +mobile +home +cn + + + + + + +XML-PBook1 + + + +0 +0 +0 + + +XML-PBook2 + + + +0 +0 +0 + + +XML-PBook3 + + + +0 +0 +0 + + +XML-PBook4 + + + +0 +0 +0 + + +XML-PBook5 + + + +0 +0 +0 + + +XML-PBook6 + + + +0 +0 +0 + + +XML-PBook7 + + + +0 +0 +0 + + +XML-PBook8 + + + +0 +0 +0 + + + + + + +{foreach $keys["memory"] as $row} +{if $row.device_key_id <= 15} + + +Fkey{$row.device_key_id} +{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} +{if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} +{$row.device_key_label} + + +{/if} +{/foreach} + + +Fkey1 +1 +Reception + + +Fkey2 +1 + +Service + + +Fkey3 +1 + +Cleaning + + +Fkey4 +1 + +WakeUp + + +Fkey5 +1 + +Emergency + + +Fkey6 +1 + +Manager + + + + + + +SoftFkey1 +0 + + + + +SoftFkey2 +0 + + + + +SoftFkey3 +0 + + + + +SoftFkey4 +0 + + + + +SoftFkey5 +0 + + + + +SoftFkey6 +0 + + + + +SoftFkey7 +0 + + + + +SoftFkey8 +0 + + + + +SoftFkey9 +0 + + + + +SoftFkey10 +0 + + + + +0x01$0x00 +0$0 +up:0x01$0x01@ down:0x01$0x01 +0x01$0x00 +0x01$0x00 +odd:0x00$0x00@ even:0x00$0x00@ select:0x01$0x00@ interval:0x01@ LSKbgc:0x00 +0x00$0x808080 + +0 +0 +0 +1 +0 + + +history;contact;dnd;menu; +hold;xfer;conf;end; +accept;none;cfwd;reject; +none;none;none;end; +xfer;none;none;end; +hold;none;split;end; +xfer;accept;reject;end; +repeat;none;none;end; +delete;save;send;exit; +delete;history;send;exit; +delete;xfer;send;exit; +delete;none;cfwd;exit; +history;status;paccout;naccout;menu; +pline;nline;none;none;none; +pcall;ncall;voldown;volup;none; +status;none;none;sdial;reset; +1 +1 + + +0 +PCMA +0 +0 + +0 +0 + + +{$http_auth_username} +{$http_auth_password} +0 + + + +https://{$domain_name}/app/provision +5 +1 +1 +66 +0 +0 +1 +224.0.1.75 +5060 +0 +1 +1 +1 +1 +5 +720 +0 +0 +1 +0 + + +2 + + + +1 +0 +0.0.0.0 +80 +VPN +12345 + + +admin +admin +0 + +1 + + +1 +0.0.0.0 +admin +admin +dps +dps + + +0 +0 +1 +0 +0 +3600 +020 +0 +0.0.0.0 +3478 +30000 +50 +3 + +