Add application layer keepalive options to sofia and expose config options

Conflicts:
	src/mod/endpoints/mod_sofia/mod_sofia.h
This commit is contained in:
Brian West
2013-04-25 13:34:07 -05:00
committed by Anthony Minessale
parent b4feb4d93f
commit 115061a4da
2 changed files with 23 additions and 2 deletions
+6
View File
@@ -282,6 +282,9 @@ typedef enum {
PFLAG_FIRE_MESSAGE_EVENTS,
PFLAG_SEND_DISPLAY_UPDATE,
PFLAG_RUNNING_TRANS,
PFLAG_TCP_KEEPALIVE,
PFLAG_TCP_PINGPONG,
PFLAG_TCP_PING2PONG,
/* No new flags below this line */
PFLAG_MAX
} PFLAGS;
@@ -703,6 +706,9 @@ struct sofia_profile {
uint32_t rtp_digit_delay;
switch_queue_t *event_queue;
switch_thread_t *thread;
int tcp_keepalive;
int tcp_pingpong;
int tcp_ping2pong;
};
struct private_object {