MODENDP-180

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11536 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-01-28 13:43:32 +00:00
parent 314ae8b6f3
commit 26be5929ba

View File

@ -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: