Dear Davor
Thank you and appreciate your prompt response.

Yes, as shown below I tried without url encoding the payload and even removing 
the encoding tag from the XML document. BUT STILL NO LUCK

<?xml version = "1.0" encoding="UTF-8" standalone = "no" ?>
    <message>
        <submit>
         <da><number>94777289868</number></da>
        <oa><number>94115753753</number></oa>
        <ud>රසික</ud>
        <dcs><coding>1</coding><mclass>1</mclass></dcs>
        <from>
        <username>bellvantage</username>
        <password>password@123</password>
        </from>
        </submit>
    </message>

Please assist.

Sent on the move. Please excuse typos.


> On Aug 23, 2019, at 8:11 PM, Davor Spasoski <davor.spaso...@onevip.mk> wrote:
> 
> Have you tried not url-encoding the payload?
> Your form may already encode the entire xml.
> 
> Davor
> 
>> On Aug 23, 2019, at 14:12, Rasika Udayanga <ras...@bellvantage.com> wrote:
>> 
>> Hello,
>> I’m trying to send Sinhala (Sri Lankan) letters through Kannel and that 
>> works perfectly with GET method with coding 2 and charset utf-8
>>  
>> http://10.9.8.25:13013/cgi-bin/sendsms?username=******&password=******&to=94777289868&from=94115753753&priority=0&text=%E0%B6%BB%E0%B7%83%E0%B7%92%E0%B6%9A&coding=2&charset=utf-8
>> Have you tried not url-encoding the payload?
>> Your form may already encode the entire xml.
>> 
>> Davor
>> 
>>> On Aug 23, 2019, at 14:12, Rasika Udayanga <ras...@bellvantage.com> wrote:
>>> 
>>> Hello,
>>> I’m trying to send Sinhala (Sri Lankan) letters through Kannel and that 
>>> works perfectly with GET method with coding 2 and charset utf-8
>>>  
>>> http://10.9.8.25:13013/cgi-bin/sendsms?username=******&password=******&to=94777289868&from=94115753753&priority=0&text=%E0%B6%BB%E0%B7%83%E0%B7%92%E0%B6%9A&coding=2&charset=utf-8
>>>  
>>> When I try to send as a XML Post as shown below (having message text 
>>> url-encoded and without encoded), the messages are delivered to IPhone BUT 
>>> NOT DELIVERED TO ANDROID PHONES. 
>>>  
>>> Can someone please assist me as to where I’m doing wrong here. 
>>>  
>>> <?xml version = "1.0" encoding="UTF-8" standalone = "no" ?>
>>>     <message>
>>>         <submit>
>>>          <da><number>94777289868</number></da>
>>>         <oa><number>94115753753</number></oa>
>>>         <ud>%E0%B6%BB%E0%B7%83%E0%B7%92%E0%B6%9A</ud>
>>>         <dcs><coding>1</coding><mclass>1</mclass></dcs>
>>>         <from>
>>>         <username>bellvantage</username>
>>>         <password>password@123</password>
>>>         </from>
>>>         </submit>
>>>     </message>
>>>  
>>>  
>>> <?xml version = "1.0" encoding="UTF-8" standalone = "no" ?>
>>>     <message>
>>>         <submit>
>>>          <da><number>94777289868</number></da>
>>>         <oa><number>94115753753</number></oa>
>>>         <ud>රසික</ud>
>>>         <dcs><coding>1</coding><mclass>1</mclass></dcs>
>>>         <from>
>>>         <username>bellvantage</username>
>>>         <password>password@123</password>
>>>         </from>
>>>         </submit>
>>>     </message>
>>>  
>>> Regards,
>>> Rasika Udayanga
>>> 0777289868
>> 
>> 
>> 
>> Disclaimer: one.Vip 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. 
>> one.Vip 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!
>> 
>> Напомена: оне.Вип ДООЕЛ Скопје
>> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да 
>> биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е 
>> наменета пораката, не треба да ја копирате, дистрибуирате или да ја 
>> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и 
>> да ја избришете оригиналната порака и сите нејзини копии од Вашиот 
>> компјутерски систем. Секое неовластено користење на оваа порака во целост 
>> или делови од истата е строго забрането. Ве молиме да забележите дека 
>> електронските пораки се подложни на промени. оне.Вип ДООЕЛ Скопје не презема 
>> одговорност за несоодветно или нецелосно пренесување на информациите 
>> содржани во оваа комуникација, ниту пак за било какво задоцнување на приемот 
>> или оштетувања на вашиот систем.
>> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
>> природата!

Reply via email to