Update {$mac}.cfg

fix for yealink dns srv to work.
This commit is contained in:
blackc2004
2015-10-07 13:43:17 -07:00
parent 0d3da4dcbe
commit 4784df0964

View File

@@ -44,7 +44,11 @@ account.1.naptr_build = 0
account.1.fallback.redundancy_type = 0
account.1.fallback.timeout = 120
account.1.sip_server.1.address =
{if $sip_transport_1 == 'dns srv'}
account.1.sip_server.1.port = 0
{else}
account.1.sip_server.1.port = 5060
{/if}
#Configure the register expiry time (in seconds), the default value is 3600.
account.1.sip_server.1.expires = {$register_expires_1}
account.1.sip_server.1.retry_counts = 3
@@ -3038,4 +3042,4 @@ expansion_module.1.key.{$row.device_key_id}.xml_phonebook =
#expansion_module.2.key.1.label =
#expansion_module.2.key.1.xml_phonebook =
#expansion_module.2.key.1.type =
#expansion_module.2.key.1.label =
#expansion_module.2.key.1.label =