[asterisk-commits] bbryant: branch bbryant/sip-call-pickup r313609 - /team/bbryant/sip-call-pick...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Apr 13 12:17:53 CDT 2011
Author: bbryant
Date: Wed Apr 13 12:17:45 2011
New Revision: 313609
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=313609
Log:
Fix a mistake in the branch I overlooked this morning.
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=313609&r1=313608&r2=313609
==============================================================================
--- team/bbryant/sip-call-pickup/channels/chan_sip.c (original)
+++ team/bbryant/sip-call-pickup/channels/chan_sip.c Wed Apr 13 12:17:45 2011
@@ -22097,12 +22097,11 @@
sip_pvt_unlock(p);
c->hangupcause = AST_CAUSE_CALL_REJECTED;
} else {
- sip_pvt_unlock(p);
c->hangupcause = AST_CAUSE_NORMAL_CLEARING;
- }
- p->invitestate = INV_COMPLETED;
+ }
ast_hangup(c);
sip_pvt_lock(p);
+ p->invitestate = INV_COMPLETED;
c = NULL;
}
break;
More information about the asterisk-commits
mailing list