Page 1 of 1

How to forward SMS from Cyclos SMS to mobile phone

Posted: Tue Dec 04, 2012 6:10 am
by ken4ward
Thanks to this organization for the wonderful software provided. Successfully we have configured Cyclos web module and SMS module; and it's working fine. This is by testing it with the SMS gateway specified for Andorid phones. Our secondary challenge now is that:
When the SMS is sent from a registered member's phone to another registered member, to pay the member, it automatically performs the transaction on the web portal, which is good. At this time we want the transaction details as well to be forwarded back to the originating phone number and the receiver's phone number.

Let's take this as an example:
Member A's username is "John" with mobile number 08023472436 and PIN 1234.
Member B's username is "Kate" with mobile number 08022334455 and PIN 4321.

If John wants to pay Kate 20 units the typed string is this:
======08023472436 (the sender phone number textbox)
=======pay 1234 08022334455 20 units

With this done, the transaction is done on the web portal.
We want it that the when John pays Kate, an alert should go into Kates mobile phone with a string like this:

======"This is from Cyclos portal "
======"John (08023472436) has credited your account with 20 units".
======"Happy spending".

An alert message like this as well should go into the sender's mobile phone:
======"This is from Cyclos portal "
======"You have credited Kate's (08022334455) account with 20 units".
======"Thanks".

Re: How to forward SMS from Cyclos SMS to mobile phone

Posted: Fri Dec 14, 2012 8:19 am
by admin
The 'payment receiver' will receive a SMS with payment details when the notification for payments enabled (Preferences - Notifications - Recieved payments - select SMS column)

Re: How to forward SMS from Cyclos SMS to mobile phone

Posted: Wed Dec 19, 2012 10:08 am
by ken4ward
Thanks very much. I so much appreciate this. is there anyway the admin can enable this for a group of users?

Re: How to forward SMS from Cyclos SMS to mobile phone

Posted: Wed Dec 19, 2012 2:18 pm
by admin
It can be done with a bulk action (option enable/disable channels)

Re: How to forward SMS from Cyclos SMS to mobile phone

Posted: Thu Dec 20, 2012 6:58 am
by ken4ward
Thanks a lot. i really appreciate.

Re: How to forward SMS from Cyclos SMS to mobile phone

Posted: Mon Jul 08, 2013 8:04 am
by thierno
hi everyone. I can't say enough you guys helped me to test cyclos through this forum.
but i'm stuck now. while testing sms from my android phone here is what I get :

2013-07-08 10:59:14 INFO MonitorDwrService New monitor registration from 127.0.0.1 (127.0.0.1) with user cyclos
2013-07-08 10:59:36 INFO HttpGatewayReceiverServlet Incoming request from gateway: 192.168.43.1
2013-07-08 10:59:36 WARN HttpGatewayReceiverServlet Request parameter not found: to (property used to retrieve it: rx.toParam). Using default value: 'null'
2013-07-08 10:59:36 WARN HttpGatewayReceiverServlet Request parameter not found: trace (property used to retrieve it: rx.traceParam). Using default value: 'null'
2013-07-08 10:59:36 WARN ToControllerMessageProcessor Ignoring the message to controller because has an invalid from number: Driver Message: trace = 3196140088106 provider = null from = 00224657008663 to = 9999 words = 1 text = **** driverId = aioDriver

here is my httpDriverConfig:

#####################################################
# Specific HTTP driver configuration #
#####################################################

# Ovewrite default values defined in baseDriverconfig.properties
engine.class=nl.strohalm.cyclos.driver.http.engine.HttpGatewayEngine

white.list.hosts=192.168.43.224, 127.0.0.1

#****************** Parameters used to SEND a request to the Gateway ******************
tx.url=http://192.168.43.1:9090/sendsms?
tx.disableCNCheck=true
tx.trustAllCerts=true
tx.apiIdParam=
tx.apiId=
tx.messageParam=text
tx.fromParam=from
tx.toParam=phone
tx.countryCodeLen=0
tx.areaCodeLen=0
tx.countryCodeParam=
tx.areaCodeParam=
tx.passwordParam=
tx.userParam=
tx.password=
tx.user=

# HTTP method to send (POST, GET)
tx.method=GET

# MT message, charset encoding
tx.charset=ISO-8859-1

# Regular expression to identify a successful send command
tx.okResponse=.*

tx.httpClient.maxConnection=3
tx.httpClient.connectionTimeout=120000
tx.httpClient.readTimeout=120000

# Provider Configuration
tx.providerParam=
tx.provider.value.DEFAULT=0

#Define the parameter used to send back the trace data
tx.traceParam=trace

#****************** Parameters used when RECEIVE a request from the Gateway ******************
rx.messageParam=text
rx.toParam=to
rx.providerParam=
rx.areaCodeParam=
rx.countryCodeParam=
rx.fromParam=phone

# User and Password access
rx.passwordParam=
rx.userParam=
rx.password=
rx.user=

rx.method=GET

#the response to send back to the invoker
rx.response=OK

#Define the parameter used to read trace data set by the GW
rx.traceParam=trace

******************************
in baseDriverConfig

phone.with.area.code.len=9

phone.area.code.prefix=
phone.country.code=00224

*********************************************

here in guinea phone number have 9 digits

Can someone please help

regards

Re: How to forward SMS from Cyclos SMS to mobile phone

Posted: Wed Oct 30, 2013 5:11 am
by ken4ward
Sorry for the late reply. I think for most African countries the prefix is to be 009, not 00. Check this and revert if it works. Thanks.