- 论坛徽章:
- 1
|
原版本是csk@live.com写的。不过后来移动升级协议了,原版不能再用了。
主要修改:
1.修改支持移动飞信最新协议
2.修改支持群发(格式为13800,138000,13800),可以是手机号也可以是飞信号
3.修改没有使用原来的curl
[root@Hige perl]# perl perlfetion.pl 138****** 138***** 138******,642769312 test
USAGE: <this_script> <your_mobile_number> <password> <target_number> <message to send>
<target_number> eg:13800138000,123456,1382362200(mobile-no or fetion-number)
Retrieving the config xml...
Retrieving the SSIAPP URL...
Retrieving the SIPC Address...
Trying to get the fetion number of the current account...
Connecting to the SIPC via TCP socket...
Login OK
138****** tel:138******
Send SMS succeed
--------------------------------------------------
642769312 sip:642769312@fetion.com.cn;p=3751
Send SMS succeed
--------------------------------------------------
修改附件名为perlfetion.pl
[ 本帖最后由 枫影谁用了 于 2010-1-13 18:05 编辑 ] |
|