Trial Run

56 views
Skip to first unread message

Abhiroop Bhatnagar

unread,
Jul 19, 2013, 3:34:03 AM7/19/13
to open311...@googlegroups.com
How long will it take to get the application live? Twilio allows having a trial run with a test number free of cost. I have created a test account with Twilio. So as soon as we upload the application on a live web server, I can start having trial runs.

Cliff Ingham

unread,
Jul 19, 2013, 8:23:55 AM7/19/13
to open311...@googlegroups.com
Where are you hosting the application right now, as you develop it?

Abhiroop Bhatnagar

unread,
Jul 19, 2013, 9:25:59 AM7/19/13
to open311...@googlegroups.com
Currently, I am hosting it locally on my laptop itself.

--
You received this message because you are subscribed to the Google Groups "open311-mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open311-mobil...@googlegroups.com.
To post to this group, send email to open311...@googlegroups.com.
Visit this group at http://groups.google.com/group/open311-mobile.
For more options, visit https://groups.google.com/groups/opt_out.



Rick Dietz

unread,
Jul 19, 2013, 10:28:18 AM7/19/13
to open311...@googlegroups.com
Let's get this transitioned over to our test server so we can begin to test openly.
--
~~~~~~~~~~~~~~~~~~~~~~~~~
Rick Dietz, Director
Information & Technology Services Dept.
City of Bloomington, Indiana
812.349.3485 (office) 812.340.7958 (cell)
die...@bloomington.in.gov

Cliff Ingham

unread,
Jul 19, 2013, 11:43:01 AM7/19/13
to open311...@googlegroups.com
I will work on installing this onto our test server this afternoon.

Cliff Ingham

unread,
Jul 19, 2013, 3:27:00 PM7/19/13
to open311...@googlegroups.com
Okay, I've installed the current version of the open311-sms client on
our test server.

Still getting errors though. I suspect it needs more configuration.

https://bloomington.in.gov/test/open311/sms

Abhiroop Bhatnagar

unread,
Jul 22, 2013, 3:49:04 AM7/22/13
to open311...@googlegroups.com
There was a small bug in the default configuration file. I have resolved it now. Pull the changes and try accessing this one:
https://bloomington.in.gov/test/open311/sms?Body=keyword get_service_codes&From=123

Rick Dietz

unread,
Jul 22, 2013, 11:53:59 AM7/22/13
to open311...@googlegroups.com
Do we want [space] chars in our urls?


--
You received this message because you are subscribed to the Google Groups "open311-mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open311-mobil...@googlegroups.com.
To post to this group, send email to open311...@googlegroups.com.
Visit this group at http://groups.google.com/group/open311-mobile.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Abhiroop Bhatnagar

unread,
Jul 22, 2013, 12:00:46 PM7/22/13
to open311...@googlegroups.com
Using %20 or + instead of a space will also work.

Abhiroop Bhatnagar

unread,
Jul 22, 2013, 1:55:03 PM7/22/13
to open311...@googlegroups.com
For integrating with Twilio, I think the following changes in configuration should work:
SMS_RESPONSE_FORMAT : xml
SMS_API_KEY_PARAM :  AccountSid
SMS_API_KEY : (Account SID of the twilio account)

Abhiroop Bhatnagar

unread,
Jul 22, 2013, 1:56:42 PM7/22/13
to open311...@googlegroups.com
I have created an App for testing in Twilio.

--

Abhiroop Bhatnagar

unread,
Jul 26, 2013, 5:27:01 AM7/26/13
to open311...@googlegroups.com
Cliff, have you tried integrating the app with twilio? Did it work?

Cliff Ingham

unread,
Jul 26, 2013, 8:21:18 AM7/26/13
to open311...@googlegroups.com
I haven't had a chance this week. Next week, I'll pull the latest
commits and try again.

Abhiroop Bhatnagar

unread,
Jul 30, 2013, 2:13:28 PM7/30/13
to open311...@googlegroups.com
Cliff,
The Configuration Panel is almost complete. You can switch to configPanel branch to use it. It will make it easier to configure everything.
The SMS Interface will be available at /SMSinterface
Do not forget to supply the required GET parameters while testing SMS Interface.

Abhiroop Bhatnagar

unread,
Aug 5, 2013, 9:28:26 AM8/5/13
to open311...@googlegroups.com
Simulator and Language Editor are complete. Cliff, pull the recent changes, so I can test them.
Abhiroop

Cliff Ingham

unread,
Aug 5, 2013, 10:14:14 AM8/5/13
to open311...@googlegroups.com
Okay, I've updated the sms site on our test server with that latest pull
from git.

https://bloomington.in.gov/test/open311/sms

Abhiroop Bhatnagar

unread,
Aug 5, 2013, 10:57:30 AM8/5/13
to open311...@googlegroups.com
I think you pulled configPanel branch. I had merged that with master, so you should instead pull master.
Abhiroop

Cliff Ingham

unread,
Aug 5, 2013, 11:02:11 AM8/5/13
to open311...@googlegroups.com
Sorry, I didn't realize. I should have checked.

Anyway, I've uploaded the master branch to the test server.

Abhiroop Bhatnagar

unread,
Aug 5, 2013, 11:50:30 AM8/5/13
to open311...@googlegroups.com
It looks like that the app is working fine. I have configured Twilio integration with the app. Let me know the results of sending SMS from a phone number there.
Try sending these from a phone number and in the Simulator:
get_service_codes
submit_request s47 testaddress bloomington
check_request_status 130979
help

Also, play around with the Config Panel, Language Editor and Simulator. Let me know where things are not very clear. The language is very flexible, so you can suggest better ways to frame different responses.
Meanwhile I will start working on the documentation part.
Abhiroop

Abhiroop Bhatnagar

unread,
Aug 8, 2013, 7:11:21 AM8/8/13
to open311...@googlegroups.com
Did you try out the application? What is your feedback?
Did you check by sending SMS?

Rick Dietz

unread,
Aug 8, 2013, 11:49:10 AM8/8/13
to open311...@googlegroups.com
I am not getting a response in the simulator.  

Through SMS I can navigate the groups, but not get services such as s37 Graffiti.

Seems to be partially working though! 
 R





On Thu, Aug 8, 2013 at 7:11 AM, Abhiroop Bhatnagar <bhatnaga...@gmail.com> wrote:
Did you try out the application? What is your feedback?
Did you check by sending SMS?

--
You received this message because you are subscribed to the Google Groups "open311-mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open311-mobil...@googlegroups.com.
To post to this group, send email to open311...@googlegroups.com.
Visit this group at http://groups.google.com/group/open311-mobile.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Abhiroop Bhatnagar

unread,
Aug 8, 2013, 2:14:40 PM8/8/13
to open311...@googlegroups.com
The functioning of simulator was being blocked by some browsers because of a security issue. I have updated the code and I will check it again when Cliff pulls it to the server.
For the SMS, after getting the list of group codes through the get_service_codes keyword, you have to reply with the group code to see services under that group. Therefore, to get graffiti, reply with g1 as SMS text.

Cliff Ingham

unread,
Aug 8, 2013, 2:26:07 PM8/8/13
to open311...@googlegroups.com
Okay, I've refreshed the test server with the latest commit from the
master branch.

Rick Dietz

unread,
Aug 8, 2013, 2:37:28 PM8/8/13
to open311...@googlegroups.com
I did that.  g1 works.  I couldn't select a report type after that.  I will try again.
-R

Abhiroop Bhatnagar

unread,
Aug 8, 2013, 2:38:29 PM8/8/13
to open311...@googlegroups.com
I checked with IE,chrome and firefox. It seems that the simulator is working fine at my end. Let me know if you face any problems with that now.

Abhiroop Bhatnagar

unread,
Aug 8, 2013, 2:51:36 PM8/8/13
to open311...@googlegroups.com
To submit a report, u will have to send the following text:
submit_request s37 (address of the issue)
You will get a question in response and you will have to reply with the answer option. When you reply with your answer, you will receive the next question. You will be asked 5 questions in total in this manner. After answering 5 questions, you will receive your service request id and a message saying that your request was successfully registered

Rick Dietz

unread,
Aug 8, 2013, 3:44:04 PM8/8/13
to open311...@googlegroups.com
OK, it seems to mostly be working.  
I was queried for the graffiti questions, but it didn't include the standard questions: location & description, 
It would be good to be able to skip non-required questions with a zero 0.
I need to be able to leave contact info unless i am submitting anonymously.
the request id number wasn't returned.

Abhiroop Bhatnagar

unread,
Aug 9, 2013, 1:54:47 PM8/9/13
to open311...@googlegroups.com
I have included the question for description and option to skip non-required field in the latest commit.
As for location, it is to be submitted while sending the request, for example:
submit_request s37 near subway station, parkway area
In the above example, the string after the service code,i.e. near subway station, parkway area, will be sent as address of issue. This is also mentioned in the help section which can be accessed by sending 'help' as SMS text.
And the phone number from which the SMS is sent, is automatically sent as the contact info. This also means that there is no anonymous submission in true sense.
Can you send me the list of your responses so that I can see where things are going wrong, because they seem to working well from my side.
Has the simulator started working in your browser?

Abhiroop Bhatnagar

unread,
Aug 15, 2013, 6:36:46 AM8/15/13
to open311...@googlegroups.com
I am planning to complete this project in the next 15 days. If you have any suggestions for improvement or have any bugs to report, let me know. I will try to handle them as soon as possible.
Reply all
Reply to author
Forward
0 new messages