outgoing SMS over local modem - anyone using it?

Hi all,

we are rewriting much of the functionality for sending outgoing SMS in DHIS 2. In that regard we were wondering if anyone is using the current function for sending SMS using a local SMS modem / gateway?

In production setups one should in any case use a network-based SMS gateway provided by an external operator (bulksms, clickatell).

The library we use (smslib) is deprected as well. We were thinking to end support for local SMS modems in 2.23.

regards,

Lars

···

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org

Hello Lars,
Thank's for information,
We are trying to use SMS funtionnality with a SMS gateway provided by an external operator (Genreric HTTP Gateway) with DHIS 2.21 Build revision: 20998
But we have two problems : - The received SMS are not imported automatically,- When we manually import a received SMS, it's make a loop that send a thousand of SMS to a specific Phone number
Please, could you help us to solve this issue that's drained our SMS Credit ?
Sincerely ========================= EKANI Guy

outbount_sms.txt (7.25 KB)

outbount_sms_recipients.txt (7.25 KB)

···

Le Mardi 8 mars 2016 11h22, Lars Helge Øverland <lars@dhis2.org> a écrit :

Hi all,

we are rewriting much of the functionality for sending outgoing SMS in DHIS 2. In that regard we were wondering if anyone is using the current function for sending SMS using a local SMS modem / gateway?
In production setups one should in any case use a network-based SMS gateway provided by an external operator (bulksms, clickatell).
The library we use (smslib) is deprected as well. We were thinking to end support for local SMS modems in 2.23.
regards,
Lars

--
Lars Helge Øverland
Lead developer, DHIS 2University of OsloSkype: larshelgeoverland

_______________________________________________
Mailing list: DHIS 2 Users in Launchpad
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : DHIS 2 Users in Launchpad
More help : ListHelp - Launchpad Help

Dear Lars,

We are in the planning stage to use sms features in DHIS2 to collect Malaria case base data. I will like to know if DHIS2 has the ability to do this for us.

At the planning stage, what will be the best advice for us in term of hardware and software requirement issues.

I will be happy to hear from any body with similar experience.

Regard,

Lamin B. Jawara

Ministry of Health & Social Welfare
Tel: +220 9907404 / 7229017
Email: lbjawara@yahoo.com

Web: http://lbjawara.wordpress.com

···

On Thursday, March 10, 2016 8:17 AM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Lars,
Thank’s for information,
We are trying to use SMS funtionnality with a SMS gateway provided by an external operator (Genreric HTTP Gateway) with DHIS 2.21 Build revision: 20998
But we have two problems : - The received SMS are not imported automatically,- When we manually import a received SMS, it’s make a loop that send a thousand of SMS to a specific Phone number
Please, could you help us to solve this issue that’s drained our SMS Credit ?
Sincerely ========================= EKANI Guy

Le Mardi 8 mars 2016 11h22, Lars Helge Øverland <lars@dhis2.org> a écrit :

Hi all,

we are rewriting much of the functionality for sending outgoing SMS in DHIS 2. In that regard we were wondering if anyone is using the current function for sending SMS using a local SMS modem / gateway?
In production setups one should in any case use a network-based SMS gateway provided by an external operator (bulksms, clickatell).
The library we use (smslib) is deprected as well. We were thinking to end support for local SMS modems in 2.23.
regards,
Lars


Lars Helge Øverland
Lead developer, DHIS 2University of OsloSkype: larshelgeoverland
http://www.dhis2.org


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

Thanks Guy. We will have a developer reach out to you.

Since nobody have reported to be using the local SMS gateway modem, we will remove it for version 2.23.

regards,

Lars

···

On Thu, Mar 10, 2016 at 8:52 AM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Lars,

Thank’s for information,

We are trying to use SMS funtionnality with a SMS gateway provided by an external operator (Genreric HTTP Gateway) with DHIS 2.21 Build revision: 20998

But we have two problems :

  • The received SMS are not imported automatically,
  • When we manually import a received SMS, it’s make a loop that send a thousand of SMS to a specific Phone number

Please, could you help us to solve this issue that’s drained our SMS Credit ?

Sincerely

=========================
EKANI Guy

Le Mardi 8 mars 2016 11h22, Lars Helge Øverland lars@dhis2.org a écrit :

Hi all,

we are rewriting much of the functionality for sending outgoing SMS in DHIS 2. In that regard we were wondering if anyone is using the current function for sending SMS using a local SMS modem / gateway?

In production setups one should in any case use a network-based SMS gateway provided by an external operator (bulksms, clickatell).

The library we use (smslib) is deprected as well. We were thinking to end support for local SMS modems in 2.23.

regards,

Lars


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org

Hi Guy,

I am responsible for SMS related stuff. Can you share the logs ?

Regards

Zubair

···

On Thu, Mar 10, 2016 at 8:52 AM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Lars,

Thank’s for information,

We are trying to use SMS funtionnality with a SMS gateway provided by an external operator (Genreric HTTP Gateway) with DHIS 2.21 Build revision: 20998

But we have two problems :

  • The received SMS are not imported automatically,
  • When we manually import a received SMS, it’s make a loop that send a thousand of SMS to a specific Phone number

Please, could you help us to solve this issue that’s drained our SMS Credit ?

Sincerely

=========================
EKANI Guy

Le Mardi 8 mars 2016 11h22, Lars Helge Øverland lars@dhis2.org a écrit :

Hi all,

we are rewriting much of the functionality for sending outgoing SMS in DHIS 2. In that regard we were wondering if anyone is using the current function for sending SMS using a local SMS modem / gateway?

In production setups one should in any case use a network-based SMS gateway provided by an external operator (bulksms, clickatell).

The library we use (smslib) is deprected as well. We were thinking to end support for local SMS modems in 2.23.

regards,

Lars


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org

Hi Zubair,

Here is the log when this problem appear the first time :

  • INFO 2016-02-02 19:59:59,649 Detected apps: (DefaultAppManager.java [http-apr-8080-exec-3])

  • INFO 2016-02-02 20:03:06,682 Detected apps: (DefaultAppManager.java [http-apr-8080-exec-7])

  • INFO 2016-02-02 20:03:48,867 Detected apps: (DefaultAppManager.java [http-apr-8080-exec-8])

  • INFO 2016-02-02 20:05:06,589 Received SMS: SMS testing. (SmsPublisher.java [Thread-12])

  • INFO 2016-02-02 20:05:06,610 Sending message OutboundSMS [recipients=+467XXXXXXXX, message=DHIS: No command found] (DefaultOutboundSmsTransportService.java [Thread-12])

  • INFO 2016-02-02 20:05:06,617 RequestURL: http://opertorgateway.org/sendsms.php?UserName=MyUser&Password=**********&SOA=MyUser&MN=%2B467XXXXXXXX&SM=DHIS%3A+No+command+found PasserelleGSM (SimplisticHttpGetGateWay.java [Thread-12])

  • INFO 2016-02-02 20:05:07,729 Received SMS: SMS testing. (SmsPublisher.java [Thread-12])

  • INFO 2016-02-02 20:05:07,741 Sending message OutboundSMS [recipients=+467XXXXXXXX, message=DHIS: No command found] (DefaultOutboundSmsTransportService.java [Thread-12])

  • INFO 2016-02-02 20:05:07,742 RequestURL: http://opertorgateway.org/sendsms.php?UserName=MyUser&Password=**********&SOA=MyUser&MN=%2B467XXXXXXXX&SM=DHIS%3A+No+command+found PasserelleGSM (SimplisticHttpGetGateWay.java [Thread-12])

  • WARN 2016-02-02 20:05:47,635 Authentication event AuthenticationSuccessEvent: GsmDhisUser; details: org.springframework.security.web.authentication.WebAuthenticationDetails@1de6: RemoteIpAddress: 24.152.208.38; SessionId: null (LoggerListener.java [http-apr-8080-exec-1])

  • WARN 2016-02-02 20:06:31,215 Authentication event AuthenticationSuccessEvent: GsmDhisUser; details: org.springframework.security.web.authentication.WebAuthenticationDetails@1de6: RemoteIpAddress: 24.152.208.38; SessionId: null (LoggerListener.java [http-apr-8080-exec-7])

  • WARN 2016-02-02 20:06:41,672 Authentication event AuthenticationSuccessEvent: GsmDhisUser; details: org.springframework.security.web.authentication.WebAuthenticationDetails@1de6: RemoteIpAddress: 24.152.208.38; SessionId: null (LoggerListener.java [http-apr-8080-exec-5])

  • WARN 2016-02-02 20:07:00,393 Authentication event AuthenticationSuccessEvent: bao-admin; details: org.springframework.security.web.authentication.WebAuthenticationDetails@1de6: RemoteIpAddress: 24.152.208.38; SessionId: null (LoggerListener.java [http-apr-8080-exec-6])

  • INFO 2016-02-02 20:07:08,074 Received SMS: SMS testing. (SmsPublisher.java [Thread-12])

  • INFO 2016-02-02 20:07:08,081 Sending message OutboundSMS [recipients=+467XXXXXXXX, message=DHIS: No command found] (DefaultOutboundSmsTransportService.java [Thread-12])

  • INFO 2016-02-02 20:07:08,082 RequestURL: http://opertorgateway.org/sendsms.php?UserName=MyUser&Password=**********&SOA=MyUser&MN=%2B467XXXXXXXX&SM=DHIS%3A+No+command+found PasserelleGSM (SimplisticHttpGetGateWay.java [Thread-12])

  • ERROR 2016-02-02 20:07:08,676 Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 (SmsPublisher.java [Thread-12])

  • INFO 2016-02-02 20:07:14,718 Received SMS: SMS testing. (SmsPublisher.java [Thread-26])

  • INFO 2016-02-02 20:07:14,726 Sending message OutboundSMS [recipients=+467XXXXXXXX, message=DHIS: No command found] (DefaultOutboundSmsTransportService.java [Thread-26])

  • INFO 2016-02-02 20:07:14,726 RequestURL: http://opertorgateway.org/sendsms.php?UserName=MyUser&Password=**********&SOA=MyUser&MN=%2B467XXXXXXXX&SM=DHIS%3A+No+command+found PasserelleGSM (SimplisticHttpGetGateWay.java [Thread-26])

  • ERROR 2016-02-02 20:07:15,209 Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 (SmsPublisher.java [Thread-26])

  • INFO 2016-02-02 20:07:25,209 Received SMS: SMS testing. (SmsPublisher.java [Thread-26])

  • INFO 2016-02-02 20:07:25,216 Sending message OutboundSMS [recipients=+467XXXXXXXX, message=DHIS: No command found] (DefaultOutboundSmsTransportService.java [Thread-26])

  • INFO 2016-02-02 20:07:25,217 RequestURL: http://opertorgateway.org/sendsms.php?UserName=MyUser&Password=**********&SOA=MyUser&MN=%2B467XXXXXXXX&SM=DHIS%3A+No+command+found PasserelleGSM (SimplisticHttpGetGateWay.java [Thread-26])

  • ERROR 2016-02-02 20:07:25,680 Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 (SmsPublisher.java [Thread-26])

  • INFO 2016-02-02 20:07:35,680 Received SMS: SMS testing. (SmsPublisher.java [Thread-26])

Sincerely,

···

=========================
EKANI Guy

Le Lundi 14 mars 2016 13h31, Zubair Asghar Raja zubair@dhis2.org a écrit :

Hi Guy,

I am responsible for SMS related stuff. Can you share the logs ?

Regards

Zubair

On 14 Mar 2016, at 1:14 PM, “Lars Helge Øverland” lars@dhis2.org wrote:

Thanks Guy. We will have a developer reach out to you.

Since nobody have reported to be using the local SMS gateway modem, we will remove it for version 2.23.

regards,

Lars

On Thu, Mar 10, 2016 at 8:52 AM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Lars,

Thank’s for information,

We are trying to use SMS funtionnality with a SMS gateway provided by an external operator (Genreric HTTP Gateway) with DHIS 2.21 Build revision: 20998

But we have two problems :

  • The received SMS are not imported automatically,
  • When we manually import a received SMS, it’s make a loop that send a thousand of SMS to a specific Phone number

Please, could you help us to solve this issue that’s drained our SMS Credit ?

Sincerely

=========================
EKANI Guy

Le Mardi 8 mars 2016 11h22, Lars Helge Øverland lars@dhis2.org a écrit :

Hi all,

we are rewriting much of the functionality for sending outgoing SMS in DHIS 2. In that regard we were wondering if anyone is using the current function for sending SMS using a local SMS modem / gateway?

In production setups one should in any case use a network-based SMS gateway provided by an external operator (bulksms, clickatell).

The library we use (smslib) is deprected as well. We were thinking to end support for local SMS modems in 2.23.

regards,

Lars


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org



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

Dear Guy,

You need to set a SMS command for the system to route the SMS to the right place.

see http://dhis2.github.io/dhis2-docs/master/en/user/html/dhis2_user_manual_en_full.html#mobile_sms_command

Alex

···

On Mon, Mar 14, 2016 at 5:30 PM, Guy Ekani constyekani@yahoo.fr wrote:

Hi Zubair,

Here is the log when this problem appear the first time :

  • INFO 2016-02-02 19:59:59,649 Detected apps: (DefaultAppManager.java [http-apr-8080-exec-3])
  • INFO 2016-02-02 20:03:06,682 Detected apps: (DefaultAppManager.java [http-apr-8080-exec-7])
  • INFO 2016-02-02 20:03:48,867 Detected apps: (DefaultAppManager.java [http-apr-8080-exec-8])
  • INFO 2016-02-02 20:05:06,589 Received SMS: SMS testing. (SmsPublisher.java [Thread-12])
  • INFO 2016-02-02 20:05:06,610 Sending message OutboundSMS [recipients=+467XXXXXXXX, message=DHIS: No command found] (DefaultOutboundSmsTransportService.java [Thread-12])
  • INFO 2016-02-02 20:05:07,729 Received SMS: SMS testing. (SmsPublisher.java [Thread-12])
  • INFO 2016-02-02 20:05:07,741 Sending message OutboundSMS [recipients=+467XXXXXXXX, message=DHIS: No command found] (DefaultOutboundSmsTransportService.java [Thread-12])
  • WARN 2016-02-02 20:05:47,635 Authentication event AuthenticationSuccessEvent: GsmDhisUser; details: org.springframework.security.web.authentication.WebAuthenticationDetails@1de6: RemoteIpAddress: 24.152.208.38; SessionId: null (LoggerListener.java [http-apr-8080-exec-1])
  • WARN 2016-02-02 20:06:31,215 Authentication event AuthenticationSuccessEvent: GsmDhisUser; details: org.springframework.security.web.authentication.WebAuthenticationDetails@1de6: RemoteIpAddress: 24.152.208.38; SessionId: null (LoggerListener.java [http-apr-8080-exec-7])
  • WARN 2016-02-02 20:06:41,672 Authentication event AuthenticationSuccessEvent: GsmDhisUser; details: org.springframework.security.web.authentication.WebAuthenticationDetails@1de6: RemoteIpAddress: 24.152.208.38; SessionId: null (LoggerListener.java [http-apr-8080-exec-5])
  • WARN 2016-02-02 20:07:00,393 Authentication event AuthenticationSuccessEvent: bao-admin; details: org.springframework.security.web.authentication.WebAuthenticationDetails@1de6: RemoteIpAddress: 24.152.208.38; SessionId: null (LoggerListener.java [http-apr-8080-exec-6])
  • INFO 2016-02-02 20:07:08,074 Received SMS: SMS testing. (SmsPublisher.java [Thread-12])
  • INFO 2016-02-02 20:07:08,081 Sending message OutboundSMS [recipients=+467XXXXXXXX, message=DHIS: No command found] (DefaultOutboundSmsTransportService.java [Thread-12])
  • ERROR 2016-02-02 20:07:08,676 Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 (SmsPublisher.java [Thread-12])
  • INFO 2016-02-02 20:07:14,718 Received SMS: SMS testing. (SmsPublisher.java [Thread-26])
  • INFO 2016-02-02 20:07:14,726 Sending message OutboundSMS [recipients=+467XXXXXXXX, message=DHIS: No command found] (DefaultOutboundSmsTransportService.java [Thread-26])
  • ERROR 2016-02-02 20:07:15,209 Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 (SmsPublisher.java [Thread-26])
  • INFO 2016-02-02 20:07:25,209 Received SMS: SMS testing. (SmsPublisher.java [Thread-26])
  • INFO 2016-02-02 20:07:25,216 Sending message OutboundSMS [recipients=+467XXXXXXXX, message=DHIS: No command found] (DefaultOutboundSmsTransportService.java [Thread-26])
  • ERROR 2016-02-02 20:07:25,680 Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 (SmsPublisher.java [Thread-26])
  • INFO 2016-02-02 20:07:35,680 Received SMS: SMS testing. (SmsPublisher.java [Thread-26])

Sincerely,

EKANI Guy

=========================

Le Lundi 14 mars 2016 13h31, Zubair Asghar Raja zubair@dhis2.org a écrit :

Hi Guy,

I am responsible for SMS related stuff. Can you share the logs ?

Regards

Zubair

On 14 Mar 2016, at 1:14 PM, “Lars Helge Øverland” lars@dhis2.org wrote:

Thanks Guy. We will have a developer reach out to you.

Since nobody have reported to be using the local SMS gateway modem, we will remove it for version 2.23.

regards,

Lars

On Thu, Mar 10, 2016 at 8:52 AM, Guy Ekani constyekani@yahoo.fr wrote:

Hello Lars,

Thank’s for information,

We are trying to use SMS funtionnality with a SMS gateway provided by an external operator (Genreric HTTP Gateway) with DHIS 2.21 Build revision: 20998

But we have two problems :

  • The received SMS are not imported automatically,
  • When we manually import a received SMS, it’s make a loop that send a thousand of SMS to a specific Phone number

Please, could you help us to solve this issue that’s drained our SMS Credit ?

Sincerely

=========================
EKANI Guy

Le Mardi 8 mars 2016 11h22, Lars Helge Øverland lars@dhis2.org a écrit :

Hi all,

we are rewriting much of the functionality for sending outgoing SMS in DHIS 2. In that regard we were wondering if anyone is using the current function for sending SMS using a local SMS modem / gateway?

In production setups one should in any case use a network-based SMS gateway provided by an external operator (bulksms, clickatell).

The library we use (smslib) is deprected as well. We were thinking to end support for local SMS modems in 2.23.

regards,

Lars


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org



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


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

Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET

Kampala

Uganda
+256 774149 775, + 256 759 800161

Skype ID: talexie

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

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