You can use lynx commad to call the sendsms from the command line.
something like: # lynx -dump "http://localhost:13013/cgi-bin/sendsms?username=user&password=pass&from=%2B525541444188&to=2877&text=testmessage" including all needed parameters in the url to call Hope helps Alvaro |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Thu, Apr 29, 2010 at 8:39 AM, fegul <[email protected]> wrote: > > Actually I think I may have answered my own question regarding looping the > SMS back, there's a section in the documentation about MT to MO Direction > Switching. > > I'm still wondering about sending SMS via commandline rather than HTTP if > anyone has any answers. > > -F > > > fegul wrote: >> >> So far I've been sending SMS from Kannel using the HTTP client but now I'm >> looking to receive SMS but I don't have a phone connected to the server so >> I'm looking to test it internally. >> >> Is there a way to create a message in fakesmsc and route it back to itself >> as though it were receiving it from someone else? (loop it back) >> >> Also, is there any way to send SMS via commandline arguments? (not using >> fakesmsc) I feel that having to create an HTTP server, send the HTTP >> request, and destroy the server is rather wasteful when it comes to >> resources. >> >> Thank you >> > > -- > View this message in context: > http://old.nabble.com/Testing-incoming-SMS-with-fakesmsc-%28and-sending-sms-via-commandline%29-tp28400558p28400685.html > Sent from the Kannel - User mailing list archive at Nabble.com. > > >
