cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
523
Views
10
Helpful
5
Replies

Fowarding received FXO calls to a FXS in the same router

almoned
Level 1
Level 1

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.

5 Replies 5

jbouwkamp
Level 3
Level 3

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)

!

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

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.

I had the FXO / FXS ports mix, the original reply was correct.

I would be nice to forward the caller ID.

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!