Difference between revisions of "DUM Keep Alive Manager"
Revision as of 10:33, 8 August 2005
The keep alive manager is responsible for sending CR/LF packets to all Network Associations for active registration and invite sessions.
To enable keep alive messages you need to call:
auto_prt<KeepAliveManager> keepAlive(new KeepAliveManager); dum->setKeepAliveManager(keepAlive); dum->getMasterProfile()->setKeepAliveTime(30); // Set Keep alive interval to 30 seconds
Note: There is no notification to the application if sending the keep alive results in a TCP disconnection or a failed UDP send - although the next SIP message sent, will likely cause a 4xx response to be returned from the stack (if the connection is still lost).
Overriding the KeepAliveManager class is useful if your application would like to track network Associations.