← Back to team overview

dhis2-devs team mailing list archive

Re: Kannel get-url format for recieving SMS in DHIS2

 

Dear Pamod,

After testing, I realised that sms.war was giving me issues so I have
decided to use the Basic Authentication in the Kannel SMS gateway.

I will test and let you if it works, then I can share my configuration
template.

Thanks

On Fri, Sep 26, 2014 at 5:15 PM, Alex Tumwesigye <atumwesigye@xxxxxxxxx>
wrote:

> Dear Pamod,
>
> I have actually managed to get it.
> It looks like this in the kannel get-url:
> http://localhost:8080/sms/sms?sender=%p&received_time=%t%&message=%a";
>
> You need something in between to handle authentication to DHIS2
> application.
> I got a war called sms.war which I placed in between to handle
> authentication.
> Go to /sms/WEB-INF/spring-servlet.xml and edit it accordingly.
>
> Though I still have issues to authenticate due to a proxy but it works.
>
>
>
> See attached,
> Alex
>
> On Fri, Sep 26, 2014 at 4:25 PM, Pamod Amarakoon <pamodm@xxxxxxxxx> wrote:
>
>> Hi,
>>
>> I'm also having same issue. Do we have to enter a common URL template
>> which support both send/receive while registering SMS gateway.
>>
>> Thank you
>>
>> On Thu, Sep 25, 2014 at 9:11 PM, Alex Tumwesigye <atumwesigye@xxxxxxxxx>
>> wrote:
>>
>>> Dear DHIS2 Dev,
>>>
>>> I am implementing a kannel based HTTP gateway to recieve SMPP traffic
>>> from an ISP.
>>> Has anyone implemented receive SMS in DHIS2 from kannel?
>>>
>>> I would like to know how the get url for received SMS in DHIS2 looks like
>>>
>>> --
>>> Alex Tumwesigye
>>>
>>> Technical Advisor - DHIS2,
>>> Ministry of Health/AFENET
>>> Kampala
>>> Uganda
>>>
>>> IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya
>>>
>>> IT Specialist (Servers, Networks and Security, Health Information
>>> Systems - DHIS2 ) & Solar Consultant
>>>
>>> +256 774149 775, + 256 759 800161
>>>
>>> "I don't want to be anything other than what I have been - one tree hill
>>> "
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Pamod
>>
>>
>
>
> --
> Alex Tumwesigye
>
> Technical Advisor - DHIS2,
> Ministry of Health/AFENET
> Kampala
> Uganda
>
> IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya
>
> IT Specialist (Servers, Networks and Security, Health Information Systems
> - DHIS2 ) & Solar Consultant
>
> +256 774149 775, + 256 759 800161
>
> "I don't want to be anything other than what I have been - one tree hill "
>



-- 
Alex Tumwesigye

Technical Advisor - DHIS2,
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "

Follow ups

References