Hi,
just tested on latest 5.4 (ubuntu 20.04, curl 7.68.0) and http_rr works as expected, returning the reason phrase.
Can you give some more detail and maybe run a test with increased debug level?

Regards,

Federico


On Wed, Feb 10, 2021 at 4:14 AM Anthony Joseph Messina <amessina@messinet.com> wrote:
https://www.kamailio.org/docs/modules/stable/modules/http_async_client says
$http_rr will be the HTTP reason phrase.  I'm understanding this to mean:

Code:   Reason:
200     OK
404     Not Found

In my current 5.4 build, $http_rr returns empty (not <null> or anything else)
regardless of what the server sends in the headers.

Am I misunderstanding this?  I'm writing an API and was hoping to do

send_reply("$http_rs", "$http_rr");

--
Anthony - https://messinet.com
F9B6 560E 68EA 037D 8C3D  D1C9 FF31 3BDB D9D8 99B6
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users