某局点一台MSR5040配置了语音拨号功能,组网如下:
大致拓扑: 省财政厅电话(3003299)——华为软交换——MSR5040———以太网———市局路由器——市局电话(3116558)。
其中,MSR5040的S7/0:15 和 S8/0:15接口连接华为软交换。G0/0连接以太网,Loopback地址为1.0.0.3,市局路由器Loopback地址为1.1.0.3。
故障现象:客户反馈,从省财政厅电话拨打市局电话,可以拨通,但市局电话上无法看到来电的源号码3003299。
MSR5040的关键配置:
#
interface Serial7/0:15
link-protocol ppp
isdn protocol-type qsig
isdn ignore hlc
isdn ignore llc
#
interface Serial8/0:15
link-protocol ppp
isdn protocol-type qsig
isdn ignore hlc
isdn ignore llc
#
interface LoopBack0
ip address 1.0.0.3 255.255.255.255
#
voice-setup
#
sip
source-bind signal ipv4 1.0.0.3
source-bind media ipv4 1.0.0.3
registrar ipv4 10.32.1.151
registrar ipv4 10.32.1.161 slave
register-enable on
#
sip-server
#
call-rule-set
#
call-route
#
dial-program
number-match longest
#
entity 24 pots
line 8/0:15
send-number all
match-template 3003...
outband sip
#
entity 34 pots
line 7/0:15
send-number all
match-template 3003...
outband sip
#
entity 3011 voip
address sip ip 1.1.0.3
match-template 3116...
outband sip
#
aaa-client
#
gk-client
#
接到该问题后,联系现场工程师收集了以下debug信息以及设备诊断信息,并请现场拨号测试。
debug voice sip all
debug voice cmc all
debug voice dpl all
debug isdb q931
从debug信息里可见,华为侧已经将主叫号码3003299送上来了,但MSR5040提示匹配失败。
*Nov 24 09:19:21:214 2015 czt_voice Q931/7/Q931_Debug: Serial8/0:15
Q921->Q931 DL_I_Data_Ind CES = 1
cr_length= 2 cr= 02 07 23 SETUP *bearer=04 03 80 90 a3 *chan_id=18 03 a1 83 84 *calling_n=6c 09 40 80 33 30 30 33 32 39 39 *called_n=70 08 80 33 31 31 36 35 35 38 //主叫号码
*Nov 24 09:19:21:214 2015 czt_voice Q931/7/Q931_Debug:
Q931 No call block !ChkProcOIECont
*Nov 24 09:19:21:214 2015 czt_voice Q931/7/Q931_Debug: Serial8/0:15
ISDN Layer 3 call state change: CS_NULL -> CS_CALL_PRESENT
*Nov 24 09:19:21:216 2015 czt_voice DPL/7/VOICE:
DPL_SRCH: [GetCallerEntity]The pointer of caller number is NULL! //匹配失败
但从MSR5040配置可见,应该是可以匹配的。那么,为什么会出现匹配失败的情况呢?
我们来深入分析一下华为软交换设备上送的主叫号码格式:
*calling_n=6c 09 40 80 33 30 30 33 32 39 39
注意“40”这个字段。“40”的高四位为0100,低四位为0000。根据协议Standard ECMA-143_qsig规定,低四位为0000属于unknown报文。
Bits
4 3 2 1
0 0 0 0 Unknown (note 1)
0 0 0 1 ISDN/Telephony numbering plan (ITU-T Rec.E.164/E.163)
1 0 0 1 Private numbering plan (ISO/IEC 11571)
协议又规定,unknown报文的第七位为0。
Bits
7 6 5
0 0 0 Unknown (note 3)
0 0 1 International Number (note 4)
0 1 0 National Number (note 4)
1 0 0 Subscriber Number (note 4)
至此,问题已经定位。华为软交换设备上送的主叫号码的对应字段的第七位为1,不符合协议规范,导致MSR5040将主叫号码忽略。这样,被叫方就没办法看到主叫方的号码了。
了解清楚问题的原因后,我们可以使用两种方法解决该问题:
1、由于问题是华为侧导致,建议客户联系华为侧定位该问题。
2、如果华为侧不能定位,可以将现场相关设备运行的qsig协议修改为默认的DSS1协议,规避该问题。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作