From: David Vossel Date: Wed, 26 May 2010 18:32:51 +0000 (+0000) Subject: fixes failed SIP Directed pickup resulting in dead channel X-Git-Tag: 11.0.0-beta1~2960 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07500098c1eafdad2dd6cab5f4e343465c8916d0;p=thirdparty%2Fasterisk.git fixes failed SIP Directed pickup resulting in dead channel (closes issue #17339) Reported by: one47 Patches: sip_magic_pickup2 uploaded by one47 (license 23) Tested by: one47, dvossel git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@266006 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 3cb3da637d..131e5155db 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -20789,6 +20789,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int /* Let the caller know we're giving it a shot */ transmit_response(p, "100 Trying", req); + p->invitestate = INV_PROCEEDING; ast_setstate(c, AST_STATE_RING); /* Do the pickup itself */