[sr-dev] [kamailio/kamailio] $T_reply_last returns current reply status instead of previous (#735)

Daniel-Constantin Mierla notifications at github.com
Fri Aug 5 09:25:38 CEST 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160805/dd8e82b8/attachment-0001.html>


More information about the sr-dev mailing list