一、 组网需求:
不涉及。
二、 组网图:
不涉及。
三、 配置步骤:
众所周知,CallP作为B2BUA,负责呼叫处理与转接,但实际的数据查询与处理,如呼叫授权请求,路由查询等等均依赖后台VCXdata。CallP与VCXdata的数据交互基于C/S,在VCX实现中,VCXdata称之为BES(BackEnd Server,后台服务器),而CallP为BES Client(BES客户端)。
当我们通过RemoteCLI开启CallP日志时,有关BES Client与BES的交互过程缺省不写入日志,这时因为BesLogLevel=0。
如果因定位问题需要跟踪BES Client与BES的详细交互记录,这时可以通过以下CLI命令修改BesLogLevel为255,从而记录BES Client调试日志。
# cd /opt/3com/VCX/callprocessor/remoteCli/bin/
# ./remoteCli call
> show auth
> config auth bes=255
> show auth
> exit
记住:运行RemoteCLI需要root帐号登录!
为方便用户对于该命令的使用,这里附上通过RemoteCLI开启BES客户端调试日志的详细过程:
-bash-2.05b# pwd
/opt/3com/VCX/callprocessor/remoteCli/bin
-bash-2.05b# ./remoteCli callp
..
...
remoteCli v5.0.2.3 Sep 29 2006 (DMR v1.3.2.2 Sep 29 2006)
Copyright(c) 2004-2007
3Com Corporation
All Rights Reserved.
remoteCli connecting to 192.168.188.99:7777....
Wed Nov 4 10:34:02 2009 INFO NmPlugin
CLI apoc version 5.0.2.3 started successfully.
VCX 7210 IP CallProcessor v7.1.47.49 Sep 26 2007 (DMR v1.3.2.2 Sep 26 2007)
Copyright(c) 2004-2007
3Com Corporation
All Rights Reserved.
> show auth
auth
UseServer = true
UseServerOperational = true
NumberOfActiveServers = 1
CurrentServerIpAddress = 192.168.188.99
KeepAliveInterval = 10000 (milliseconds)
KeepAliveCount = 5
EnableHighPrioritySwitchOver = true
RetransmitCount = 3
DiscoverInterval = 2000 (milliseconds)
RequestTimeout = 5000 (milliseconds)
LogError = true
LogWarning = true
LogInfo = false
BesLogLevel = 0
> config auth bes=255
auth
bes = 255
> show auth
auth
UseServer = true
UseServerOperational = true
NumberOfActiveServers = 1
CurrentServerIpAddress = 192.168.188.99
KeepAliveInterval = 10000 (milliseconds)
KeepAliveCount = 5
EnableHighPrioritySwitchOver = true
RetransmitCount = 3
DiscoverInterval = 2000 (milliseconds)
RequestTimeout = 5000 (milliseconds)
LogError = true
LogWarning = true
LogInfo = false
BesLogLevel = 255
> exit
Quit
四、 配置关键点:
1)运行RemoteCLI需要root帐号登录;
2)修改BesLogLevel后,建议使用show auth命令加以查看确认。