Hi guys, I have configured kannel to work with SMPP. I can send and receive ASCII messages without any problem. I can send Persian messages without any problem. but when receiving it is converted to ASCII characters. Based on user guide I have set sms-service section like this:
group = sms-service keyword = default get-url = "http://1.1.1.1/income/Submit?from=%p&to=%P&content=%a" concatenation = true forced-smsc = my-smsc catch-all = true max-messages = 0 alt-charset = UTF8 But when starting bearerbox it says: ERROR: Group 'sms-service' may not contain field 'alt-charset' user guide says about alt-charset: Defines which character encoding is used for the SMS message when passed to a remote HTTP application. This includes how the SMS message text is send in the HTTP GET parameter list and in the HTTP POST bidy. Uses iconv() routines to convert from and to that specific character set encoding. See your local iconv_open(3) manual page for the supported character encodings and the type strings that should be presented for this directive. Then why not it is working? the get-url is a servlet like this: protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { /* set character encoding */ request.setCharacterEncoding("UTF-8"); response.setCharacterEncoding("UTF-8"); /* process message */ } Also when I set al-charset in smsc section it doesn't change anything. Can anyone help?
