aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-26 18:37:11 +0000
committerdvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-26 18:37:11 +0000
commit51a19a149f0ea28efed4087f1a037c9cc67178b4 (patch)
tree82eb8983c3367853815e3bed3c2eb77345f59385
parent5d8d0f85275061bb21aacddd61794605f8774a15 (diff)
Merged revisions 266006 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r266006 | dvossel | 2010-05-26 13:32:51 -0500 (Wed, 26 May 2010) | 8 lines 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/branches/1.6.2@266007 f38db490-d61c-443f-a65b-d21fe96a405b
-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 f7af48882..cb7cf3caf 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -20321,6 +20321,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 */