CUBE: 边界网关

clip_p_w_picpath002

R1与R3代表2个不同的公司

R1的配置如下:

dial-peer voice 3000 voip //dial-peer 路由

destination-pattern 3...

session target ipv4:13.1.1.3

dtmf-relay rtp-nte

codec g711ulaw

!

!

!

gatekeeper

shutdown

!

!

telephony-service

max-ephones 5

max-dn 10

ip source-address 192.168.100.250 port 2000 //R1f0/0的IP地址

auto assign 1 to 2

max-conferences 8 gain -6

transfer-system full-consult

!

!

ephone-dn 1

number 1001

!

!

ephone-dn 2 dual-line

number 1002

!

!

ephone 1

mac-address 0200.4C4F.4F50 ?这个MAC地址是你电脑环回口的mac地址

type CIPC

button 1:1 2:2

CIPC设置如下:

clip_p_w_picpath004

注册完成后CIPC显示的号码

clip_p_w_picpath006

判断R3是否支持CME SIP电话注册:

R3#dir system:/cme

Directory of system:/cme/

156 drwx 0 <no date> sipphone

No space information available

R2的配置:

voice register global

mode cme

source-address 192.168.30.250 port 5060

max-dn 10

max-pool 144

authenticate register

!

voice register dn 1

number 3001

!

voice register pool 1

id mac 0200.4C4F.4F52 ?#3号环回口的mac地址

number 1 dn 1

username fuyi password fuyi

codec g711ulaw

dial-peer voice 1000 voip

destination-pattern 1...

session protocol sipv2

session target ipv4:13.1.1.1

dtmf-relay sip-notify

codec g711ulaw

SIP电话注册:

clip_p_w_picpath008

clip_p_w_picpath010

配置对比:

clip_p_w_picpath012

CUBE的配置

R3/1#sh run | se voice service

voice service voip

allow-connections h323 to h323

allow-connections h323 to sip

allow-connections sip to h323

allow-connections sip to sip

clip_p_w_picpath014