Thx I was able to send sms manually through Kannel Gateway.
On Sat, Dec 4, 2010 at 9:26 PM, Jovan Kostovski <chomb...@gmail.com> wrote: > On Sat, Dec 4, 2010 at 4:01 PM, msc pune <mscp...@gmail.com> wrote: > > > > > > On Sat, Dec 4, 2010 at 8:26 PM, msc pune <mscp...@gmail.com> wrote: > >> > >> Hi, > >> When I use following command in browser > >> > >> http://smsbox.host.name:13013/cgi-bin/sendsms? > >> username=foo&password=bar&to=mobile no.&text=Hello+world > >> > >> I get message unknown host smsbox.host.name > > you have to change the smsnox.host.name with the ip adress or host of > your machine where smsbox is running. > > >> Wether I have to run following commands before executing commands > >> > >> ./bearerbox -v 1 smskannel.conf > >> > >> ./smsbox -v 1 smskannel.conf > >> > >> But When I run these command I get following Error > >> Error : Bind Failed > >> Error : System Error 98 : Address already in use > > This means that the bearerbox is running already. > If you want to restart them, first execute: > > ps -ef|grep bearerbox > ps -ef|grep smsbox > > to find the pid of the bearerbox and smsbox > then to stop them: > kill -9 <bearerbox_pid> > kill -9 <smsbox_pid> > > After this you can start them again with > ./bearerbox -v 1 smskannel.conf > ./smsbox -v 1 smskannel.conf > > > BR, Jovan >