Currently, the refresh period is controlled solely on the server side: https://github.com/asterisk/asterisk/blob/master/configs/samples/iax.conf.sample#L286
The value used by the client in its request is hardcoded: https://github.com/asterisk/asterisk/blob/master/channels/chan_iax2.c#L8987
Thus, the client always asks for 60, meaning if the server minimum is higher, the server minimum will be used, even if the max is higher. This should be configurable so an individual registration could use a higher value, to reduce network traffic.
You must be logged in to leave a comment.