Skip to content
Snippets Groups Projects
Commit c48bee8e authored by Stefan Schmidt's avatar Stefan Schmidt
Browse files

Merged revisions 340718 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/10

................
  r340718 | schmidts | 2011-10-13 06:59:50 +0000 (Thu, 13 Oct 2011) | 9 lines
  
  Merged revisions 340717 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.8
  
  ........
    r340717 | schmidts | 2011-10-13 06:58:00 +0000 (Thu, 13 Oct 2011) | 3 lines
    
    storing the route-set also on a 181 response not only on 180,182 or 183.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@340720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 5c77498a
No related merge requests found
...@@ -20036,6 +20036,13 @@ static void handle_response_invite(struct sip_pvt *p, int resp, const char *rest ...@@ -20036,6 +20036,13 @@ static void handle_response_invite(struct sip_pvt *p, int resp, const char *rest
case 181: /* Call Is Being Forwarded */ case 181: /* Call Is Being Forwarded */
if (!req->ignore && (p->invitestate != INV_CANCELLED) && sip_cancel_destroy(p)) if (!req->ignore && (p->invitestate != INV_CANCELLED) && sip_cancel_destroy(p))
ast_log(LOG_WARNING, "Unable to cancel SIP destruction. Expect bad things.\n"); ast_log(LOG_WARNING, "Unable to cancel SIP destruction. Expect bad things.\n");
/* Store Route-set from provisional SIP responses so
* early-dialog request can be routed properly
* */
parse_ok_contact(p, req);
if (!reinvite) {
build_route(p, req, 1);
}
if (!req->ignore && p->owner) { if (!req->ignore && p->owner) {
struct ast_party_redirecting redirecting; struct ast_party_redirecting redirecting;
struct ast_set_party_redirecting update_redirecting; struct ast_set_party_redirecting update_redirecting;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment