Don't destroy dialog for unexpected REFER response...

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson
2006-10-16 13:00:07 +00:00
parent 2ba44e6b10
commit eaaddb90bf
+1 -3
View File
@@ -11548,10 +11548,8 @@ static void handle_response_refer(struct sip_pvt *p, int resp, char *rest, struc
char *auth2 = "Proxy-Authorization";
/* If no refer structure exists, then do nothing */
if (!p->refer) {
ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);
if (!p->refer)
return;
}
switch (resp) {
case 202: /* Transfer accepted */