07-11-2016 04:33 AM - edited 03-17-2019 07:29 AM
Hi,
Please consider following configuration:
dial-peer voice 1 voip
incoming called-number .
dial-peer voice 2 voip
incoming called-number .
session protocol sipv2
Looking into documentation I did not find anywhere dial-peer protocol to be used for incoming voip dial-peer matching. So in this case for all incoming voip call dial-peer 1 will be used doesn't matter if H323 or SIP call. But it does not make sense, since we can have some h323-specific or SIP-specific configuration there like DTMF conversion etc.
So, does the router look only for dial-peers that match protocol of the call, or all voip dial-peers are used for incoming matching regardless of the protocol being used?
Regards,
Lukasz.
07-11-2016 05:21 AM
By default all the voip dial-peers on the gateway default to H323 protocol unless you specify session protocol sipv2 in the dial-peer configuration that then uses SIP protocol. Hence, if the gateway is configured for H323 there is no need to use session protocol sipv2 in the dial-peer configuration.
So for H323 calls, dial-peer 1 should be used and for SIP calls dial-peer 2 should be used
Regards
Deepak
07-11-2016 05:25 AM
So does it mean that when looking for inbound voip DP match router only considers DP which matching session protocol?
07-11-2016 05:31 AM
Hi,
below links talks in detail on how Dial-peer Matching works on CISCO router.
http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/14074-in-dial-peer-match.html
HTH
JB
07-11-2016 05:39 AM
Yes, but it says nothing about session protocol there. I'm only interested in confirmation if protocol of the dial-peer takes part in the matching process (excluding dial-peers configured with protocol that does not match protocol of the incoming call).
07-11-2016 05:45 AM
Well, if you have a H323 gateway configured for CM then it should match the normal dial peer. If there is SIP trunk configured between the gateway and CM, then it should use the dial peer with session protocol sipv2
Regards
Deepak
07-11-2016 05:49 AM
As deepak explained h323 is default for dial-peer if you dont specify anything, if a SIP call comes in it would not even look at the h323 dial-peer. It would only look for dial-peer which has "session protocol sipv2"
HTH
JB
08-22-2017 12:20 AM
OK, it was long time ago but actually the correct answer (tested) is different. H323 incoming dial-peer will be used for SIP call when router configuration is as described in the first post.
08-22-2017 06:49 AM
If you require 2 seperate inbound dial peers one for calls arriving from H323 source and one from SIP you need to seperate the dial peers by either "via uri" matching which will work for the SIP calls, assuming you have relatively recent IOS, or based on defining specific incoming called numbers that match either e164 maps or explicit digit string.
08-23-2017 04:01 AM
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