]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 266006 via svnmerge from
authorDavid Vossel <dvossel@digium.com>
Wed, 26 May 2010 18:37:11 +0000 (18:37 +0000)
committerDavid Vossel <dvossel@digium.com>
Wed, 26 May 2010 18:37:11 +0000 (18:37 +0000)
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: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@266007 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index f7af488827784692f72b672a6bfa123ebbc586d3..cb7cf3caf0578791911293102588fd7e88773df8 100644 (file)
@@ -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 */