diff options
author | Matthew Jordan <mjordan@digium.com> | 2015-04-10 12:23:42 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2015-04-10 12:23:42 +0000 |
commit | b3d01f1fbf16160ef2a4cf3a3d37f5b4fce782f4 (patch) | |
tree | 02049a32b3994bb77da62a546eb905b1e4a3805e /configs/samples | |
parent | ed6b6e3c03d9ab54bb3fcb2fe3c912837dd3a007 (diff) |
channels/chan_iax2: Add a configuration parameter for call token expiration
This patch adds a new configuration parameter, 'calltokenexpiration', that
controls how long before an authentication call token is expired. The default
maintains the RFC specified 10 seconds. Setting it to a higher value may be
useful in lossy networks.
Review: https://reviewboard.asterisk.org/r/4588
ASTERISK-24939 #close
Reported by: Y Ateya
patches:
ctoken_configuration.diff submitted by Y Ateya (License 6693)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@434563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/samples')
-rw-r--r-- | configs/samples/iax.conf.sample | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/samples/iax.conf.sample b/configs/samples/iax.conf.sample index 1d9623afb..ebe4d7fdc 100644 --- a/configs/samples/iax.conf.sample +++ b/configs/samples/iax.conf.sample @@ -431,6 +431,10 @@ autokill=yes ; ;requirecalltoken=no ; +; Maximum time allowed for call token authentication handshaking. Default is 10 seconds. +; Use higher values in lagged or high packet loss networks. +; +;calltokenexpiration=10 ; ; These options are used to limit the amount of call numbers allocated to a |