取消
显示结果 
搜索替代 
您的意思是: 
cancel
3580
查看次数
0
有帮助
9
回复

语音网关出局显示固定直线

zhangsx779542
Level 1
Level 1
本帖最后由 zhangsx779542 于 2019-7-10 13:31 编辑
目前的架构:PSTN--FXO--Voice Gateway--2921路由器--3750交换机--CUCM--话机
有10*VIC-FXO,现在是内部分机从10个语音口随机出局,外部进线是通过connection plar进总机,现在希望内部有1-2部分机是各占一条线路,就是外部拨某直线,可以直接到固定分机,不经总机,该分机拨外线时显示的也是该直线,而不是随机出局。
之前看到论坛上有类似的提问,但是配置了并不生效
下面是translation-rule 和端口相关的配置:
voice translation-rule 3
rule 3 /^820$/ /63392831/
!
!
voice translation-profile VIP
translate called 3

voice-port 0/2/1
supervisory disconnect dualtone mid-call
cptone CN
timeouts call-disconnect 1
timeouts wait-release 1
timing hookflash-out 500
connection plar 820
caller-id enable

dial-peer voice 63392833 pots
translation-profile outgoing VIP
destination-pattern 9T
incoming called-number 63392831
no digit-strip
port 0/2/1


9 条回复9

ghostlee1
Level 1
Level 1
dial-peer voice 63392833 pots
translation-profile outgoing VIP
destination-pattern 9T
incoming called-number 63392831
no digit-strip
port 0/2/1
dial-peer是先命中匹配然后再调用转换。你可以换成:
dial-peer voice 63392833 pots
translation-profile outgoing VIP
destination-pattern 9T
incoming called-number 820
no digit-strip
port 0/2/1
再试试

zhangsx779542
Level 1
Level 1
ghostlee 发表于 2019-7-11 14:01
dial-peer voice 63392833 pots
translation-profile outgoing VIP
destination-pattern 9T

刚刚试了一下,似乎还是不可行,还是随机从FXO口出局

ghostlee1
Level 1
Level 1
zhangsx779542 发表于 2019-7-11 16:51
刚刚试了一下,似乎还是不可行,还是随机从FXO口出局

抱歉,前两天对你的问题和场景理解错误。你这个问题需要用到corlist来做。而且incoming called-number是匹配的被叫,而非主叫。在CUCM-->VG的时候主叫是820,被叫是手机之类的。所以应该在入向的时候是不会命中这条dial-peer。

zhangsx779542
Level 1
Level 1
ghostlee 发表于 2019-7-12 00:20
抱歉,前两天对你的问题和场景理解错误。你这个问题需要用到corlist来做。而且incoming called-number是 ...

corlist我知道,但是corlist不是只针对CME来做吗?CUCM怎么实现呀

ghostlee1
Level 1
Level 1
zhangsx779542 发表于 2019-7-15 16:35
corlist我知道,但是corlist不是只针对CME来做吗?CUCM怎么实现呀

CUCM上不做修改,CME上针对老板的号码在入向的时候时候运用corlist做限制

ghostlee1
Level 1
Level 1
ghostlee 发表于 2019-7-15 22:11
CUCM上不做修改,CME上针对老板的号码在入向的时候时候运用corlist做限制

corlist不只是用于CME,VG上就可以用

zhangsx779542
Level 1
Level 1
ghostlee 发表于 2019-7-16 10:16
corlist不只是用于CME,VG上就可以用

现在希望的是CUCM下的一部话机出局从十路电话中的其中一条线路,即出局显示该固定线路号码,而不是从随即出局,你的意思是将一部话机通过CME的方式注册吗

ghostlee1
Level 1
Level 1
zhangsx779542 发表于 2019-7-16 10:42
现在希望的是CUCM下的一部话机出局从十路电话中的其中一条线路,即出局显示该固定线路号码,而不是从随即 ...

不是,CUCM到VG的呼叫是不是得匹配一条入向dial-peer,此时调用corlist.

zhangsx779542
Level 1
Level 1
ghostlee 发表于 2019-7-16 10:56
不是,CUCM到VG的呼叫是不是得匹配一条入向dial-peer,此时调用corlist.

这个是网关上的入向的dial-peer
dial-peer voice 800 voip
destination-pattern 8..$
session target ipv4:192.168.2.99
voice-class codec 1
voice-class h323 1
dtmf-relay cisco-rtp h245-alphanumeric h245-signal rtp-nte
no vad
看了Cisco官网的文档后定义的corlist
dial-peer cor custom
name test
!
!
dial-peer cor list call820
member test
但是我看到好像还要在话机下进行corlist匹配:
Apply the COR list to the individual phones/Ephone-dns.
Ephone-dn 1
Number 1001
Cor incoming Engineering
我是小白,还请多指教指教
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接