----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/4084/#review13547 -----------------------------------------------------------
Ship it! Ship It! - Mark Michelson On Oct. 16, 2014, 2:41 p.m., Joshua Colp wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviewboard.asterisk.org/r/4084/ > ----------------------------------------------------------- > > (Updated Oct. 16, 2014, 2:41 p.m.) > > > Review request for Asterisk Developers. > > > Repository: Asterisk > > > Description > ------- > > Reusing connections is a good thing(tm). In the case of NAT it means that you > have an actual way to exchange data back and forth. In practice, however, > some things (such as PJSIP) close down the TCP connection after a short > period of time (in the case of PJSIP for UAC it's 33 seconds). While PJSIP > has a built in keepalive mechanism this is by default set to 90 seconds and > can only be controlled at compile time. > > The attached module implements its own keepalive which is configurable at > runtime and does not require configuration. This sends a lightweight > keepalive to keep the TCP (or TLS) connection open. > > > Diffs > ----- > > /trunk/res/res_pjsip_keepalive.c PRE-CREATION > /trunk/res/res_pjsip/config_global.c 425690 > /trunk/res/res_pjsip.c 425690 > /trunk/include/asterisk/res_pjsip.h 425690 > /trunk/configs/samples/pjsip.conf.sample 425690 > > Diff: https://reviewboard.asterisk.org/r/4084/diff/ > > > Testing > ------- > > Configured keepalives and used wireshark to verify that at the specific > interval the message went out. > > > Thanks, > > Joshua Colp > >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
