|
|
|||||||||
|
|
注册用户
![]() 注册日期: Apr 2003
住址: 海口
帖子: 319
|
FXO语音卡问题
路由器安装了FXO语音卡,连接PBX的分机线。
请问:是不是所有的分机电话从FXO出去只能拨打一个号码? |
|
|
注册用户
![]() 注册日期: May 2003
住址: haerbin
帖子: 557
|
怎么会?不同的号码指向不同的ip地址。
|
|
|
注册用户
![]() 注册日期: Jul 2003
住址: 河南郑州
帖子: 29
|
看你的配置了!
|
|
|
注册用户
![]() 注册日期: Apr 2003
住址: 海口
帖子: 319
|
我还是不太明白:
FXO卡的工作方式,比如说:外面拨打FXO的时候,怎么让PBX内部分机振铃;PBX分机从FXO拨打出去的话,怎么让远端的电话振铃? 如果有FXO的典型配置的话,那最好不过了,谢谢! ganchuanli@hotmail.com |
|
|
注册用户
![]() 注册日期: May 2003
住址: ……
帖子: 148
|
voip配置范例+简单注解
SZ-2621XM#sh run Building configuration... Current configuration : 2917 bytes ! version 12.2 service timestamps debug uptime service timestamps log uptime service password-encryption ! hostname SZ-2621XM ! enable secret 5 $1$n1F7$sqYiIdfb97e/AgOK16WFW. ! username luojq password 7 051C0F012543591A username direction password 7 13011E000E0F1023242A ip subnet-zero ! ! no ip domain-lookup ! call rsvp-sync ! interface FastEthernet0/0 description Connected to CheGongMiao broadband network ip address 172.16.100.138 255.255.255.248 ip nat outside duplex auto speed auto ! interface Serial0/0 description Connected to WAN NJ-2621XM S0/0 ip address 192.168.1.1 255.255.255.0 ip access-group infilter out no fair-queue ip rtp header-compression----------------------(配置rtp头压缩,rtp,real-time transport protocol,用在ip网络上传输打包的音频流量 。rtp头压缩器把rtp数据包中的ip/udp/rtp头从40个字节压缩到大约2到4 个字节。在慢速连接上这个压缩很有意义。如果在这个命令后包含passive 关键字,表示只有当同一个接口上的输入rtp包压缩时,软件压缩输出rtp 包。没有passive软件压缩所有rtp流量) ip rsvp bandwidth 48 48-------------------(RSVP可以使终端系统以 网络中获取特定的Qos。如果网络存在下列条件,用户应该配置RSVP以保 证Qos:1,小规模语音网络实现2,慢速连接3与告诉利用的连接4低于 2mbps的连接5需要好的语音质量。缺省为带宽的75%) ! interface FastEthernet0/1 description Connected to FXKJ interior network ip address 172.16.0.1 255.255.255.0 ip nat inside duplex auto speed auto ! interface Serial0/1 description Connected to WAN SY-2621XM S0/0 ip address 192.168.2.1 255.255.255.0 ! router eigrp 200 network 172.16.0.0 network 192.168.1.0 network 192.168.2.0 no auto-summary ! ip nat pool fxkj 172.16.100.138 172.16.100.138 netmask 255.255.255.248 ip nat inside source list 1 pool fxkj overload ip classless ip route 0.0.0.0 0.0.0.0 172.16.100.137 no ip http server ip pim bidir-enable ! ! ip access-list extended infilter permit udp host 172.16.0.35 192.168.0.0 0.0.0.255 eq netbios-ns reflect netbios permit udp host 172.16.0.35 192.168.0.0 0.0.0.255 eq netbios-dgm reflect netbios permit tcp host 172.16.0.35 192.168.0.0 0.0.0.255 eq 139 reflect netbios permit tcp host 172.16.0.35 192.168.0.0 0.0.0.255 eq 445 reflect netbios permit udp 172.16.0.0 0.0.255.255 host 192.168.0.8 eq netbios-ns reflect netbios permit udp 172.16.0.0 0.0.255.255 host 192.168.0.8 eq netbios-dgm reflect netbios permit tcp 172.16.0.0 0.0.255.255 host 192.168.0.8 eq 139 reflect netbios permit tcp 172.16.0.0 0.0.255.255 host 192.168.0.8 eq 445 reflect netbios deny udp 172.16.0.0 0.0.255.255 192.168.0.0 0.0.0.255 eq netbios-ns deny udp 172.16.0.0 0.0.255.255 192.168.0.0 0.0.0.255 eq netbios-dgm deny tcp 172.16.0.0 0.0.255.255 192.168.0.0 0.0.0.255 eq 139 deny tcp 172.16.0.0 0.0.255.255 192.168.0.0 0.0.0.255 eq 445 permit ip any any access-list 1 permit 172.16.0.0 0.0.0.255 ! ! voice-port 1/0/0 ! voice-port 1/0/1 ! voice-port 1/1/0 ! voice-port 1/1/1 ! dial-peer cor custom ! ! ! dial-peer voice 1 pots--------(创建一个pots拨号点) destination-pattern 075501--------(讲电话号码与post 相关联,指的为本地电话号码) port 1/0/0(将接口和post相关联,指接电话设备的fxo ,fxs,pbs的路由器接口) ! dial-peer voice 2 pots destination-pattern 075502 port 1/0/1 ! dial-peer voice 3 pots destination-pattern 075503 port 1/1/0 ! dial-peer voice 4 pots destination-pattern 075504 port 1/1/1 ! dial-peer voice 5 voip--------(创建voip拨号点,将目标电话号码 和目标ip地址相关联) destination-pattern 9009----------(目标电话号码) session target ipv4:192.168.1.2-------(目标ip地址) req-qos guaranteed-delay(为拨号点配置rsvp,如果用户已经为rsvp 配置了wan或lan,用户必须为相关联的voip点配置qos。用命令reg-qos [best-effort|controlled-load|guaranteed-delay]希望使用的服务质 量。cisco建议使用controlled-load) ip precedence 5-----------------(给予实时语音流量比其他网络流量 更高的优先级,用户通过使用ip precedence来加权与特定voip关联的语音 数据流量。ip precedence伸缩性比rsvp更佳,但没有提供许可控制。在ip precedence number中,数字1到5标志ip流量的等级,数字6到7用于网络 和主干路由和升级。本例中表示与dial-peer voice 5 voip相关联) ! gatekeeper shutdown ! ! line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 exec-timeout 5 0 password 7 02110D550F091832 login local ! end |
|
|
注册用户
![]() 注册日期: May 2003
住址: ……
帖子: 148
|
voip配置步骤
VOIP的配置任务包括: x配置dial-peer x配置Dial-peer VoIP 表明此连接是同数据网络相连接的 x配置Dial-peer pots 是配置同本地相连接的接口数据 x配置拨号终结符 x配置缩位拨号 x配置语音端口voice-port 1.配置dial-peer voice number voip 操作 命令 增加远端的配置 dial-peer voice number voip 配置应答号码 answer-address string 配置电话号码 destination-pattern string 配置到达对方的IP地址 session target {ipv4:a.b.c.d | ras } 禁止(使能)使用此voip shutdown | no shutdown 配置编解码方式 codec { g711ulaw | g729r8 | g723ar53 | g723ar63 } 2.配置dial-peer voice number pots 增加本地的voip配置 dial-peer voice number pots 配置电话号码 destination-pattern string 配置本地的端口号 port port-number 配置编解码方式 codec { g711ulaw | g729r8 | g723ar53 | g723ar63 } 禁止(使能)使用此pots shutdown | no shutdown 配置电话号码前缀 prefix string 3.配置拨号终结符 配置拨号终结符 dial-peer terminator charactisc 4.配置缩位拨号 配置缩位拨号 num-exp string string 5.配置voice-port 端口 配置语音物理端口 voice-port port-number 是否产生舒适噪音 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 |
|
|
注册用户
![]() 注册日期: Apr 2003
住址: 海口
帖子: 319
|
谢谢lidonghan
多谢! |
|
|
注册用户
![]() 注册日期: Feb 2004
住址: 广东
帖子: 54
|
多谢
__________________
如果我说错了,请对我批评指正,万分感谢! |
|
|
| 主题工具 | |
|
|