The PV _$T_reply_last_ is supposed to return the _previous_ reply status. Since commit b7c588dff06 to fix #315 this PV returns the _current_ reply status.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/735
Thanks for reporting, I will analyze as I get a chance.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/735#issuecomment-236971174
Looking at the code, it seems that the last reply is the one returned now -- the name is a bit misleading if it expects the previous reply. I think it needs a dedicated field in the structure if one needs to get access to previous reply code. I would also suggest to add an alias like $T(prev_reply) for more suggestive name and obsolete $T_reply_last over the time, or let the one like it is now and add $T(prev_reply) for prev reply code.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/735#issuecomment-237775870
Closing as being too old and no interest for long time. If still wanted, just make a pull request.
Closed #735.