[Freeswitch-svn] [commit] r5569 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN mikej at freeswitch.org
Sat Aug 4 02:09:48 EDT 2007


Author: mikej
Date: Sat Aug  4 02:09:48 2007
New Revision: 5569

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c

Log:
fix for MODENDP-21.  We should add better handling of all the possible values for this.

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	Sat Aug  4 02:09:48 2007
@@ -1088,7 +1088,7 @@
 			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;



More information about the Freeswitch-svn mailing list