···
From: commcare-developers@googlegroups.com
[mailto:commcare-developers@googlegroups.com] On Behalf Of Rowena Luk
Sent: Tuesday, July 13, 2010 9:24 PM
To: commcare-developers
Cc: Nir Yariv
Subject: Re: RapidSMS with Internet-based SMS Provider
Dear Nahid,
Yes, you do need to specify the port in local.ini. In your custom handler,
you specify the outgoing URL (for sending SMS). The ip/port in local.ini
will determine where incoming SMS should be directed (i.e. the external
gateway, in this configuration, will hit the port specified in local.ini).
Make sure that port is not in use by another application.
Cheers,
Rowena
On Tue, Jul 13, 2010 at 1:45 PM, Nahid Hossain nahid.hossain@brotecs.com wrote:
Hi Rowena,
I would like to test our customized HTTPHandler (i.e., End2End) from intel
apps. We have defined in both local.ini of commcarehq and rapidsms. Port
Just wondering, Do we need to set IP / Port in local.ini, or it will be same
as below? Because we are setting URL in HTTPHandler.
[end2end]
type=http
handler=End2EndHandler
host=0.0.0.0
port=8001
Could you please guide us, how can we test to send auto SMS from intel apps?
Appreciate for your help.
Thanks
Nahid
From: Nahid Hossain [mailto:nahid.hossain@brotecs.com]
Sent: Sunday, July 11, 2010 11:52 PM
To: 'commcare-developers@googlegroups.com'
Cc: 'Nir Yariv'
Subject: RE: RapidSMS with Internet-based SMS Provider
Thanks Rowena!
I will look into it and will get back to you.
Regards
Nahid
From: commcare-developers@googlegroups.com
[mailto:commcare-developers@googlegroups.com] On Behalf Of Rowena Luk
Sent: Sunday, July 11, 2010 4:55 PM
To: commcare-developers
Cc: Nir Yariv
Subject: Re: RapidSMS with Internet-based SMS Provider
Dear Nahid,
Have a look at GitHub - dimagi/rapidsms: Build SMS applications with Python, in particular,
rapidsms/lib/rapidsms/backends/httphandlers. Here you will find the End2End
handler, which sends SMS to a url of the form:
http://gw1.promessaging.com/sms.php?msg=helloworld&dnr=+123456789
&dnr=+123456789
To use the End2End backend, just add 'End2End' as one of your activated
backends in your configuration file.
To use a different SMS gateway, you can customize the End2End handler for
the VoiceTrading API.
Cheers,
Rowena
On Sat, Jul 10, 2010 at 1:23 PM, Nahid Hossain nahid.hossain@brotecs.com wrote:
Thanks Cory for the response.
I would like to use VoiceTrading SMS gateway
(http://www.voicetrading.com/en/wholesalesms.html), here is their process:
How to send SMS?
You can send SMS using HTML SMSlink. This enables you to send SMS without
accessing the website.
Use the following link and fill in the desired data:
sendsms.php?username=xxxxxxxxxx&pa
ssword=xxxxxxxxxx&from=xxxxxxxxxx&
to=xxxxxxxxxx&text=xxxxxxxxxx
Explanation of the variables:
username: your VoiceTrading username
password: your VoiceTrading password
from:
any phone number (Always use international format for the number starting
with +, for instance +491701234567)
to:
the number you wish to send the sms to. Always use international format
starting with +, for instance +491701234567
text:
the message you want to send
Do I get a delivery report per SMS?
Yes, here are some report examples you will receive per sent SMS:
Successfull SMS:
<?xml version="1.0" encoding="utf-8" ?>
1
1
success
Invalid number:
<?xml version="1.0" encoding="utf-8" ?>
1
0
failure
Invalid Number
19
Balance too low:
<?xml version="1.0" encoding="utf-8" ?>
1
0
failure
Sorry, you do not have enough credit to send this sms. Go to
your accountpage to buy credit!
1
Invalid username/password:
<?xml version="1.0" encoding="utf-8" ?>
1
0
failure
Wrong Username/password combination
Missing mandatory parameter:
<?xml version="1.0" encoding="utf-8" ?>
1
0
failure
The parameter password is missing
Will it that work for RapidSMS? Please confirm.
Also, could you please send me any reference guide which can help to
integrate SMS feature with a gateway?
Appreciate for your help.
Thanks
Nahid
-----Original Message-----
From: commcare-developers@googlegroups.com
[mailto:commcare-developers@googlegroups.com] On Behalf Of Cory Zue
Sent: Friday, July 09, 2010 7:20 AM
To: commcare-developers
Cc: Nir Yariv; Rowena Luk
Subject: Re: RapidSMS with Internet-based SMS Provider
Hey Nahid,
Yes, you can definitely use a gateway. The implementation details are
gateway-specific, but you typically agree upon an http-based protocol
that allows you to push messages to the gateway and the gateway to
notify you messages when they come in. Typically the http backend is
used with a custom httphandler for the gateway that defines the back
and forth format.
hope this helps,
Cory
On Thu, Jul 8, 2010 at 8:30 AM, Nahid Hossain nahid.hossain@brotecs.com wrote:
Hello,
I would like to know, is it possible to use internet-based SMS provider
connection instead of GSM modem for SMS sending from RapidSMS?
If it is possible, how can we integrate it? Could you please guide us?
Thanks for your help in advance.
Regards
Nahid