aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authordvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-26 18:32:51 +0000
committerdvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-26 18:32:51 +0000
commitd7d771195af0536d7f1cfc4ea02d8b8756537c97 (patch)
tree5926e0e74e75b23cfeb8e19ab2ac8fca3da2acc1 /channels
parent95297c07768b77012f7ef64d255f81cafa6220f0 (diff)
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: http://svn.digium.com/svn/asterisk/trunk@266006 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 3cb3da637..131e5155d 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 */