cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7130
Views
31
Helpful
18
Replies

Codecs and "MTP Required"

Pierre SOURDEAU
Level 1
Level 1

Hi everybody,

I am working on CUCM v9.1.2 architecture with the following configuration

CODEC :

- Intra-region 1 HQ : G711/G722

- Intra-region 2 RemoteSite : G711/G722

- Inter-region 1 HQ / 2 RemoteSite : G729

Phones :

6945 with SIP + "MTP required" Checked (option needed for security issue)

Media Ressources :

1) Gateway 2825 v15.1.4.M7 (CFB, MTP, XCODE hardware activated)

2) CUCM (Software Ressources on dedicated server "Cisco IP Voice Media Streaming App")

My problem :

  1. When I make a call between 2 phones on the same region, using G722, it's working fine with "MTP required" enabled : OK
  2. When I make a call between 2 phones both regions, using G729, it's working fine without "MTP required" enabled : OK
  3. When I make a call between 2 phones both regions, using G729, it's failed with "MTP required" enabled : KO

Gateway 2825 has the following configuration :
#####################################################

sccp ccm group 1

associate ccm 1 priority 1

associate ccm 2 priority 2

associate profile 1 register CFB_HW_GWMEDIA1

associate profile 2 register MTP_HW_GWMEDIA1

associate profile 3 register XCODE_HW_GWMED1

registration retries 15

registration timeout 5

keepalive retries 7

keepalive timeout 20

connect retries 5

connect interval 30

switchback method graceful

switchback interval 120

!

dspfarm profile 3 transcode

codec g729abr8

codec g729ar8

codec g711alaw

codec g711ulaw

codec g729br8

codec g729r8

codec g722-64

maximum sessions 12

associate application SCCP

!

dspfarm profile 1 conference

codec g729br8

codec g729r8

codec g729abr8

codec g729ar8

codec g711alaw

codec g711ulaw

codec g722-64

maximum sessions 2

associate application SCCP

!

dspfarm profile 2 mtp

codec g711ulaw

maximum sessions hardware 12

associate application SCCP sccp ccm group 1
associate ccm 1 priority 1
associate ccm 2 priority 2
associate profile 1 register CFB_HW_GWMEDIA1
associate profile 2 register MTP_HW_GWMEDIA1
associate profile 3 register XCODE_HW_GWMED1
registration retries 15
registration timeout 5
keepalive retries 7
keepalive timeout 20
connect retries 5
connect interval 30
switchback method graceful
switchback interval 120
!
dspfarm profile 3 transcode
codec g729abr8
codec g729ar8
codec g711alaw
codec g711ulaw
codec g729br8
codec g729r8
codec g722-64
maximum sessions 12
associate application SCCP
!
dspfarm profile 1 conference
codec g729br8
codec g729r8
codec g729abr8
codec g729ar8
codec g711alaw
codec g711ulaw
codec g722-64
maximum sessions 2
associate application SCCP
!
dspfarm profile 2 mtp
codec g711ulaw
maximum sessions hardware 12
associate application SCCP

#####################################################

MTP dspfarm profil dont permit using g729 codec. This is normal?

Transcode should be used on the call 3), permitting call between 2 phones with g729 and g722 codec with "MTP required" checked?

Thank you for your help.

Resgards,

Pierre

1 Accepted Solution

Accepted Solutions

Saurabh Agnihotri
Cisco Employee
Cisco Employee

Hi Pierre,

As I see from your configuration, you have G711 codec defined in your MTP dspfarm config and you are using hardware sessions.

Try the following configuration for the MTP and I believe all you call scenarios should work:

dspfarm profile 2 mtp

no codec g711ulaw

codec g729r8

codec g729br8

codec g729abr8

codec g729ar8

maximum sessions software 500

associate application SCCP

no shut

If you use "max sessions software" command, you do not use the DSP resources and can have upto 500 sessions supported on the IOS gateway.

[check Table 27-2 of the following document:

http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/admin/8_6_1/ccmsys/a05mtp.html#wpxref35934]

Now, for the G711 calls, you can either have another dspfarm configured or alternately, you can use the native software MTPs of the CUCM.

HTH.

Regards,

Saurabh

View solution in original post

18 Replies 18

Chris Deren
Hall of Fame
Hall of Fame

What security reason do you need the MTP on internal calls for?

Chris

Dear Chris,

Thanks for your return.

MTP is required for internal calls in order to control call flow. With "MTP required" checked, you do not need to open flow in Firewall between phones dispatched in several VLANs.

Cisco Team has designed this specific architecture for 10 000 devices needing specifics security features.

Pierre

Wow, this is crazy, so every call will traverse an MTP, hopefully someone ran this trhough capacity calculation :-(

This sure sounds like fun to support. You may need to build software G711 and G729 seperate MTP dspfarm profiles and have them both available in the MRG/MRGL. Alternatively you may need to engage xcoders on some of the call flows.

HTH,

Chris

Saurabh Agnihotri
Cisco Employee
Cisco Employee

Hi Pierre,

As I see from your configuration, you have G711 codec defined in your MTP dspfarm config and you are using hardware sessions.

Try the following configuration for the MTP and I believe all you call scenarios should work:

dspfarm profile 2 mtp

no codec g711ulaw

codec g729r8

codec g729br8

codec g729abr8

codec g729ar8

maximum sessions software 500

associate application SCCP

no shut

If you use "max sessions software" command, you do not use the DSP resources and can have upto 500 sessions supported on the IOS gateway.

[check Table 27-2 of the following document:

http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/admin/8_6_1/ccmsys/a05mtp.html#wpxref35934]

Now, for the G711 calls, you can either have another dspfarm configured or alternately, you can use the native software MTPs of the CUCM.

HTH.

Regards,

Saurabh

MTP can be a single codec only, so either G711 or G729, if both are needed you will need to build seperate dspfarm profiles for each.

Chris

Hi,

Chris, I confirm Cisco UC Sizing Tool has been used by Cisco Team. More than 6.000 PVDM3 ressources will be used.

When I create DSP profile for MTP sofware, I have the following return:

################################################################

GW-MEDIA-1(config-dspfarm-profile)#codec g729r8

GW-MEDIA-1(config-dspfarm-profile)#codec g729br8

Codec is already configured for the profile, it is not compatible

with codec being configured for MTP service

GW-MEDIA-1(config-dspfarm-profile)#codec g729abr8

Codec is already configured for the profile, it is not compatible

with codec being configured for MTP service

GW-MEDIA-1(config-dspfarm-profile)#codec g729ar8

################################################################

=> Chris, thx for your last update, it explain this "error".

I will test tomorrow this configuration with DSP profile for MTP sofware for G729 + hardware for G711.

I can't use MTP Software on CUCM due to capacity (MTP on dedicated Gateways needed).

Chris, can I used xcoders on Gateway when MTP hardware on Gateway need to use G729 codec ?

Regards,

Pierre

Sure, xcoders can only be hardware, MTPs can either be hardware or software IOS or software CUCM (not recommended).

HTH, please rate all useful posts!

Chris

If I use MTP hardware, with 2 profiles g729 / G711, how can I translate call with hardware xcoders on the same Gateway ?

It is automatic ?

Sorry, I clic on "Correct Answer", it's a mistake. I can't cancel it for the moment.

These are all registered to CUCM, and CUCM engages them as needed based on allocation to MRGL/MRG.

HTH,

Chris

Thx for your help.

I will try this configuration tomorrow, I'll let you know.

Pierre

Hi

The Transcoder is H/W MTP , so if you select MTP and Transcoder the transcoder will be used for your call. If you plan to use MTP and transcode , you have to do the below

1- media resource - MTP                 make sure that it registered on CUCM

2-Media resource - transcoder          make sure that it registered on CUCM

3- Create two MRGs one MRG for MTP and other MRG for transcoder.

4-On MRGL , you have to make MRG of MTP on the list is the top then MRG of transcoder. After that you have to assign on your DP and do reset

based on the above your MTP & transcoder can be used correctly.

Thank you

please rate all useful information

Hi,

I have configured CUCM + Gateway :

###########################################################

sccp ccm group 1
associate ccm 1 priority 1
associate ccm 2 priority 2
associate profile 1 register CFB_HW_GWMEDIA1
associate profile 2 register MTP_HW_GWMEDIA1
associate profile 3 register XCODE_HW_GWMED1
registration retries 15
registration timeout 5
keepalive retries 7
keepalive timeout 20
connect retries 5
connect interval 30
switchback method graceful
switchback interval 120
!
dspfarm profile 3 transcode 
codec g729abr8
codec g729ar8
codec g711alaw
codec g711ulaw
codec g729br8
codec g729r8
codec g722-64
maximum sessions 12
associate application SCCP
!
dspfarm profile 1 conference 
codec g729br8
codec g729r8
codec g729abr8
codec g729ar8
codec g711alaw
codec g711ulaw
codec g722-64
maximum sessions 2
associate application SCCP
!
dspfarm profile 2 mtp 
codec g711ulaw
maximum sessions hardware 16
associate application SCCP
###########################################################

Profiles are configured on CUCM :

- MTP_HW_GWMEDIA1 (Transcoder type "Cisco IOS Media Termination Point")

- XCODE_HW_GWMED1 (Transcoder type "Cisco IOS Enhanced Media Termination Point ")

I have not MTP configure, just CUCM_MTP default ressource not used and transcoders ressources used.

Those ressources are used on 2 MRG :

- MRG_MTP

- MRG_XCODE

Those MRG are used on 1 MRG_List, with MRG_MTP on the top list

Codecs used are :

DP_HQ <> DP_HQ = G722/G711

DP_RemoteSite <> DP_RemoteSite = G722/G711

DP_HQ <> DP_RemoteSite = G729

Test 1 :

  - Phone 1 = DP_HQ with "MTP required" checked

  - Phone 2 = DP_RemoteSite with "MTP required" checked

If phone 1 & 2 are on the same DP (DP_HQ), call is OK via MTP Gateway.

If I run "show dspfarm all" on MTP Gateway, there are no MTP ou XCODE ressources used.

=> This is normal ?

=> This call is using Soft ressource instead of Hard ?

Test 2 :

  - Phone 1 = DP_HQ with "MTP required" checked

  - Phone 2 = DP_RemoteSite with "MTP required" checked

Call failed when answered.

Phone 1 used G722 codec to communicate (via MTP gateway), Phone 1 don't have any RTP flow when answered (see with Wireshark).

Why XCODE don't work ?

Thanks for helping !

Regards,

Pierre

Hi

I need to ask you a question ,

are the HQ Phones & Remote site on the same site ?.

How many gateways which you have?

Is HQ have its own gateway and remote site aslo?

DId you configure regions between the both sites and attached to the DP?.

MRGL should be attached to (DP , GW).

Based on the above i think MTP is useless for your solution , you have already configured codecs (g711 , g729) between your sites , so only transcode MRG will be used. To test MTP , you can configure RSVP and test MTP configuration.MTP configuration can be used between your side and ITSP with some codec and Early offer.Please share with us the answers for the above questions.

Thank you

please rate all useful information

Thx for your help.

are the HQ Phones & Remote site on the same site ?

Yes, for my lab environment only.

On production, I will have more sites interconnected.

How many gateways which you have?

Is HQ have its own gateway and remote site aslo?

For my test, I have only 1 Gateway.

Media ressources for HQ and remote site Phones are on this only gateway.

DId you configure regions between the both sites and attached to the DP?.

Yes, each DP has a region attached. Codecs are used beetwen regions :

Region_HQ <> Region_HQ = G722/G711

Region_RemoteSite <> Region_RemoteSite = G722/G711

Region_HQ <> Region_RemoteSite = G729

MRGL should be attached to (DP , GW).

MRLG is attach to DP and phones.

Not to GW (my media GW don't need to be configured on Device > Gateway). Only media ressources from this Gateway are used on CUCM (Transcoders only).

Regards,

Pierre

Based on the above i think MTP is useless for your solution , you have already configured codecs (g711 , g729) between your sites , so only transcode MRG will be used. To test MTP , you can configure RSVP and test MTP configuration.MTP configuration can be used between your side and ITSP with some codec and Early offer

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: