Hi other SR-Devs-
I am making xmlrpc calls from with Kamailio via http_query(url, response). This is working nicely.
Question 1: Please, what is the best way to URL encode from within the Kamailio config file? Got a simple code sample?
Question 2: I am considering writing an extension to http_query that allows HTTP POST. This will allow us to send more data than is allowed in a HTTP GET URL. I'd like this to be my first contribution to the Kamailio source code. Comments?
Thanks for your time and attention, all!
Regards,
Bruce Stephenson energyscholar@gmail.com CTO of Starnumber SA
Bruce Stephenson writes:
Question 1: Please, what is the best way to URL encode from within the Kamailio config file? Got a simple code sample?
there is one in readme of utils module. was something wrong with it?
Question 2: I am considering writing an extension to http_query that allows HTTP POST. This will allow us to send more data than is allowed in a HTTP GET URL. I'd like this to be my first contribution to the Kamailio source code. Comments?
go ahead. for example, you could add http_post_query() function to utils module.
-- juha