[asterisk-dev] [Code Review] 4588: IAX make calltoken expiration time configurable

Joshua Colp reviewboard at asterisk.org
Mon Apr 6 11:31:54 CDT 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4588/#review15067
-----------------------------------------------------------



trunk/channels/chan_iax2.c
<https://reviewboard.asterisk.org/r/4588/#comment25746>

    Newer code should use sscanf for converting.



trunk/channels/chan_iax2.c
<https://reviewboard.asterisk.org/r/4588/#comment25745>

    This should be removed.


- Joshua Colp


On April 3, 2015, 10:06 p.m., Y Ateya wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4588/
> -----------------------------------------------------------
> 
> (Updated April 3, 2015, 10:06 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Bugs: ASTERISK-24939
>     https://issues.asterisk.org/jira/browse/ASTERISK-24939
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> The section 4.1 in call token changes to IAX protocol (http://downloads.asterisk.org/pub/security/IAX2-security.html):
> 
>  "The token timeout will be hard coded at 10 seconds for now. However, it may be made configurable at some point if it seems to be a useful addition"
> 
> In case of lagged network cases (or bad network which required multiple retries) 10 seconds is not enough.
> 
> Changes:
>  - Change name of MAX_CALLTOKEN_DELAY to lower case and remove const.
>  - Add general configuration variable `calltokenexpiration`
> 
> 
> Diffs
> -----
> 
>   trunk/configs/samples/iax.conf.sample 432806 
>   trunk/channels/chan_iax2.c 432806 
> 
> Diff: https://reviewboard.asterisk.org/r/4588/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Y Ateya
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150406/ceec75a3/attachment-0001.html>


More information about the asterisk-dev mailing list