don't set subscribed if termconf
This commit is contained in:
parent
3ebaf443d3
commit
aab54c330e
1 changed files with 2 additions and 1 deletions
|
@ -208,7 +208,8 @@ static void notify_handler(struct sipevent_sock *sock,
|
|||
|
||||
case SIPEVENT_ACTIVE:
|
||||
case SIPEVENT_PENDING:
|
||||
sub->subscribed = true;
|
||||
if (!sub->termconf)
|
||||
sub->subscribed = true;
|
||||
|
||||
if (!sub->terminated && !sub->termwait &&
|
||||
pl_isset(&state.expires))
|
||||
|
|
Loading…
Add table
Reference in a new issue