RE: Need an Assistance in my Kannel Config
Dear Davor, I’m sending 63 as the dlr mask. Can that be a cause to not to receive some of the delivery reports of those were acknowledged? Please assist. “dlr_mask=63” Regards, Rasika. From: Davor Spasoski [mailto:davor.spaso...@a1.mk] Sent: Saturday, February 15, 2020 1:38 PM To: Rasika Udayanga Cc: users@kannel.org Subject: Re: Need an Assistance in my Kannel Config Dear Rasika, First suspect is dlr-mask. You have to set it minimally to both delivery success and delivery failure (3). Other condiition is to set smsc-id, which I see you did. Check this part of kannel userguide: "When you deliver SMS to Kannel you have to indicate what kind of delivery report messages you would like to receive back from the system. The delivery report types currently implemented are: • 1: delivery success • 2: delivery failure • 4: message buffered • 8: smsc submit • 16: smsc reject • 32: smsc intermediate notifications If you want multiple report types, you simply add the values together. “ On Feb 15, 2020, at 05:23, Rasika Udayanga mailto:ras...@bellvantage.com> > wrote: Dear All, As per the below report, even though 108726 messages were acknowledged I have received only 60036 (sum of status 1 and 2) delivery reports. I cannot understand as to why there are no delivery reports for the rest of the acknowledged messages. I’m a doing something wrong in my config? Can you please assist me. group = core dlr-storage = mysql admin-port = 8206 admin-password = * status-password = * admin-allow-ip = "127.0.0.1" log-level = 0 sms-resend-retry = 10 sms-combine-concatenated-mo = true # Smsbox related smsbox-port = 8205 box-allow-ip = "127.0.0.1" smsbox-max-pending = 1 group = smsc smsc = smpp smsc-id = lankabell host = ** port = ** smsc-username = *** smsc-password = ** transceiver-mode = true msg-id-type = 0x00 reconnect-delay = 2 wait-ack = 60 wait-ack-expire = 0x02 validityperiod = 1440 interface-version = 34 system-type = "VMA" <https://lk.linkedin.com/in/rasikau> Rasika Udayanga Kodithuwakku | Senior Manager Information Technology Bellvantage (Pvt) Ltd, No - 46, Vauxhall Street, Colombo 02, Sri Lanka. Mobile :- +94 77 7289868 | Direct :- +94 11 5756256 E-Mail :- ras...@bellvantage.com <mailto:ras...@bellvantage.com> | Web :- www.bellvantage.com <http://www.bellvantage.com/> _ 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 Македонија ДООЕЛ Скопје не презема одговорност за несоодветно или нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак за било какво задоцнување на приемот или оштетувања на вашиот систем. Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја природата!
Need an Assistance in my Kannel Config
Dear All, As per the below report, even though 108726 messages were acknowledged I have received only 60036 (sum of status 1 and 2) delivery reports. I cannot understand as to why there are no delivery reports for the rest of the acknowledged messages. I'm a doing something wrong in my config? Can you please assist me. group = core dlr-storage = mysql admin-port = 8206 admin-password = * status-password = * admin-allow-ip = "127.0.0.1" log-level = 0 sms-resend-retry = 10 sms-combine-concatenated-mo = true # Smsbox related smsbox-port = 8205 box-allow-ip = "127.0.0.1" smsbox-max-pending = 1 group = smsc smsc = smpp smsc-id = lankabell host = ** port = ** smsc-username = *** smsc-password = ** transceiver-mode = true msg-id-type = 0x00 reconnect-delay = 2 wait-ack = 60 wait-ack-expire = 0x02 validityperiod = 1440 interface-version = 34 system-type = "VMA" <https://lk.linkedin.com/in/rasikau> Rasika Udayanga Kodithuwakku | Senior Manager Information Technology Bellvantage (Pvt) Ltd, No - 46, Vauxhall Street, Colombo 02, Sri Lanka. Mobile :- +94 77 7289868 | Direct :- +94 11 5756256 E-Mail :- <mailto:ras...@bellvantage.com> ras...@bellvantage.com | Web :- <http://www.bellvantage.com/> www.bellvantage.com
RE: voice sms
Hi Rahul, For that you will have to use a call center system or a PABX with an outbound dialer. Famous commercial systems are Aspect Unified IP and Avaya. You should be able to do this with Asterisk which is an open source platform (https://www.asterisk.org/). Cheers. Rasika Udayanga From: users [mailto:users-boun...@kannel.org] On Behalf Of Rahul Mittal Sent: Thursday, October 17, 2019 9:41 AM To: users@kannel.org Subject: Re: voice sms Hi, Thanks for replying. Yes my requirement is similar to that, I want to upload audio and user receive it as a call and on call that audio will be played. Thanks, Rahul On Wed, 16 Oct 2019, 18:55 Antony Stone, mailto:antony.st...@kannel.open.source.it> > wrote: On Wednesday 16 October 2019 at 14:44:06, Rahul Mittal wrote: > Mbuni is no longer actively being improved on Please could you clarify what "Voice SMS" is? I know some landline telephony providers will accept an inbound SMS and convert it to speech which they then play down the phone at you - if that's what you mean then I would start by looking at the better-quality synthesiser available for http://www.cstr.ed.ac.uk/projects/festival/ If that's not what you mean then please explain further. > On Wed, Oct 16, 2019 at 6:06 PM Rene Kluwen <mailto:rene.klu...@chimit.nl> > wrote: > > You might want to check out the mBuni project: https://mbuni.org > > > > *Van:* users mailto:users-boun...@kannel.org> > > > *Namens *Rahul Mittal > > *Verzonden:* woensdag 16 oktober 2019 14:33 > > *Aan:* users@kannel.org <mailto:users@kannel.org> > > *Onderwerp:* voice sms > > > > Hi, > > > > can we send voice SMS through kannel or any idea for any open source to > > send voice SMS. > > > > > > Thank you, > > > > Rahul Mittal -- "Reports that say that something hasn't happened are always interesting to me, because as we know, there are known knowns; there are things we know we know. We also know there are known unknowns; that is to say we know there are some things we do not know. But there are also unknown unknowns - the ones we don't know we don't know." - Donald Rumsfeld, US Secretary of Defence Please reply to the list; please *don't* CC me.
Incoming & Sent SMS content decode in sent_sms table in sqlbox
Dear All, Im using sqlbox for sending and receiving GSM and Unicode sms. In both cases msgdata stored in below format in sent_sms table in mysql database. %0D%BB%0D%C3%0D%D2%0D%9A I think above is UCS-2BE/ UTF-16BE encoded. Please assist me as to how I can get the original message by decoding this, preferably using a mysql function or a c# method. Tried setting alt-charset to ucs-2/ utf-8 in smsc config and enabling mo-record. Non of them gave me the solution. Appreciate your assistance in advance. Thanks Rasika Udayanga.
RE: Send "Sinhala" Letters (Unicode) via Kannel XML Post
Dear Davor/ Vinayak, I finally fixed this by implementing a sqlbox to with the setup. Now I can send Unicode :) Thank you for the help. Regards, Rasika From: Rasika Udayanga [mailto:ras...@bellvantage.com] Sent: Tuesday, August 27, 2019 8:26 AM To: 'Davor Spasoski'; 'vinayak mv' Cc: 'users@kannel.org' Subject: RE: Send "Sinhala" Letters (Unicode) via Kannel XML Post Ha ha… No worries. Dear Davor, Let me try your suggestions and get back to you… Appreciate your kind support and thank you for the demonstration done yesterday. Regards, Rasika Udayanga From: Davor Spasoski [mailto:davor.spaso...@onevip.mk] Sent: Monday, August 26, 2019 9:21 PM To: Rasika Udayanga; 'vinayak mv' Cc: users@kannel.org <mailto:users@kannel.org> Subject: RE: Send "Sinhala" Letters (Unicode) via Kannel XML Post BTW, sorry for misspelling Sinhala. Singha beer is to blame for that ;) BR, Davor From: Davor Spasoski Sent: Monday, August 26, 2019 3:33 PM To: 'Rasika Udayanga' mailto:ras...@bellvantage.com> >; 'vinayak mv' mailto:vinayakvasu...@gmail.com> > Cc: users@kannel.org <mailto:users@kannel.org> Subject: RE: Send "Sinhala" Letters (Unicode) via Kannel XML Post Dear Rasika, Your Singha characters work well on my environent with the following curl syntax: curl -X POST \ http://10.1.19.5:4004/cgi-bin/sendsms \ -H 'cache-control: no-cache' \ -H 'content-type: text/xml' \ -H 'postman-token: dc4ba5cb-28ca-b9bc-5ab2-9c3369add9db' \ -d ' +94777289868 Source රසික 2 1 ' Davor Spasoski M: +38975400608 e-mail: davor.spaso...@onevip.mk <mailto:davor.spaso...@onevip.mk> one.Vip DOOEL Skopje | Ploshtad Presveta Bogorodica 1 | 1000 Skopje | Macedonia Member of A1 Telekom Austria Group From: Rasika Udayanga mailto:ras...@bellvantage.com> > Sent: Monday, August 26, 2019 2:13 PM To: Davor Spasoski mailto:davor.spaso...@onevip.mk> >; 'vinayak mv' mailto:vinayakvasu...@gmail.com> > Cc: users@kannel.org <mailto:users@kannel.org> Subject: RE: Send "Sinhala" Letters (Unicode) via Kannel XML Post Dear Davor, Vinayak, Thank you and appreciate your responses. Dear Davor, Yes I set the content type in the header and below is my C# cording as how I does it. but the message is delivered as garbage letters. string xmlMessage = "\r\n" + "9477728986894115753753%E0%B6%BB%E0%B7%83%E0%B7%92%E0%B6%9A21"; string url = "http://10.9.8.25:13013/cgi-bin/sendsms";; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); byte[] requestInFormOfBytes = System.Text.Encoding.ASCII.GetBytes(xmlMessage); request.Method = "POST"; request.ContentType = "text/xml"; request.ContentLength = requestInFormOfBytes.Length; Stream requestStream = request.GetRequestStream(); requestStream.Write(requestInFormOfBytes, 0, requestInFormOfBytes.Length); requestStream.Close(); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); StreamReader respStream = new StreamReader(response.GetResponseStream(), System.Text.Encoding.Default); string receivedResponse = respStream.ReadToEnd(); Console.WriteLine(receivedResponse); respStream.Close(); response.Close(); Dear Vinayak, I tried the same a long time ago and failed. Have you tried doing it with MSSQL. Regards, Rasika Udayanga. From: vinayak mv [mailto:vinayakvasu...@gmail.com] Sent: Saturday, August 24, 2019 10:34 PM To: Davor Spasoski Cc: Rasika Udayanga; users@kannel.org <mailto:users@kannel.org> Subject: Re: Send "Sinhala" Letters (Unicode) via Kannel XML Post Better use sqlbox for bulk sending On Sat, 24 Aug 2019 at 10:04 PM, Davor Spasoski mailto:davor.spaso...@onevip.mk> > wrote: Hi, I’m rarely using Postman for simple HTTP calls. Try using curl -H BTW, kannel does state that you need to set the content type in a header not the xml payload and you should do so with the enoding as in the xm example, the encoding is not set within the xml. "Note: Don't forget to set POST Content-Type to text/xml!" On Aug 24, 2019, at 14:34, Rasika Udayanga mailto:ras...@bellvantage.com> > wrote: Dear Davor, I’m kind of confused. Please correct me if I’m wrong. As per the Kannal user guide I should send an XML document when I do POST for bulk sending. Please refer below screenshot of the Postman that I’m trying to send the request through. When I try to use text/html inst
Re: Re: UNICODE SMS COUNT FOR BILLING
Hi, Can someone please assist me with how to count sms count & character count of a concatenated message I sent through sqlbox for billing purpose? msgdata stored in url encoded format in mysql server. Regards, Rasika Udayanga
RE: Send "Sinhala" Letters (Unicode) via Kannel XML Post
Ha ha… No worries. Dear Davor, Let me try your suggestions and get back to you… Appreciate your kind support and thank you for the demonstration done yesterday. Regards, Rasika Udayanga From: Davor Spasoski [mailto:davor.spaso...@onevip.mk] Sent: Monday, August 26, 2019 9:21 PM To: Rasika Udayanga; 'vinayak mv' Cc: users@kannel.org Subject: RE: Send "Sinhala" Letters (Unicode) via Kannel XML Post BTW, sorry for misspelling Sinhala. Singha beer is to blame for that ;) BR, Davor From: Davor Spasoski Sent: Monday, August 26, 2019 3:33 PM To: 'Rasika Udayanga' mailto:ras...@bellvantage.com> >; 'vinayak mv' mailto:vinayakvasu...@gmail.com> > Cc: users@kannel.org <mailto:users@kannel.org> Subject: RE: Send "Sinhala" Letters (Unicode) via Kannel XML Post Dear Rasika, Your Singha characters work well on my environent with the following curl syntax: curl -X POST \ http://10.1.19.5:4004/cgi-bin/sendsms \ -H 'cache-control: no-cache' \ -H 'content-type: text/xml' \ -H 'postman-token: dc4ba5cb-28ca-b9bc-5ab2-9c3369add9db' \ -d ' +94777289868 Source රසික 2 1 ' Davor Spasoski M: +38975400608 e-mail: davor.spaso...@onevip.mk <mailto:davor.spaso...@onevip.mk> one.Vip DOOEL Skopje | Ploshtad Presveta Bogorodica 1 | 1000 Skopje | Macedonia Member of A1 Telekom Austria Group From: Rasika Udayanga mailto:ras...@bellvantage.com> > Sent: Monday, August 26, 2019 2:13 PM To: Davor Spasoski mailto:davor.spaso...@onevip.mk> >; 'vinayak mv' mailto:vinayakvasu...@gmail.com> > Cc: users@kannel.org <mailto:users@kannel.org> Subject: RE: Send "Sinhala" Letters (Unicode) via Kannel XML Post Dear Davor, Vinayak, Thank you and appreciate your responses. Dear Davor, Yes I set the content type in the header and below is my C# cording as how I does it. but the message is delivered as garbage letters. string xmlMessage = "\r\n" + "9477728986894115753753%E0%B6%BB%E0%B7%83%E0%B7%92%E0%B6%9A21"; string url = "http://10.9.8.25:13013/cgi-bin/sendsms";; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); byte[] requestInFormOfBytes = System.Text.Encoding.ASCII.GetBytes(xmlMessage); request.Method = "POST"; request.ContentType = "text/xml"; request.ContentLength = requestInFormOfBytes.Length; Stream requestStream = request.GetRequestStream(); requestStream.Write(requestInFormOfBytes, 0, requestInFormOfBytes.Length); requestStream.Close(); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); StreamReader respStream = new StreamReader(response.GetResponseStream(), System.Text.Encoding.Default); string receivedResponse = respStream.ReadToEnd(); Console.WriteLine(receivedResponse); respStream.Close(); response.Close(); Dear Vinayak, I tried the same a long time ago and failed. Have you tried doing it with MSSQL. Regards, Rasika Udayanga. From: vinayak mv [mailto:vinayakvasu...@gmail.com] Sent: Saturday, August 24, 2019 10:34 PM To: Davor Spasoski Cc: Rasika Udayanga; users@kannel.org <mailto:users@kannel.org> Subject: Re: Send "Sinhala" Letters (Unicode) via Kannel XML Post Better use sqlbox for bulk sending On Sat, 24 Aug 2019 at 10:04 PM, Davor Spasoski mailto:davor.spaso...@onevip.mk> > wrote: Hi, I’m rarely using Postman for simple HTTP calls. Try using curl -H BTW, kannel does state that you need to set the content type in a header not the xml payload and you should do so with the enoding as in the xm example, the encoding is not set within the xml. "Note: Don't forget to set POST Content-Type to text/xml!" On Aug 24, 2019, at 14:34, Rasika Udayanga mailto:ras...@bellvantage.com> > wrote: Dear Davor, I’m kind of confused. Please correct me if I’m wrong. As per the Kannal user guide I should send an XML document when I do POST for bulk sending. Please refer below screenshot of the Postman that I’m trying to send the request through. When I try to use text/html instead of text/xml smsbox failed with below PANIC errors. 2019-08-24 17:17:06 [27859] [3] INFO: smsbox: Got HTTP request from <192.168.51.100> 2019-08-24 17:17:06 [27859] [3] DEBUG: Status: 403 Answer: 2019-08-24 17:17:06 [27859] [3] PANIC: gwlib/octstr.c:2504: seems_valid_real: Assertion `ostr->data != NULL' failed. (Called from gwlib/octstr.c:325:octstr_destroy.) 2019-08-24 17:17:06 [27859] [3] PANIC: /usr/local/sbin/smsbox(gw_panic+
RE: Send "Sinhala" Letters (Unicode) via Kannel XML Post
Dear Davor, Vinayak, Thank you and appreciate your responses. Dear Davor, Yes I set the content type in the header and below is my C# cording as how I does it. but the message is delivered as garbage letters. string xmlMessage = "\r\n" + "9477728986894115753753%E0%B6%BB%E0%B7%83%E0%B7%92%E0%B6%9A21"; string url = "http://10.9.8.25:13013/cgi-bin/sendsms";; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); byte[] requestInFormOfBytes = System.Text.Encoding.ASCII.GetBytes(xmlMessage); request.Method = "POST"; request.ContentType = "text/xml"; request.ContentLength = requestInFormOfBytes.Length; Stream requestStream = request.GetRequestStream(); requestStream.Write(requestInFormOfBytes, 0, requestInFormOfBytes.Length); requestStream.Close(); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); StreamReader respStream = new StreamReader(response.GetResponseStream(), System.Text.Encoding.Default); string receivedResponse = respStream.ReadToEnd(); Console.WriteLine(receivedResponse); respStream.Close(); response.Close(); Dear Vinayak, I tried the same a long time ago and failed. Have you tried doing it with MSSQL. Regards, Rasika Udayanga. From: vinayak mv [mailto:vinayakvasu...@gmail.com] Sent: Saturday, August 24, 2019 10:34 PM To: Davor Spasoski Cc: Rasika Udayanga; users@kannel.org Subject: Re: Send "Sinhala" Letters (Unicode) via Kannel XML Post Better use sqlbox for bulk sending On Sat, 24 Aug 2019 at 10:04 PM, Davor Spasoski mailto:davor.spaso...@onevip.mk> > wrote: Hi, I’m rarely using Postman for simple HTTP calls. Try using curl -H BTW, kannel does state that you need to set the content type in a header not the xml payload and you should do so with the enoding as in the xm example, the encoding is not set within the xml. "Note: Don't forget to set POST Content-Type to text/xml!" On Aug 24, 2019, at 14:34, Rasika Udayanga mailto:ras...@bellvantage.com> > wrote: Dear Davor, I’m kind of confused. Please correct me if I’m wrong. As per the Kannal user guide I should send an XML document when I do POST for bulk sending. Please refer below screenshot of the Postman that I’m trying to send the request through. When I try to use text/html instead of text/xml smsbox failed with below PANIC errors. 2019-08-24 17:17:06 [27859] [3] INFO: smsbox: Got HTTP request from <192.168.51.100> 2019-08-24 17:17:06 [27859] [3] DEBUG: Status: 403 Answer: 2019-08-24 17:17:06 [27859] [3] PANIC: gwlib/octstr.c:2504: seems_valid_real: Assertion `ostr->data != NULL' failed. (Called from gwlib/octstr.c:325:octstr_destroy.) 2019-08-24 17:17:06 [27859] [3] PANIC: /usr/local/sbin/smsbox(gw_panic+0x147) [0x43c0b7] 2019-08-24 17:17:06 [27859] [3] PANIC: /usr/local/sbin/smsbox() [0x43d2f0] 2019-08-24 17:17:06 [27859] [3] PANIC: /usr/local/sbin/smsbox(octstr_destroy+0x1d) [0x43f2dd] 2019-08-24 17:17:06 [27859] [3] PANIC: /usr/local/sbin/smsbox() [0x412784] 2019-08-24 17:17:06 [27859] [3] PANIC: /usr/local/sbin/smsbox() [0x43331e] 2019-08-24 17:17:06 [27859] [3] PANIC: /lib64/libpthread.so.0(+0x7a51) [0x7fc246380a51] 2019-08-24 17:17:06 [27859] [3] PANIC: /lib64/libc.so.6(clone+0x6d) [0x7fc24590c93d] Please help me to understand where I go wrong. Appreciate if you can share me a working sample of the XML POST that I can test with. Regards, Rasika Udayanga From: Davor Spasoski [ <mailto:davor.spaso...@onevip.mk> mailto:davor.spaso...@onevip.mk] Sent: Saturday, August 24, 2019 1:47 PM To: Rasika Udayanga Cc: <mailto:users@kannel.org> users@kannel.org Subject: Re: Send "Sinhala" Letters (Unicode) via Kannel XML Post Did you try declaring the encoding in the HTTP POST header like this: ? On Aug 24, 2019, at 08:01, Rasika Udayanga < <mailto:ras...@bellvantage.com> ras...@bellvantage.com> wrote: 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 94777289868 94115753753 රසික 11 bellvantage password@123 Please assist. Sent on the move. Please excuse typos. On Aug 23, 2019, at 8:11 PM, Davor Spasoski < <mailto:davor.spaso...@onevip.mk> 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, Ra
RE: Send "Sinhala" Letters (Unicode) via Kannel XML Post
Dear Davor, I’m kind of confused. Please correct me if I’m wrong. As per the Kannal user guide I should send an XML document when I do POST for bulk sending. Please refer below screenshot of the Postman that I’m trying to send the request through. When I try to use text/html instead of text/xml smsbox failed with below PANIC errors. 2019-08-24 17:17:06 [27859] [3] INFO: smsbox: Got HTTP request from <192.168.51.100> 2019-08-24 17:17:06 [27859] [3] DEBUG: Status: 403 Answer: 2019-08-24 17:17:06 [27859] [3] PANIC: gwlib/octstr.c:2504: seems_valid_real: Assertion `ostr->data != NULL' failed. (Called from gwlib/octstr.c:325:octstr_destroy.) 2019-08-24 17:17:06 [27859] [3] PANIC: /usr/local/sbin/smsbox(gw_panic+0x147) [0x43c0b7] 2019-08-24 17:17:06 [27859] [3] PANIC: /usr/local/sbin/smsbox() [0x43d2f0] 2019-08-24 17:17:06 [27859] [3] PANIC: /usr/local/sbin/smsbox(octstr_destroy+0x1d) [0x43f2dd] 2019-08-24 17:17:06 [27859] [3] PANIC: /usr/local/sbin/smsbox() [0x412784] 2019-08-24 17:17:06 [27859] [3] PANIC: /usr/local/sbin/smsbox() [0x43331e] 2019-08-24 17:17:06 [27859] [3] PANIC: /lib64/libpthread.so.0(+0x7a51) [0x7fc246380a51] 2019-08-24 17:17:06 [27859] [3] PANIC: /lib64/libc.so.6(clone+0x6d) [0x7fc24590c93d] Please help me to understand where I go wrong. Appreciate if you can share me a working sample of the XML POST that I can test with. Regards, Rasika Udayanga From: Davor Spasoski [mailto:davor.spaso...@onevip.mk] Sent: Saturday, August 24, 2019 1:47 PM To: Rasika Udayanga Cc: users@kannel.org Subject: Re: Send "Sinhala" Letters (Unicode) via Kannel XML Post Did you try declaring the encoding in the HTTP POST header like this: ? On Aug 24, 2019, at 08:01, Rasika Udayanga mailto:ras...@bellvantage.com> > wrote: 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 94777289868 94115753753 රසික 11 bellvantage password@123 Please assist. Sent on the move. Please excuse typos. On Aug 23, 2019, at 8:11 PM, Davor Spasoski mailto: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 mailto: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> 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 mailto: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> 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. 94777289868 94115753753 %E0%B6%BB%E0%B7%83%E0%B7%92%E0%B6%9A 11 bellvantage password@123 94777289868 94115753753 රසික 11 bellvantage password@123 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
Re: Send "Sinhala" Letters (Unicode) via Kannel XML Post
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 94777289868 94115753753 රසික 11 bellvantage password@123 Please assist. Sent on the move. Please excuse typos. > On Aug 23, 2019, at 8:11 PM, Davor Spasoski 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 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 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. >>> >>> >>> >>> >>> 94777289868 >>> 94115753753 >>> %E0%B6%BB%E0%B7%83%E0%B7%92%E0%B6%9A >>> 11 >>> >>> bellvantage >>> password@123 >>> >>> >>> >>> >>> >>> >>> >>> >>> 94777289868 >>> 94115753753 >>> රසික >>> 11 >>> >>> bellvantage >>> password@123 >>> >>> >>> >>> >>> 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! >> >> Напомена: оне.Вип ДООЕЛ Скопје >> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да >> биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е >> наменета пораката, не треба да ја копирате, дистрибуирате или да ја >> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и >> да ја избришете оригиналната порака и сите нејзини копии од Вашиот >> компјутерски систем. Секое неовластено користење на оваа порака во целост >> или делови од истата е строго забрането. Ве молиме да забележите дека >> електронските пораки се подложни на промени. оне.Вип ДООЕЛ Скопје не презема >> одговорност за несоодветно или нецелосно пренесување на информациите >> содржани во оваа комуникација, ниту пак за било какво задоцнување на приемот >> или оштетувања на вашиот систем. >> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја >> природата!
Send "Sinhala" Letters (Unicode) via Kannel XML Post
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=** <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> &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. 94777289868 94115753753 %E0%B6%BB%E0%B7%83%E0%B7%92%E0%B6%9A 11 bellvantage password@123 94777289868 94115753753 රසික 11 bellvantage password@123 Regards, Rasika Udayanga 0777289868