mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-24 01:08:34 -07:00
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:
+1
-3
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user