[Freeswitch-svn] [commit] r11536 - freeswitch/trunk/src/mod/endpoints/mod_loopback

FreeSWITCH SVN anthm at freeswitch.org
Wed Jan 28 05:43:32 PST 2009


Author: anthm
Date: Wed Jan 28 07:43:32 2009
New Revision: 11536

Log:
MODENDP-180

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_loopback/mod_loopback.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_loopback/mod_loopback.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_loopback/mod_loopback.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_loopback/mod_loopback.c	Wed Jan 28 07:43:32 2009
@@ -276,7 +276,7 @@
 		goto end;
 	}
 
-	switch_channel_set_variable(channel, "loopback_leg", switch_test_flag(tech_pvt, TFLAG_OUTBOUND) ? "B" : "A");
+	switch_channel_set_variable(channel, "loopback_leg", switch_test_flag(tech_pvt, TFLAG_BLEG) ? "B" : "A");
 	switch_channel_set_state(channel, CS_ROUTING);
 
  end:



More information about the Freeswitch-svn mailing list