From 36509dfeb4059c4a056369461c4dd73ccb638e9d Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sat, 4 Aug 2007 06:09:48 +0000 Subject: [PATCH] fix for MODENDP-21. We should add better handling of all the possible values for this. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5569 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia_glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index cf24d369ca..9f919450fa 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -1088,7 +1088,7 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, sdp_session_t * continue; } - if (!strcasecmp(a->a_name, "sendonly")) { + if ((!strcasecmp(a->a_name, "sendonly")) || (!strcasecmp(a->a_name, "inactive"))) { sendonly = 1; } else if (!strcasecmp(a->a_name, "sendrecv")) { sendonly = 0;