{$mac|replace:'-':''} 1 {$account.1.display_name} {if $account.1.sip_transport != 'dns srv'} {$account.1.server_address}:{$account.1.sip_port} {else} {$account.1.server_address} {/if} {if $account.1.sip_transport != 'dns srv' && isset($account.1.server_address_secondary)} {$account.1.server_address_secondary}:{$account.1.sip_port} {else} {$account.1.server_address_secondary} {/if} {$account.1.user_id} {$account.1.auth_id} {$account.1.password} {$account.1.display_name} 0 {$voicemail_number} {if $account.1.sip_transport != 'dns srv' && isset($account.1.outbound_proxy_primary)} {$account.1.outbound_proxy_primary}:{$account.1.sip_port} {else} {$account.1.outbound_proxy_primary} {/if} {if $account.1.sip_transport != 'dns srv' && isset($account.1.outbound_proxy_secondary)} {$account.1.outbound_proxy_secondary}:{$account.1.sip_port} {else} {$account.1.outbound_proxy_secondary} {/if} {if isset($grandstream_dns_mode)} {$grandstream_dns_mode} {else} 0 {/if} 0 {if isset($grandstream_nat_traversal)} {$grandstream_nat_traversal} {else} 0 {/if} 1 2 {if isset($account.1.register_expires)} {$account.1.register_expires} {else} 2 {/if} 0 20 0 0 30 3 {if isset($subscribe_mwi)} 1 {else} 0 {/if} 0 0 {$tp=0} {if $sip_transport_1 == 'udp'}{$tp=0}{/if} {if $sip_transport_1 == 'tcp'}{$tp=1}{/if} {if $sip_transport_1 == 'tls'}{$tp=2}{/if} {if $sip_transport_1 == 'dns srv'} {if isset($grandstream_dnssrv_transport)} {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} {else}{$tp=1} {/if} {else}{$tp=1} {/if} {/if} {$tp} 5060 0 0 1 50 400 0 0 0 1 180 90 0 1 0 0 0 0 0 8 9 9 9 9 9 9 1 0 1 123 {if isset($grandstream_senddtmf_inaudio) } {$grandstream_senddtmf_inaudio} {else} 0 {/if} {if isset($grandstream_senddtmf_rtp) } {$grandstream_senddtmf_rtp} {else} 1 {/if} {if isset($grandstream_senddtmf_sipinfo) } {$grandstream_senddtmf_sipinfo} {else} 0 {/if} 101 1 0 121 124 0 2 {if isset($grandstream_srtp)} {$grandstream_srtp} {else} 0 {/if} 0 1 0 0 0 0 0 0 0 0 0 0 0 4 60 0 1 {$grandstream_dial_plan} 0 0 0 {if isset($grandstream_distinctive_ringtone_name_1)} {$grandstream_distinctive_ringtone_name_1} {else} ring1 {/if} {if isset($grandstream_distinctive_ringtone_name_2)} {$grandstream_distinctive_ringtone_name_2} {else} ring2 {/if} {$grandstream_distinctive_ringtone_name_3} 0 0 0 0 0 0 0 0 0 100 {if isset($account.2.password)} 1 {else} 0 {/if} {$account.2.display_name} {if $account.2.sip_transport != 'dns srv'} {$account.2.server_address}:{$account.2.sip_port} {else} {$account.2.server_address} {/if} {if $account.2.sip_transport != 'dns srv' && isset($account.2.server_address_secondary)} {$account.2.server_address_secondary}:{$account.2.sip_port} {else} {$account.2.server_address_secondary} {/if} {$account.2.user_id} {$account.2.auth_id} {$account.2.password} {$account.2.display_name} 0 {$voicemail_number} {if $account.2.sip_transport != 'dns srv' && isset($account.2.outbound_proxy_primary)} {$account.2.outbound_proxy_primary}:{$account.2.sip_port} {else} {$account.2.outbound_proxy_primary} {/if} {if $account.2.sip_transport != 'dns srv' && isset($account.2.outbound_proxy_secondary)} {$account.2.outbound_proxy_secondary}:{$account.2.sip_port} {else} {$account.2.outbound_proxy_secondary} {/if} {if isset($grandstream_dns_mode)} {$grandstream_dns_mode} {else} 0 {/if} 0 {if isset($grandstream_nat_traversal)} {$grandstream_nat_traversal} {else} 0 {/if} 1 0 {if isset($account.2.register_expires)} {$account.2.register_expires} {else} 2 {/if} 0 20 0 0 30 3 {if isset($subscribe_mwi)} 1 {else} 0 {/if} 0 0 {$tp=0} {if $sip_transport_2 == 'udp'}{$tp=0}{/if} {if $sip_transport_2 == 'tcp'}{$tp=1}{/if} {if $sip_transport_2 == 'tls'}{$tp=2}{/if} {if $sip_transport_2 == 'dns srv'} {if isset($grandstream_dnssrv_transport)} {if $grandstream_dnssrv_transport == 'udp'}{$tp=0} {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2} {else}{$tp=1} {/if} {else}{$tp=1} {/if} {/if} {$tp} 5060 1 0 1 50 400 0 0 0 1 180 90 0 1 0 0 0 0 0 8 9 9 9 9 9 9 1 0 1 123 {if isset($grandstream_senddtmf_inaudio) } {$grandstream_senddtmf_inaudio} {else} 0 {/if} {if isset($grandstream_senddtmf_rtp) } {$grandstream_senddtmf_rtp} {else} 1 {/if} {if isset($grandstream_senddtmf_sipinfo) } {$grandstream_senddtmf_sipinfo} {else} 0 {/if} 101 1 0 121 124 0 2 {if isset($grandstream_srtp)} {$grandstream_srtp} {else} 0 {/if} 0 0 0 0 0 0 0 0 0 0 1 0 4 60 0 1 {$grandstream_dial_plan} 0 0 0 {$grandstream_distinctive_ringtone_name_1} 0 {$grandstream_distinctive_ringtone_name_2} {$grandstream_distinctive_ringtone_2} {$grandstream_distinctive_ringtone_name_3} {$grandstream_distinctive_ringtone_3} 0 0 0 0 0 0 0 0 0 100 50040 1 0 20 stun.ipvideotalk.com 0 0 1 0 0 0 0 0 1 0 0 1 {if isset($grandstream_headset_ring)} {$grandstream_headset_ring} {/if} 30 0 0 2 [()-] 1 0 f f f f f f 0 {if isset($grandstream_ptt_enable)} {$grandstream_ptt_enable} {else} 0 {/if} 30 0 1 8 {$account.1.display_name} 224.0.1.116:5001 1 24 25 1100000000000000000000011 1100000000000000000000011 1111111111111111111111111 1111111111111111111111111 1 0 30 0 0 channel(*) 26 49 50 1100000000000000000000011 1100000000000000000000011 1111111111111111111111111 1111111111111111111111111 0 0 0 0 {if isset($grandstream_wallpaper_url)} 1 {$grandstream_wallpaper_url} {/if} 1 phone-{$user_id_1} {if isset($grandstream_wifi_roam_scan_interval_good)} {$grandstream_wifi_roam_scan_interval_good} {/if} {if isset($grandstream_wifi_roam_scan_interval_poor)} {$grandstream_wifi_roam_scan_interval_poor} {/if} {if isset($grandstream_wifi_roam_signal_threshold)} {$grandstream_wifi_roam_signal_threshold} {/if} {if isset($ntp_server_primary)} {$ntp_server_primary} {else} pool.ntp.org {/if} 1 {if isset($grandstream_dhcp_time_zone)}{$grandstream_dhcp_time_zone}{else}0{/if} {if isset($grandstream_timezone) } {$grandstream_timezone} {elseif isset($grandstream_gxp_time_zone) } {$grandstream_gxp_time_zone} {else} auto {/if} 0 {if isset($grandstream_date_display_format)} {$grandstream_date_display_format} {else} 2 {/if} en_US 1 0 80 0 {if isset($admin_password)} {$admin_password} {else} {$mac|replace:'-':''} {/if} 1 https://acs.gdms.cloud {if isset ($grandstream_tr069_periodic_inform_enable)} {$grandstream_tr069_periodic_inform_enable} {else} 0 {/if} 86400 {$mac|replace:'-':''|upper} {$mac|replace:'-':''|upper} 7547 {if isset($grandstream_firmware_upgrade_protocol) } {$grandstream_firmware_upgrade_protocol} {else} 2 {/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} 2 {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} 0 0 0 1440 1 1 0 1 {if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if} {if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if} 1 0 0 1 0 {$grandstream_syslog_server} {if isset($grandstream_syslog_level)} {$grandstream_syslog_level} {else} 0 {/if} 0 0 {$grandstream_phonebook_download} {if isset($grandstream_phonebook_xml_server_path)} {$grandstream_phonebook_xml_server_path}/{$mac} {else} {/if} {$http_auth_username} {$http_auth_password} {if isset($grandstream_phonebook_download_interval)} {$grandstream_phonebook_download_interval} {else} 0 {/if}