mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
res_pjsip: Add rtp_keepalive endpoint option.
This adds an "rtp_keepalive" option for PJSIP endpoints. Similar to the chan_sip option, this specifies an interval, in seconds, at which we will send RTP comfort noise frames. This can be useful for keeping RTP sessions alive as well as keeping NAT associations alive during lulls. ASTERISK-25242 #close Reported by Mark Michelson Change-Id: I3b9903d99e35fe5d0b53ecc46df82c750776bc8d
This commit is contained in:
@@ -502,6 +502,8 @@ struct ast_sip_media_rtp_configuration {
|
||||
enum ast_sip_session_media_encryption encryption;
|
||||
/*! Do we want to optimistically support encryption if possible? */
|
||||
unsigned int encryption_optimistic;
|
||||
/*! Number of seconds between RTP keepalive packets */
|
||||
unsigned int keepalive;
|
||||
};
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user