我的网上记事本
« »

“来电挂断服务”测试验收

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 distribution

Type ‘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 -A

Database 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 |

日志信息 »

该日志于2010-05-18 16:31由 admin 发表在市话验证及客服系统, 最新分类下, 你可以发表评论。除了可以将这个日志以保留源地址及作者的情况下引用到你的网站或博客,还可以通过RSS 2.0订阅这个日志的所有评论。

没有评论

发表评论 »

返回顶部