ESR series service routers.ESR-Series. User manual
Configure FXS ports. Specify number,parameters for authentication on an external server and sip profile:
esr(config)# interface voice-port 1
esr(config-voice-port-fxs)# sip user phone 6101
esr(config-voice-port-fxs)# authentication name as-phone
esr(config-voice-port-fxs)# authentication password password
esr(config-voice-port-fxs)# profile sip 1
esr(config-voice-port-fxs)# exit
esr(config)# interface voice-port 2
esr(config-voice-port-fxs)# sip user phone 6102
esr(config-voice-port-fxs)# authentication name as-phone
esr(config-voice-port-fxs)# authentication password password
esr(config-voice-port-fxs)# profile sip 1
esr(config-voice-port-fxs)# exit
esr(config)#
To register and pass VoIP traffic over NAT, enable tracking andNAT for SIP on the router, and enable service-
voip routing on the interface through which the SIP server is available:
esr(config)# ip firewall sessions tracking sip
esr(config)# nat alg sip
esr(config)# interface gigabitethernet 1/0/1
esr(config-if-gi)# service-voip routing
esr(config-if-gi)# exit
esr(config)#
19.10 Example of VoIP configuration on internal PBX server
Diagram:
Objective:
Configure registration of phones connected to the FXS port, and configure number registration of the phone
line connected to the FXO port. It is also necessary to configure call transfer from FXO port to phone with
number 5200.
Solution:
Configure PBX.
Create PBX server:
esr(config)# pbx
esr(config-pbx)#