.......
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)");.......