diff --git a/resources/templates/provision/grandstream/gxp2200/{$mac}.xml b/resources/templates/provision/grandstream/gxp2200/{$mac}.xml index c30a1ef003..40e114917b 100644 --- a/resources/templates/provision/grandstream/gxp2200/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2200/{$mac}.xml @@ -5,223 +5,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -233,7 +16,7 @@ 1 - +{$account.1.display_name} {$account.1.server_address} @@ -262,10 +45,10 @@ - +{$account.1.outbound_proxy_primary} - +{$account.1.outbound_proxy_secondary} @@ -359,7 +142,13 @@ -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} @@ -699,10 +488,10 @@ - +{$account.2.outbound_proxy_primary} - +{$account.2.outbound_proxy_secondary} @@ -3215,9 +3004,9 @@ Account 5 Codec Settings {if isset($grandstream_firmware_path) && isset($firmware_version)} -{$grandstream_firmware_path}/gxp2200/{$firmware_version} +{$grandstream_firmware_path}/{$firmware_version} {elseif isset($grandstream_firmware_path)} -{$grandstream_firmware_path}/gxp2200 +{$grandstream_firmware_path}/ {else} {$domain_name}{$project_path}/app/provision {/if}