VG8020与北电6440对接案例
一、 组网:
省委 北电8606
|
市委 北电6440―数字中继―VG8020-IP网-VG
| |
| 市政府 XE2000-VG
|
县委 北电4460
原有北电设备(8606/6440/4460)都是类似ATM/FR交换机,可以通过语音板卡实现语音业务,原有语音系统基于VoFR的。6440只支持数字中继,4460支持FXS。
我们使用VG8020的E1VI接口走数字中继与6440进行对接
二、 VG8020使用R2信令与北电6440进行对接:
1. VG8020关键配置:
controller e1 0
timeslot-set 0 timeslot-list 1-15,17-31 signal r2
cas 0
mode itu-t custom
(该版本6440不支持中国一号,我们需要配置成R2模式)
ani
(请求主叫号码)
dtmf enable
(该版本6440不支持MFC方式,需要配置成DTMF方式)
quit
注:
1) MFC(多频互控)和DTMF(双音多频)是两种传输号码的方式。VG8020支持这两种方式,当使用R2协议时,缺省情况下采用MFC的方式进行传输号码。
2) 使用R2协议,如果使用DTMF方式传输号码,由于协议限制无法接收主叫号码,即被叫侧没有来电显示。
3) R2协议的协议交互流程繁琐,因此采用R2协议建立的呼叫接续非常慢。
2. VG8020使用R2协议,调试信息解读
拓扑:
电话6121---北电4460---IP---北电6440---数字中继---VG8020---IP---VG2016---电话3120
操作方法:
采用电话(3120)呼叫电话(6121),在VG8020上打开如下调试信息:
debug voice ipp all
debug voice dpl all
debug voice r2 all
VG8020输出的调试信息如下:
[vg8020]
IPP_225 [ -1]: receive Setup msg, crv=32777, src=1.1.1.2 /收到一个来自IP侧的呼叫
called=96121, caller=3120,FacilityLen=0
IPP_225 [ -1]: Setup msg, faststart=TRUE, tunnel=FALSE, h245=NONE
IPP_225 [ -1]: Send CallProceeding Msg when receive Setup Msg
IPP_VCC [ -1]: Send IPCallOut Msg when receive Setup Msg
DPL_SRCH: [GetEntity]The matched entity list:
11
DPL_INTF: Get entity 11 successfully! /匹配了实体“11”
R2:MSG -> Receive RCV Msg [RCV_R2_OFFHOOK_MSG]:
PrimId = [3],
Channel = [1],
CallId = [1374],
S-type = [0],
Callednumber = [6121],
Callernumber = [3120]!
R2:TSM -> Set timeslot [0:1] state [TK_ACTIVE]!
R2:CTL -> Receive RCV message [RCV_R2_OFFHOOK_MSG]!
R2:CTL -> Enter state [CTL_WAIT]!
R2:CTL -> Start state timer [CTL_WAIT_TIMER], timelen is [120000]!
R2:LINE-> Receive event [CTL_DL_TKO_SEIZURE] in state [DL_REST]!
R2:LINE-> Enter state [DL_TAKE]!
R2:LINE-> Start state timer [DL_TAKE_TIMER], timelen is [1000]!
R2:LINE-> Send DL signal [0001]!
/VG8020向6440发送线路占用信令0001(R2信令cd两位是01;如使用中国一号cd两位是11)
R2:MSG -> Send DL Msg: Channel = [1], SigVal = [0001]!
R2:MSG -> Receive DL Msg: Channel = [1], SigVal = [1101]!
/ VG8020收到6440的占用确认信令1101
R2:LINE-> Receive DL signal [1101] in state [DL_TAKE]!
R2:LINE-> Enter state [DL_TAKEACK]!
R2:LINE-> Start state timer [DL_TAKEACK_TIMER], timelen is [60000]!
R2:CTL -> Receive DL event [DL_CTL_TKO_SEIZURE_ACK]!
R2:DTMF-> Enter state [DTMF_WAIT]!
R2:DTMF-> Start [DTMF_WAIT_TIMER], Timelen is [10000]!
R2:DTMF-> Send DTMF number [6121], number length [4]!
/ VG8020以DTMF方式发送被叫号码6121
R2:MSG -> Send DTMF Msg: Channel = [1], Number = [6121], Length = [4]!
R2:MSG -> Receive DTMF Msg: Channel = [1], SigVal = [0], Cmd = [85]!
R2:DTMF-> Send all DTMF number completely!
/ 被叫发送完全
R2:DTMF-> Enter state [DTMF_IDLE]!
R2:CTL -> Receive DTMF event [DTMF_CTL_TKO_END]!
R2:CTL -> Send message [R2_RCV_ALERT_MSG] to RCV!
R2:MSG -> Send to RCV message [R2_RCV_ALERT_MSG]:
PrimId = [3],
Channel = [1],
CallId = [1374],
S-type = [0],
Param[0] = [1],
Param[1] = [31],
Callednumber = [],
Callernumber = []!
IPP_VCC [ 1]: Receive CCAlerting Msg,FacilityLen=0
IPP_225 [ 1]: Send Alerting Msg when receive CCAlerting Msg
IPP_225 [ 1]: Alerting Msg with FastStart, Codec=G729
IPP_SOK [ 1]: Send RTP/RTCP Sock Req when send Alerting Msg
IPP_SOK [ 1]: Rcv DATA SockAck, ids=331:332, RTP=16416@1.1.1.1, RTCP=16417@1.
1.1.1
IPP_VPP [ 1]: Send Codec Msg when create RTP/RTCP socket OK: CodecType = G729
IPP_VPP [ 1]: send voice packet 100 Len = 30
/由于是一个快启呼叫,此时发送的RTP语音包实际是回铃音
IPP_VPP [ 1]: send voice packet 200 Len = 30
IPP_VPP [ 1]: send voice packet 300 Len = 30
IPP_VPP [ 1]: send voice packet 400 Len = 30
IPP_VPP [ 1]: send voice packet 500 Len = 30
IPP_VPP [ 1]: send voice packet 600 Len = 30
IPP_VPP [ 1]: send voice packet 700 Len = 30
R2:MSG -> Receive DL Msg: Channel = [1], SigVal = [0101]!
/VG8020收到6440的应答信令0101
R2:LINE-> Receive DL signal [0101] in state [DL_TAKEACK]!
R2:LINE-> Enter state [DL_ANSWER]!
R2:CTL -> Receive DL event [DL_CTL_TKO_ANSWER]!
R2:CTL -> Send message [R2_RCV_ACTIVE_MSG] to RCV!
R2:MSG -> Send to RCV message [R2_RCV_ACTIVE_MSG]:
PrimId = [1],
Channel = [1],
CallId = [1374],
S-type = [0],
Param[0] = [2],
Param[1] = [0],
Callednumber = [6121],
Callernumber = [3120]!
R2:MSG -> Receive RCV Msg [RCV_R2_ACTIVE_ACK_MSG]:
PrimId = [1],
Channel = [1],
CallId = [1374],
S-type = [0],
Callednumber = [],
Callernumber = []!
R2:CTL -> Receive RCV message [RCV_R2_ACTIVE_ACK_MSG]!
R2:CTL -> Enter state [CTL_ACTIVE]!
IPP_VCC [ 1]: Receive CCConnect Msg,FacilityLen=0
IPP_225 [ 1]: Send Connect Msg when receive CCConnect Msg
IPP_VPP [ 1]: send voice packet 800 Len = 30
/进入语音通话交互过程
IPP_VPP [ 1]: receive voice packet 100 Len = 30
三、 VG8020使用PRI信令与6440进行对接:
1.VG8020关键配置
controller e1 0
pri-set timeslot-list 1-31
interface Serial0:15
isdn service speech
isdn service audio
/在与PBX进行E1VI对接时,最好把语音/音频两种业务类型都配置上
isdn ignore hlc
/SETUP消息中不携带高层兼容性信息单元
isdn ignore llc
/SETUP消息中不携带低层兼容性信息单元,
(当PBX不识别高/低层兼容性时,需要配置以上两个命令,表示setup消息中忽略高/低层兼容性)
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作