FXS phone setup
- after configuration the serial ports in the bothe routers and test the connection
succcessfully
router(config)#dial-peer voice 1 pots
router(config-dial-peer)#destination-pattern 3301 → the end telephone number
router(config-dial-peer)#port 1/0/0 → to associate the logical dial interface—voice port 1/0/0——with the POTS dial peer
router(config)#dial-peer voice 2 pots
router(config-dial-peer)#destination-pattern 3302 → the end telephone number
router(config-dial-peer)#port 2/0/0 →
the phone attached to this phosicle port
next step to configuer the destiniation router
router(config)#dial-peer voice 2 voip → voice over ip
router(config-dial-peer)# destination-pattern 4401→ the end telephone in the other side
router(config-dial-peer)#session target ipv4:1.1.1.2 → the ip of the next router
other example for the destination-pattren extentaion
router(config)#dial-peer voice 2 voip → voice over ip
router(config-dial-peer)# destination-pattern 4. . → the end telephone in the other side and muilty numer 411 or 422 any number begin with 4 will frowerd to 1.1.1.2 the next router
router(config-dial-peer)#session target ipv4:1.1.1.2 → the ip of the next router
#show dial-peer voice summary → that’s will show the ports and the phone number attached to this ports
المفضلات