传真服务器开发 三页传真过程全记录(日志形式)

原创 2003年09月10日 11:34:00

                                 传真服务器开发

                           三页传真过程全记录(日志形式)

                                     (来自我开发的传真服务器)

  
初始化MODEM.......
 
receive :AT&FE1Q0V1S0=0
 
receive :OK

初始化MODEM成功.
 
设置MODEM可接受数据信息......
 
send msg AT+FCR=1

 
receive :AT+FCR=1
 
receive :OK
 
设置成功......
 
send msg AT+FAA=0

 
receive :AT+FAA=0
 
receive :AT+FAA=0OK
 
设置modem的类别......
 
send msg AT+FCLASS=2

 
接收反馈信息......
 
receive :AT+FCLASS=2
 
receive :OK
 
初始化MODEM的参数信息......
 
send msg AT+FDCC=1,3,0,2,0,0,0,0

 
接收反馈信息......
 
receive :AT+FDCC=1,3,0,2,0,0,0,0
 
receive :AT+FDCC=1,3,0,2,0,0,0,0OK
 
设置成功......
 
接收反馈信息......
 
receive :AT+FDCC=1,3,0,2,0,0,0,0OK
 
接收反馈信息......
 
receive :RING
 
铃声开始响起......
 
回答远程的MODEM......
 
send msg ATA

 
接收反馈信息......
 
receive :ATA
 
接收反馈信息......
 
receive :+FCON
 
得到SENDER ID......
 
接收反馈信息......
 
receive :+FCON
 
接收反馈信息......
 
receive :+FTSI: "                    "
 
得到TSI 帧......
 
接收反馈信息......
 
receive :"                    "
 
接收反馈信息......
 
receive :+FDCS: 0,3,0,2,0,0,0,5
 
得到DCS 帧......
 
接收反馈信息......
 
receive :0,3,0,2,0,0,0,5
 
接收反馈信息......
 
receive :OK
 
send msg AT+FDR

 
接收反馈信息......
 
receive :AT+FDR
 
接收反馈信息......
 
receive :+FCFR
 
接收反馈信息......
 
receive :+FDCS: 0,3,0,2,0,0,0,5
 
接收反馈信息......
 
receive :0,3,0,2,0,0,0,5
 
接收反馈信息......
 
receive :CONNECT
 
send <dc2>
 
开始接收第1页的数据信息......
 <第1页的数据信息>  <略>                                                                                                                                                                                                                                              
 
接收第1页的数据完成......
 
sure page response:32:11:82
 
receive :+FPTS: 1,2219,0,0
 
receive :+FET: 0
 
receive :OK
 
sured page response:32:12:554
 
sure next page response:32:12:554
 
send msg AT+FDR

 
begin sure FDR page response:32:12:654
 
receive :AT+FDR
 
receive :CONNECT

send <DC2>
 
sured FDR page response:32:14:537
 
开始接收第2页的数据信息......
 

<第2页的数据信息>  <略>                  `                         `                         `                         `蜒                        `                         `                         `                         `                         M殌                        M殌                        M殌                        M殮€                       M殌                        M殌                       
 
接收第2页的数据完成......
 
sure page response:33:2:516
 
receive :+FPTS: 1,2219,0,0
 
receive :+FET: 0
 
receive :OK
 
sured page response:33:3:988
 
sure next page response:33:3:988
 
send msg AT+FDR

 
begin sure FDR page response:33:4:88
 
receive :AT+FDR
 
receive :CONNECT
 
sured FDR page response:33:5:971

send <DC2>
 
开始接收第3页的数据信息......
 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 <第3页的数据信息>  <略>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
 
接收第3页的数据完成......
 
sure page response:33:42:323
 
receive :+FPTS: 1,2219,0,0
 
receive :+FET: 2
 
receive :OK
 
sured page response:33:43:795
 
等待远程挂断......
 
接收反馈信息......
 
receive :OK

 

<完>

正则表达式之(手机+固定电话+传真) 校验

今天被测试逼迫,要我一定要按照规则校验下手机、固定电话、传真。无奈之下,就想到了强大、高深莫测的正则表达式了,小试牛刀一把。对于正则表达式,我是真心不怎么熟悉,看过它的规则和语法,但是又很快就忘记了,...
  • SHIZHONGYUO
  • SHIZHONGYUO
  • 2014年01月14日 12:46
  • 4436

传真/Modem相关

传真/Modem相关 在《中国电信IMS网络传真和Modem业务技术规范》中,描述的传真/Modem流程机制与sip软交换标准《中国电信软交换网络传真和Modem业务技术》描述的流程基本相同。有两点...
  • liujianfeng1984
  • liujianfeng1984
  • 2014年06月27日 23:02
  • 1631

电子传真文档怎样加盖印章

传真件经常需要盖章发送,但电子传真文档如何加盖印章呢?把电子传真文档打印出来加盖印章吗?当然不是,当前大部分的专业传真服务器厂商出品的传真服务器系统都支持电子签章功能模块,不但节省纸张,而且提高办公效...
  • zy_hope
  • zy_hope
  • 2015年01月28日 10:59
  • 837

调用JavaAPI发送传真

最近搞了一个java发送传真程序,在网上搜了半天,没找到具体的例子,最后找到了国外的开源技术jacob,才解决了这个问题。  环境要求:windows xp系统,jdk 1.4(不要太高或太低,不然会...
  • ahhsxy
  • ahhsxy
  • 2009年09月18日 01:24
  • 1280

asterisk 关于传真的配置

sip.conf [general] allowoverlap = no tcpenable = no context = zppx type = friend ;udpbindaddr ...
  • whyhonest
  • whyhonest
  • 2012年09月05日 09:25
  • 1293

JS 手机号码、邮箱、传真正则表达式验证

看到网上很多代码都很复杂,还包括以中文开头的86,17951,其实谁会填这么多,无非是检验一下他们是否位数对不对,开头有没有写错而已。下面我们从百度百科的手机号码历程来看:现在的手机号码段有联通、移动...
  • bamboo_cqh
  • bamboo_cqh
  • 2016年06月20日 13:44
  • 9700

传真百科:传真通讯技术的发展历史

传真机的发展可概括为三个阶段:      第一阶段:基础阶段(1843—1972年)      1843年亚历山大·贝恩(Alexander Bain)发明了一种原始的电化学纪录方式的传真机; ...
  • zy_hope
  • zy_hope
  • 2015年02月04日 11:59
  • 582

在线发送免费传真(五个网上免费发传真网站介绍)

首先我们看到的是免费网络传真:faxZERO   官方网址是:http://faxzero.com/   这个免费传真适用于美国和加拿大,发送的传真上会自动附上广告,每次发传真只能发三页,...
  • shangruo
  • shangruo
  • 2015年02月15日 00:07
  • 47102

BCM VOIP 传真相关分析

一、 DSP上报传真事件 cmProcessEptEvent switch( cmdp->op2) //传真事件,主要从以下几个方面触发该事件 //1、检测到本地HDLC //2、检测到远端C...
  • liujianfeng1984
  • liujianfeng1984
  • 2014年01月13日 10:42
  • 1512

如何使用笔记本电脑自带modem收发传真

如何使用笔记本电脑自带modem收发传真 1、    引言 目前大多数笔记本电脑均配置有modem,当我们需要收发传真,却又找不到传真机时,可以用笔记本自带的modem和windows的传真程序来...
  • THISISPAN
  • THISISPAN
  • 2012年05月23日 23:03
  • 5200
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:传真服务器开发 三页传真过程全记录(日志形式)
举报原因:
原因补充:

(最多只允许输入30个字)