Hi Milos Are you url-encoding the text you are sending?
Regards Alvaro |----------------------------------------------------------------------------------------| *7* Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. *q *Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire Le mer. 6 mai 2020 à 14:20, Milos Savic <sav...@gmail.com> a écrit : > Hi Davor, > > Thank you for you reply. > > I tried to add &coding=2 to send-url under smsc http group, but nothing > happens. The coding parameter does end up in the dummy service. If you > meant to add that to the application sending the request - unfortunately, I > am not able to do that. > > > On Wed, May 6, 2020 at 9:05 PM Davor Spasoski <davor.spaso...@a1.mk> > wrote: > >> Hi, >> >> You also need to set coding=2 and charset to utf-8. Only in that case >> kannel will know that you are submitting something outside the gsm 7-bit >> alphabet. >> >> BR, >> Davor >> >> On May 6, 2020, at 20:44, Milos Savic <sav...@gmail.com> wrote: >> >> Hi, >> >> I am testing a kannel installation which is supposed to send sms between >> a python service and a sms aggregator. Regular SMSs work, so I replaced the >> receiver with a service for testing purposes, which only logs outgoing >> messages. >> >> I am using kannel from Ubuntu repositories, version 1.4.4-5, with a >> generic type smsc, directed to my dummy receiving service, with >> >> send-url = http://proxy:9999/send?from=%P&to=&p&text=%b&message_id=%I >> >> What happens is that I send a test message with utf-8 characters, such as >> šđčćžшђчћж, and at the end I get a message "????? ?????", with all >> characters replaced with question marks. >> >> smsbox log shows a valid message, "sendsms sender:____ (<ip address>) to: >> <recipient> msg:<šđčćž шђчћж>, all charactes valid and shown properly. >> >> the matching bearerbox log entry states: >> Parsing URL `http://proxy:9999/send?from=8088&to=<encoded >> recipient>&text=%3F%3F%3F%3F%3F+%3F%3F%3F%3F%3F&message_id=<uuid of the >> message' >> >> The request at the proxy is, of course, equivalent to the parsed query. >> >> What happens to UTF8 characters? I tried alt-charset on smsc, but that >> made no changes at all. It seems to me that they get lost somewhere in >> communication between smsbox and smsc (according to logs). >> >> Any hints on solving this would be highly appreciated. Thank you! >> >> >> >> >> ------------------------------ >> >> Disclaimer: A1 Makedonija DOOEL Skopje >> This e-mail (including any attachments) is confidential and may be >> protected by legal privilege. If you are not the intended recipient, you >> should not copy it, re-transmit it, use it or disclose its contents, but >> should return it to the sender immediately and delete your copy from your >> system. Any unauthorized use or dissemination of this message in whole or >> in part is strictly prohibited. Please note that e-mails are susceptible to >> change. A1 Makedonija DOOEL Skopje shall not be liable for the improper or >> incomplete transmission of the information contained in this communication >> nor for any delay in its receipt or damage to your system. >> Please, do not print this e-mail unless it is necessary! Think about >> saving the environment! >> >> Напомена: А1 Македонија ДООЕЛ Скопје >> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може >> да биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му >> е наменета пораката, не треба да ја копирате, дистрибуирате или да ја >> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и >> да ја избришете оригиналната порака и сите нејзини копии од Вашиот >> компјутерски систем. Секое неовластено користење на оваа порака во целост >> или делови од истата е строго забрането. Ве молиме да забележите дека >> електронските пораки се подложни на промени. А1 Македонија ДООЕЛ Скопје не >> презема одговорност за несоодветно или нецелосно пренесување на >> информациите содржани во оваа комуникација, ниту пак за било какво >> задоцнување на приемот или оштетувања на вашиот систем. >> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте >> ја природата! >> >