]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
close MODENDP-149
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 18 Nov 2008 15:47:46 +0000 (15:47 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 18 Nov 2008 15:47:46 +0000 (15:47 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10440 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_loopback/mod_loopback.c

index 3aa63fd4b7695309a97e41935f91a4ef3d08ae05..e74f8c0ff430e5de44c06ca898785b5e8b2611a4 100644 (file)
@@ -694,6 +694,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
 
                        switch_snprintf(name, sizeof(name), "loopback/%s-a", caller_profile->destination_number);
                        switch_channel_set_name(channel, name);
+                       switch_channel_set_flag(channel, CF_OUTBOUND);
 
                        switch_channel_set_caller_profile(channel, caller_profile);
                        tech_pvt->caller_profile = caller_profile;