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
1.4
Olle Johansson 19 years ago
parent 2ba44e6b10
commit eaaddb90bf

@ -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 */

Loading…
Cancel
Save