From: Anthony Minessale Date: Mon, 16 Apr 2007 19:41:33 +0000 (+0000) Subject: ... X-Git-Tag: v1.0-beta1~514 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3cc03d69249d873b2a42360c00113c18bc4b725;p=thirdparty%2Ffreeswitch.git ... git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4947 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index eebfbc2e8a..6395a9fecf 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -535,7 +535,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess continue; } - switch_core_session_read_lock(peer_sessions[i]); + switch_core_session_read_lock(new_session); pool = NULL; caller_profiles[i] = new_profile;