[SR-Users] kamailio with kannel

eyas barhouk eyas37 at hotmail.com
Mon Jul 2 22:57:46 CEST 2018


hello dears ,

i'm trying to use "http_client" module to post  SMS from kamailio to kannel using the following configuration :


.......

modparam("http_client", "httpcon", "kannel=>http://username:password@127.0.0.1:443")
..........

.........

http_connect("kannel","cgi-bin/sendsms?user=username&pass=password&charset=utf-16&coding=2&from=$avp(from)&to=$avp(to)&text=$(avp(text){s.escape.user})","$var(result)");

.......

And this test success for English characters & phrases, but when i'm trying to send Arabic or Chinese characters it only success if the content of the SMS only has one word.
in other-word i mean when i'm trying to send more than one Arabic word with a space between each word it reply with HTTP error code 400.

so do you have any ideas about this problem  ??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180702/7712466c/attachment.html>


More information about the sr-users mailing list