baby063 发表于 2019-6-4 22:09:11

思科语音网关配置求解

情况描述:
       目前单位申请两个电话号码,需要通过语音路由使用IP电话。路由器加了一个两端口FXO模块。两条电话线直接连到模块接口上。目前出现问题:呼入010-11110000   010-22220000两个号码是正常。但是只有010-11110000能往外打电话,


求解:
      如果两个电话都能同时往外呼出,谢谢大神!!!

以下是路由语音部分配置。
voice translation-rule 1913
rule 1 /^8../ /11110000/

voice translation-rule 1914
rule 1 /^8../ /22220000/



voice translation-profile to-pstn-1913
translate calling 1913


voice translation-profile to-pstn-1914
translate calling 1914



dial-peer voice 1913 pots
translation-profile outgoing to-pstn-1913
service aa
preference 9
destination-pattern 9T
port 0/1/0
forward-digits all
prefix 0



dial-peer voice 1914 pots
translation-profile outgoing to-pstn-1914
service aa
destination-pattern 9T
port 0/1/1
incoming called-number ...
direct-inward-dial





voice-port 0/1/0
translation-profile incoming to-pstn-1913
cptone CN
supervisory disconnect dualtone mid-call
timeouts call-disconnect 5
timeouts wait-release 5



voice-port 0/1/1
translation-profile incoming to-pstn-1914
cptone CN
supervisory disconnect dualtone mid-call
timeouts call-disconnect 5
timeouts wait-release 5


页: [1]
查看完整版本: 思科语音网关配置求解