Hi guys,
Attached is my template for a dual reg SPA 504g.
To make this work you have to set same variables either as a profile or per phone, The variables are:
spa_dual_registration = [Yes/No] Yes will turn on dual reg, No will only reg the primary
spa_server_ip = [IP ADDRESS] The IP of your primary Fusion Server
spa_alternate_server_ip = [IP ADDRESS] The IP of your alternate Fusion Server
Here is an example of the relevant xml
Code:
<Proxy_1_ group="Ext_1/Proxy_and_Registration">{$server_address_1}</Proxy_1_>
<Use_Outbound_Proxy_1_ group="Ext_1/Proxy_and_Registration">Yes</Use_Outbound_Proxy_1_>
<Outbound_Proxy_1_ group="Ext_1/Proxy_and_Registration">{$spa_server_ip}:{$sip_port_1}</Outbound_Proxy_1_>
<Alternate_Proxy_1_ group="Ext_1/Proxy_and_Registration">{$server_address_1}</Alternate_Proxy_1_>
<Alternate_Outbound_Proxy_1_ group="Ext_1/Proxy_and_Registration">{$spa_alternate_server_ip}:{$sip_port_1}</Alternate_Outbound_Proxy_1_>
<Use_OB_Proxy_In_Dialog_1_ group="Ext_1/Proxy_and_Registration">Yes</Use_OB_Proxy_In_Dialog_1_>
<Register_1_ group="Ext_1/Proxy_and_Registration">Yes</Register_1_>
<Make_Call_Without_Reg_1_ group="Ext_1/Proxy_and_Registration">No</Make_Call_Without_Reg_1_>
<Register_Expires_1_ group="Ext_1/Proxy_and_Registration">{$register_expires_1}</Register_Expires_1_>
<Ans_Call_Without_Reg_1_ group="Ext_1/Proxy_and_Registration">No</Ans_Call_Without_Reg_1_>
{if $sip_transport_1 == 'dns srv'}<Use_DNS_SRV_1_ group="Ext_1/Proxy_and_Registration">Yes</Use_DNS_SRV_1_>{/if}
{if $sip_transport_1 != 'dns srv'}<Use_DNS_SRV_1_ group="Ext_1/Proxy_and_Registration">No</Use_DNS_SRV_1_>{/if}
<DNS_SRV_Auto_Prefix_1_ group="Ext_1/Proxy_and_Registration">No</DNS_SRV_Auto_Prefix_1_>
<Proxy_Fallback_Intvl_1_ group="Ext_1/Proxy_and_Registration">600</Proxy_Fallback_Intvl_1_>
<Proxy_Redundancy_Method_1_ group="Ext_1/Proxy_and_Registration">Normal</Proxy_Redundancy_Method_1_>
{if ($spa_dual_registration) == 'Yes'}<Dual_Registration_1_ group="Ext_1/Proxy_and_Registration">Yes</Dual_Registration_1_>{/if}
{if ($spa_dual_registration) == 'No'}<Dual_Registration_1_ group="Ext_1/Proxy_and_Registration">No</Dual_Registration_1_>{/if}
<Auto_Register_When_Failover_1_ group="Ext_1/Proxy_and_Registration">{if isset($spa_register_when_failover)}Yes{else}No{/if}</Auto_Register_When_Failover_1_>
A reminder SIP transport must be UDP for this to work