genius! btw, it's not a cons imho (according to my case), because the command to check phone balance is a fix command. i'm using simple php file_get_contents() to parse the result.
thanks very much Alvaro! ----- Original Message ---- > From: Alvaro Cornejo <cornejo.alv...@gmail.com> > To: Wendy William <kotakompu...@yahoo.com> > Cc: amejia amejia <ame...@gua.net>; "users@kannel.org" <users@kannel.org> > Sent: Fri, August 19, 2011 12:14:43 AM > Subject: Re: Send command to Operator > > Hi > > There is no way -up to now-- to have kannel send customised AT > commands at will... > > A workarround is to include the desired command into keep-alive > parameter and set the proper interval. This will make kannel send the > message at regular intervals to modem. The cons is that if you want to > change this or add something else to it, you need to edit kannel > config file and restart the smsc-at corresponding to the modem you > modified. You do not need to restart the whole kannel. Also you must > set loging to debug in order to see the command result. > > You might also need to have a log parser in order to get some sort of > warning/action/notification depending on your command response. > > 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, Aug 18, 2011 at 9:07 AM, Wendy William <kotakompu...@yahoo.com> >wrote: > > AFAIK, > > > > It is only about sending AT+CUSD=1. But entire Kannel doc not say about >USSD. > > > > Time to hack Kannel? Or it is already supported? > > If not supported, I wonder why this easy task missing from Kannel? > > > > Wendy > > > > > > > > > > > > > > ----- Original Message ---- > >> From: amejia amejia <ame...@gua.net> > >> To: Wendy William <kotakompu...@yahoo.com> > >> Cc: "users@kannel.org" <users@kannel.org> > >> Sent: Thu, August 18, 2011 7:39:21 PM > >> Subject: Re: Send command to Operator > >> > >> Does Kannel support USSD? > >> > >> > >> Sent from my iPhone > >> > >> On 18/08/2011, at 03:05, Wendy William <kotakompu...@yahoo.com> wrote: > >> > >> > Any idea? > >> > > >> > I readAlvaro Cornejo answer to use minicom/kermit, but we must stop >Kannel > >> > service first. > >> > > >> > It is a good feature if Kannel can send custom AT command. > >> > > >> > > >> > > >> > ----- Original Message ---- > >> >> From: Wendy William <kotakompu...@yahoo.com> > >> >> To: users@kannel.org > >> >> Sent: Wed, August 17, 2011 5:07:48 PM > >> >> Subject: Send command to Operator > >> >> > >> >> Dear, > >> >> > >> >> How to send command service to Operator? I need to send '*888#' to > check > >>my > >> >> phone Balance. > >> >> > >> >> Regards, > >> >> > >> >> > >> >> Wendy > >> >> > >> >> > >> >> > >> > > >> > > > > >