mod_skinny: FS-6720 - fix issue with SLA - had to do with answering in wrong state

This commit is contained in:
Nathan Neulinger 2014-08-27 10:38:16 -05:00
parent 323a3d617c
commit 2db039bc5f
1 changed files with 1 additions and 1 deletions

View File

@ -1485,7 +1485,7 @@ switch_status_t skinny_handle_off_hook_message(listener_t *listener, skinny_mess
line_state = skinny_line_get_state(listener, line_instance, call_id);
if(session && line_state != SKINNY_OFF_HOOK ) { /*answering a call */
if(session && line_state == SKINNY_RING_IN ) { /*answering a call */
skinny_session_answer(session, listener, line_instance);
} else { /* start a new call */
skinny_create_incoming_session(listener, &line_instance, &session);