Following my previous comment.
It seems that the purpose of the last_uac_status line was to save the value of
uac->last_received before it is modified. This way last_uac_status would have
the value 0 when the first provisioning reply is received.
I guess we need the same thing here, right?
---
Hi,
Sorry for the long delay, the patch causes a new issue: OpenSIPS doesn't switch
from the fr_timer to the fr_inv_timer when the first provisional reply is
received.
Looking at the code without applying the patch, I see that last_uac_status is 0
when the first provisioning reply is received.