Skip to content
Snippets Groups Projects
Commit d89f0b09 authored by Mark Michelson's avatar Mark Michelson Committed by Gerrit Code Review
Browse files

Merge "chan_sip.c: AMI & CLI notify methods get different values of asterisk's own ip."

parents c9a5f98e 55a7367a
Branches
Tags
No related merge requests found
......@@ -15160,6 +15160,12 @@ static int manager_sipnotify(struct mansession *s, const struct message *m)
}
}
 
/* Now that we have the peer's address, set our ip and change callid */
ast_sip_ouraddrfor(&p->sa, &p->ourip, p);
build_via(p);
change_callid_pvt(p, NULL);
sip_scheddestroy(p, SIP_TRANS_TIMEOUT);
transmit_invite(p, SIP_NOTIFY, 0, 2, NULL);
dialog_unref(p, "bump down the count of p since we're done with it.");
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment