63-MSR系列路由器模拟E&M无信令方式的典型组网和配置举例
本章节下载: 63-MSR系列路由器模拟E&M无信令方式的典型组网和配置举例 (145.48 KB)
MSR系列路由器模拟E&M无信令模式典型配置举例
Copyright © 2014 杭州华三通信技术有限公司 版权所有,保留一切权利。 非经本公司书面许可,任何单位和个人不得擅自摘抄、复制本文档内容的部分或全部, 并不得以任何形式传播。本文档中的信息可能变动,恕不另行通知。 |
目 录
本文档介绍模拟E&M无信令模式典型配置举例。
本文档不严格与具体软、硬件版本对应,如果使用过程中与产品实际情况有差异,请参考相关产品手册,或以设备实际情况为准。
本文档中的配置均是在实验室环境下进行的配置和验证,配置前设备的所有参数均采用出厂时的缺省配置。如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下举例中的配置不冲突。
本文档假设您已了解E&M特性。
如图1,Modem和路由器的模拟E&M卡相连,路由器配置E&M无信令模式。保持两侧Modem链路一直畅通,将信号采集器采集的数据实时发送到信号接收器上。
图1 模拟E&M无信令模式典型配置举例组网图
· 为使双发可以建立呼叫,配置相关号码和实体;
· 配置E&M线路参数;
· 启动无信令模式,使设备发起呼叫。
本举例是在Release 2104P02版本上进行配置和验证的。
<RouterA>system-view
[RouterA]interface GigabitEthernet 0/0
[RouterA-GigabitEthernet0/0]ip address 168.32.53.80 16
[RouterA-GigabitEthernet0/0]quit
[RouterA]voice-setup
[RouterA-voice]dial-program
# 配置IP呼叫所用的VoIP实体,匹配号码为“88..”。
[RouterA-voice-dial] entity 20 voip
[RouterA-voice-dial-entity20] match-template 88..
[RouterA-voice-dial-entity20] address sip ip 168.32.53.54
[RouterA-voice-dial-entity20] quit
# 配置E&M线路参数,假设和E&M连接的Modem中继线缆类型4线,中继信号类型为5类。
[RouterA] subscriber-line 5/0
[RouterA-subscriber-line5/0] em-phy-parm 4-wire
[RouterA-subscriber-line5/0] type 5
# 作为主叫网关,使能专线号码和E&M无信令模式,并启动监控时间为90秒
[RouterA-subscriber-line5/0]private-line 88
[RouterA-subscriber-line5/0]open-trunk caller monitor 90
<RouterB>system-view
[RouterB]interface GigabitEthernet 0/0
[RouterB-GigabitEthernet0/0]ip address 168.32.53.54 16
[RouterB-GigabitEthernet0/0]quit
[RouterB]voice-setup
[RouterB-voice]dial-program
# 配置E&M接口上的POTS语音实体。
[RouterB-voice-dial] entity 2000 pots
[RouterB-voice-dial-entity2000] match-template 8800
[RouterB-voice-dial-entity2000] line 6/0
[RouterB-voice-dial-entity2000] send-number all
# 配置E&M线路参数,假设和E&M连接的Modem中继线缆类型4线,中继信号类型为5类。
[RouterB] subscriber-line 6/0
[RouterB-subscriber-line6/0] em-phy-parm 4-wire
[RouterB-subscriber-line6/0] type 5
# 作为被叫网关,使能E&M无信令模式。
[RouterB-Subscriber-Line6/0]open-trunk called
(1) 打开debug voice em all信息。使能open-trunk caller monitor 90命令后,可以看到主叫E&M设备立刻发起呼叫,与对方设备E&M建立连接,且链路建立成功后设备一直保持畅通状态。
*Sep 30 15:50:31:300 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: enable the open-trunk monitor, interval is configured 90s!,TimerId is 206
*Sep 30 15:50:31:300 2013 MSR5060 EM/7/VOICE:
EM_EVENT : Called number is 8800!
*Sep 30 15:50:31:300 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: Succeed in creating EMCCB.
*Sep 30 15:50:31:300 2013 MSR5060 EM/7/VOICE:
EM_TIMER [5/0]: Created message_wait TimerId [343] which will last 1000ms waiting for VIM_INSTALL_ACK.
*Sep 30 15:50:31:300 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: Succeed in sending install to driver.
*Sep 30 15:50:31:301 2013 MSR5060 EM/7/VOICE:
EM_FSM [5/0]: State changed from EM_IDLE to EMCALLED_WAIT_RECEIVE_NUMBER.
*Sep 30 15:50:31:321 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: Received VIM_INSTALL_ACK from VIM on state EMCALLED_WAIT_RECEIVE_NUMBER.
*Sep 30 15:50:31:322 2013 MSR5060 EM/7/VOICE:
EM_TIMER [5/0]: Deleted TimerId [343].
*Sep 30 15:50:31:322 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: Private line number is: 8800.
*Sep 30 15:50:31:322 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: Begin to treat with Plar .
*Sep 30 15:50:31:322 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: callernum=[],callednum=[8800]
*Sep 30 15:50:31:322 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: Succeed in sending AccpSetup to CMC.
*Sep 30 15:50:31:322 2013 MSR5060 EM/7/VOICE:
EM_TIMER [5/0]: Created message_wait TimerId [969] which will last 3000ms waiting for AccpSetupAck.
*Sep 30 15:50:31:322 2013 MSR5060 EM/7/VOICE:
EM_FSM [5/0]: State changed from EMCALLED_WAIT_RECEIVE_NUMBER to EMCALLED_WAIT_SETUP_ACK.
*Sep 30 15:50:31:324 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: Received ACCP_SETUP_ACK from CMC on state EMCALLED_WAIT_SETUP_ACK.
*Sep 30 15:50:31:325 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: Succeed in sending DTMFDetect off to Driver.
*Sep 30 15:50:31:325 2013 MSR5060 EM/7/VOICE:
EM_TIMER [5/0]: Deleted TimerId [969].
*Sep 30 15:50:31:325 2013 MSR5060 EM/7/VOICE:
EM_TIMER [5/0]: Created message_wait TimerId [606] which will last 40000ms waiting for AccpAlerting.
*Sep 30 15:50:31:325 2013 MSR5060 EM/7/VOICE:
EM_FSM [5/0]: State changed from EMCALLED_WAIT_SETUP_ACK to EMCALLED_RINGING.
*Sep 30 15:50:31:326 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: Received ACCP_SETUP_ACK from CMC on state EMCALLED_RINGING.
*Sep 30 15:50:31:326 2013 MSR5060 EM/7/VOICE:
EM_TIMER [5/0]: Deleted TimerId [606].
*Sep 30 15:50:31:326 2013 MSR5060 EM/7/VOICE:
EM_TIMER [5/0]: Created message_wait TimerId [169] which will last 40000ms waiting for AccpAlerting.
*Sep 30 15:50:31:326 2013 MSR5060 EM/7/VOICE:
EM_FSM [5/0]: State changed from EMCALLED_RINGING to EMCALLED_RINGING.
*Sep 30 15:50:31:366 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: Received ACCP_ALERTING from CMC on state EMCALLED_RINGING.
*Sep 30 15:50:31:367 2013 MSR5060 EM/7/VOICE:
EM_TIMER [5/0]: Deleted TimerId [169].
*Sep 30 15:50:31:367 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: Succeed in sending AccpChannelReady to CMC.
*Sep 30 15:50:31:367 2013 MSR5060 EM/7/VOICE:
EM_TIMER [5/0]: Created message_wait TimerId [541] which will last 60000ms waiting for AccpConnect.
*Sep 30 15:50:31:367 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: E&M OpenTrunk do nothing
*Sep 30 15:50:31:368 2013 MSR5060 EM/7/VOICE:
EM_EVENT : Received AccpChannelReadyAck Msg from CMC.
*Sep 30 15:50:37:577 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: Received ACCP_CONNECT from CMC on state EMCALLED_RINGING.
*Sep 30 15:50:37:578 2013 MSR5060 EM/7/VOICE:
EM_TIMER [5/0]: Deleted TimerId [541].
*Sep 30 15:50:37:578 2013 MSR5060 EM/7/VOICE:
EM_FSM [5/0]: State changed from EMCALLED_RINGING to EMCALLED_TALKING.
*Sep 30 15:50:37:578 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: Received ACCP_INFORMATION from CMC on state EMCALLED_TALKING.
*Sep 30 15:50:37:578 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: Send to DRV [VICTL_COM_DTMF_DETECT_OFF].
*Sep 30 15:50:37:578 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]: Received ACCP_INFORMATION from CMC on state EMCALLED_TALKING.
*Sep 30 15:50:37:578 2013 MSR5060 EM/7/VOICE:
EM_EVENT [5/0]:Send to DRV [IOCTL_VOICE_NTE_ON],LocalPT=101,RemotePT=101.
(2) 呼叫建立后,设备每隔90s检测一次链路状态,如果发现链路没有处于畅通状态,那么会立刻发起呼叫再次建链。
*Sep 30 15:52:01:297 2013 MSR5060 EM/7/VOICE:
EM_EVENT :Receive Em Timer Open Trunk monitor timer message,timerID = 206!
*Sep 30 15:52:01:297 2013 MSR50640 EM/7/VOICE:
EM_EVENT: The current ViIndex has been Occupied.
*Sep 30 15:53:31:297 2013 MSR5060 EM/7/VOICE:
EM_EVENT :Receive Em Timer Open Trunk monitor timer message,timerID = 206!
*Sep 30 15:53:31:297 2013 MSR5060 EM/7/VOICE:
EM_EVENT: The current ViIndex has been Occupied.
· Router A:
#
version 5.20, Release 2104P02, Standard
#
sysname RouterA
#
interface GigabitEthernet0/0
port link-mode route
ip address 168.32.53.80 255.255.0.0
#
voice-setup
#
sip
#
sip-server
#
call-rule-set
#
call-route
#
dial-program
#
entity 20 voip
address sip ip 168.32.53.54
match-template 88..
#
aaa-client
#
gk-client
#
subscriber-line5/0
private-line 88
open-trunk caller monitor 90
#
· Router B :
#
sysname RouterB
#
interface GigabitEthernet0/0
port link-mode route
ip address 168.32.53.54 255.255.0.0
#
voice-setup
#
sip
#
sip-server
#
call-rule-set
#
call-route
#
dial-program
#
entity 2000 pots
line 6/0
send-number all
match-template 8800
#
subscriber-line6/0
open-trunk called
#
· H3C MSR 系列路由器 命令参考(V5)-R2311
· H3C MSR 系列路由器 配置指导(V5)-R2311
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!