
ok so far it has helped so http is the better option or is the only option? On Fri, Aug 7, 2009 at 2:08 AM, Billy <billyx5@gmail.com> wrote:
The port will only be an issue if trying to access from another machine. If using localhost (as you are) it'll work just fine.
-Billy
2009/8/6 Jamal Mohamed <jamal.worx@gmail.com>
Ok, this is how i used it on my setup for my rails application, the
"keyword" as shown below will enable kannel to execute commands and send it to HTTP server with different HTTP requests, the "phone" is the number of the person who sent the text and finally the "text" is the content of the text .For example, as shown below when an sms with a keyword for balance is sent to ur modem, it forward the request to a http server, then the http server with {rails,php,or any other framework} will send the query to your database.Remember this is just an example to help you understand the whole idea.You can also try opening a port like 3000, with nc -l -p 3000 and capturing the http requests that kannel sends.Please let me know if this helped you out
group = sms-service keyword = balance #keyword-regex = .* catch-all = yes max-messages = 100 get-url = "http://127.0.0.1:3000/balance?phone=%p&text=%a"
group = sms-service keyword = airtime keyword-regex = .* catch-all = yes max-messages = 100 get-url = "http://127.0.0.1:3000/airtime?phone=%p&text=%a"
2009/8/6 James Mutuku <listmutuku@gmail.com>
hello,
you need to setup an sms-service
http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html#AEN3309
HTH
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks Other services @ http://my.co.ke Other lists ------------- Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks Other services @ http://my.co.ke Other lists ------------- Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks Other services @ http://my.co.ke Other lists ------------- Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general