The experience to config Cisco 2811 for VOIP

简介: Introduction    My company would like to set up a call center. The call center needs a VOIP router. We choosed Cisco 2811, and we applied an E1 cable to host 30 phones in.

Introduction

   My company would like to set up a call center. The call center needs a VOIP router. We choosed Cisco 2811, and we applied an E1 cable to host 30 phones in. We need to do necessary configuration in the Cisco 2811 router.

 

Config the Cisco 2811 router

   We received the router. We started to config the router. First we checked the delivery list file in the package, and found a console cable. The console cable is used to config the router. One end of the console cable is female serial port, the other end of the console cable is RJ11(network port). Plugged in the RJ11 side into the router, and plugged the female serial port into the serial port of my laptop.

   Start the "Hyper terminal" program in windows, input a name: cisco2811, for the connection. Select China(86) for Country/region, area code 010, Connect using COM1, click on the "Configure" button next to Connect using, click "Restore defaults". click ok, click ok again.

   Then the Console window shows some message. Press enter key. The router prompts for user name and password. Input cisco as user name and cisco as password.  This is the default password of all cisco routers. We need to change it right now. Use this one:

username cisco privilege 15 secret 5 cisco

 

Config the E1 PRI card

   There is the T1/E1 card delivered with the router. We plugged the card into the number 0 slot of the router, attach the PRI cable to the E1 card, a yellow light turns on.

   Go to the console window, type the command:

configure terminal

hostname GW_1

card type E1 0 0

network-clock-participate wic 0

network-clock-select 1 E1 0/0/0

end

show run

Note: the card type command is to specify the E1 card. If the command not presented, the isdn command will not be available.

 

 

Config the IP address for the network card

GW_1#configure terminal

 

GW_1<config>#interface fast-ethernet 0/0

 

GW_1<config-if>#ip address ip-address net-mask

 

GW_1<config-if>#ip route 0.0.0.0 0.0.0.0 default-router

default-router: address of default gateway

GW_1<config-if>#exit

 

GW_1<config>#ip routing

 

 

 

 

Config the relay of router

GW_1#configure terminal

 

GW_1<config>#Isdn switch-type primary-net5

turn on ISDN PRI

GW_1<config>#controller E1 0/0/0

 

GW_1<config-controller>#framing NO-CRC4

set the mode to NO_CRC4

GW_1<config-controller>#pri-group timeslots 1-31

all the time slots in one primary group

GW_1<config-controller>#trunk-group 1 timeslots 1-31

all time slots into the first group

GW_1<config-controller>#exit

 

GW_1<config >#interface Serial 0/0/0:15

 

GW_1<config-if>#isdn overlap-receiving T302 500

turn on isdn overlap-receiving mode

GW_1<config-if>#exit

 

 

Config the dial-peer

GW_1#configure terminal

 

GW_1<config>#dial-peer voice 100 voip

Add a inbound route named 100

GW_1<config-dial-peer>#destination-pattern 28829…

the number starts with 28829. The "." could be wildchar to match any character.

 

GW_1<config-dial-peer>#session target ipv4:192.168.90.230

send all the SIP packets to the target address 192.168.90.230

GW_1<config-dial-peer>#session protocol sipv2

protocol sip version 2

GW_1<config-dial-peer># dtmf-relay rtp-nte

RTP protocol to deal with DTMF

GW_1<config-dial-peer>#codec g711alaw

Use g.711 Alaw to transmit voice data

another choice is codec g729r8

GW_1<config-dial-peer>#exit

 

GW_1<config>#exit

 

 

 

Config the call out route

GW_1#configure terminal

 

GW_1<config>#

 

GW_1<config>#controller E1 0/0/0

 

GW_1<config-controller>#trunk-group 1 timeslots 1-31

put timeslots in the first group

GW_1<config-controller>exit

 

GW_1<config>#controller E1 0/0/1

another controller

GW_1<config-controller>#trunk-group 1 timeslots 1-31

 

GW_1<config-controller>exit

 

GW_1<config>#dial-peer voice 900 pots

out bound route named 900

GW_1<config-dial-peer>#destination-pattern …

call out number start with

GW_1<config-dial-peer>#direct-inward-dial

Set DID mode

GW_1<config-dial-peer>#trunkgroup 1

call out from the first group

GW_1<config-dial-peer>#exit

 

GW_1<config>#

 

 

After the configuration, there should be a green light on the E1 card.

 

Debug the router

The show command is very useful when debugging the router. To check the status of controllers, serial ports.

First we can use show run command to view the current configuration of router.

Show controllers command is also useful, Show interface serial-port command is also useful to debug the router.

 

Be careful to the "shutdown" command

When you see a shutdown command, the component is in administrative shutdown status. If it is extremely necessary, you can put the shutdown command. Otherwise, please use "no shutdown" to disable the "shutdown" command.

 

目录
相关文章
|
28天前
|
人工智能 自然语言处理 安全
用AI重构人机关系,OPPO智慧服务带来了更“懂你”的体验
OPPO在2025开发者大会上展现智慧服务新范式:通过大模型与意图识别技术,构建全场景入口矩阵,实现“服务找人”。打通负一屏、小布助手等系统级入口,让服务主动触达用户;为开发者提供统一意图标准、一站式平台与安全准则,降低适配成本,共建开放生态。
209 31
|
1月前
|
人工智能 API 数据安全/隐私保护
近期非常风靡非常逼真的AI视频内容由sora生成的视频是怎么回事?-优雅草卓伊凡
近期非常风靡非常逼真的AI视频内容由sora生成的视频是怎么回事?-优雅草卓伊凡
415 12
近期非常风靡非常逼真的AI视频内容由sora生成的视频是怎么回事?-优雅草卓伊凡
|
1月前
|
传感器 人工智能 算法
数字孪生智慧水务系统,三维立体平台,沃思智能
智慧水务系统融合物联网、数字孪生与AI技术,实现供水全流程智能监测、预测性维护与动态优化。通过实时数据采集与三维建模,提升漏损控制、节能降耗与应急响应能力,推动水务管理从经验驱动迈向数据驱动,助力城市水资源精细化、可持续化管理。
460 143
|
1月前
|
移动开发 小程序 JavaScript
uniapp
uniapp
566 130
|
SQL 存储 关系型数据库
mysql集群搭建部署
应用场景 数据存储在mysql中,单节点存储如果数据量十分大,数据就很可能存不下。因此我们需要搭建部署mysql的集群模式,增加数据的存储量,而且提到数据库访问的并发。
2880 0
|
自然语言处理
致第一次安装RIME的你
转载自百度RIME吧,作者:半月湾C 原帖地址:http://tieba.baidu.com/p/3288634121   序言 很喜欢小狼毫输入法,喜欢他的简洁,美观以及超强悍的个人定制功能。关于 RIME输入法。
4066 0
|
easyexcel Java API
【Alibaba工具型技术系列】「EasyExcel技术专题」实战技术针对于项目中常用的Excel操作指南
【Alibaba工具型技术系列】「EasyExcel技术专题」实战技术针对于项目中常用的Excel操作指南
1479 0
【Alibaba工具型技术系列】「EasyExcel技术专题」实战技术针对于项目中常用的Excel操作指南
|
Java 测试技术 API
Java 中拼接 String 的 N 种方式
Java 中拼接 String 的 N 种方式
642 0
Java 中拼接 String 的 N 种方式
|
机器学习/深度学习 算法 计算机视觉
【气动学】基于龙格库塔算法实现外弹道仿真含Matlab源码
【气动学】基于龙格库塔算法实现外弹道仿真含Matlab源码
【气动学】基于龙格库塔算法实现外弹道仿真含Matlab源码