From: Russell Bryant Date: Thu, 6 Sep 2007 22:32:03 +0000 (+0000) Subject: fix the build ... oops X-Git-Tag: 1.6.0-beta1~3^2~1499 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc8ac382b8879f6ae97d56b02059ad0451be7f52;p=thirdparty%2Fasterisk.git fix the build ... oops git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81849 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 0160ba68fb..cb5a8d9072 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -14013,9 +14013,9 @@ static int sip_park(struct ast_channel *chan1, struct ast_channel *chan2, struct * that hold the channel lock and want the pvt lock. */ while (ast_channel_trylock(chan2)) { struct sip_pvt *pvt = chan2->tech_pvt; - ast_mutex_unlock(&pvt->lock); + sip_pvt_unlock(pvt); usleep(1); - ast_mutex_lock(&pvt->lock); + sip_pvt_lock(pvt); } ast_channel_masquerade(transferer, chan2); ast_channel_unlock(chan2);