ROS软路由论坛 ROSABC.com 网络方案网络工程交流

 找回密码
 会员注册

QQ登录

只需一步,快速开始

Cisco 2651路由器IP电话配置的一些方法和技巧

2014-3-16 13:24| 发布者: admin| 查看: 690| 评论: 0

摘要: Cisco 2651中IP Phone配置与修改 一、使用Cisco 2651路由器IP电话配置向导进行配置 router# conf t router# int f0/0 router()#ip address 192.168.1.1 255.255.255.0 router()#end router()# telephony-service set ...

Cisco 2651中IP Phone配置与修改

一、使用Cisco 2651路由器IP电话配置向导进行配置
router# conf t
router# int f0/0
router()#ip address 192.168.1.1 255.255.255.0
router()#end
router()# telephony-service setup   启用IP电话配置向导
      1.Do you want to setup DHCP Service for your IP Phones?[yes/no]:
      是否为IP电话配置DHCP服务器,如果在你的网路中已有DHCP服务器,此步就不用,但是一定要在你 的DHCP服务器中指定TFTP服务器为此路由器(用作IP电话的路由器);如果你网路中没有DHCP服务器,此处就输入yes,进入DHCP服务器配置
      IP network for telephony-service DHCP Pool:192.16.1.0
      Subnet mask for DHCP network:255.255.255.0           定义DHCP网段及掩码
      FTP Server IP address(Option 150):192.168.1.1        定义此路由器为IP电话TFTP服务器
      Default Router for DHCP Pool:192.168.1.1                  指定默认路由
      2.Do you want to start etlephony-service setup[yes/no]: 是否开始配置IP电话
      3.Enter the IP source address for Cisco IOS Telephony serices:   输入IP电话服务器地址
      4.Enter the Skinny Port for Cisco IOS Telephony serices:[2000]:输入IP电话服务 器端口(直接回车)
      5.How many IP Phones do you want to configure:[0]   要配置多少部IP电话,根据需要输入
      6.Do you want dual-line extensions to phones?[yes/no]:
       7.What language do you want on IP phones:   IP电话上显示语言(直接回车)
       8.which Call Progress tone set do you want on IP phones: IP电话上的时区(直接回车)
       9.What is the first extension number you want to configure: 2000 第一个分机号设置为多少
     10.Do you have Direct_Inward_Dial service for all your phones?[yes/nl]:外线可直接拨打所有内线
          如果选择是,会出现如下提示 [建议选择否]
           Enter the full E.164 number for the first phone: 输入固网的电话号码
           附注说明:(固定网PSTN号码,采取E.164编码方式:CC+NDC+SN
                              CC: Country Code,国家码,如中国为86。
                              NDC:National Destination Code,国内接入号,如中国移动的NDC目前有139等


                              SN:Subscriber Number
                              如要接外线,2651路由还需增加VIC-2FXO和NM-2V这两个模块,
                             另外还需对voice-port, dial-peer进行设置,文尾有讲到)
     11.Do you want to forward calls to a voice messge service ?[yes/no] 是否开通语音信箱
          注:语音信箱(cisco cue) 模块较贵,如果路由上没有此模块就不需设置
           如果选择是,会有如下提示
           Enter extension for pilot number of the voice message service: 2008 输入语音信箱号码
          Call forward No Answer Timeout:[18] : 无应答转到语音信箱的时间
     12. Do you wish to change any of the above in formation?[yes/no]
           是否还要修改以上配置,选择否来完成配置
如果要清除已配置好的IP电话,直接运行如下命令
router(config)#no telephony-service
不过此命令只会清除telephony-service ,ephone-dn,ephone全部配置,但DHCP配置是不会清除的。
接外线(包括街线或内部电话交机分配的号码)
A:配置voice-port端口 router(config)# voice-port 1/0/0 (1表示NM-2V第一个插槽,中间0表示第一 块 2FXO/最后0表示第一块2FXO的第一个端口),配置线入接入物理端口。
                                      router(config-voiceport)#
                                              是否产生舒适噪音 comfort-noise
                                               连接类型 connection
                                              提示音类型 cptone
                                              接口描述 description
                                              使能回声抑制 echo-cancel enable

                                               配置阻抗大小 impedance
                                              配置输入增益 input gain
                                              配置非线性范围 non-linear
                                              配置EM中继线路类型2-4线 operation
                                              配置输出衰减 output attenuation
                                               配置振铃频率 ring frequency
                                              配置振铃次数 ring number
                                               禁用此语音端口 shutdown


                                               启动信号类型 signal
                                              配置初始化超时间隔 timeouts initial
                                              配置按键间隔超时间隔 timeouts interdigit
                                              配置等待超时间隔 timing clear-wait

                                              配置延时超时间隔 timing delay-duration
                                              配置延时启动超时间隔 timing delay-start
                                               配置闪断延时间隔 timing wink-duration
                                              配置闪断等待间隔 timing wink-wait
                                              配置EM中继类型 type ..........
                                   router(config-voiceport)# end
B:配置本地VOIP,主要是打出设置 dial-peer voice number pots
                              router(config)# dial-peer voice N pots    (N为随意单个数字或1串数字,N=1)
                              router(config-dial-peer)# destination-pattern string (sring=8,有些设置可以看到后边


                                                             加个T,表来电显示,由于我的模块不没此功能,就不用设置成8T)
                                router(config-dial-peer)# port 1/0/0 (指定连接外线的端口)
                                .............................................................
                                 router(config-dial-peer)# end
C:两地VOIP互通 (这条我未实际配置过,只供参考)
                                 router(config)# dial-peer voice N voip (N为数字)
                                  router(config-dial-peer)#
                                                             应答号码 answer-address string
                                                             电话号码 destination-pattern string


                                                              到达对方的IP地址 session target ipv4:xxx.xxx.xxx.xxx
                                                             禁止或启用voip: shutdown | no shutdown
对于小型路由器2651来讲,每次更改IP电话的配置后,最好运行如下命令来清除文件,以便释放以前占用的空间
router# squeeze flash:

不良信息举报Q:2000617

软路由

不良信息举报Q:2000617|Archiver|ROS软路由论坛 ROSABC.com 网络方案网络工程交流

GMT+8, 2025-8-21 00:23 , Processed in 0.108757 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部