[OpenSIPS-Users] Query- to read a text file content by openSIPS

Ramachandran, Agalya (Contractor) Agalya_Ramachandran at comcast.com
Mon Oct 3 17:21:11 CEST 2016


Hi team,

I have a question and it follows:

If we need to add a header for Authorization purpose, before making a REST call, we need to use rest_append_hf_method()
E.X: rest_append_hf("Authorization: Bearer mF_9.B5f-4.1JqM");

My question is, If I want to read a text file, is there any function exposed so that I can read the text file and place the content of the text file for Authorization header?

Also, Is there a way that I need to read the text file for every hour and read the file?

Please guide me how this can be achieved?

Regards,
Agalya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20161003/9d1d3f67/attachment.htm>


More information about the Users mailing list