How to check account of SIM in Fastrack supreme 20


#1

I want to check account of SIM to know how much moneys have in the SIM to notice to user.
How to do that? I use Fastrack supreme 20, at the begin, i plan to use Call service with command
“atd*101#;” but nothing happens. Please help me.


#2

Each cellphone company use a different way for account information requesting. You must retrieve this information from them.
Anyway, the most usuall way to answer account requests is an SMS. Check if you have unreaded SMS, or you have SMS inbox full.


#3

I mean that I want to use Fastrack supreme to check account of SIM. Every FS use a SIM to contact with user and if SIM is out of money, the contact cut off. So our application have to know when SIM is out of money to charge for it. As i know, almost pre-paid SIM of Vietel, Mobiphone, Vina use “*101#” to check account if you use a cell phone. But when you use Fastrack, how to check account by ADL or AT command? I really want to know it.


#4

In spanish case each company use a diferent way to do that. So, if I where you I check it with each GSM/GPRS services company.
Anyway, in your case, when you type “*101#” and press “Call” no a regular cellphone: What happend? You recieve an SMS? You hear a voice tell you the money in your account? More information is needed to help you. :question:


#5

I use a SIM of Vina supplier. if I use a cell phone, when i call *101# I receive an SMS. but when use Fastrack supreme 20 when i call 101# using AT command "atd101#;" nothing happens, no SMS, no voice. Do i make any wrong?


#6

Are you sure your Fastrack is registered on network? The led is blinking?

Wich answer you have when you type ATD*101#; on your Fastrack?

How do you check you have’nt recieved an SMS?


#7

Yes, my Fastrack has been registered on network. the GSM led is blinking. I’m sure that I don’t receive a SMS because if have incoming SMS, my Fastrack will notify by an CMTI response.


#8

#9

Hi, you need Unstructured Supplementary Service Data. AT+CUSD=1. Then you send ATD*100# ( not ; ) Then fastrack send unsolicited response +CUSD: “Text of operator”.

The USSD supplementary service is described in GSM 02.90
Note:
It is based on sequences of digits which may be entered by a mobile user with a handset. A sequence entered is sent to the network which replies with an alphanumerical string, for display only, or for display plus request for the next sequence.

Excuse me for my english


#10

Thanks for replying me!

I follow you, fisrt I type:
AT+CUSD=1
OK

then I type:

ATD*100#
OK

but nothing happen.


#11

If Someone used to do this, please me.


#12

You said Vina use: *101# and you typed *100#


#13

Try this:

AT+CUSD=1,"*100#",0

or *101# instead of *100# depending on your operator.


#14

I followed what you said:

AT+CUSD=1,"*101#",0

and Response is:

+CUSD: 4

what does it mean?


#15

I found how to check account of SIM.
I also use AT + CUSD.

AT+CUSD = 1,"*101#"
+CUSD: 2,“QUY KHACH CO 50125 DONG TRONG TAI KHOAN CHINH VA 49486 DONG TRONG TAI
KHOAN THUONG. THOI HAN SU DUNG DEN 03/12/2009”,15

but I wondered that where this SMS is stored? and how to send this SMS to user?

thanks for your help!


#16

It does’nt seem to be a stored SMS. You’ve got a direct network response, so it’s not stored. You must use AT library callbacks to collect the answer string and send it “manually” to the user.


#17

I don’t know how to use AT library callbacks. Can you give me a direction?
Thanks a lot!


#18

You are using Fastrack as an external modem or as an smart modem (your own OpenAT application)?
If you are developing your own OpenAT application, use adl_atCmdCreate to send the AT (use ADL_PORT_OPEN_AT_VIRTUAL_BASE as port to avoid colisions with other functionallities). Use a function as adl_atRspHandler (a parameter of adl_atCmdCreate), to collect the AT response.


#19

See: viewtopic.php?f=3&t=671&p=2370&hilit=credit#p2368

And: viewtopic.php?f=3&t=3550&start=0&hilit=USSD


#20

Thanks a lot!
I’ll try it.