Re: Check the credit card SIM

Alvaro Cornejo <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
You should add this command to the init string and kannel will issue
the command ONCE at startup.

Else you can add that command to the keepalive string and kannel will
send this command to the modem at the specified keepalive interval.

For viewing/monitoring the results, you must set the log level to 0
(debug) and have an application that will monitor that log in realtime
and take necessary actions if the balance drop below your settings.

Else you can patch kannel to report that commad in another way you
want. In this case you will branch-off kannel, but you can submit your
patch to kannel in order to have devel group validate it and evaluate
if the kannel main branch can benefit of that patch.

Regards

Alvaro

On Sat, Nov 21, 2009 at 10:29 AM, emocanos <[email protected]> wrote:
>
> For sending SMS, I use kannel, which installs as a daemon taking control of
> GSM modem huawei e220. SIM card installed in the modem is a prepaid card.
> in this case I want to add code to monitor the credit card. and issue a
> warning if it falls too low.
> type sends commands to the modem using the AT command CUSD. Are tested
> immediately with minicom:
>
> AT + CUSD = 1 * 222 #, 15
> OK
> normally after this OK I have a message like this
> + CUSD: 2, "Current Credit: 00.00 DA", 15
>
> but I will have no result
> I do not know what the problem is and if there Is there a solution
>
> thank you for answer
> --
> View this message in context: http://old.nabble.com/Check-the-credit-card-SIM-tp26457505p26457505.html
> Sent from the Kannel - Dev mailing list archive at Nabble.com.
>
>
>



-- 
|-----------------------------------------------------------------------------------------------------------------|
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.