diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-16 13:00:07 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-16 13:00:07 +0000 |
commit | 8deb28783bf5a2c54b8f70ae5d612a2b55bd2ccd (patch) | |
tree | 74de174bfb4300f21427043d62c2883199b1239b /channels | |
parent | cf53c9f424410a2a87191b64226e246b593c7fec (diff) |
Don't destroy dialog for unexpected REFER response...
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45196 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 62e5d3529..286269751 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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 */ |