5 Aug
2015
5 Aug
'15
6:30 a.m.
Hi I'm using pure java sockets (not current available esl implementations) with event_socket to control sessions. to detect lan disconnects I'm using session_heartbeat events every 1 second (this is adjustable). Considering performance is this a bad approach or not ? any better suggestions? if I execute enable_heartbeat before answering the call this message is printed on console: switch_core_session.c:1555 sofia/internal/1000@172.16.90.1 using scheduler due to bypass media or media is not established. should I answer the session before calling enable_heartbeat? thanks