05-20-2011 01:08 PM - last edited on 03-25-2019 08:07 PM by ciscomoderator
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.
05-24-2011 10:47 AM
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.
05-24-2011 10:57 AM
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.
05-24-2011 11:11 AM
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
05-24-2011 11:22 AM
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.
05-24-2011 01:33 PM
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
05-24-2011 01:51 PM
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
05-24-2011 01:52 PM
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.
05-24-2011 02:14 PM
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
05-24-2011 02:32 PM
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
05-24-2011 02:30 PM
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:
05-24-2011 02:33 PM
Thanks for clarifying
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