channels/chan_iax2: Add a configuration parameter for call token expiration
authorMatthew Jordan <mjordan@digium.com>
Fri, 10 Apr 2015 12:23:42 +0000 (12:23 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 10 Apr 2015 12:23:42 +0000 (12:23 +0000)
commitb3d01f1fbf16160ef2a4cf3a3d37f5b4fce782f4
tree02049a32b3994bb77da62a546eb905b1e4a3805e
parented6b6e3c03d9ab54bb3fcb2fe3c912837dd3a007
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
CHANGES
channels/chan_iax2.c
configs/samples/iax.conf.sample