01-05-2018 06:49 AM - edited 03-17-2019 11:53 AM
I want to know if what I am doing is fine, or if not, what is wrong with it.
I have an incoming called-number and destination-pattern in the same dial-peer. The reason for this is because the survivability service has to match on an incoming called-number.
Before having the survivability service all that was on the gateway was destination-patterns, which wouldn't work since the service has to be invoked on an inbound dial-peer.
I just want to know if there is any specific reason to not have an inbound and outbound pattern in the same dial-peer. It's the exact same pattern and it currently works now, but have read that it is not recommended. Why?
Below is what I have as an example.
dial-peer voice 1919 voip
description To CVP
service survivability
destination-pattern 222333444[7-9]
incoming called-number 222333444[7-9]
Thanks,
01-05-2018 07:13 AM
Every single call passing through an IOS gateway has two call legs; an inbound and an outbound. The incoming called-number helps you match a specific inbound dial-peer and takes precedence over destination-pattern (when it is used for inbound call-leg matching). They do not tend to be used with same number in the same dial-peer, because it is not a good practice having the same dial-peer be matched in both the incoming and outgoing call leg. It is not necessarily (technically) wrong, though.
01-05-2018 07:31 AM
Thanks for the advice.
So from a troubleshooting perspective, you would want to break them out just for clarity.
01-05-2018 07:35 AM
Clarity is surely one advantage, but you would, also, be able to use features as different codecs, sip-profiles etc.
01-06-2018 02:40 AM
01-06-2018 05:33 AM - edited 01-06-2018 05:38 AM
In keeping with best practice you should separate your inbound dial peer from your outbound dial peer. There are a few reasons, some of which Georgios has mentioned. These reasons are particularly important in a ucce environment which is codec sensitive. It gives you the flexibility to manipulate calls based on the service rather than been stuck with doing the same thing for every call. This configuration may work for you today but think about 2 years down the line, will it still be efficient?Always separate your inbound dialpeer from outbound. There are other scenarios where the inbound protocol is different from the outbound protocol...for example in the days of h323 you may be using h323 from cucm and sip to CVP or service provider..
01-09-2018 08:41 AM
Looks like I will break them out then. I just plan on creating a catch all incoming voip dial-peer
dial-peer voice 1 voip
description incoming catch-all voip
service survivability
incoming called-number .
Then create the necessary egress dial-peers.
Thanks for the input.
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