[sr-dev] Best way to URL encode in Kamailio?

Juha Heinanen jh at tutpro.com
Tue Oct 25 02:46:04 CEST 2011


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



More information about the sr-dev mailing list