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 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 > >

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

Dear Nahid,

Have a look at github.com/dimagi/rapidsms, 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

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 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:

https://www.voicetrading.com/myaccount/
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

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.com/dimagi/rapidsms, 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
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

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.com/dimagi/rapidsms, 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
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

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 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.com/dimagi/rapidsms, 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

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:

https://www.voicetrading.com/myaccount/
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

Hi Nahid,

Could you please answer my other question? “I would like to test our
customized HTTPHandler (i.e., End2End) from intel apps. Could you please
guide me, how can we test to send auto SMS from intel apps? “

The intel app sends SMS from the report view - if you go to “pregnant
mothers” and click one of the “Add” links under the “Most recent
follow up” column, you’ll see the SMS sending window.

  • Nir

Hi Nahid,

Could you please answer my other question? “I would like to test our
customized HTTPHandler (i.e., End2End) from intel apps. Could you please
guide me, how can we test to send auto SMS from intel apps? “

The intel app sends SMS from the report view - if you go to “pregnant
mothers” and click one of the “Add” links under the “Most recent
follow up” column, you’ll see the SMS sending window.

Just to be clear you would first need to create connection and
reporter objects linked to the chws that were configured to reference
the new gateway. Each connection has a backend that should point at
your new backend and an identity which is the phone number. You can
also use the messaging app to test the outgoing sms functionality
without having to link to chws. Make sure it’s enabled in your .ini
and then go to /messaging on your server.

Cory

··· On Tue, Jul 13, 2010 at 11:44 AM, Nir Yariv wrote:
  • Nir

(also, it’s always good practice as a first step to verify that you can send
sms directly from your browser. i.e. hit the url
voicetrading.com/myaccount?x=y etc and make sure that you receive the sms
you sent…)

··· On Tue, Jul 13, 2010 at 9:21 PM, Cory Zue wrote:

On Tue, Jul 13, 2010 at 11:44 AM, Nir Yariv nyariv@dimagi.com wrote:

Hi Nahid,

Could you please answer my other question? “I would like to test our
customized HTTPHandler (i.e., End2End) from intel apps. Could you please
guide me, how can we test to send auto SMS from intel apps? “

The intel app sends SMS from the report view - if you go to “pregnant
mothers” and click one of the “Add” links under the “Most recent
follow up” column, you’ll see the SMS sending window.

Just to be clear you would first need to create connection and
reporter objects linked to the chws that were configured to reference
the new gateway. Each connection has a backend that should point at
your new backend and an identity which is the phone number. You can
also use the messaging app to test the outgoing sms functionality
without having to link to chws. Make sure it’s enabled in your .ini
and then go to /messaging on your server.

Cory

  • Nir

OK, so if we don’t need incoming, then ip/port doesn’t require, right?

Could you please answer my other question? "I would like to test our
customized HTTPHandler (i.e., End2End) from intel apps. Could you please
guide me, how can we test to send auto SMS from intel apps? "

Thanks

Nahid

··· 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.com/dimagi/rapidsms, 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
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

Thanks Guys!

I have tested with the browser hiting the URL directly & it works.

Let me try out as per Cory/Nir’s guidance.

Nahid

··· From: Rowena Luk [mailto:rluk@dimagi.com] Sent: Tuesday, July 13, 2010 9:57 PM To: commcare-developers Cc: Nahid Hossain Subject: Re: RapidSMS with Internet-based SMS Provider

(also, it’s always good practice as a first step to verify that you can send
sms directly from your browser. i.e. hit the url
voicetrading.com/myaccount?x=y etc and make sure that you receive the sms
you sent…)

On Tue, Jul 13, 2010 at 9:21 PM, Cory Zue czue@dimagi.com wrote:

On Tue, Jul 13, 2010 at 11:44 AM, Nir Yariv nyariv@dimagi.com wrote:

Hi Nahid,

Could you please answer my other question? "I would like to test our
customized HTTPHandler (i.e., End2End) from intel apps. Could you please
guide me, how can we test to send auto SMS from intel apps? "

The intel app sends SMS from the report view - if you go to “pregnant
mothers” and click one of the “Add” links under the “Most recent
follow up” column, you’ll see the SMS sending window.

Just to be clear you would first need to create connection and
reporter objects linked to the chws that were configured to reference
the new gateway. Each connection has a backend that should point at
your new backend and an identity which is the phone number. You can
also use the messaging app to test the outgoing sms functionality
without having to link to chws. Make sure it’s enabled in your .ini
and then go to /messaging on your server.

Cory

  • Nir

Hi Nahid,

Did you update your local.ini file to create the new backend? Also,
the route process has to be running (in cchq start it using “python
manage.py route”). If you’ve never run the route process before, the
first time you do it it will populate the options for that list of
connections for you.

best,
Cory

··· On Sun, Jul 18, 2010 at 12:03 PM, Nahid Hossain wrote: > Hello, > > Now I am stuck to test out our customized SMS handler. I have modified the existing End2EndHandler to fit with VoiceTrading API. > > > > But when I tried to test SMS through /reporters/add, it can’t give me the option to select the connection type which I modified and also I don’t find any field where I can enter the destination number. Could you please guide me, how can I get the connection selection option? > > > > > > Thanks > > Nahid > > > > > > > > From: commcare-developers@googlegroups.com [mailto:commcare-developers@googlegroups.com] On Behalf Of Nahid Hossain > Sent: Tuesday, July 13, 2010 10:01 PM > To: 'Rowena Luk'; 'commcare-developers' > > Subject: RE: RapidSMS with Internet-based SMS Provider > > > > Thanks Guys! > > > > I have tested with the browser hiting the URL directly & it works. > > > > Let me try out as per Cory/Nir’s guidance. > > > > Nahid > > > > > > > > From: Rowena Luk [mailto:rluk@dimagi.com] > Sent: Tuesday, July 13, 2010 9:57 PM > To: commcare-developers > Cc: Nahid Hossain > > Subject: Re: RapidSMS with Internet-based SMS Provider > > > > (also, it's always good practice as a first step to verify that you can send sms directly from your browser. i.e. hit the url voicetrading.com/myaccount?x=y etc and make sure that you receive the sms you sent....) > > On Tue, Jul 13, 2010 at 9:21 PM, Cory Zue wrote: > > On Tue, Jul 13, 2010 at 11:44 AM, Nir Yariv wrote: >> Hi Nahid, >> >>> Could you please answer my other question? “I would like to test our >>> customized HTTPHandler (i.e., End2End) from intel apps. Could you please >>> guide me, how can we test to send auto SMS from intel apps? “ >> >> The intel app sends SMS from the report view - if you go to "pregnant >> mothers" and click one of the "Add" links under the "Most recent >> follow up" column, you'll see the SMS sending window. > > Just to be clear you would first need to create connection and > reporter objects linked to the chws that were configured to reference > the new gateway. Each connection has a backend that should point at > your new backend and an identity which is the phone number. You can > also use the messaging app to test the outgoing sms functionality > without having to link to chws. Make sure it's enabled in your .ini > and then go to /messaging on your server. > > Cory > > >> >> - Nir >> > >

Hello,

Now I am stuck to test out our customized SMS handler. I have modified the
existing End2EndHandler to fit with VoiceTrading API.

But when I tried to test SMS through /reporters/add, it can’t give me the
option to select the connection type which I modified and also I don’t find
any field where I can enter the destination number. Could you please guide
me, how can I get the connection selection option?

Thanks

Nahid

··· From: commcare-developers@googlegroups.com [mailto:commcare-developers@googlegroups.com] On Behalf Of Nahid Hossain Sent: Tuesday, July 13, 2010 10:01 PM To: 'Rowena Luk'; 'commcare-developers' Subject: RE: RapidSMS with Internet-based SMS Provider

Thanks Guys!

I have tested with the browser hiting the URL directly & it works.

Let me try out as per Cory/Nir’s guidance.

Nahid

From: Rowena Luk [mailto:rluk@dimagi.com]
Sent: Tuesday, July 13, 2010 9:57 PM
To: commcare-developers
Cc: Nahid Hossain
Subject: Re: RapidSMS with Internet-based SMS Provider

(also, it’s always good practice as a first step to verify that you can send
sms directly from your browser. i.e. hit the url
voicetrading.com/myaccount?x=y etc and make sure that you receive the sms
you sent…)

On Tue, Jul 13, 2010 at 9:21 PM, Cory Zue czue@dimagi.com wrote:

On Tue, Jul 13, 2010 at 11:44 AM, Nir Yariv nyariv@dimagi.com wrote:

Hi Nahid,

Could you please answer my other question? "I would like to test our
customized HTTPHandler (i.e., End2End) from intel apps. Could you please
guide me, how can we test to send auto SMS from intel apps? "

The intel app sends SMS from the report view - if you go to “pregnant
mothers” and click one of the “Add” links under the “Most recent
follow up” column, you’ll see the SMS sending window.

Just to be clear you would first need to create connection and
reporter objects linked to the chws that were configured to reference
the new gateway. Each connection has a backend that should point at
your new backend and an identity which is the phone number. You can
also use the messaging app to test the outgoing sms functionality
without having to link to chws. Make sure it’s enabled in your .ini
and then go to /messaging on your server.

Cory

  • Nir

You enter the phone number when you create the reporter.
On the ‘add reporter’ page, you’ll need to specify the correct Connection
(the same customized End2End handler you’re working with) and the phone
number.
Then on the /messaging page, you click on the grey dot next to the reporter
of interest (it should become a green check mark), fill in your message, and
click ‘send’.

··· On Mon, Jul 19, 2010 at 7:52 PM, Nahid Hossain wrote:

Thanks Cory for your response.

No, I didn’t run the command “python manage.py route” earlier. I just ran
that command and then the connection drop-down appears in reporters/add
page.

Now I can see my customized End2End handlers in drop down.

Now, where should I enter the phone number to test out?

Thanks
Nahid

-----Original Message-----
From: commcare-developers@googlegroups.com
[mailto:commcare-developers@googlegroups.com] On Behalf Of Cory Zue
Sent: Monday, July 19, 2010 7:58 PM
To: commcare-developers
Subject: Re: RapidSMS with Internet-based SMS Provider

Hi Nahid,

Did you update your local.ini file to create the new backend? Also,
the route process has to be running (in cchq start it using “python
manage.py route”). If you’ve never run the route process before, the
first time you do it it will populate the options for that list of
connections for you.

best,
Cory

On Sun, Jul 18, 2010 at 12:03 PM, Nahid Hossain nahid.hossain@brotecs.com wrote:

Hello,

Now I am stuck to test out our customized SMS handler. I have modified
the
existing End2EndHandler to fit with VoiceTrading API.

But when I tried to test SMS through /reporters/add, it can’t give me the
option to select the connection type which I modified and also I don’t find
any field where I can enter the destination number. Could you please guide
me, how can I get the connection selection option?

Thanks

Nahid

From: commcare-developers@googlegroups.com
[mailto:commcare-developers@googlegroups.com] On Behalf Of Nahid Hossain
Sent: Tuesday, July 13, 2010 10:01 PM
To: ‘Rowena Luk’; ‘commcare-developers’

Subject: RE: RapidSMS with Internet-based SMS Provider

Thanks Guys!

I have tested with the browser hiting the URL directly & it works.

Let me try out as per Cory/Nir’s guidance.

Nahid

From: Rowena Luk [mailto:rluk@dimagi.com]
Sent: Tuesday, July 13, 2010 9:57 PM
To: commcare-developers
Cc: Nahid Hossain

Subject: Re: RapidSMS with Internet-based SMS Provider

(also, it’s always good practice as a first step to verify that you can
send sms directly from your browser. i.e. hit the url
voicetrading.com/myaccount?x=y etc and make sure that you receive the sms
you sent…)

On Tue, Jul 13, 2010 at 9:21 PM, Cory Zue czue@dimagi.com wrote:

On Tue, Jul 13, 2010 at 11:44 AM, Nir Yariv nyariv@dimagi.com wrote:

Hi Nahid,

Could you please answer my other question? “I would like to test our
customized HTTPHandler (i.e., End2End) from intel apps. Could you
please

guide me, how can we test to send auto SMS from intel apps? “

The intel app sends SMS from the report view - if you go to “pregnant
mothers” and click one of the “Add” links under the “Most recent
follow up” column, you’ll see the SMS sending window.

Just to be clear you would first need to create connection and
reporter objects linked to the chws that were configured to reference
the new gateway. Each connection has a backend that should point at
your new backend and an identity which is the phone number. You can
also use the messaging app to test the outgoing sms functionality
without having to link to chws. Make sure it’s enabled in your .ini
and then go to /messaging on your server.

Cory

  • Nir

Thanks Cory for your response.

No, I didn’t run the command “python manage.py route” earlier. I just ran
that command and then the connection drop-down appears in reporters/add
page.

Now I can see my customized End2End handlers in drop down.

Now, where should I enter the phone number to test out?

Thanks
Nahid

··· -----Original Message----- From: commcare-developers@googlegroups.com [mailto:commcare-developers@googlegroups.com] On Behalf Of Cory Zue Sent: Monday, July 19, 2010 7:58 PM To: commcare-developers Subject: Re: RapidSMS with Internet-based SMS Provider

Hi Nahid,

Did you update your local.ini file to create the new backend? Also,
the route process has to be running (in cchq start it using “python
manage.py route”). If you’ve never run the route process before, the
first time you do it it will populate the options for that list of
connections for you.

best,
Cory

On Sun, Jul 18, 2010 at 12:03 PM, Nahid Hossain nahid.hossain@brotecs.com wrote:

Hello,

Now I am stuck to test out our customized SMS handler. I have modified the
existing End2EndHandler to fit with VoiceTrading API.

But when I tried to test SMS through /reporters/add, it can’t give me the
option to select the connection type which I modified and also I don’t find
any field where I can enter the destination number. Could you please guide
me, how can I get the connection selection option?

Thanks

Nahid

From: commcare-developers@googlegroups.com
[mailto:commcare-developers@googlegroups.com] On Behalf Of Nahid Hossain
Sent: Tuesday, July 13, 2010 10:01 PM
To: ‘Rowena Luk’; ‘commcare-developers’

Subject: RE: RapidSMS with Internet-based SMS Provider

Thanks Guys!

I have tested with the browser hiting the URL directly & it works.

Let me try out as per Cory/Nir’s guidance.

Nahid

From: Rowena Luk [mailto:rluk@dimagi.com]
Sent: Tuesday, July 13, 2010 9:57 PM
To: commcare-developers
Cc: Nahid Hossain

Subject: Re: RapidSMS with Internet-based SMS Provider

(also, it’s always good practice as a first step to verify that you can
send sms directly from your browser. i.e. hit the url
voicetrading.com/myaccount?x=y etc and make sure that you receive the sms
you sent…)

On Tue, Jul 13, 2010 at 9:21 PM, Cory Zue czue@dimagi.com wrote:

On Tue, Jul 13, 2010 at 11:44 AM, Nir Yariv nyariv@dimagi.com wrote:

Hi Nahid,

Could you please answer my other question? “I would like to test our
customized HTTPHandler (i.e., End2End) from intel apps. Could you please
guide me, how can we test to send auto SMS from intel apps? “

The intel app sends SMS from the report view - if you go to “pregnant
mothers” and click one of the “Add” links under the “Most recent
follow up” column, you’ll see the SMS sending window.

Just to be clear you would first need to create connection and
reporter objects linked to the chws that were configured to reference
the new gateway. Each connection has a backend that should point at
your new backend and an identity which is the phone number. You can
also use the messaging app to test the outgoing sms functionality
without having to link to chws. Make sure it’s enabled in your .ini
and then go to /messaging on your server.

Cory

  • Nir

Hi Nahid,

The first thing to check are the log/console outputs of the route and
django processes. These should be available from the command window
where you have them running.

Cory

··· On Mon, Jul 19, 2010 at 10:56 AM, Nahid Hossain wrote: > HI Rowena, > > Yes, I got green check mark. But getting an ERROR. How can I find the details Error? Is there any specific log where I can look in and fix accordingly. > > > > Thanks > > Nahid > > > > > > > > From: commcare-developers@googlegroups.com [mailto:commcare-developers@googlegroups.com] On Behalf Of Rowena Luk > Sent: Monday, July 19, 2010 8:44 PM > > To: commcare-developers > Subject: Re: RapidSMS with Internet-based SMS Provider > > > > You enter the phone number when you create the reporter. > On the 'add reporter' page, you'll need to specify the correct Connection (the same customized End2End handler you're working with) and the phone number. > Then on the /messaging page, you click on the grey dot next to the reporter of interest (it should become a green check mark), fill in your message, and click 'send'. > > On Mon, Jul 19, 2010 at 7:52 PM, Nahid Hossain wrote: > > Thanks Cory for your response. > > No, I didn't run the command "python manage.py route" earlier. I just ran > that command and then the connection drop-down appears in reporters/add > page. > > Now I can see my customized End2End handlers in drop down. > > Now, where should I enter the phone number to test out? > > Thanks > Nahid > > > -----Original Message----- > From: commcare-developers@googlegroups.com > > [mailto:commcare-developers@googlegroups.com] On Behalf Of Cory Zue > Sent: Monday, July 19, 2010 7:58 PM > To: commcare-developers > Subject: Re: RapidSMS with Internet-based SMS Provider > > Hi Nahid, > > Did you update your local.ini file to create the new backend? Also, > the route process has to be running (in cchq start it using "python > manage.py route"). If you've never run the route process before, the > first time you do it it will populate the options for that list of > connections for you. > > best, > Cory > > > On Sun, Jul 18, 2010 at 12:03 PM, Nahid Hossain wrote: >> Hello, >> >> Now I am stuck to test out our customized SMS handler. I have modified the > existing End2EndHandler to fit with VoiceTrading API. >> >> >> >> But when I tried to test SMS through /reporters/add, it can’t give me the > option to select the connection type which I modified and also I don’t find > any field where I can enter the destination number. Could you please guide > me, how can I get the connection selection option? >> >> >> >> >> >> Thanks >> >> Nahid >> >> >> >> >> >> >> >> From: commcare-developers@googlegroups.com > [mailto:commcare-developers@googlegroups.com] On Behalf Of Nahid Hossain >> Sent: Tuesday, July 13, 2010 10:01 PM >> To: 'Rowena Luk'; 'commcare-developers' >> >> Subject: RE: RapidSMS with Internet-based SMS Provider >> >> >> >> Thanks Guys! >> >> >> >> I have tested with the browser hiting the URL directly & it works. >> >> >> >> Let me try out as per Cory/Nir’s guidance. >> >> >> >> Nahid >> >> >> >> >> >> >> >> From: Rowena Luk [mailto:rluk@dimagi.com] >> Sent: Tuesday, July 13, 2010 9:57 PM >> To: commcare-developers >> Cc: Nahid Hossain >> >> Subject: Re: RapidSMS with Internet-based SMS Provider >> >> >> >> (also, it's always good practice as a first step to verify that you can > send sms directly from your browser. i.e. hit the url > voicetrading.com/myaccount?x=y etc and make sure that you receive the sms > you sent....) >> >> On Tue, Jul 13, 2010 at 9:21 PM, Cory Zue wrote: >> >> On Tue, Jul 13, 2010 at 11:44 AM, Nir Yariv wrote: >>> Hi Nahid, >>> >>>> Could you please answer my other question? “I would like to test our >>>> customized HTTPHandler (i.e., End2End) from intel apps. Could you please >>>> guide me, how can we test to send auto SMS from intel apps? “ >>> >>> The intel app sends SMS from the report view - if you go to "pregnant >>> mothers" and click one of the "Add" links under the "Most recent >>> follow up" column, you'll see the SMS sending window. >> >> Just to be clear you would first need to create connection and >> reporter objects linked to the chws that were configured to reference >> the new gateway. Each connection has a backend that should point at >> your new backend and an identity which is the phone number. You can >> also use the messaging app to test the outgoing sms functionality >> without having to link to chws. Make sure it's enabled in your .ini >> and then go to /messaging on your server. >> >> Cory >> >> >>> >>> - Nir >>> >> >> > >

HI Rowena,

Yes, I got green check mark. But getting an ERROR. How can I find the
details Error? Is there any specific log where I can look in and fix
accordingly.

Thanks

Nahid

··· From: commcare-developers@googlegroups.com [mailto:commcare-developers@googlegroups.com] On Behalf Of Rowena Luk Sent: Monday, July 19, 2010 8:44 PM To: commcare-developers Subject: Re: RapidSMS with Internet-based SMS Provider

You enter the phone number when you create the reporter.
On the ‘add reporter’ page, you’ll need to specify the correct Connection
(the same customized End2End handler you’re working with) and the phone
number.
Then on the /messaging page, you click on the grey dot next to the reporter
of interest (it should become a green check mark), fill in your message, and
click ‘send’.

On Mon, Jul 19, 2010 at 7:52 PM, Nahid Hossain nahid.hossain@brotecs.com wrote:

Thanks Cory for your response.

No, I didn’t run the command “python manage.py route” earlier. I just ran
that command and then the connection drop-down appears in reporters/add
page.

Now I can see my customized End2End handlers in drop down.

Now, where should I enter the phone number to test out?

Thanks
Nahid

-----Original Message-----
From: commcare-developers@googlegroups.com

[mailto:commcare-developers@googlegroups.com] On Behalf Of Cory Zue
Sent: Monday, July 19, 2010 7:58 PM
To: commcare-developers
Subject: Re: RapidSMS with Internet-based SMS Provider

Hi Nahid,

Did you update your local.ini file to create the new backend? Also,
the route process has to be running (in cchq start it using “python
manage.py route”). If you’ve never run the route process before, the
first time you do it it will populate the options for that list of
connections for you.

best,
Cory

On Sun, Jul 18, 2010 at 12:03 PM, Nahid Hossain nahid.hossain@brotecs.com wrote:

Hello,

Now I am stuck to test out our customized SMS handler. I have modified the
existing End2EndHandler to fit with VoiceTrading API.

But when I tried to test SMS through /reporters/add, it can’t give me the
option to select the connection type which I modified and also I don’t find
any field where I can enter the destination number. Could you please guide
me, how can I get the connection selection option?

Thanks

Nahid

From: commcare-developers@googlegroups.com
[mailto:commcare-developers@googlegroups.com] On Behalf Of Nahid Hossain
Sent: Tuesday, July 13, 2010 10:01 PM
To: ‘Rowena Luk’; ‘commcare-developers’

Subject: RE: RapidSMS with Internet-based SMS Provider

Thanks Guys!

I have tested with the browser hiting the URL directly & it works.

Let me try out as per Cory/Nir’s guidance.

Nahid

From: Rowena Luk [mailto:rluk@dimagi.com]
Sent: Tuesday, July 13, 2010 9:57 PM
To: commcare-developers
Cc: Nahid Hossain

Subject: Re: RapidSMS with Internet-based SMS Provider

(also, it’s always good practice as a first step to verify that you can
send sms directly from your browser. i.e. hit the url
voicetrading.com/myaccount?x=y etc and make sure that you receive the sms
you sent…)

On Tue, Jul 13, 2010 at 9:21 PM, Cory Zue czue@dimagi.com wrote:

On Tue, Jul 13, 2010 at 11:44 AM, Nir Yariv nyariv@dimagi.com wrote:

Hi Nahid,

Could you please answer my other question? "I would like to test our
customized HTTPHandler (i.e., End2End) from intel apps. Could you please
guide me, how can we test to send auto SMS from intel apps? "

The intel app sends SMS from the report view - if you go to “pregnant
mothers” and click one of the “Add” links under the “Most recent
follow up” column, you’ll see the SMS sending window.

Just to be clear you would first need to create connection and
reporter objects linked to the chws that were configured to reference
the new gateway. Each connection has a backend that should point at
your new backend and an identity which is the phone number. You can
also use the messaging app to test the outgoing sms functionality
without having to link to chws. Make sure it’s enabled in your .ini
and then go to /messaging on your server.

Cory

  • Nir

fixed, the issue was rapidsms/apps/ajax/config.py using the same port
as end2end in local.ini.

··· On Mon, Jul 19, 2010 at 11:46 AM, Nahid Hossain wrote: > Hi Cory, > I couldn't find any helpful log yet, but I found that log location will be > created under /tmp/ according to local.ini and was trying to see the > "dev-rapidsms.log" file. I didn't find any errors over there. Also, > runserver console doesn't give any errors which can help me. > > Could you please guide me where can I find it? FYI, I am using Ubuntu. > > Thanks > Nahid > > > > -----Original Message----- > From: commcare-developers@googlegroups.com > [mailto:commcare-developers@googlegroups.com] On Behalf Of Cory Zue > Sent: Monday, July 19, 2010 9:09 PM > To: commcare-developers > Subject: Re: RapidSMS with Internet-based SMS Provider > > Hi Nahid, > > The first thing to check are the log/console outputs of the route and > django processes. These should be available from the command window > where you have them running. > > Cory > > On Mon, Jul 19, 2010 at 10:56 AM, Nahid Hossain wrote: >> HI Rowena, >> >> Yes, I got green check mark. But getting an ERROR. How can I find the > details Error? Is there any specific log where I can look in and fix > accordingly. >> >> >> >> Thanks >> >> Nahid >> >> >> >> >> >> >> >> From: commcare-developers@googlegroups.com > [mailto:commcare-developers@googlegroups.com] On Behalf Of Rowena Luk >> Sent: Monday, July 19, 2010 8:44 PM >> >> To: commcare-developers >> Subject: Re: RapidSMS with Internet-based SMS Provider >> >> >> >> You enter the phone number when you create the reporter. >> On the 'add reporter' page, you'll need to specify the correct Connection > (the same customized End2End handler you're working with) and the phone > number. >> Then on the /messaging page, you click on the grey dot next to the > reporter of interest (it should become a green check mark), fill in your > message, and click 'send'. >> >> On Mon, Jul 19, 2010 at 7:52 PM, Nahid Hossain wrote: >> >> Thanks Cory for your response. >> >> No, I didn't run the command "python manage.py route" earlier. I just ran >> that command and then the connection drop-down appears in reporters/add >> page. >> >> Now I can see my customized End2End handlers in drop down. >> >> Now, where should I enter the phone number to test out? >> >> Thanks >> Nahid >> >> >> -----Original Message----- >> From: commcare-developers@googlegroups.com >> >> [mailto:commcare-developers@googlegroups.com] On Behalf Of Cory Zue >> Sent: Monday, July 19, 2010 7:58 PM >> To: commcare-developers >> Subject: Re: RapidSMS with Internet-based SMS Provider >> >> Hi Nahid, >> >> Did you update your local.ini file to create the new backend? Also, >> the route process has to be running (in cchq start it using "python >> manage.py route"). If you've never run the route process before, the >> first time you do it it will populate the options for that list of >> connections for you. >> >> best, >> Cory >> >> >> On Sun, Jul 18, 2010 at 12:03 PM, Nahid Hossain wrote: >>> Hello, >>> >>> Now I am stuck to test out our customized SMS handler. I have modified > the >> existing End2EndHandler to fit with VoiceTrading API. >>> >>> >>> >>> But when I tried to test SMS through /reporters/add, it can’t give me the >> option to select the connection type which I modified and also I don’t > find >> any field where I can enter the destination number. Could you please guide >> me, how can I get the connection selection option? >>> >>> >>> >>> >>> >>> Thanks >>> >>> Nahid >>> >>> >>> >>> >>> >>> >>> >>> From: commcare-developers@googlegroups.com >> [mailto:commcare-developers@googlegroups.com] On Behalf Of Nahid Hossain >>> Sent: Tuesday, July 13, 2010 10:01 PM >>> To: 'Rowena Luk'; 'commcare-developers' >>> >>> Subject: RE: RapidSMS with Internet-based SMS Provider >>> >>> >>> >>> Thanks Guys! >>> >>> >>> >>> I have tested with the browser hiting the URL directly & it works. >>> >>> >>> >>> Let me try out as per Cory/Nir’s guidance. >>> >>> >>> >>> Nahid >>> >>> >>> >>> >>> >>> >>> >>> From: Rowena Luk [mailto:rluk@dimagi.com] >>> Sent: Tuesday, July 13, 2010 9:57 PM >>> To: commcare-developers >>> Cc: Nahid Hossain >>> >>> Subject: Re: RapidSMS with Internet-based SMS Provider >>> >>> >>> >>> (also, it's always good practice as a first step to verify that you can >> send sms directly from your browser. i.e. hit the url >> voicetrading.com/myaccount?x=y etc and make sure that you receive the sms >> you sent....) >>> >>> On Tue, Jul 13, 2010 at 9:21 PM, Cory Zue wrote: >>> >>> On Tue, Jul 13, 2010 at 11:44 AM, Nir Yariv wrote: >>>> Hi Nahid, >>>> >>>>> Could you please answer my other question? “I would like to test our >>>>> customized HTTPHandler (i.e., End2End) from intel apps. Could you > please >>>>> guide me, how can we test to send auto SMS from intel apps? “ >>>> >>>> The intel app sends SMS from the report view - if you go to "pregnant >>>> mothers" and click one of the "Add" links under the "Most recent >>>> follow up" column, you'll see the SMS sending window. >>> >>> Just to be clear you would first need to create connection and >>> reporter objects linked to the chws that were configured to reference >>> the new gateway. Each connection has a backend that should point at >>> your new backend and an identity which is the phone number. You can >>> also use the messaging app to test the outgoing sms functionality >>> without having to link to chws. Make sure it's enabled in your .ini >>> and then go to /messaging on your server. >>> >>> Cory >>> >>> >>>> >>>> - Nir >>>> >>> >>> >> >> > >

Hi Cory,
I couldn’t find any helpful log yet, but I found that log location will be
created under /tmp/ according to local.ini and was trying to see the
"dev-rapidsms.log" file. I didn’t find any errors over there. Also,
runserver console doesn’t give any errors which can help me.

Could you please guide me where can I find it? FYI, I am using Ubuntu.

Thanks
Nahid

··· -----Original Message----- From: commcare-developers@googlegroups.com [mailto:commcare-developers@googlegroups.com] On Behalf Of Cory Zue Sent: Monday, July 19, 2010 9:09 PM To: commcare-developers Subject: Re: RapidSMS with Internet-based SMS Provider

Hi Nahid,

The first thing to check are the log/console outputs of the route and
django processes. These should be available from the command window
where you have them running.

Cory

On Mon, Jul 19, 2010 at 10:56 AM, Nahid Hossain nahid.hossain@brotecs.com wrote:

HI Rowena,

Yes, I got green check mark. But getting an ERROR. How can I find the
details Error? Is there any specific log where I can look in and fix
accordingly.

Thanks

Nahid

From: commcare-developers@googlegroups.com
[mailto:commcare-developers@googlegroups.com] On Behalf Of Rowena Luk
Sent: Monday, July 19, 2010 8:44 PM

To: commcare-developers
Subject: Re: RapidSMS with Internet-based SMS Provider

You enter the phone number when you create the reporter.
On the ‘add reporter’ page, you’ll need to specify the correct Connection
(the same customized End2End handler you’re working with) and the phone
number.
Then on the /messaging page, you click on the grey dot next to the
reporter of interest (it should become a green check mark), fill in your
message, and click ‘send’.

On Mon, Jul 19, 2010 at 7:52 PM, Nahid Hossain nahid.hossain@brotecs.com wrote:

Thanks Cory for your response.

No, I didn’t run the command “python manage.py route” earlier. I just ran
that command and then the connection drop-down appears in reporters/add
page.

Now I can see my customized End2End handlers in drop down.

Now, where should I enter the phone number to test out?

Thanks
Nahid

-----Original Message-----
From: commcare-developers@googlegroups.com

[mailto:commcare-developers@googlegroups.com] On Behalf Of Cory Zue
Sent: Monday, July 19, 2010 7:58 PM
To: commcare-developers
Subject: Re: RapidSMS with Internet-based SMS Provider

Hi Nahid,

Did you update your local.ini file to create the new backend? Also,
the route process has to be running (in cchq start it using “python
manage.py route”). If you’ve never run the route process before, the
first time you do it it will populate the options for that list of
connections for you.

best,
Cory

On Sun, Jul 18, 2010 at 12:03 PM, Nahid Hossain nahid.hossain@brotecs.com wrote:

Hello,

Now I am stuck to test out our customized SMS handler. I have modified
the
existing End2EndHandler to fit with VoiceTrading API.

But when I tried to test SMS through /reporters/add, it can’t give me the
option to select the connection type which I modified and also I don’t
find
any field where I can enter the destination number. Could you please guide
me, how can I get the connection selection option?

Thanks

Nahid

From: commcare-developers@googlegroups.com
[mailto:commcare-developers@googlegroups.com] On Behalf Of Nahid Hossain
Sent: Tuesday, July 13, 2010 10:01 PM
To: ‘Rowena Luk’; ‘commcare-developers’

Subject: RE: RapidSMS with Internet-based SMS Provider

Thanks Guys!

I have tested with the browser hiting the URL directly & it works.

Let me try out as per Cory/Nir’s guidance.

Nahid

From: Rowena Luk [mailto:rluk@dimagi.com]
Sent: Tuesday, July 13, 2010 9:57 PM
To: commcare-developers
Cc: Nahid Hossain

Subject: Re: RapidSMS with Internet-based SMS Provider

(also, it’s always good practice as a first step to verify that you can
send sms directly from your browser. i.e. hit the url
voicetrading.com/myaccount?x=y etc and make sure that you receive the sms
you sent…)

On Tue, Jul 13, 2010 at 9:21 PM, Cory Zue czue@dimagi.com wrote:

On Tue, Jul 13, 2010 at 11:44 AM, Nir Yariv nyariv@dimagi.com wrote:

Hi Nahid,

Could you please answer my other question? “I would like to test our
customized HTTPHandler (i.e., End2End) from intel apps. Could you
please

guide me, how can we test to send auto SMS from intel apps? “

The intel app sends SMS from the report view - if you go to “pregnant
mothers” and click one of the “Add” links under the “Most recent
follow up” column, you’ll see the SMS sending window.

Just to be clear you would first need to create connection and
reporter objects linked to the chws that were configured to reference
the new gateway. Each connection has a backend that should point at
your new backend and an identity which is the phone number. You can
also use the messaging app to test the outgoing sms functionality
without having to link to chws. Make sure it’s enabled in your .ini
and then go to /messaging on your server.

Cory

  • Nir