www.atcom.cn 14
C
C
C
C hapter
hapter
hapter
hapter 5
5
5
5 Test
Test
Test
Test
1. Please check the status of the cell phone card plugged in the AX-2G4A.
P lease type the following command three times, the result of the third time is correct:
cat
cat
cat
cat /proc/dahdi/ax4g_sta_card_1
/proc/dahdi/ax4g_sta_card_1
/proc/dahdi/ax4g_sta_card_1
/proc/dahdi/ax4g_sta_card_1
You
can get one line with the following information:
S0:4,
S0:4,
S0:4,
S0:4, S1:4,
S1:4,
S1:4,
S1:4, S2:
S2:
S2:
S2: 0
0
0
0 ,
,
,
, S3:
S3:
S3:
S3: 0
0
0
0
T he S0, S1 stand for the two modules on the AX-2G4A orderly, and different numbers behind
colon stand for different status of SIM card.
a: it means that the cell phone card is sending SMS.
1: it means that the module2 is powered off.
2: it means that the cell phone card is still searching for GSM network.
3: it means that the cell phone card has registered successfully before, but now it failed.
4: it means that the cell phone card has found GSM network successfully, and it is in idle
status (not used by calling or sending SMS).
5: it means that after a communication, one side hangs up the phone, but the other side has not
hang up.
6: it means that the cell phone card is dialing-out.
7: it means that somebody from outside is calling the channel, but no extension answers the
phone, the extension is ringing.
8: it means that an extension answers an incoming call, but the communication has not yet
established, at this moment, the called party hangs up, then the caller do not need to be paid
for this call, because this call has not been established really.
9: it means that the channel is in communication status, and the call has been established
really.
2. Please check the network signal of the cell phone card plugged in the AX-2G4A, type the
following command three times, the result of the third time is correct:
cat
cat
cat
cat /proc/dahdi/GSM_signal_card_1
/proc/dahdi/GSM_signal_card_1
/proc/dahdi/GSM_signal_card_1
/proc/dahdi/GSM_signal_card_1
you can get one line with the following information:
SQ0
SQ0
SQ0
SQ0 =
=
=
= 31,
31,
31,
31, SQ1
SQ1
SQ1
SQ1 =
=
=
= 30,
30,
30,
30, SQ2
SQ2
SQ2
SQ2 =
=
=
= 0
0
0
0 ,
,
,
, SQ3
SQ3
SQ3
SQ3 =
=
=
= 0
0
0
0
T he SQ0, SQ1 stand for the two modules on the AX-2G4A orderly, and different numbers
behind equality sign stand for the network signal of the cell phone card, the numbers 0 and 99
mean no signal, for other numbers, the bigger the number is, the stronger the signal is.
3. C heck when the called party answers the call, when you dial-out through AX-2G4A.
Please use dmesg
dmesg
dmesg
dmesg command to detect if the called party answers the call when you dail-out
through AX-2G/4A, if the called party has answered the call, after running dmesg
dmesg
dmesg
dmesg command,
you can get one line with GX PR , X stands for the channel number. This feature will help
customer to do billing accurately.