10-01-2008 12:33 PM - edited 03-15-2019 01:40 PM
How do I configure my connection plar destination for a block of DID's. Is there wild cards or am I doing something wrong.
I have a Voice gateway with 1 pri. Running h323 with 2 CallMangers.
oice-port 0/0/0:23
connection plar 231843****
description PRI Voice Port
!
!
!
!
!
dial-peer voice 231 voip
description Incoming Called Numbers from PRI
destination-pattern 231843....
session target ipv4:172.16.0.10
dtmf-relay h245-alphanumeric
codec g711ulaw
Can someone help me with this one?
10-01-2008 12:51 PM
From what I can tell, it looks like you're trying to treat the PRI like it's a CAS with E&M signaling or something.
I would have the following:
dial-peer voice 1 pots
incoming called-number 231843....
destination-pattern 9T ! if you want to use for outbound calls.
digit-strip ! to remove the 231843 from your dialed number
dial-peer voice 100 voip
description inbound to CallMan
destination-pattern .... ! four digits left from the pots dial peer
session target ipv4:172.16.0.10
forward-digits all
codec g711ulaw
I think this should point you in the direction you want to be going, if someone else has a more elegant solution I'd be interested in hearing that one as well though!
Thanks,
Steve
10-01-2008 12:56 PM
What if the DID doesn't match the internal extension. Would I then have to introduce translations?
Another question, Do I even need the connection plar under the PRI voice port?
I have 2 call legs
1 pots from PSTN to router
1 VOIP from router to Callmanager
right?
10-01-2008 01:11 PM
That's right. If the dialed string doesn't match anything and you want it go end up at an endpoint you're either going to have to translate digits or setup a CTI route point for the pattern. You do not need the connection PLAR under the PRI voice port if you follow the dial-peer setup that I used below. I have never used PLAR on a PRI.
You will have two dial peers: The POTS dial peer which is going to handle the call coming in from the telco, and then your VoIP dial peer which is going to take the digits that the router has received and send them to the next hop, which is your call manager. Your call manager will then check the pattern it receives and route to the appropriate end point (an extension, FXS port, Analog port, another router, etc.)
ALSO - IMPORTANT - I totally forgot the command direct-inward-dial that needs to be on your POTS dial peer, this is what allows the next dial-peer in line to be matched by the inbound call.
HTH,
Steve
10-01-2008 01:21 PM
BTW - This is a great article if you're interested in gaining more information about the way dial peers work in the inbound and outbound direction.
10-01-2008 02:06 PM
Thanks for the information. I have always used MGCP for a PRI but since the new Mobility feature of CM6 require H323 gateway with a PRI I am learning now. The connection Plar was throughing me off.
So in theory..
Could I use a pots dial peer with the incoming called number . command?
and then my voip dial peer with destination pattern command to call manager?
10-01-2008 06:20 PM
TODD
u need in ur case a pots dial-peer take the call coming from pstn
then a voip dial-peer send the call to the CM
about the the DID
u said u need some sort of translation to get it match with ur internal numbers
u can do the translation on the H323 gateway
or u send the number as it is to the callmanager and on call manager make a translation pattren to change it
this is for the incoming calls and called number translation
for outgoing calls and calling number the same concepts can be used in opesit way
good luck
if helpful Rate
10-02-2008 04:42 AM
OK,
Here is what I have:
Will this work. Goal to send any incoming number from the PSTN that starts with 231843.... and send it to call manager. Then send any call from call manager to PSTN.
voice-port 0/0/0:23
description PRI Voice Port
!
!
!
!
!
dial-peer voice 2311 voip
description Incoming Primary to CCM1
destination-pattern 231843....
voice-class h323 10
session target ipv4:172.16.0.10
dtmf-relay h245-alphanumeric
codec g711ulaw
!
dial-peer voice 2312 voip
description Incoming Backup to CCM2
preference 1
destination-pattern 231843....
voice-class h323 10
session target ipv4:172.16.0.11
dtmf-relay h245-alphanumeric
codec g711ulaw
!
dial-peer voice 2310 pots
description Incoming From PSTN
incoming called-number 231843....
direct-inward-dial
!
dial-peer voice 2313 pots
description Outgoing to PSTN
destination-pattern 9T
port 0/0/0:23
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