{if isset($account.1.password)} 1 {else} 0 {/if} {$account.1.display_name} {$account.1.server_address} {$account.1.user_id} {$account.1.user_id} {$account.1.password} {$voicemail_number} {$account.1.display_name} {$account.1.outbound_proxy_primary} {$account.2.outbound_proxy_secondary} 0 {if isset($grandstream_nat_traversal_1)} {$grandstream_nat_traversal_1} {else} 0 {/if} 1 0 {$account.1.register_expires} 20 5060 {if isset($subscribe_mwi)} 1 {else} 0 {/if} 180 90 0 1 0 0 0 0 0 0 0 {$tp=0} {if $account.1.sip_transport == 'udp'}{$tp=0}{/if} {if $account.1.sip_transport == 'tcp'}{$tp=1}{/if} {if $account.1.sip_transport == 'tls'}{$tp=2}{/if} {if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if} {$tp} 0 1 {if isset($grandstream_validate_incoming_sip)} 1 {else} 0 {/if} 0 50 400 0 0 0 1 15 0 1 0 101 0 0 0 0 0 500 99 0 0 2 1 1 1 0 {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} 0 0 0 0 0 100 0 0 4 60 0 1 {if $nway_conference == 'true'}nway{$account.1.user_id}@{$account.1.server_address}{/if} 0 0 0 {if isset($grandstream_account_ring_tone_1)||$grandstream_account_ring_tone_1==0} {$grandstream_account_ring_tone_1} {else} content://settings/system/ringtone {/if} 20 {$grandstream_distinctive_ringtone_name_1} {if isset($grandstream_ring_tone_1_1)||$grandstream_ring_tone_1_1==0} {$grandstream_ring_tone_1_1} {/if} {if isset($grandstream_ring_tone_caller_id_2_1)} {$grandstream_ring_tone_caller_id_2_1} {/if} {if isset($grandstream_ring_tone_2_1)||$grandstream_ring_tone_2_1==0} {$grandstream_ring_tone_2_1} {/if} {if isset($grandstream_ring_tone_caller_id_3_1)} {$grandstream_ring_tone_caller_id_3_1} {/if} {if isset($grandstream_ring_tone_3_1)||$grandstream_ring_tone_2_1==0} {$grandstream_ring_tone_3_1} {/if} 0 {if isset($account.2.password)} 1 {else} 0 {/if} {$account.2.display_name} {$account.2.server_address} {$account.2.user_id} {$account.2.user_id} {$account.2.password} {$voicemail_number} {$account.2.display_name} 0 {$account.2.outbound_proxy_primary} {$account.2.outbound_proxy_secondary} 0 2 1 0 {$account.2.register_expires} 20 5062 {if isset($subscribe_mwi)} 1 {else} 0 {/if} 180 90 0 1 0 0 0 0 0 0 0 {$tp=0} {if $account.2.sip_transport == 'udp'}{$tp=0}{/if} {if $account.2.sip_transport == 'tcp'}{$tp=1}{/if} {if $account.2.sip_transport == 'tls'}{$tp=2}{/if} {if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if} {$tp} 0 1 0 0 50 400 0 0 0 1 15 0 1 0 101 0 0 0 0 0 500 99 0 0 2 1 1 1 0 {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} 0 0 0 0 0 100 0 0 4 60 0 {if $nway_conference == 'true'}nway{$account.2.user_id}@{$account.2.server_address}{/if} 0 0 0 1 content://settings/system/ringtone 20 content://settings/system/ringtone content://settings/system/ringtone content://settings/system/ringtone 0 {if isset($account.3.password)} 1 {else} 0 {/if} {$account.3.display_name} {$account.3.server_address} {$account.3.user_id} {$account.3.user_id} {$account.3.password} {$voicemail_number} = {$account.3.display_name} 0 {$account.3.outbound_proxy_primary} {$account.3.outbound_proxy_secondary} 0 2 1 0 {$account.3.register_expires} 20 5064 {if isset($subscribe_mwi)} 1 {else} 0 {/if} 180 90 0 1 0 0 0 0 0 0 0 {$tp=0} {if $account.3.sip_transport == 'udp'}{$tp=0}{/if} {if $account.3.sip_transport == 'tcp'}{$tp=1}{/if} {if $account.3.sip_transport == 'tls'}{$tp=2}{/if} {if $account.3.sip_transport == 'dns srv'}{$tp=1}{/if} {$tp} 0 1 0 0 50 400 0 0 0 1 15 0 1 0 101 0 0 0 0 0 500 99 0 0 2 1 1 1 0 {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} 0 0 0 0 0 100 0 0 4 60 0 1 {if $nway_conference == 'true'}nway{$account.3.user_id}@{$account.3.server_address}{/if} 0 0 content://settings/system/ringtone 20 {$grandstream_distinctive_ringtone_name_1} content://settings/system/ringtone content://settings/system/ringtone content://settings/system/ringtone 0 {if isset($account.4.password)} 1 {else} 0 {/if} {$account.4.server_address} {$account.4.user_id} {$account.4.user_id} {$account.4.password} {$voicemail_number} {$account.4.display_name} 0 {$account.4.outbound_proxy_primary} {$account.4.outbound_proxy_secondary} 0 2 1 0 {$account.4.register_expires} 20 5066 {if isset($subscribe_mwi)} 1 {else} 0 {/if} 180 90 0 1 0 0 0 0 0 0 0 {$tp=0} {if $account.4.sip_transport == 'udp'}{$tp=0}{/if} {if $account.4.sip_transport == 'tcp'}{$tp=1}{/if} {if $account.4.sip_transport == 'tls'}{$tp=2}{/if} {if $account.4.sip_transport == 'dns srv'}{$tp=1}{/if} {$tp} 0 1 0 0 50 400 0 0 0 1 15 0 1 0 101 0 0 0 0 0 500 99 0 0 2 1 1 1 0 {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} 0 0 0 0 0 100 0 0 4 60 0 1 {if $nway_conference == 'true'}nway{$account.4.user_id}@{$account.4.server_address}{/if} content://settings/system/ringtone 20 0 0 0 content://settings/system/ringtone content://settings/system/ringtone content://settings/system/ringtone 0 {if isset($account.5.password)} 1 {else} 0 {/if} {$account.5.display_name} {$account.5.server_address} {$account.5.user_id} {$account.5.user_id} {$account.5.password} {$voicemail_number} {$account.5.display_name} 0 {$account.5.outbound_proxy_primary} 0 2 1 0 {$account.5.register_expires} 20 5068 {if isset($subscribe_mwi)} 1 {else} 0 {/if} 180 90 0 1 0 0 0 0 0 0 0 {$tp=0} {if $account.5.sip_transport == 'udp'}{$tp=0}{/if} {if $account.5.sip_transport == 'tcp'}{$tp=1}{/if} {if $account.5.sip_transport == 'tls'}{$tp=2}{/if} {if $account.5.sip_transport == 'dns srv'}{$tp=1}{/if} {$tp} 0 1 0 0 50 400 0 0 0 1 15 0 1 0 101 0 0 0 0 0 500 99 0 0 2 1 1 1 0 {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} 0 0 0 0 0 100 0 0 4 60 0 1 {if $nway_conference == 'true'}nway{$account.5.user_id}@{$account.5.server_address}{/if} 0 0 0 content://settings/system/ringtone 20 content://settings/system/ringtone content://settings/system/ringtone content://settings/system/ringtone 0 {if isset($account.6.password)} 1 {else} 0 {/if} {$account.6.display_name} {$account.6.server_address} {$account.6.user_id} {$account.6.user_id} {$account.6.password} {$voicemail_number} {$account.6.display_name} 0 {$account.6.outbound_proxy_primary} {$account.6.outbound_proxy_secondary} 0 2 1 0 {$account.6.register_expires} 20 5070 {if isset($subscribe_mwi)} 1 {else} 0 {/if} 180 90 0 1 0 0 0 0 0 0 0 {$tp=0} {if $account.6.sip_transport == 'udp'}{$tp=0}{/if} {if $account.6.sip_transport == 'tcp'}{$tp=1}{/if} {if $account.6.sip_transport == 'tls'}{$tp=2}{/if} {if $account.6.sip_transport == 'dns srv'}{$tp=1}{/if} {$tp} 0 1 0 0 50 400 0 0 0 1 15 0 1 0 101 0 0 0 0 0 500 99 0 0 2 1 1 1 0 {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} 0 0 0 0 0 100 0 0 4 60 0 1 {if $nway_conference == 'true'}nway{$account.6.user_id}@{$account.6.server_address}{/if} 0 0 0 content://settings/system/ringtone 20 content://settings/system/ringtone content://settings/system/ringtone content://settings/system/ringtone 0 5004 0 0 20 {if isset($grandstream_stun_server) } {$grandstream_stun_server} {else} {/if} {if isset($grandstream_headset_ring)} {$grandstream_headset_ring} {/if} 0 0 0 0 0 0 0 0 0 0 1 15 f1=350@-13,f2=440@-13,c=0/0; f1=440@-19,f2=480@-19,c=2000/4000; f1=480@-24,f2=620@-24,c=500/500; f1=480@-24,f2=620@-24,c=250/250; f1=350@-11,f2=440@-11,c=100/100-100/100-100/100; f1=440@-13,c=300/10000-300/10000-0/0; 1 f1=480@-32,f2=620@-32,c=500/500; c=2000/4000; ** ** ** ** ** ** 0 GXV3275 48 48 {if isset($grandstream_lan_port_vlan) } {$grandstream_lan_port_vlan} {else} 0 {/if} 0 0 {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} {$grandstream_gxp_time_zone} {$grandstream_gxp_time_format} {$grandstream_gxp_date_format} 0 0 80 {$admin_password} {$user_password} 0 {$http_auth_username} {$http_auth_password} 2 {if isset($grandstream_firmware_path) && isset($firmware_version)} {$grandstream_firmware_path}/gxv3275/{$firmware_version} {elseif isset($grandstream_firmware_path)} {$grandstream_firmware_path}/gxv3275 {else} {$domain_name}{$project_path}/app/provision {/if} {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} 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}{if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if}{/if} 1 {if isset($grandstream_auto_upgrade)} {$grandstream_auto_upgrade} {else} 0 {/if} 10080 1 1 0 1 0 {$grandstream_syslog_server} {if isset($grandstream_syslog_level)} {$grandstream_syslog_level} {else} 0 {/if} {if isset($grandstream_send_sip_log)} {$grandstream_send_sip_log} {else} 0 {/if} {if isset ($grandstream_tr069_enable)} {$grandstream_tr069_enable} {else} 0 {/if} {if isset ($grandstream_tr069_periodic_inform_enable)} {$grandstream_tr069_periodic_inform_enable} {else} 0 {/if} 86400 {$mac|replace:'-':''|upper} {$mac|replace:'-':''|upper} 0 0 0 UTF-8 {if isset($contact_grandstream)} {$grandstream_phonebook_xml_server_path}{$mac}/ {elseif isset($grandstream_phonebook_xml_server_path)} {$grandstream_phonebook_xml_server_path} {else} {/if} 0 {$grandstream_ldap_server} 389 {$grandstream_ldap_base_dn} {$ldap_username} {$ldap_password} {$grandstream_ldap_name_attr} {$grandstream_ldap_number_attr} {$grandstream_ldap_mail_attr} {$grandstream_ldap_number_filter} {$grandstream_ldap_name_filter} {$grandstream_ldap_mail_filter} 50 30 0 0 1000 500 1000 0 0 0 0 0 0 {if isset($grandstream_headset_tx_gain)} {$grandstream_headset_tx_gain} {else} 0 {/if} {if isset($grandstream_headset_rx_gain)} {$grandstream_headset_rx_gain} {else} 0 {/if} {if isset($grandstream_headset_key_mode)} {$grandstream_headset_key_mode} {/if} {if isset($grandstream_headset_type)} {$grandstream_headset_type} {$grandstream_headset_type} {/if} 0 0 0 0 0 0 0 0 0 0 0 0 MPK 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 {assign var=key_types value=["speed dial"=>0, "blf"=>1, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"transfer"=>8,"call park"=>9,"intercom"=>10,"multicast paging"=>13,"call log"=>15]} {$start_id=23000} {for $exp=1 to 160} {$pid=$exp*5-5} {if isset($keys.expansion.$exp.device_key_category) && isset($keys.expansion.$exp.device_key_type) && $keys.expansion.$exp.device_key_type|in_array:$key_types} {$key_types[$keys.expansion.$exp.device_key_type]} {$keys.expansion.$exp.device_key_line} {$keys.expansion.$exp.device_key_label} {$keys.expansion.$exp.device_key_value} {else} 0 0 {/if} {/for}