Rapidsms 15.0 - Handlers

64 views
Skip to first unread message

Srikanth Ch

unread,
Jun 4, 2013, 9:31:30 PM6/4/13
to rapi...@googlegroups.com
Hello everyone,
            I started reading tutorials in rapidsms.org documentation of 15.0 version and trying to implement them, but am stuck with the second tutorial at handlers am unable to generate the required output. Everytime i send sms with HELP text it replies with Default response. someone please help me working on handlers

Thanks and regards,
srikanth ch

Alexander Lemann

unread,
Jun 5, 2013, 10:32:58 AM6/5/13
to rapi...@googlegroups.com
Hi,

Have you checked your rapidsms.log file? When you send the HELP message through the message tester app web interface, do you see HelpHandler being registered? Do you see the handle phase of the message processing start? Do you see the handlers app running during the handle phase?

It should look like this:
rapidsms.contrib.handlers.app INFO     Registered: HelpHandler, ...
rapidsms.router.blocking.router INFO     Incoming (426838 via message_tester): HELP
......
rapidsms.router.blocking.router DEBUG    In handle phase
rapidsms.router.blocking.router DEBUG    In <app: tut> app
rapidsms.router.blocking.router DEBUG    In <app: handlers> app
rapidsms.contrib.handlers.app INFO     Incoming message handled by HelpHandler
 rapidsms.router.blocking.router DEBUG    Short-circuited
rapidsms.router.blocking.router DEBUG    In default phase
rapidsms.router.blocking.router DEBUG    Skipping phase
......

Based on that, can you tell what part of the process is not working? I hope that helps

Alex Lemann
Reply all
Reply to author
Forward
0 new messages