cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1611
Views
0
Helpful
11
Replies

Extending PBX extention with a router.

Just Kennie
Level 1
Level 1

Hi Experts, Please help this voice issue. (Attached is the Diagram)

I have two sites (site A and B) with two routers each (Router A and B).

Site A has PBX extentions 2001 - 2003 and 1001 - 1004.

2001- 2003 connected to the PBX is to be use locally at Site A but 1001-1004 should be extended to Site B with a routers.

Below is my config on both routers-


Router A (connected to PBX through FXO)


dial‐peer voice 5 voip

desc outbound call leg to SITE B
destination‐pattern 100.
session target ipv4:10.1.12.2




ROUTER B (connected to phones though FXS)


dial‐peer voice 12 voip

desc outbound call leg to SITE A
destination‐pattern 200.
session target ipv4:10.1.12.1


dial‐peer voice 1 pots
description outbound to Handset 1001

destination-pattern 1001
port 0/0
!
dial‐peer voice 2 pots
description outbound to Handset 1002

destination-pattern 1002
port 0/1
!
dial‐peer voice 3 pots
description outbound to Handset 1003

destination-pattern 1003
port 0/2
!
dial‐peer voice 4 pots
description outbound to Handset 1004

destination-pattern 1004
port 0/3




I WANT ALL EXTESIONS (2001-2003) IN SITE A CONNECTED TO THE PBX TO BE ABLE TO CALL ALL EXTENTIONS (1001-1004) AT REMOTE SITE B. AND VICE VERSA.

PLEASE HELP EDIT MY CONFIG AND CONFIGURE APPOPRIATELY.

11 Replies 11

frlindse
Cisco Employee
Cisco Employee

Hi Kennie,

You would need to add

dial‐peer voice 5 voip

desc outbound call leg to SITE B
destination‐pattern  100.

incoming called-number 200.   <<-----
session target ipv4:10.1.12.2

And you would need pots dial-peers on gateway A for each FXO port to the PBX as you havwe for the FS ports on router B.

Thanks for the reply, I so much appreciate. Below is ur configuration and my question

dial‐peer voice 5 voip

desc outbound call leg to SITE B
destination‐pattern  100.

incoming called-number 200.   <<-----  ( please whats the use of this and what is the implication of not adding it)
session target ipv4:10.1.12.2  

Honestly, my problem is the POTS dial peer for the four ports connecting to the PBX. Please kind assist with this four dail peers, as I dont know what their destination pattern will be.


I await your swift  responce, God bless.

Hi Kennie,

incoming called-number 200. Is an inbound facility that allows inbound calls to use this dial-peer instead of dial-peer 0 (not good). Do you have specific numbers associated with the FXO port(s) connected to the PBX where calls coming in on a port are directed to a particular extension or does the PBX used the called number? What are the voice-ports associated with the FXO ports?

Thanks,

Frank

Thanks once again friend, I really appreciate.

Like I said, the 4 FXO ports are connected to 4 lines from PBX, the lines had pre-configured on the PBX. 2001, 2002, 2003, 2004


Whats are the four POTS dial peers on site A router, that will make router route voice calls based on source ( say 2001 from the site B) and destination (say 1001 on a phone connected to the PBX) to the appropriate the appropriate FXO port.

Hi,

I see that in the diagram attached you have written the numbers 1001,1002,1003,1004 on the four ports connected to the PBX. In your previous post, you mentioned the port DN's to be 2001,2002,2003,2004. I am not quite sure which one is correct.

Try this(on router A)

dial‐peer voice 1 pots
destination-pattern 2001

port 0/0
!
dial‐peer voice 2 pots
destination-pattern 2002

port 0/1
!
dial‐peer voice 3 pots
destination-pattern 2003

port 0/2

This would work if the call to 2001 should be sent on port 0/0 to the PBX. Let me know if this is what you want.

Regards

Nitesh

PS:Please rate helpful posts

Please pardon me, I have corrected the post below...


Thanks once again friend, I really appreciate.

Like I said, the 4 FXO ports are connected to 4 lines from PBX, the lines had pre-configured on the PBX. 1001,1002,1003,1004

There are phones connected to the PBX 2001,2002,2003,2004


Whats  are the four POTS dial peers on site A router, that will make router  route voice calls based on source ( say 1001 from the site B) and  destination (say 2001 on a phone connected to the PBX) to the  appropriate the appropriate FXO port.


I appreciate your responce, below...

dial‐peer voice 1 pots
destination-pattern 2001

port 0/0
!
dial‐peer voice 2 pots
destination-pattern 2002

port 0/1
!
dial‐peer voice 3 pots
destination-pattern 2003

port 0/2

but my concern my client have lots of phones (2001 - 2050) directly connected to the PBX. What POTS dial peer will route voice for a call from site B (say ext 1001) to site A (ext 2049)

I have attached the diagram

Thanks once again friend, I really appreciate.

Like I said, the 4 FXO ports are connected to 4 lines from PBX, the lines had pre-configured on the PBX. 1001,1002,1003,1004

There are phones connected to the PBX 2001,2002,2003,2004


Whats  are the four POTS dial peers on site A router, that will make router  route voice calls based on source ( say 1001 from the site B) and  destination (say 2001 on a phone connected to the PBX) to the  appropriate the appropriate FXO port.

but my  concern my client have lots of phones (2001 - 2050) directly connected  to the PBX. What POTS dial peer will route voice for a call from site B  (say ext 1001) to site A (ext 2049)

I have attached the diagram

Ok, so for the calls to be routed from router B to router A, you would need 1 voip dialpeer on router B(which i see you already have), and since the router A just needs to send the call over to the PBX over any of the 4 FXO ports, i believe the following config on router A should work for all calls

dial‐peer voice 1 pots
destination-pattern 20[0-4][0-9]

port 0/0

forward-digits-all

preference 0
!

dial‐peer voice 1 pots
destination-pattern 20[0-4][0-9]

port 0/1

forward-digits-all

preference 1

!

dial‐peer voice 1 pots
destination-pattern 20[0-4][0-9]

port 0/2

forward-digits-all

preference 2

!

dial‐peer voice 1 pots
destination-pattern 20[0-4][0-9]

port 0/3

forward-digits-all

preference 3

Hope that helps

Regards

Nitesh

PS:Please rate helpful posts

Message was edited by: Nitesh Sinha

I have a question concerning this configuration. It sounds like we are trying to route via the PBX by digits received. Will the called number be outpulsed to the PBX over FXO to a PBX FXS? I thought you would need a PRI trunked between GW and PBX to achieve this result?

Don

I

Hi Kennie,

Since these are FXO ports and will deliver called number wouldn't it be easier to have the PBX route the calls by the DNIS than by port? It would greatly simplify your config and you would not need an FXO port for every extension.

Frank Lindsey

Author : Just Kennie

Email : justkennie@gmail.com

Profile : https://supportforums.cisco.com/people/justkennie

Message:

Thanks for clarifying