fix the build ... oops
authorRussell Bryant <russell@russellbryant.com>
Thu, 6 Sep 2007 22:32:03 +0000 (22:32 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 6 Sep 2007 22:32:03 +0000 (22:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81849 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 0160ba6..cb5a8d9 100644 (file)
@@ -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);