RE: Vote-by-SMS a la Idol

2007-11-01 Thread Spyros Sakellariou
Hi Ryan, It really depends how much traffic you expect to handle. If you expect small traffic (i.e. less than 1 SMS per sec) you can just attach a mobile phone (via serial or USB cable) to the machine running kannel and have your responders send their messages to the mobile phone's number.

RE: Sending post request in java

2005-09-23 Thread Spyros Sakellariou
used the HttpCLient, and i couldn't resolve the problem here is a piece of code: case Request.POST:methodP = new PostMethod(url);methodP.setRequestHeader("Content-type", "text/xml");methodP.setRequestBody(request.getRequest()); client.executeMethod(methodP);respon

RE: Sending post request in java

2005-09-23 Thread Spyros Sakellariou
:51:30PM +0300, Spyros Sakellariou wrote: breaks the request into two packets and that probably confuses Kannel. as of both, kannel and your java programm use the kernel tcp/ip stack this is most likely not the case. It is the content wich you should have a look at. Capture it using netcat

RE: Sending post request in java

2005-09-22 Thread Spyros Sakellariou
worked well. Also the HttpClient library from Apache Commons works well with kannel and ismuch easier to use than HttpUrlConnection. Just don't use theHttpUrlConnection object. Good luck! Spyros Sakellariou -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf