[Freeswitch-svn] [commit] r12704 - freeswitch/trunk/src
FreeSWITCH SVN
anthm at freeswitch.org
Sat Mar 21 09:47:16 PDT 2009
Author: anthm
Date: Sat Mar 21 11:47:16 2009
New Revision: 12704
Log:
fix regression from r12585 FSCORE-331
Modified:
freeswitch/trunk/src/switch_ivr_originate.c
Modified: freeswitch/trunk/src/switch_ivr_originate.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_originate.c (original)
+++ freeswitch/trunk/src/switch_ivr_originate.c Sat Mar 21 11:47:16 2009
@@ -2142,11 +2142,11 @@
}
if (*bleg) {
- if (caller_channel && !switch_channel_get_originatee_caller_profile(caller_channel)) {
+ if (session && caller_channel && !switch_channel_get_originatee_caller_profile(caller_channel)) {
switch_caller_profile_t *cloned_profile, *peer_profile = switch_channel_get_caller_profile(switch_core_session_get_channel(*bleg));
if (peer_profile) {
- if ((cloned_profile = switch_caller_profile_clone(*bleg, peer_profile)) != 0) {
+ if ((cloned_profile = switch_caller_profile_clone(session, peer_profile)) != 0) {
switch_channel_set_originatee_caller_profile(caller_channel, cloned_profile);
}
}
More information about the Freeswitch-svn
mailing list