set substate based on mb
This commit is contained in:
parent
1a346cbd6e
commit
fd6c3251f8
1 changed files with 3 additions and 1 deletions
|
@ -215,7 +215,9 @@ static int print_substate(struct re_printf *pf, const struct sipnot *not)
|
|||
|
||||
expires = (uint32_t)(tmr_get_expire(¬->tmr) / 1000);
|
||||
|
||||
return re_hprintf(pf, "active;expires=%u", expires);
|
||||
return re_hprintf(pf, "%s;expires=%u",
|
||||
not->mb ? "active" : "pending",
|
||||
expires);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue