Skip to content

Commit b7daa98

Browse files
author
twilson
committed
Merged revisions 285017 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r285017 | twilson | 2010-09-03 18:19:54 -0500 (Fri, 03 Sep 2010) | 4 lines Call correct lock function as transferer is a sip_pvt not a channel Both functions are #defined to ao2_lock, but still... ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@285029 f38db490-d61c-443f-a65b-d21fe96a405b
1 parent 308a4ad commit b7daa98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

channels/chan_sip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21767,7 +21767,7 @@ static int local_attended_transfer(struct sip_pvt *transferer, struct sip_dual *
2176721767

2176821768
ast_do_masquerade(target.chan1);
2176921769

21770-
ast_channel_lock(transferer); /* the transferer pvt is expected to remain locked on return */
21770+
sip_pvt_lock(transferer); /* the transferer pvt is expected to remain locked on return */
2177121771

2177221772
ast_indicate(target.chan1, AST_CONTROL_UNHOLD);
2177321773

0 commit comments

Comments
 (0)