{$mac|replace:'-':''} 1 {$account.1.display_name} {$account.1.server_address} {$account.1.user_id} {$account.1.auth_id} {$account.1.password} {$voicemail_number} {$account.1.display_name} 0 0 {$account.1.outbound_proxy_primary} {$account.1.server_address_secondary} {if isset($grandstream_dns_mode)} {$grandstream_dns_mode} {else} 0 {/if} 0 {if isset($grandstream_nat_traversal)} {$grandstream_nat_traversal} {else} 2 {/if} 1 2 {$account.1.register_expires} 0 20 5060 {if isset($subscribe_mwi)} 1 {else} 0 {/if} 0 30 3 180 90 0 1 0 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 0 0 0 1 0 0 0 0 0 50 400 0 0 0 0 1 0 1 0 101 0 8 9 9 9 9 9 9 0 1 1 1 0 126 123 0 104 1 {if isset($grandstream_srtp)} {$grandstream_srtp} {else} 0 {/if} 0 0 0 2 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 2 0 0 0 0 100 {if isset($grandstream_feature_key_sync)} {$grandstream_feature_key_sync} {/if} 0 4 60 -1 0 1 {if $nway_conference == 'true'}nway{$account.1.user_id}@{$account.1.server_address}{/if} {if isset($grandstream_account_ring_tone_1)} {$grandstream_account_ring_tone_1} {else} content://settings/system/ringtone {/if} 20 {$grandstream_distinctive_ringtone_name_1} content://settings/system/ringtone {$grandstream_distinctive_ringtone_name_2} content://settings/system/ringtone {$grandstream_distinctive_ringtone_name_3} content://settings/system/ringtone 0 {if isset($account.2.password)} 1 {else} 0 {/if} {$account.2.display_name} {$account.2.server_address} {$account.2.user_id} {$account.2.auth_id} {$account.2.password} {$voicemail_number} {$account.2.display_name} 0 0 {$account.2.outbound_proxy} {$account.2.outbound_proxy_secondary} {if isset($grandstream_dns_mode)} {$grandstream_dns_mode} {else} 0 {/if} 0 {if isset($grandstream_nat_traversal)} {$grandstream_nat_traversal} {else} 2 {/if} 1 0 {$account.2.register_expires} 0 20 5062 {if isset($subscribe_mwi)} 1 {else} 0 {/if} 0 30 3 1800 90 0 1 0 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 0 0 0 1 0 0 0 0 0 50 400 0 0 0 0 1 0 1 0 101 0 8 9 9 9 9 9 9 0 1 1 1 0 126 123 0 104 1 {if isset($grandstream_srtp)} {$grandstream_srtp} {else} 0 {/if} 0 0 0 2 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 2 0 0 0 0 100 0 0 4 60 -1 0 1 {if $nway_conference == 'true'}nway{$account.2.user_id}@{$account.2.server_address}{/if} 20 content://settings/system/ringtone 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.auth_id} {$user_password_3} {$voicemail_number} {$account.3.display_name} 0 0 {$account.3.outbound_proxy} {$account.3.outbound_proxy_secondary} {if isset($grandstream_dns_mode)} {$grandstream_dns_mode} {else} 0 {/if} 0 {if isset($grandstream_nat_traversal)} {$grandstream_nat_traversal} {else} 2 {/if} 1 0 {$account.3.register_expires} 0 20 5064 {if isset($subscribe_mwi)} 1 {else} 0 {/if} 0 30 3 180 90 0 1 0 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 0 0 0 1 0 0 0 0 0 50 400 0 0 0 0 1 0 1 0 101 0 8 9 9 9 9 9 9 0 1 1 1 0 126 123 0 104 1 {if isset($grandstream_srtp)} {$grandstream_srtp} {else} 0 {/if} 0 0 0 2 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 2 0 0 0 0 100 0 0 4 60 -1 0 1 {if $nway_conference == 'true'}nway{$account.3.user_id}@{$account.3.server_address}{/if} 20 {$grandstream_distinctive_ringtone_name_1} content://settings/system/ringtone 0 {if isset($account.4.password)} 1 {else} 0 {/if} {$account.4.display_name} {$account.4.server_address} {$account.4.user_id} {$account.4.auth_id} {$account.4.password} {$voicemail_number} {$account.4.display_name} 0 0 {$outbound_proxy_4} {$account.4.outbound_proxy_secondary} {if isset($grandstream_dns_mode)} {$grandstream_dns_mode} {else} 0 {/if} 0 {if isset($grandstream_nat_traversal)} {$grandstream_nat_traversal} {else} 2 {/if} 1 0 {$account.4.register_expires} 0 20 5066 {if isset($subscribe_mwi)} 1 {else} 0 {/if} 0 30 3 180 90 0 1 0 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 0 0 0 1 0 0 0 0 0 50 400 0 0 0 0 1 0 1 0 101 0 8 9 9 9 9 9 9 0 1 1 1 0 126 123 0 104 1 {if isset($grandstream_srtp)} {$grandstream_srtp} {else} 0 {/if} 0 0 0 2 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 2 0 0 0 0 100 0 0 4 60 -1 0 1 {if $nway_conference == 'true'}nway{$account.4.user_id}@{$account.4.server_address}{/if} {if isset($grandstream_account_ring_tone_4)} {$grandstream_account_ring_tone_4} {/if} 20 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.auth_id} {$account.5.password} {$voicemail_number} {$account.5.display_name} 0 0 {$account.5.outbound_proxy} {$account.5.outbound_proxy_secondary} {if isset($grandstream_dns_mode)} {$grandstream_dns_mode} {else} 0 {/if} 0 {if isset($grandstream_nat_traversal)} {$grandstream_nat_traversal} {else} 2 {/if} 1 0 {$account.5.register_expires} 0 20 5068 {if isset($subscribe_mwi)} 1 {else} 0 {/if} 0 30 3 180 90 0 1 0 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 0 0 0 1 0 0 0 0 0 50 400 0 0 0 0 1 0 1 0 101 0 8 9 9 9 9 9 9 0 1 1 1 0 126 123 0 104 1 {if isset($grandstream_srtp)} {$grandstream_srtp} {else} 0 {/if} 0 0 0 2 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 2 0 0 0 0 100 0 0 4 60 -1 0 1 {if $nway_conference == 'true'}nway{$account.5.user_id}@{$account.5.server_address}{/if} 20 content://settings/system/ringtone 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.auth_id} {$account.6.password} {$voicemail_number} {$display_name_6} 0 0 {$account.6.outbound_proxy} {$account.6.outbound_proxy_secondary} {if isset($grandstream_dns_mode)} {$grandstream_dns_mode} {else} 0 {/if} 0 {if isset($grandstream_nat_traversal)} {$grandstream_nat_traversal} {else} 2 {/if} 1 2 {$account.6.register_expires} 0 20 5070 {if isset($subscribe_mwi)} 1 {else} 0 {/if} 0 30 3 180 90 0 1 0 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 0 1 0 1 0 0 0 0 0 50 400 0 0 0 0 1 0 1 0 101 0 8 9 9 9 9 9 9 0 1 1 1 0 126 123 0 104 1 {if isset($grandstream_srtp)} {$grandstream_srtp} {else} 0 {/if} 0 0 0 2 50 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 2 0 0 0 0 100 0 0 4 60 -1 0 1 {if $nway_conference == 'true'}nway{$account.6.user_id}@{$account.6.server_address}{/if} 20 content://settings/system/ringtone content://settings/system/ringtone content://settings/system/ringtone content://settings/system/ringtone 0 5004 0 0 20 stun.ipvideotalk.com 0 0 0 0 0 2 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 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; 0 f1=480@-32,f2=620@-32,c=500/500; c=2000/4000; 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 {if isset($grandstream_ipv_mode)}{$grandstream_ipv_mode}{else}0{/if} 0 2 phone-{$account.1.display_name} GAC2500 1 30 48 48 {if isset($grandstream_lan_port_vlan) } {$grandstream_lan_port_vlan} {else} 0 {/if} 0 0 0 GAC2500 $version 0 0 64 0 0 {if isset($ntp_server_primary)} {$ntp_server_primary} {else} pool.ntp.org {/if} 1 0 1 2 911 0 0 0 80 {$admin_password} {$user_password} 0 s1ptest 0 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}{if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if}{/if} 1 {if isset($grandstream_firmware_path) && isset($firmware_version)} {$grandstream_firmware_path}/gac2500/{$firmware_version} {elseif isset($grandstream_firmware_path)} {$grandstream_firmware_path}/gac2500 {else} {$domain_name}{$project_path}/app/provision {/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 {if $grandstream_config_server_path=="none"} {elseif isset($grandstream_config_server_path)} {$grandstream_config_server_path} {else} {$domain_name}{$project_path}/app/provision {/if} {$http_auth_username} {$http_auth_password} 0 0 1 3 10080 1 1 1 0 0 1 {$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} 0 0 0 {if isset($contact_groups) || isset($contact_users) || isset($contact_extensions)} 2 {else} 0 {/if} 0 0 {$grandstream_phonebook_download} UTF-8 {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} 0 {$grandstream_ldap_server} 389 {$grandstream_ldap_base_dn} {$grandstream_ldap_username} {$grandstream_ldap_password} {$grandstream_ldap_name_attr} {$grandstream_ldap_number_attr} {$grandstream_ldap_name_filter} {$grandstream_ldap_number_filter} {$grandstream_ldap_display_name} 50 4 0 0 0 0 0 0 86400 0 0 0 0 0 0 0 0 0 0 {assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} {$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} -1 0 {/if} {/for} 1 1 1 1