[asterisk-commits] seanbright: branch seanbright/issue5014 r144168 - /team/seanbright/issue5014/...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Sep 23 19:28:04 CDT 2008
Author: seanbright
Date: Tue Sep 23 19:28:03 2008
New Revision: 144168
URL: http://svn.digium.com/view/asterisk?view=rev&rev=144168
Log:
Hang up the zombie.
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=144168&r1=144167&r2=144168
==============================================================================
--- team/seanbright/issue5014/channels/chan_sip.c (original)
+++ team/seanbright/issue5014/channels/chan_sip.c Tue Sep 23 19:28:03 2008
@@ -17716,7 +17716,12 @@
ast_setstate(c, AST_STATE_RING);
/* Do the pickup itself */
+ ast_channel_unlock(c);
+ *nounlock = 1;
do_magic_pickup(c, pickup->exten, pickup->context);
+
+ /* Now we're either masqueraded or we failed to pickup, in either case we... */
+ ast_hangup(c);
/* Do a bit of cleanup */
ast_free(pickup->exten);
More information about the asterisk-commits
mailing list