[asterisk-commits] mmichelson: branch group/CCSS r254558 - /team/group/CCSS/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Mar 25 13:00:03 CDT 2010
Author: mmichelson
Date: Thu Mar 25 12:59:59 2010
New Revision: 254558
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=254558
Log:
Lock the subscribe_pvt before sending a NOTIFY that a recall is possible.
Modified:
team/group/CCSS/channels/chan_sip.c
Modified: team/group/CCSS/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_sip.c?view=diff&rev=254558&r1=254557&r2=254558
==============================================================================
--- team/group/CCSS/channels/chan_sip.c (original)
+++ team/group/CCSS/channels/chan_sip.c Thu Mar 25 12:59:59 2010
@@ -1788,7 +1788,9 @@
/* Otherwise, we transmit a NOTIFY to the caller and await either
* a PUBLISH or an INVITE
*/
+ sip_pvt_lock(agent_pvt->subscribe_pvt);
transmit_cc_notify(agent, agent_pvt->subscribe_pvt, CC_READY);
+ sip_pvt_unlock(agent_pvt->subscribe_pvt);
return 0;
}
More information about the asterisk-commits
mailing list