diff options
author | Damien Wedhorn <voip@facts.com.au> | 2013-07-11 20:17:53 +0000 |
---|---|---|
committer | Damien Wedhorn <voip@facts.com.au> | 2013-07-11 20:17:53 +0000 |
commit | 6a2b3af90cf80055c47fa02b52a3a0e8a329c21a (patch) | |
tree | 9855d437ded786cef738f7db6a70a1abf20126d9 /channels/chan_unistim.c | |
parent | 0ce29906eb59208f6a05f0e58060538687cd8eb4 (diff) |
Refactor and cleanup of skinny session handling.
Major changes are to pull all packet reading functions into skinny_session
and move timeout handling to scheduling arrangements. Thread cancelling is
now undertaken directly rather than waiting for the read to timeout
(cleanup is popped on thread cancel). Also added some keepalive timings in
debugging messages.
Keepalive timeout has been increased from 1.1 by keepalive to 3 times
keepalive. This seems to align (after keepalives stabilise) with when
devices reset after not receiving keepalives. Probably needs more work,
especially around the first and/or second keepalives that vary
significantly by device and firmware version.
Review: https://reviewboard.asterisk.org/r/2611/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_unistim.c')
0 files changed, 0 insertions, 0 deletions