From: Anthony Minessale Date: Wed, 28 Jan 2009 13:43:32 +0000 (+0000) Subject: MODENDP-180 X-Git-Tag: v1.0.3~535 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26be5929ba249683311c339b855963c402446acb;p=thirdparty%2Ffreeswitch.git MODENDP-180 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11536 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_loopback/mod_loopback.c b/src/mod/endpoints/mod_loopback/mod_loopback.c index 0e463b858b..398faa3863 100644 --- a/src/mod/endpoints/mod_loopback/mod_loopback.c +++ b/src/mod/endpoints/mod_loopback/mod_loopback.c @@ -276,7 +276,7 @@ static switch_status_t channel_on_init(switch_core_session_t *session) 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: