Re: [Dhis2-devs] Kannel get-url format for recieving SMS in DHIS2
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 atumwesi...@gmail.com 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp -- Pamod ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp
Re: [Dhis2-devs] Kannel get-url format for recieving SMS in DHIS2
Dear Pamod, I have actually managed to get it. It looks like this in the kannel get-url: http://localhost:8080/sms/sms?sender=%preceived_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 pam...@gmail.com 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 atumwesi...@gmail.com 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@lists.launchpad.net 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 ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp
Re: [Dhis2-devs] Kannel get-url format for recieving SMS in DHIS2
Hi, thanx a lot for the reply. In fact I was on the process of testing it, I'd be grateful if you can share your method if it works. Thank you Regards, Pamod On Fri, Sep 26, 2014 at 9:11 PM, Alex Tumwesigye atumwesi...@gmail.com wrote: 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 atumwesi...@gmail.com 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=%preceived_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 pam...@gmail.com 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 atumwesi...@gmail.com 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@lists.launchpad.net 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 -- Pamod ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp
[Dhis2-devs] Kannel get-url format for recieving SMS in DHIS2
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@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp