11-11-2013 06:21 AM - edited 03-16-2019 08:20 PM
Hi, all
A typical dial peer configuration for H323 PSTN Gateway is as below,
dial-peer voice 1 pots
incoming called-number .T
dial-peer voice 1000 voip
destination-pattern 2...T
dial-peer voice 2000 pots
destination-pattern 9T
For calls from PSTN to CUCM, Inbound dial peer is matching 1 (dial peer ID) and Outbound dial peer is matching 1000 (dial peer ID).
But for Calls from CUCM to PSTN, which dial peer will be matched for Inbound dial peer matching ?
Is there a system default voip dial peer as below which is not explicitly displayed ?
dial-peer voice 0 voip
incoming called-number .T
Thanks in advance.
Solved! Go to Solution.
11-11-2013 06:37 AM
Yes, there is a defualt voip dial-peer (0). The dia-peer that will be matched depends on what the calling number is since you have not defined an incoming called number dial-peer. If your calling number matches 2....T then that dial-peer will be matched. It is best practice to define an inbound dial-peer like this...
dial-peer voice 1 voip
incoming called number .
no vad
dtmf-relay h245-asn (for h323)
dtmf-relay rtp-nte (for sip)
You can refer to this document for more on dial-peer matching
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml
Please rate all useful posts
"opportunity is a haughty goddess who waste no time with those who are unprepared"
11-13-2013 01:41 AM
Answers..
1. There is one default dial-peer 0 for voip and it uses the default h323 protocol. There is also a default POTS dial-peer
For you to support sip, you need to define a specific dial-peer for sip..you cant use the default dial-peer and you shouldnt be using it
2. The example was just an example. You will need to configure the protocol to use for each dial-peer..
SIP dial-peer
dial-peer voice 1 voip
session protocol sipv2
dtmf-relay rtp-nte
incoming called number .
no vad
H323 Dial-peer
dial-peer voice 1 voip
incoming called number .
no vad
dtmf-relay h245-asn (for h323)
3. The default protocol is H323. The only time SIP is used is when sip is specified as the protocol
Please rate all useful posts
"opportunity is a haughty goddess who waste no time with those who are unprepared"
11-11-2013 06:37 AM
Yes, there is a defualt voip dial-peer (0). The dia-peer that will be matched depends on what the calling number is since you have not defined an incoming called number dial-peer. If your calling number matches 2....T then that dial-peer will be matched. It is best practice to define an inbound dial-peer like this...
dial-peer voice 1 voip
incoming called number .
no vad
dtmf-relay h245-asn (for h323)
dtmf-relay rtp-nte (for sip)
You can refer to this document for more on dial-peer matching
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml
Please rate all useful posts
"opportunity is a haughty goddess who waste no time with those who are unprepared"
11-12-2013 07:50 PM
Hey aokanlawon,
Thanks for your reply.
1. regarding dial-peer 0, we should have totally 3 default dial-peers (PID: 0) respectively for each protocol (POTS, SIP, H323), am I right ? If not, how can just 1 default voip dial-peer (PID:0) support both SIP and H323 concurrently ?
2. In your voip dial-peer example above, you did not explicitly specify the protocol (SIP or H323) for that dial peer, how can I determine which protocol this dial peer it supports ? And why you specifiy dtmf-relay for both SIP and H323 without explicitly specify which protocol to use?
3. In the typical configurations of voice GW in production, most voip dial peers do not explicitly specify the protocol to use, do we have a default value for this, such as H323 or SIP ?
Thanks in advance.
11-13-2013 01:41 AM
Answers..
1. There is one default dial-peer 0 for voip and it uses the default h323 protocol. There is also a default POTS dial-peer
For you to support sip, you need to define a specific dial-peer for sip..you cant use the default dial-peer and you shouldnt be using it
2. The example was just an example. You will need to configure the protocol to use for each dial-peer..
SIP dial-peer
dial-peer voice 1 voip
session protocol sipv2
dtmf-relay rtp-nte
incoming called number .
no vad
H323 Dial-peer
dial-peer voice 1 voip
incoming called number .
no vad
dtmf-relay h245-asn (for h323)
3. The default protocol is H323. The only time SIP is used is when sip is specified as the protocol
Please rate all useful posts
"opportunity is a haughty goddess who waste no time with those who are unprepared"
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