Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Fowarding received FXO calls to a FXS in the same router

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
Bronze

Re: Fowarding received FXO calls to a FXS in the same router

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)

!

New Member

Re: Fowarding received FXO calls to a FXS in the same router

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

Bronze

Re: Fowarding received FXO calls to a FXS in the same router

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.

New Member

Re: Fowarding received FXO calls to a FXS in the same router

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

I would be nice to forward the caller ID.

Bronze

Re: Fowarding received FXO calls to a FXS in the same router

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!

135
Views
10
Helpful
5
Replies