Opened 9 years ago
Closed 9 years ago
#1938 closed defect (fixed)
Wrong registration renewal flag info in PJSUA registration callback when unregistration fails
Reported by: | nanang | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-2.5.5 |
Component: | pjsua-lib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description
Reported that when an unregistration fails with 408, pjsua_reg_info.renew in on_reg_state2() callback is PJ_TRUE, while it should be PJ_FALSE. After investigation, it turns out that pjsua_reg_info.renew is evaluated by checking whether the current active registration interval value (of a successful registration) is non-zero. As the unregistration has just failed, the inteval value is still a possitive number, hence pjsua_reg_info.renew value in the unregistration callback is PJ_TRUE.
Thanks Nadia Lapkovskaya for the report.
Change History (1)
comment:1 Changed 9 years ago by nanang
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
In 5356: