]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
pass callee_id on early
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 22 Nov 2013 21:53:05 +0000 (02:53 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 22 Nov 2013 21:53:05 +0000 (02:53 +0500)
src/switch_ivr_originate.c

index b30df42a98cfd1efa9d40e40ebd45cd3a1c3bb1e..a284bfc03698835ea5d425c0340cebe246c01087 100644 (file)
@@ -3478,6 +3478,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
                                        if (switch_channel_test_flag(caller_channel, CF_PROXY_MODE)) {
                                                status = SWITCH_STATUS_SUCCESS;
                                        } else {
+                                               switch_channel_pass_callee_id(peer_channel, caller_channel);
                                                status = switch_channel_pre_answer(caller_channel);
                                        }
                                } else {