cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1299
Views
1
Helpful
9
Replies

Incoming VOIP dial-peer matching in IOS (is session-protocol taken into account?)

lukasz.banka
Level 1
Level 1

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.

9 Replies 9

Deepak Rawat
Cisco Employee
Cisco Employee

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

So does it mean that when looking for inbound voip DP match router only considers DP which matching session protocol?

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

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).

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

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

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.

 

 

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.

Ayodeji Okanlawon
VIP Alumni
VIP Alumni
The simple answer is no. The protocol type doesn't play a role in matching a dial peer. This is because the protocol can one be applied after a dial peer is matched
Please rate all useful posts