Problem receiving incoming SMS from Kannel

433 views
Skip to first unread message

allan stockman rugano

unread,
Jan 28, 2016, 6:43:25 AM1/28/16
to rapidpro-dev
I'm testing RapidPro. I have successfully installed RapidPro on my small machine and I'm able to send sms using a Huawei modem + sim-card and every thing is right. 

Problem is,... when I respond back, from a telephone, RapidPro doesn't show me the messages in Inbox.  i.e Kannel shows me that it has received messages but they aren't shown in RapidPro. I'd like to know how I can debug that problem especially where I can find the logs where it's show either when RapidPro tried to get SMS from kannel or kannel tried to push SMS into RapidPro.

Thanks.

Ally Shaban

unread,
Feb 5, 2016, 2:49:31 AM2/5/16
to rapidpro-dev
Hi Allan,
Did you define the sms-service group in your kannel.conf ? If you did,make sure you have this "post-url = "http://rapidproaddress/api/v1/kannel/receive/f1977640-8af4-439d-10f1-9b347e9c4019/?backend=%i&sender=%p&message=%b&ts=%T&id=%I"" which sends SMS to Rapidpro.

Ally.

allan stockman rugano

unread,
Mar 26, 2016, 11:52:06 AM3/26/16
to rapidpro-dev
Hi Ally,

I had misconfigured kannel because it had generated a 'https' link while I was on a simple http server. Now issue resolved.

Boroma Mwale

unread,
Apr 3, 2018, 9:30:33 AM4/3/18
to rapidpro-dev
Hey Ally 
I know its been a while since this last post but i was hopping you could help me out.
I am trying to deploy a test with pretty much the same conditions (local server with huawei modem) but i am not able to get kannel to send the received sms to rapidPro. 

This is what my sms- service group looks like: 

group = sms-service
keyword = default
catch-all = yes
concatenation = true
assume-plain-text = true
accept-x-kannel-headers = true
omit-empty = true
accepted-smsc = usb0-modem

I would really appreciate the help..


On Friday, February 5, 2016 at 9:49:31 AM UTC+2, Ally Shaban wrote:

Allan Stockman rugano

unread,
Apr 9, 2018, 4:36:06 AM4/9/18
to rapidpro-dev
Can you ensure that you're running all queued process ? https://github.com/rapidpro/rapidpro/issues/714 

Boroma Mwale

unread,
Apr 9, 2020, 10:58:15 PM4/9/20
to rapidpro-dev
Hi, So I managed to get this working in an older version of rapidpro (not sure of the exact one) but we where basically able to get messages from kannel by configuring the Post url in the config files to something like this "http://rapidproaddress/api/v1/kannel/receive/f1977640-8af4-439d-10f1-9b347e9c4019/?backend=%i&sender=%p&message=%b&ts=%T&id=%I" with that said we recently made an upgrade to v5.4.13 of rapidpro but the same url format keeps on throwing 404 errors. Has this format changed in the newer version? And If it has can anyone kindly update me with the new version.  

Boroma Mwale

unread,
Apr 9, 2020, 11:46:33 PM4/9/20
to rapidpro-dev
I managed to figure it out. I made the mistake of pointing to the rapidpro instance when actually I was supposed to send it to courier instance. Also it seems like the accepted url format is "https://<instance url>/c/kn/<channel uuid>/receive"
Reply all
Reply to author
Forward
0 new messages