{for $line=1 to 2} {$row=$lines.$line} {if filter_var($row.enabled, FILTER_VALIDATE_BOOLEAN)}Yes{else}No{/if} {$row.display_name} {if $row.sip_transport != 'dns srv'} {$row.server_address}:{$row.sip_port} {else} {$row.server_address} {/if} {if $row.sip_transport != 'dns srv' && isset($row.server_address_secondary)} {$row.secondary_server_address}:{$row.sip_port} {else} {$row.secondary_server_address} {/if} {if $row.sip_transport != 'dns srv'} {if isset($row.outbound_proxy_primary)}{$row.outbound_proxy_primary}:{$row.sip_port}{/if} {else} {if isset($row.outbound_proxy_primary)}{$row.outbound_proxy_primary}{/if} {/if} {if $row.sip_transport != 'dns srv'} {if isset($row.outbound_proxy_secondary)}{$row.outbound_proxy_secondary}:{$row.sip_port}{/if} {else} {if isset($row.outbound_proxy_secondary)}{$row.outbound_proxy_secondary}{/if} {/if} {$row.user_id} {$row.auth_id} {$row.password} {$row.display_name} Disabled {$voicemail_number} {$dnsmode='ARecord'} {if isset($grandstream_dns_mode)} {if $grandstream_dns_mode == 0}{$dnsmode='ARecord'}{/if} {if $grandstream_dns_mode == 1}{$dnsmode='SRV'}{/if} {if $grandstream_dns_mode == 2}{$dnsmode='NaptrOrSrv'}{/if} {if $grandstream_dns_mode == 3}{$dnsmode='UseConfiguredIP'}{/if} {/if} {$dnsmode} {if isset($grandstream_nat_traversal) && $grandstream_nat_traversal == 1} STUN {else} No {/if} Yes 2 Default 60 No Yes Instance {$row.register_expires} 60 0 20 No No 30 30 {if isset($subscribe_mwi)}Yes{else}No{/if} No Default Default Yes Yes Yes Register Only Yes To All Sip {$tp='UDP'} {if $row.sip_transport == 'udp'}{$tp='UDP'}{/if} {if $row.sip_transport == 'tcp'}{$tp='TCP'}{/if} {if $row.sip_transport == 'tls'}{$tp='Tls Or Tcp'}{/if} {if $row.sip_transport == 'dns srv'} {if isset($grandstream_dnssrv_transport)} {if $grandstream_dnssrv_transport == 'udp'}{$tp='UDP'} {elseif $grandstream_dnssrv_transport == 'tls'}{$tp='Tls Or Tcp'} {else}{$tp='TCP'} {/if} {else}{$tp='TCP'} {/if} {/if} $tp Yes Transport_Only 5060 sips No Yes 0.5sec 4sec In Route No Yes Yes 180 90 No No No Omit 1 No PCMU PCMA G.723.1 G.729A/B G.722 iLBC G.726-32 OPUS Callee No 30ms 97 ITU 127 123 No Yes No 101 Yes 121 124 No {if isset ($grandstream_jitter_adapt) && $grandstream_jitter_adapt == 0} Fixed {else} Adaptive {/if} 300ms 2 5.3kbpsEncodingRate {$srtp='Disabled'} {if isset($grandstream_srtp)} {if $grandstream_srtp==1}{$srtp='EnabledButNotForced'}{/if} {if $grandstream_srtp==2}{$srtp='EnabledAndForced'}{/if} {if $grandstream_srtp==3}{$srtp='Optional'}{/if} {/if} {$srtp} AES128 And 256Bit No Default ReceiverReport RTPVersion1 No Disable 0 Pound 4 No No {$cw='Default'} {if isset($grandstream_call_waiting)} {if $grandstream_call_waiting==1}{$cw='No'}{/if} {if $grandstream_call_waiting==2}{$cw='Yes'}{/if} {/if} {$cw} Yes {if isset($grandstream_ring_timeout)} {$grandstream_ring_timeout} {else} 60 {/if} No Yes Yes No No No {if isset($grandstream_enable_call_features) && $grandstream_enable_call_features == 1} Yes {else} No {/if} Yes 30 No {$grandstream_dial_prefix} Mpk {if isset($grandstream_dial_plan) } {$grandstream_dial_plan} {else} {literal}{x+|*x+|*++|\p\a\r\k\+*x+|\p\a\r\k\+x+|\f\l\o\w\+*x+}{/literal} {/if} {$rt='Ring5'} {if isset($grandstream_account_ring_tone_1)} {if $grandstream_account_ring_tone_1 == 0}{$rt='SystemRingtone'}{/if} {if $grandstream_account_ring_tone_1 == 1}{$rt='Ring1'}{/if} {if $grandstream_account_ring_tone_1 == 2}{$rt='Ring2'}{/if} {if $grandstream_account_ring_tone_1 == 3}{$rt='Ring3'}{/if} {if $grandstream_account_ring_tone_1 == 4}{$rt='Ring4'}{/if} {if $grandstream_account_ring_tone_1 == 5}{$rt='Ring5'}{/if} {if $grandstream_account_ring_tone_1 == 6}{$rt='Ring6'}{/if} {if $grandstream_account_ring_tone_1 == 7}{$rt='Doorbell'}{/if} {/if} {$rt} No {if isset($grandstream_distinctive_ringtone_name_1)} {$grandstream_distinctive_ringtone_name_1} {else} {/if} {$grandstream_distinctive_ringtone_1} {if isset($grandstream_distinctive_ringtone_name_2)} {$grandstream_distinctive_ringtone_name_2} {else} {/if} {$grandstream_distinctive_ringtone_2} {if isset($grandstream_distinctive_ringtone_name_3)} {$grandstream_distinctive_ringtone_name_3} {else} {/if} {$grandstream_distinctive_ringtone_3} {if isset($grandstream_distinctive_ringtone_name_4)} {$grandstream_distinctive_ringtone_name_4} {else} {/if} {$grandstream_distinctive_ringtone_4} {if isset($grandstream_distinctive_ringtone_name_5)} {$grandstream_distinctive_ringtone_name_5} {else} {/if} {$grandstream_distinctive_ringtone_5} {if isset($grandstream_distinctive_ringtone_name_6)} {$grandstream_distinctive_ringtone_name_6} {else} {/if} {$grandstream_distinctive_ringtone_6} {if isset($grandstream_distinctive_ringtone_name_7)} {$grandstream_distinctive_ringtone_name_7} {else} {/if} {$grandstream_distinctive_ringtone_7} {if isset($grandstream_distinctive_ringtone_name_8)} {$grandstream_distinctive_ringtone_name_8} {else} {/if} {$grandstream_distinctive_ringtone_8} {if isset($grandstream_distinctive_ringtone_name_9)} {$grandstream_distinctive_ringtone_name_9} {else} {/if} {$grandstream_distinctive_ringtone_9} {if isset($grandstream_distinctive_ringtone_name_10)} {$grandstream_distinctive_ringtone_name_10} {else} {/if} {$grandstream_distinctive_ringtone_10} No No No Disabled Yes No No No No Standard {/for} 5004 200 Yes 20 0 Yes Account1 {$mki='DND'} {if isset($grandstream_idle_mute_function)} {if $grandstream_idle_mute_function == 1}{$mki='IdleMute'}{/if} {if $grandstream_idle_mute_function == 2}{$mki='Disabled'}{/if} {/if} {$mki} Yes Yes {if isset($grandstream_onhook_dial_barging) && $grandstream_onhook_dial_barging == 0} No {else} Yes {/if} 0 30 30 No {if isset($grandstream_call_waiting) && $grandstream_call_waiting == 1} No {else} Yes {/if} {if isset($grandstream_call_waiting)} {if $grandstream_call_waiting == "1"} No{/if} {if $grandstream_call_waiting == "2"} Yes{/if} {/if} 0 Yes No No Yes Yes Yes f1=440,f2=480,c=200/400; f1=350,f2=440; f1=350,f2=440; f1=350,f2=440,c=10/10; f1=440,f2=480,c=200/400; f1=440,f2=440,c=25/525; Low f1=480,f2=620,c=50/50; f1=480,f2=620,c=25/25; Disable No 0 {$ippref='IPv4Only'} {if isset($grandstream_ipv_mode)} {if $grandstream_ipv_mode == 0}{$ippref='BothAndPreferIPv4'}{/if} {if $grandstream_ipv_mode == 1}{$ippref='BothAndPreferIPv6'}{/if} {if $grandstream_ipv_mode == 2}{$ippref='IPv4Only'}{/if} {if $grandstream_ipv_mode == 3}{$ippref='IPv6Only'}{/if} {/if} {$ippref} {if isset($grandstream_ip_address_mode) && $grandstream_ip_address_mode == 1} Static IP {else} DHCP {/if} phone-{$mac|replace:'-':''} {if isset($grandstream_ipv4octet_1)}{$grandstream_ipv4octet_1}{/if} {if isset($grandstream_ipv4octet_2)}{$grandstream_ipv4octet_2}{/if} {if isset($grandstream_ipv4octet_3)}{$grandstream_ipv4octet_3}{/if} {if isset($grandstream_ipv4octet_4)}{$grandstream_ipv4octet_4}{/if} {if isset($grandstream_ipv4mask_1)}{$grandstream_ipv4mask_1}{/if} {if isset($grandstream_ipv4mask_2)}{$grandstream_ipv4mask_2}{/if} {if isset($grandstream_ipv4mask_3)}{$grandstream_ipv4mask_3}{/if} {if isset($grandstream_ipv4mask_4)}{$grandstream_ipv4mask_4}{/if} {if isset($grandstream_ipv4gw_1)}{$grandstream_ipv4gw_1}{/if} {if isset($grandstream_ipv4gw_1)}{$grandstream_ipv4gw_2}{/if} {if isset($grandstream_ipv4gw_1)}{$grandstream_ipv4gw_3}{/if} {if isset($grandstream_ipv4gw_1)}{$grandstream_ipv4gw_4}{/if} {if isset($grandstream_ipv4dns1_1)}{$grandstream_ipv4dns1_1}{/if} {if isset($grandstream_ipv4dns1_2)}{$grandstream_ipv4dns1_2}{/if} {if isset($grandstream_ipv4dns1_3)}{$grandstream_ipv4dns1_3}{/if} {if isset($grandstream_ipv4dns1_4)}{$grandstream_ipv4dns1_4}{/if} {if isset($grandstream_ipv4dns2_1)}{$grandstream_ipv4dns2_1}{/if} {if isset($grandstream_ipv4dns2_2)}{$grandstream_ipv4dns2_2}{/if} {if isset($grandstream_ipv4dns2_3)}{$grandstream_ipv4dns2_3}{/if} {if isset($grandstream_ipv4dns2_4)}{$grandstream_ipv4dns2_4}{/if} {if isset($grandstream_ipv4preferdns_1)}{$grandstream_ipv4preferdns_1}{/if} {if isset($grandstream_ipv4preferdns_2)}{$grandstream_ipv4preferdns_2}{/if} {if isset($grandstream_ipv4preferdns_3)}{$grandstream_ipv4preferdns_3}{/if} {if isset($grandstream_ipv4preferdns_4)}{$grandstream_ipv4preferdns_4}{/if} AutoConfigured 0 0 Yes 30 Yes 26 46 No {if isset($grandstream_lan_port_vlan) } Yes {else} No {/if} {if isset($grandstream_lan_port_vlan) } {$grandstream_lan_port_vlan} {else} 0 {/if} 0 1500 Yes No On Auto UNITEDSTATES {$key_types=[""=>"None", "none"=>"None", "default"=>"Default", "line"=>"Line", "shared line"=>"SharedLine", "speed dial"=>"SpeedDial", "blf"=>"BLF", "presence watcher"=>"PresenceWatcher", "eventlist blf"=>"EventlistBLF","speed dial active"=>"SpeedDialViaActiveAccount","dial dtmf"=>"DialDTMF","voicemail"=>"VoiceMail","call return"=>"CallReturn","transfer"=>"Transfer","call park"=>"CallPark","intercom"=>"Intercom","ldap search"=>"LDAPSearch","conference"=>"Conference","multicast paging"=>"MulticastPaging","record"=>"Record","call log"=>"CallLog","monitored call park"=>"MonitoredCallPark","menu"=>"Menu"]} {for $line=1 to 6} {if !isset($keys.line[$line])} {$keys.line[$line] = ["device_key_id" => $line, "device_key_type" => "", "device_key_line" => "", "device_key_label" => "", "device_key_value" => ""]} {/if} {$row=$keys.line[$line]} {$row.device_key_id = $row.device_key_id + 10} {$key_types[$row.device_key_type]} {if !empty($row.device_key_line)}Account{$row.device_key_line}{/if} {$row.device_key_value} {$row.device_key_label} {/for} --> --> --> --> {for $line=1 to 10} {if !isset($keys.memory[$line])} {$keys.memory[$line] = ["device_key_id" => $line, "device_key_type" => "", "device_key_line" => "", "device_key_label" => "", "device_key_value" => ""]} {/if} {$row=$keys.memory[$line]} {$key_types[$row.device_key_type]} {if !empty($row.device_key_line)}Account{$row.device_key_line}{/if} {$row.device_key_label} {$row.device_key_value} {/for} {if isset($ntp_server_primary)} {$ntp_server_primary} {else} pool.ntp.org {/if} {if isset($ntp_server_secondary)} {$ntp_server_secondary} {else} {/if} No 1440 Yes {if isset($grandstream_time_zone) } {$grandstream_time_zone} {else} auto {/if} {if isset($grandstream_dhcp_time_zone) && $grandstream_dhcp_time_zone == 0} No {else} Yes {/if} MTZ+6MDT+5,M4.1.0,M11.1.0 No 80 443 {$wam='Both'} {if isset($grandstream_web_access_mode)} {if $grandstream_web_access_mode == 0}{$wam='HTTPS'}{/if} {if $grandstream_web_access_mode == 1}{$wam='HTTP'}{/if} {if $grandstream_web_access_mode == 2}{$wam='Disabled'}{/if} {if $grandstream_web_access_mode == 3}{$wam='Both'}{/if} {/if} $wam} None 20 No 5 10 {$user_password} {if isset($admin_password)} {$admin_password} {else} {$mac|replace:'-':''} {/if} Yes Yes TLS_1_0 UNLIMITED 0 blinking {if isset($grandstream_speaker_ring_volume)} {$grandstream_speaker_ring_volume} {/if} Yes 0 No Yes 10 0 Yes https://acs.gdms.cloud Yes 86400 {$mac|replace:'-':''|upper} {$mac|replace:'-':''|upper} 7547 No {if isset($grandstream_firmware_upgrade_protocol) } {$grandstream_firmware_upgrade_protocol} {else} HTTP {/if} {if isset($grandstream_firmware_path) && isset($firmware_version)} {$grandstream_firmware_path}/{$firmware_version} {elseif isset($grandstream_firmware_path)} {$grandstream_firmware_path} {else} {$domain_name}{$project_path}/app/provision/resources/firmware/ {/if} HTTPS {if $grandstream_config_server_path=="none"} {elseif isset($grandstream_config_server_path)} {$grandstream_config_server_path} {elseif isset($domain_name)} {$domain_name}{$project_path}/app/provision {/if} {$http_auth_username} {$http_auth_password} No No No 10080 1 1 No AlwaysCheck {if isset($grandstream_dhcp_option_override)} {if $grandstream_dhcp_option_override == 0}No{/if} {if $grandstream_dhcp_option_override == 1}Yes{/if} {if $grandstream_dhcp_option_override == 2}Fallback{/if} {else} Yes {/if} {if isset($grandstream_dhcp_option_override_sip_server) && $grandstream_dhcp_option_override_sip_server == 1} Yes {else} No {/if} {if isset($grandstream_dhcp_option_additional_override)} {if $grandstream_dhcp_option_additional_override == 0}None{/if} {if $grandstream_dhcp_option_additional_override == 1}Option 150{/if} {if $grandstream_dhcp_option_additional_override == 2}Option 160{/if} {else} {/if} No No No No Yes UDP {$grandstream_syslog_server} {$sl='None'} {if isset($grandstream_syslog_level)} {if $grandstream_syslog_level == 1}{$sl='Debug'}{/if} {if $grandstream_syslog_level == 2}{$sl='Info'}{/if} {if $grandstream_syslog_level == 3}{$sl='Warning'}{/if} {if $grandstream_syslog_level == 4}{$sl='Error'}{/if} {/if} {$sl} {if isset($grandstream_send_sip_log) && $grandstream_send_sip_log==1} Yes {else} No {/if} No HTTP 0 No No 911 No No Yes None None None None None None None None None None No No guest AccountSharing AccountSharing Account1 No