[SR-Users] http_async_client expected result in $http_rr

Federico Cabiddu federico.cabiddu at gmail.com
Wed Feb 10 08:24:09 CET 2021


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 at 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 at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210210/b69c1b11/attachment.htm>


More information about the sr-users mailing list