Update {$mac}.cfg

This commit is contained in:
Len 2018-03-14 15:47:49 -04:00 committed by GitHub
parent d7edf5aebf
commit c73ff6cdac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -107,15 +107,15 @@ account.1.reg_fail_retry_interval =
######################################################################################
##It enables or disables the NAT traversal for account X.0-Disabled,1-Enabled
##The default value is 0.
account.1.nat.nat_traversal =
account.1.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if}
##It configures the type of keep-alive packets sent by the phone to the NAT static to keep the communication port open so that NAT can continue to function for account X.
##0-Dsiabled,1-Default: the phone sends UDP packets to the server,2-Option: the phone sends SIP OPTION packets to the server,3-Notify: the phone sends SIP NOTIFY packets to the server.
##The default value is 1.
account.1.nat.udp_update_enable =
account.1.nat.udp_update_enable = 3
##It configures the keep-alive interval (in seconds) for account X.
##The default value is 30.Integer from 15 to 2147483647
account.1.nat.udp_update_time =
account.1.nat.udp_update_time = 30
##It enables or disables NAT Rport feature for account X.0-Disabled,1-Enabled
##The default value is 0.