diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-09 12:00:19 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-09 12:00:19 +0000 |
commit | 7b257c663a00b7877f5ef20312678ae50e43d484 (patch) | |
tree | 5b5a276bb2f6c7040d3093c31acc7f56719e1da7 /channels | |
parent | 89468a55f5aaca4f0cd5606382c5711d552de23c (diff) |
Clear proper flag
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42521 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 6f67557f4..6354d6d0a 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -11197,7 +11197,7 @@ static void check_pendings(struct sip_pvt *p) } else { transmit_request_with_auth(p, SIP_BYE, 0, 1, 1); ast_set_flag(&p->flags[0], SIP_NEEDDESTROY); - ast_clear_flag(&p->flags[0], SIP_NEEDREINVITE); + ast_clear_flag(&p->flags[0], SIP_CAN_BYE); } } else if (ast_test_flag(&p->flags[0], SIP_NEEDREINVITE)) { if (option_debug) |