From: Michael Jerris Date: Sat, 4 Aug 2007 06:09:48 +0000 (+0000) Subject: fix for MODENDP-21. We should add better handling of all the possible values for... X-Git-Tag: v1.0-beta1~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36509dfeb4059c4a056369461c4dd73ccb638e9d;p=thirdparty%2Ffreeswitch.git 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 --- 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;