03-02-2006 08:55 PM - edited 03-13-2019 12:23 PM
Hello,
I was searching on the net on how to configure the received calls via the FXO ports to a FXS port on the same router.
I can receive the calls from the FXO to a FXS on another router using the plar command.
On the router I have 2 FXS and 2 FXO port, using a 2621 or a VG200.
Please help.
03-02-2006 09:53 PM
The config below would ring the FXS port when someone calls in on the FXO at extension 2000. It would also allow the FXS phone to dial 9 and then any external number to dial out the FXO.
!
voice-port 0/0/0 (FXO port)
connection plar 2000 (automatically ring ext 2000)
!
voice-port 0/1/0 (FXS port - no sub commands needed)
!
!
Dial-peer voice 1 pots (FXS)
destination-pattern 2000 (sets FXS as ext 2000)
port 0/1/0 (specifies the FXS port)
!
Dial-peer voice 2 pots (FXO)
destination-pattern 9T (matches 9 + dialed number)
incoming called-number . (ensures matching)
port 0/0/0 (specifies the FXO port)
!
03-02-2006 10:45 PM
Thanks,
I tryed the example. But when someone calls the FXO line, the routers pick up in the first ring and then gives a dial tone.
voice-port 1/0/0
description FXS Analog Phone 1
!
voice-port 1/0/1
description FXS Analog Phone 2
!
voice-port 1/1/0
connection plar 2000
caller-id enable
!
voice-port 1/1/1
connection plar 2000
caller-id enable
!
!
mgcp profile default
!
dial-peer voice 1 pots
destination-pattern 2000
port 1/0/0
!
dial-peer voice 3 pots
incoming called-number .
destination-pattern 9T
port 1/1/0
03-03-2006 05:09 AM
Add the command "direct-inward-dial" under dial-peer voice 3 pots. Sounds like the router is awaiting more digits and this should fix it.
03-03-2006 10:01 AM
I had the FXO / FXS ports mix, the original reply was correct.
I would be nice to forward the caller ID.
03-04-2006 04:33 AM
Enabling the command "caller-id enable" on the FXO voice port should allow caller-id to show on the FXS port.
Don't forget to rate posts!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide