[asterisk-commits] bbryant: branch bbryant/sip-call-pickup r313526 - /team/bbryant/sip-call-pick...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 13 09:33:23 CDT 2011


Author: bbryant
Date: Wed Apr 13 09:33:18 2011
New Revision: 313526

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=313526
Log:
Add the patch to my branch for backup purposes. This project is currently at a stage where testing has been successful, and just needs to be peer reviewed.

Modified:
    team/bbryant/sip-call-pickup/channels/chan_sip.c

Modified: team/bbryant/sip-call-pickup/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/bbryant/sip-call-pickup/channels/chan_sip.c?view=diff&rev=313526&r1=313525&r2=313526
==============================================================================
--- team/bbryant/sip-call-pickup/channels/chan_sip.c (original)
+++ team/bbryant/sip-call-pickup/channels/chan_sip.c Wed Apr 13 09:33:18 2011
@@ -22087,7 +22087,9 @@
 			} else {	/* Pickup call in call group */
 				ast_channel_unlock(c);
 				*nounlock = 1;
+				sip_pvt_unlock(p);
 				if (ast_pickup_call(c)) {
+					sip_pvt_lock(p);
 					ast_log(LOG_NOTICE, "Nothing to pick up for %s\n", p->callid);
 					transmit_response_reliable(p, "503 Unavailable", req);
 					sip_alreadygone(p);




More information about the asterisk-commits mailing list