Skip to content
Snippets Groups Projects
Commit 1eedc8af authored by Joshua Colp's avatar Joshua Colp
Browse files

Merged revisions 44806 via svnmerge from

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

........
r44806 | file | 2006-10-10 12:30:00 -0400 (Tue, 10 Oct 2006) | 2 lines

Bail out if we have no refer structure and we get a refer response

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent fadc6c4e
Branches
Tags
No related merge requests found
......@@ -11489,6 +11489,12 @@ static void handle_response_refer(struct sip_pvt *p, int resp, char *rest, struc
char *auth = "Proxy-Authenticate";
char *auth2 = "Proxy-Authorization";
 
/* If no refer structure exists, then do nothing */
if (!p->refer) {
ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);
return;
}
switch (resp) {
case 202: /* Transfer accepted */
/* We need to do something here */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment