Rather than placing a call, some carriers have a number you can send an sms
to and they will reply with a balance-notice sms.  I'm running a system with
kannel using the Smart carrier in the Philippines.  For them you send
"?1515" to "214" and they'll send a balance notice text, which is easy
enough to run through a regexp and get the date/balance out.


On Nov 21, 2007 3:10 AM, info.ubichip <[EMAIL PROTECTED]> wrote:

>  Yes but in this solution, you have to stop kannel and then make your
> kermit stuff, isn't it ?
>
>
>
>
>  ------------------------------
>
> *From:* Luki Lusiano [mailto:[EMAIL PROTECTED]
> *Sent:* mardi 20 novembre 2007 01:42
> *To:* users@kannel.org
> *Subject:* Re: can kannel check my credit using *888# command
>
>
>
> Hi *Alvaro Cornejo*
>
>
>
> Problem solved!!!
>
>
>
> Thank you for pointing to me to use terminal sw, i'm using kermit.
>
> and this is my command, hope this will help other who face the same
> problem
>
> ( my modem speed is 19200 using ttyS0)
>
> run this :
>
>
>
> # kermit (press enter)
>
> C-Kermit> set line /dev/ttyS0 (press enter)
>
> C-Kermit> set speed 19200 (press enter)
>
> C-Kermit> set carrier-watch off (press enter)
>
> C-Kermit> set modem type generic (press enter)
>
> C-Kermit> set dial display on (press enter)
>
> C-Kermit> c (press enter)
>
>
>
> (after you press enter this line will show up)
>
>
>
> Connecting to /dev/ttyS0, speed 19200
>  Escape character: Ctrl-\ (ASCII 28, FS): enabled
> Type the escape character followed by C to get back,
> or followed by ? to see other options.
> ----------------------------------------------------
>
>
>
> (here you type atd*888#)
>
>
>
> atd*888#
>
>
>
> (hoaaa!!! you see the result)
>
>
>
> ______________________________
>
>
>
> * to quit press ctrl+\ then release both key and then press c
>
>
>
> Thank you all
>
>
>
> hope this will someone.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *Alvaro Cornejo <[EMAIL PROTECTED]>* wrote:
>
> Hi Luki
>
> If you don´t use it now, you can setup kannel´s keepalive config of
> the smsc to send the AT equivalent command to the *888# to the modem
> ( I don´t know its equivalent) and set the keepalive retry to whatever
> interval you need.
>
> The result of the command can be viewed in kannel log (debug level).
>
> Since kannel has no way -as far as I know- to interact with the modem
> with other commands other than the buit-in -unless you patch smsc_at-
> you might need to stop kannel, access the modem through cu, minicom,
> getty or other terminal sw, enter the command(s) needed and then
> restart kannel.
>
> Regards
>
> Alvaro
>
>
>
> On 11/19/07, Luki Lusiano wrote:
> > Hi, i'm using kannel for 2 years now and I thank you for this great
> program.
> > I hope this question is never been asked before, try to search it, but
> no
> > luck.
> > The question is :
> >
> > can kannel check my credit using *888# command
> >
> > i'm using prepaid mobile phone, thats mean that i have to buy voucher
> and
> > put the code to the mobilephone to continue to use the phone, from the
> > voucher i get my credit to make call or send sms.
> >
> > But the problem is, the my web and sms server is located at different
> island
> > (500 KM from my place).
> >
> > To know that my mobile is still active i'm using this command at the
> phone
> > *888#
> > and receive this reply "your credit is "_some_number_" and you active
> > periode until "_some_date_" "
> >
> > can i login remotely by using ssh and type some command at the server
> and i
> > receive the answer from the phone?
> > What is the command or the code?
> >
> > if it can, i'm planning make a script to check and send it using sms to
> my
> > mobile phone.
> >
> > Thank You All.
> >
> > ________________________________
> > Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See
> how.
> >
> >
>
>
> --
>
> |-----------------------------------------------------------------------------------------------------------------|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y
> Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via
> SMS y GPRS online
> Visitenos en www.smsglobal.com.mx y www.pravcom.com
>
>
>
>
>  ------------------------------
>
> Get easy, one-click access to your favorites. Make Yahoo! your 
> homepage.<http://us.rd.yahoo.com/evt=51443/*http:/www.yahoo.com/r/hs>
>
>
> ------------------------------
>
> Antivirus avast! <http://www.avast.com>: message Sortant sain.
>
> Base de donnees virale (VPS) : 071120-0, 20/11/2007
> Analyse le : 20/11/2007 11:10:35
>
> avast! - copyright (c) 1988-2007 ALWIL Software.
>
>

Reply via email to