[asterisk-commits] seanbright: branch seanbright/issue5014 r143882 - /team/seanbright/issue5014/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Sep 21 13:26:24 CDT 2008


Author: seanbright
Date: Sun Sep 21 13:26:23 2008
New Revision: 143882

URL: http://svn.digium.com/view/asterisk?view=rev&rev=143882
Log:
Silly locks.

Modified:
    team/seanbright/issue5014/channels/chan_sip.c

Modified: team/seanbright/issue5014/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/seanbright/issue5014/channels/chan_sip.c?view=diff&rev=143882&r1=143881&r2=143882
==============================================================================
--- team/seanbright/issue5014/channels/chan_sip.c (original)
+++ team/seanbright/issue5014/channels/chan_sip.c Sun Sep 21 13:26:23 2008
@@ -17706,13 +17706,11 @@
 			/* Let the caller know we're giving it a shot */
 			transmit_response(p, "100 Trying", req);
 			ast_setstate(c, AST_STATE_RING);
-			ast_channel_unlock(c);
 
 			/* Do the pickup itself */
 			do_magic_pickup(c, pickup->exten, pickup->context);
 
 			/* Do a bit of cleanup */
-			sip_pvt_unlock(p);
 			ast_free(pickup->exten);
 			ast_free(pickup->context);
 			ast_free(pickup);




More information about the asterisk-commits mailing list