Xin hỏi mấy sư huynh
Em làm cái lab gồm Brekeke SIP server, X-Line softphone và 1 IP Phone, Router Cisco C1700.
Cấu hình gọi từ softphone đến ip phone và analog phone thì ok, nhưng làm sao để gọi ngược lại từ analog đến softphone mấy sư huynh.
Cấu hình Router
Current configuration : 1302 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Cisco1700
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
voice-card 0
!
voice-card 1
!
ip subnet-zero
ip cef
!
!
no ip dhcp use vrf connected
!
!
no ftp-server write-enable
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.150.10 255.255.255.0
speed auto
!
ip classless
!
ip http server
!
!
control-plane
!
!
!
voice-port 0/0
ring cadence define 40 10
station-id name Analog Phone
station-id number 333
caller-id enable
!
voice-port 0/1
!
voice-port 1/0
!
voice-port 1/1
!
!
!
!
!
!
dial-peer voice 111 voip
destination-pattern 111
session protocol sipv2
session target sip-server
codec g711alaw
!
dial-peer voice 333 pots
destination-pattern 333
port 0/0
!
dial-peer voice 222 voip
destination-pattern 222
session protocol sipv2
session target sip-server
codec g711alaw
!
dial-peer voice 444 pots
destination-pattern 444
port 0/1
!
num-exp 3333 3333
sip-ua
sip-server ipv4:192.168.150.1
!
!
============================
Em làm cái lab gồm Brekeke SIP server, X-Line softphone và 1 IP Phone, Router Cisco C1700.
Cấu hình gọi từ softphone đến ip phone và analog phone thì ok, nhưng làm sao để gọi ngược lại từ analog đến softphone mấy sư huynh.
Cấu hình Router
Current configuration : 1302 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Cisco1700
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
voice-card 0
!
voice-card 1
!
ip subnet-zero
ip cef
!
!
no ip dhcp use vrf connected
!
!
no ftp-server write-enable
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.150.10 255.255.255.0
speed auto
!
ip classless
!
ip http server
!
!
control-plane
!
!
!
voice-port 0/0
ring cadence define 40 10
station-id name Analog Phone
station-id number 333
caller-id enable
!
voice-port 0/1
!
voice-port 1/0
!
voice-port 1/1
!
!
!
!
!
!
dial-peer voice 111 voip
destination-pattern 111
session protocol sipv2
session target sip-server
codec g711alaw
!
dial-peer voice 333 pots
destination-pattern 333
port 0/0
!
dial-peer voice 222 voip
destination-pattern 222
session protocol sipv2
session target sip-server
codec g711alaw
!
dial-peer voice 444 pots
destination-pattern 444
port 0/1
!
num-exp 3333 3333
sip-ua
sip-server ipv4:192.168.150.1
!
!
============================
Comment