{ * info-rmatique ! }

VoIP

routeur

conf t
int fa0/1
ip address 192.168.10.1 255.255.255.0
no sh
exit

ip dhcp pool VOIP
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
option 150 ip 192.168.10.1 (SCCP à la place de SIP pour point d’accès TFTP)
exit

telephony-service
max-ephones 3
max-dn 3 (directory number)
ip source-address 192.168.10.1 port 2000
auto assign 1 to 2 (attribution automatique des numéros)
exit

ephone-dn 1
number 101
ephone-dn 2
number 102
end
copy run start

switch  (vlan 1 mode access par défaut)

conf t
int range fa 0/1-24
switchport voice vlan 1
end
copy run start

cliquer sur IP phone, connecter chargeur, observer conf auto en mode sinulation

routeur utilisé : 2811
switch : 2950-24
tel : IP phone

configurations ToIP

Switch

vlan 5
name VLAN 5
vlan 10
name VLAN 10
int range fa0/1-3
switchport mode access
spanning-tree portfast
switchport access vlan 10
switchport voice vlan 5
no sh
interface fa0/11
switchport mode trunk
switchport trunk allowed vlan 5,10
int fa0/12
switchport access vlan 5
int fa0/22
switchport access vlan 10

Routeur Voix/Data + Call Manager

int fa0/0
ip address 172.16.5.1 255.255.255.0
no sh
int fa0/0.5
encapsulation dot1q 5
ip address 172.16.5.1 255.255.255.0
int fa0/0.10
encapsulation dot1q 10
ip address 172.16.10.1 255.255.255.0
telephony-service
max-ephones 3
max-dn 3
ip source-address 172.16.5.2 port 2000
auto assign 1 to 3
create cnf
exit
ephone-dn 1
number 1001
ephone-dn 2
number 1002
ephone-dn 3
number 1003

Routeur DHCP Voix

int fa0/0
ip address 172.12.5.2 255.255.255.0
no sh
ip dhcp pool VOIP
network 172.12.5.0 255.255.255.0
default-router 172.16.5.1
option 150 ip 172.16.5.1