“来电挂断服务”测试验收
1,确认系统已经运行
登录linux服务器,执行命令:
ps -aux
若能看到如下信息,表明“来点挂断服务”模块已经运行起来:
root 4105 0.0 0.0 4488 524 pts/0 S 07:40 0:00 /bin/sh /usr/sbin/safe_gmodemcon
root 4110 0.0 0.0 10164 2468 pts/0 S 07:40 0:00 /usr/sbin/gmodemcon
2,用台湾固定电话拨打gsm modem中的sim卡的电话号码。应该能听到两声回铃。之后,听到忙音。
3,用台湾手机拨打gsm modem中的sim卡的电话号码。应该能听到两声回铃。之后,听到忙音。
4,登入mysql验证:
mysql -uroot -p
use calllogdb;
mysql >
select * from incominglog;
如下是实际输出信息:
[root@59-120-153-120 etc]# /usr/local/mysql/bin/mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.1.35 Source distributionType ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
mysql> use calllogdb;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -ADatabase changed
mysql> select * from incominglog;
+—-+————+———————+———————+———+——–+———+
| id | callerid | timeringcoming | timehangup | funname | status | tdmport |
+—-+————+———————+———————+———+——–+———+
| 20 | 0933136686 | 2010-05-18 02:29:06 | 2010-05-18 02:29:06 | RINGOFF | NORMAL | 0 |
| 21 | 0229875980 | 2010-05-18 02:29:48 | 2010-05-18 02:29:48 | RINGOFF | NORMAL | 0 |
没有评论 ▼