注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 一个黑客与一个电脑白痴的..
 帮助

IP电话


2007-12-12 19:36:08
 标签:IP 电话 模拟语音   [推送到技术圈]

VoIP简介


1.概念 :
IP电话通常被称作Internet电话或网络电话,就是通过Internet
电话。从广义上说,它应被称为Internet
电信,因为它包括语音、传真、视频传输等多种电信业务。

2.
基本原理 :
IP电话的话音是利用基于路由器/分组交换IPInternetIntranet)数据网进行传输。由于Internet中采用存储一转发的方式传递数据包,并不独占电路,并且对语音信号进行了很大的压缩处理,因此IP电话占用带宽仅为8kbitS 10kbitS,再加上分组交换的计费方式与距离的远近无关,自然大大节省了长途通信费用。 Internet是由众多各种不同的计算机网络互联组成的,遍布世界各地。Inte rnet的出现和普及极大地改变了人们的交流和通信方式。Internet使用标准的TCP IP协议来实现各计算机之间的相互通信和数据交换。
  TCPIP协议则负责将要传输的IP数据分组排队发送到网络上。每个分组均包含地址及数据重组信息,以确保数据安全和数据分组交换正确无误。 IP Telephony就是以Internet作为主要传输介质进行语音传送的。首先,语音信号通过公用电话网络被传输到IPTelephony关;然后网关再将话音信号转换压缩成数字信号传递进入Internet;而这些数字信
号通过遍及全球而成本低廉的网络将信号传递到对方所在地的网关,再由这个网关将数字信号还原成为模拟信号,输入到当地的公共电话网络,最终将语音信号传给收话人。

voip配置实例


2611:
  
  voice-port 1/0/0
  cptone CN
  !
  voice-port 1/0/1
  cptone CN
  !
  !
  dial-peer voice 1 pots
  destination-pattern 26111
  port 1/0/0
  !
  dial-peer voice 2 pots
  destination-pattern 26112
  port 1/0/1
  !
  dial-peer voice 3 voip
  destination-pattern 1750.
  session target ipv4:xxx.xxx.116.37
  !
  !
  interface Ethernet0/0
  ip address xxx.xxx.116.36 255.255.255.224
  no ip directed-broadcast
  no ip route-cache
  !
  interface Ethernet0/1
  no ip address
  no ip directed-broadcast
  no ip route-cache
  shutdown
  !
  ip classless
  no ip http server
  
  1750:
  
  !interface FastEthernet0
  ip address xxx.xxx.116.37 255.255.255.224
  speed auto
  full-duplex
  
  !
  ip classless
  ip route 0.0.0.0 0.0.0.0 xxx.xxx.116.36
  no ip http server
  !
  snmp-server engineID local 00000009020000B0640E686C
  snmp-server community public RO
  snmp-server packetsize 2048
  !
  voice-port 0/0
  cptone CN
  ring frequency 50
  !
  voice-port 0/1
  cptone CN
  !
  dial-peer voice 7 pots
  destination-pattern 17501
  port 0/0
  !
  dial-peer voice 8 pots
  destination-pattern 17502
  port 0/1
  !
  dial-peer voice 9 voip
  destination-pattern 2611.
  session target ipv4:xxx.xxx.116.36
  codec g729ulaw
  ip precedence 5
  no vad







    文章评论
 
2008-01-02 15:36:29
  很有个性的个人图片,相信你也是一个很有个性的人.
  硬件方面了解不多.不过顶你。兄弟!

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: