Kannel 1.5.0 fails on Debian 9

2018-01-24 Thread Kasper Nielsen
Trying to install kannel_1.5.0-0_amd64.deb https://redmine.kannel.org/projects/kannel/files fails and reports the error: kannel depends on libssl0.9.8 (>= 0.9.8m-1); however: Package libssl0.9.8 is not installed. However, I've got libssl1.1 installed already: libssl-dev is already the newest

Re: Kannel OTA malforms package with certain XML

2018-01-24 Thread Kasper Nielsen
I'm running Kannel 1.4.4 and saw the Kannel 1.5 had some fixed to the OTA compiler - perhaps that would fix the issue. But are there any Debian packages ready for Kannel 1.5? On Tue, Jan 23, 2018 at 5:49 PM, Kasper Nielsen <kasp.n...@gmail.com> wrote: > When sending this XML fr

Kannel OTA malforms package with certain XML

2018-01-23 Thread Kasper Nielsen
When sending this XML from NowSMS, everything works: var xml = ' \ \ http://www.wapforum.org/DTD/prov.dtd;> \ \ \ \ \ \ \ \ \ \ \ \ \ \ But Kannel resolves in a SMPP malformed packaged due to this single line:

Re: Kannel HTTP GET works, but HTTP POST fails

2018-01-23 Thread Kasper Nielsen
Wait, it works. Thank you! On Tue, Jan 23, 2018 at 5:31 PM, Kasper Nielsen <kasp.n...@gmail.com> wrote: > And making the XML smaller does work - and the SMS is sent correctly. But > if the XML is bigger than 1 SMS, then it fails. > Even with HTTP POST. > > On Tue, Jan 23, 20

Re: Kannel HTTP GET works, but HTTP POST fails

2018-01-23 Thread Kasper Nielsen
And making the XML smaller does work - and the SMS is sent correctly. But if the XML is bigger than 1 SMS, then it fails. Even with HTTP POST. On Tue, Jan 23, 2018 at 5:30 PM, Kasper Nielsen <kasp.n...@gmail.com> wrote: > Thank you so much. Now it actually ships the SMS, but it st

Re: Kannel HTTP GET works, but HTTP POST fails

2018-01-23 Thread Kasper Nielsen
; > t: +45 2374 0486 <+45%2023%2074%2004%2086> > > w: apide.com > > > On Tue, Jan 23, 2018 at 3:01 PM, Kasper Nielsen <kasp.n...@gmail.com> > wrote: > >> Tried >> >> request({ >> url: 'http://127.0.0.1:13002/cgi-bin/sendota', >

Re: Kannel HTTP GET works, but HTTP POST fails

2018-01-23 Thread Kasper Nielsen
the HTML for the Google homepage. }); Now I'm getting body: Unsupported content-type, rejected but text/xml should be supported... On Tue, Jan 23, 2018 at 2:40 PM, Kasper Nielsen <kasp.n...@gmail.com> wrote: > Just testing if this mailinglist is active, has anyone received my > questions

Re: Kannel HTTP GET works, but HTTP POST fails

2018-01-23 Thread Kasper Nielsen
Just testing if this mailinglist is active, has anyone received my questions? On Tue, Jan 23, 2018 at 2:01 PM, Kasper Nielsen <kasp.n...@gmail.com> wrote: > Seems - after a lot of Googling - that the Kannel SMS gateway actually > doesn't support HTTP POST for sending SMSes, whic

Re: Kannel HTTP GET works, but HTTP POST fails

2018-01-23 Thread Kasper Nielsen
Seems - after a lot of Googling - that the Kannel SMS gateway actually doesn't support HTTP POST for sending SMSes, which is a limit to the size of SMSes being sent :( On Tue, Jan 23, 2018 at 1:35 PM, Kasper Nielsen <kasp.n...@gmail.com> wrote: > Looked through the contrib-example

Re: Kannel HTTP GET works, but HTTP POST fails

2018-01-23 Thread Kasper Nielsen
Looked through the contrib-examples and all examples actually uses the HTTP GET method to send SMS, which may fail on large SMSes. On Tue, Jan 23, 2018 at 12:19 PM, Kasper Nielsen <kasp.n...@gmail.com> wrote: > ...and tried old school XML: > > var xml = ' \ > \ > \ &g

Re: Kannel HTTP GET works, but HTTP POST fails

2018-01-23 Thread Kasper Nielsen
'} }; but getting: body: 'Authorization failed for sendsms' } } On Tue, Jan 23, 2018 at 11:58 AM, Kasper Nielsen <kasp.n...@gmail.com> wrote: > Also able to get: body: 'Invalid content-type' } } > But the content-type is correct http form: application/x-www-form-

Re: Kannel HTTP GET works, but HTTP POST fails

2018-01-23 Thread Kasper Nielsen
Also able to get: body: 'Invalid content-type' } } But the content-type is correct http form: application/x-www-form-urlencoded. On Tue, Jan 23, 2018 at 11:57 AM, Kasper Nielsen <kasp.n...@gmail.com> wrote: > ...and the docs doesn't seem to tell anything about this. > > On Tu

Re: Kannel HTTP GET works, but HTTP POST fails

2018-01-23 Thread Kasper Nielsen
...and the docs doesn't seem to tell anything about this. On Tue, Jan 23, 2018 at 11:36 AM, Kasper Nielsen <kasp.n...@gmail.com> wrote: > This is my NodeJS (request-promise) for sending SMS via HTTP GET: > > var options = { > method: 'GET', > uri: 'http://127.0.0.1:

Kannel HTTP GET works, but HTTP POST fails

2018-01-23 Thread Kasper Nielsen
This is my NodeJS (request-promise) for sending SMS via HTTP GET: var options = { method: 'GET', uri: 'http://127.0.0.1:13002/cgi-bin/sendsms', qs: { username: 'foo', password: 'bar', to: '127883327304', from: '12488331359', text: 'Hi } };

Kannel doesn't split OTA WAP SMS

2018-01-23 Thread Kasper Nielsen
I'm testing Kannel for OTA WAP SMS. Everything works when my XML is very small, and everything can be send in 1 SMS. But if my XML is large, and needs to be split in 2-3 SMSes, then it fails with "malformed message". Doesn't Kannel automaticaly split OTA WAP SMS?

OMA OTA SMS without ota-setting or ota-bookmark group

2018-01-22 Thread Kasper Nielsen
I'm trying to send a quick OMA OTA SMS configuration via Kannel. I'm testing the following URL: http://127.0.0.1:13002/cgi-bin/sendota?username=foo=bar=12048035755=12038632741=oma-settings=APNTest=userpin=1234=MY-URL-ENCODED-XML But whatever I'm trying I'm getting: Missing ota-setting or