[SR-Users] http_async_client expected result in $http_rr

Anthony Joseph Messina amessina at messinet.com
Wed Feb 10 04:13:47 CET 2021


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210209/979b5cfd/attachment.sig>


More information about the sr-users mailing list