cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7583
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

18 Replies 18

Hi Pierre

I think your issue that you have to get other GW for your remote phones . I have two concerns on your Config:-

1-MRG for MTP or transcoded  when you created you have to select DP and the DP show have a RG which will be register to your CUCM. I think this is your problem.

2-The calls will be done if your configure between regions if your use G729 without any media resources.

If you need to test transcoding:-

1-For me i have HQ which connected to UCCX which uses g711 . When siteb call , the call failed so i configured transcoded and it solved my problem.

2-I have a CUE module on GW for SB when i get a call form HQ , the call failes and this because CUE uses G711 so when i configured transcoded for SB the call to CUE works.

Anyway your test is perfect but i hope to get other router for SB and do the below

1-DP for eac site and associate RG .

2-MRGL for each site , based on each site media resources.

3-For your test check the MTP required for the both sites and attach MRGL for both. I think in this way , it will work correctly.

Thank you

please rate all useful information

Hi,

I have now 2 Gateways, and have the following configuration :

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

GW-1-HQ

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

sccp ccm group 1
associate ccm 1 priority 1
associate ccm 2 priority 2

associate profile 2 register MTP_HW_GWMED1
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 g722-64
codec g729r8
codec g729br8
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
maximum sessions 6
associate application SCCP

!
dspfarm profile 2 mtp 
codec g711ulaw
maximum sessions hardware 6
associate application SCCP

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

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

GW-2-RemoteSite

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

sccp ccm group 1

associate ccm 1 priority 1

associate ccm 2 priority 2

associate profile 3 register XCODE_HW_GWMED2

associate profile 2 register MTP_HW_GWMED2

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 g729br8

codec g729r8

codec g722-64

codec g711ulaw

codec g711alaw

codec g729ar8

codec g729abr8

maximum sessions 3

associate application SCCP

!

dspfarm profile 2 mtp 

codec g711ulaw

maximum sessions hardware 3

associate application SCCP

Region_HQ <> Region_HQ = G722/G711

Region_RemoteSite <> Region_RemoteSite = G722/G711

Region_HQ <> Region_RemoteSite = G729

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

MRG :

MTP_HW_GWMED1 (Transcoder type "Cisco IOS Media Termination Point") => on DP_HQ

MTP_HW_GWMED2 (Transcoder type "Cisco IOS Media Termination Point") => on DP_RemoteSite

XCODE_HW_GWMED1 (Transcoder type "Cisco IOS Enhanced Media Termination Point ") => on DP_HQ

XCODE_HW_GWMED2  (Transcoder type "Cisco IOS Enhanced Media Termination Point ") => on DP_RemoteSite

=> This is correct type (both MTP and XCODE ressources are in Transcoder) ?

MRGL :

MRGL_HQ :

   > MTP_HW_GWMED1

   > XCODE_HW_GWMED1

MRGL_RemoteSite :

   > MTP_HW_GWMED2

   > XCODE_HW_GWMED2

DP :

DP_HQ, using MRGL_HQ + Region_HQ

DP_RemoteSite, using MRGL_RemoteSite + Region_RemoteSite

Codecs :

Region_HQ <> Region_HQ = G722/G711
Region_RemoteSite <> Region_RemoteSite = G722/G711
Region_HQ <> Region_RemoteSite = G729

Phones :

Phone 1 : DP_HQ + MRGL_HQ + "MTP Required"

Phone 2 : DP_HQ + MRGL_HQ + "MTP Required"

Phone 3 : DP_RemoteSite + MRGL_RemoteSite + "MTP Required"

CALL #1 :

Phone 1 > Phone 2 : success

Both phones communicate through MTP Gateway using G711

Problem : when running "show dspfarm all", none MTP ressource used.

This is normal ?

CALL # 2 :

Phone  1 > Phone 3 : failed

When I answered, communication falied (bip bip bip)

With Wireshark, I have not RTP flow on phone 1 (erreur)

On Phone 3, I have RTP flow G711 with GW_2_RemoteSite (normal)

CALL #3 :

Phone 1 > Phone 3 without "MTP required" : success, with G729

Any idea ?

Regards,

Pierre

Hi,

It finally working fine !

I have 2 Gateways, and the followings configuration :

HQ : DSP ressources + CFB / MTP / XCODE configured

HQ : DSP ressources + MTP / XCODE configured

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

GW_HQ :

sccp local GigabitEthernet0/0

sccp ccm 10.3.35.103 identifier 2 version 7.0

sccp ccm 10.3.35.102 identifier 1 version 7.0

sccp

!

sccp ccm group 1

bind interface GigabitEthernet0/0

associate ccm 1 priority 1

associate ccm 2 priority 2

associate profile 1 register CFB_GWMED1

associate profile 2 register MTP711a_GWMED1

associate profile 3 register XCODE_GWMED1

associate profile 4 register MTP729r_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 4

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 g711alaw

maximum sessions hardware 12

associate application SCCP

!

dspfarm profile 4 mtp 

codec g729r8

maximum sessions software 50

associate application SCCP

sccp local FastEthernet0/0

sccp ccm 10.3.35.102 identifier 1 version 7.0

sccp ccm 10.3.35.103 identifier 2 version 7.0

sccp

!

sccp ccm group 1

associate ccm 1 priority 1

associate ccm 2 priority 2

associate profile 4 register MTP729r_GWMED2

associate profile 2 register MTP711a_GWMED2

associate profile 3 register XCODE_GWMED2

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 g729br8

codec g729r8

codec g722-64

codec g711ulaw

codec g711alaw

codec g729ar8

codec g729abr8

maximum sessions 4

associate application SCCP

!

dspfarm profile 2 mtp 

codec g711ulaw

maximum sessions hardware 2

maximum sessions software 50

associate application SCCP

!        

dspfarm profile 4 mtp 

codec g729r8

maximum sessions software 50

associate application SCCP

!

MRG :

MTP_HW_GWMED1 (Transcoder type "Cisco IOS Media Termination Point") => on DP_HQ

MTP_HW_GWMED2 (Transcoder type "Cisco IOS Media Termination Point") => on DP_RemoteSite

XCODE_HW_GWMED1 (Transcoder type "Cisco IOS Enhanced Media Termination Point ") => on DP_HQ

XCODE_HW_GWMED2  (Transcoder type "Cisco IOS Enhanced Media Termination Point ") => on DP_RemoteSite

=> This is correct type (both MTP and XCODE ressources are in Transcoder) ?

MRGL :

MRGL_HQ :

   > MTP_HW_GWMED1

   > XCODE_HW_GWMED1

MRGL_RemoteSite :

   > MTP_HW_GWMED2

   > XCODE_HW_GWMED2

DP :

DP_HQ, using MRGL_HQ + Region_HQ

DP_RemoteSite, using MRGL_RemoteSite + Region_RemoteSite

Codecs :

Region_HQ <> Region_HQ = G722/G711
Region_RemoteSite <> Region_RemoteSite = G722/G711
Region_HQ <> Region_RemoteSite = G729

Phones :

Phone 1 : DP_HQ + MRGL_HQ + "MTP Required"

Phone 2 : DP_HQ + MRGL_HQ + "MTP Required"

Phone 3 : DP_RemoteSite + MRGL_RemoteSite + "MTP Required"

sccp local GigabitEthernet0/0
sccp ccm 10.0.0.1 identifier 2 version 7.0
sccp ccm 10.0.0.2 identifier 1 version 7.0
sccp
!
sccp ccm group 1
bind interface GigabitEthernet0/0
associate ccm 1 priority 1
associate ccm 2 priority 2
associate profile 1 register CFB_GWMED1
associate profile 2 register MTP711a_GWMED1
associate profile 3 register XCODE_GWMED1
associate profile 4 register MTP729r_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 4
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 g711alaw
maximum sessions hardware 12
associate application SCCP
!
dspfarm profile 4 mtp 
codec g729r8
maximum sessions software 50
associate application SCCP

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

GW_RemoteSite :

sccp local FastEthernet0/0
sccp ccm 10.0.0.1 identifier 1 version 7.0
sccp ccm 10.0.0.2 identifier 2 version 7.0
sccp
!
sccp ccm group 1
associate ccm 1 priority 1
associate ccm 2 priority 2
associate profile 4 register MTP729r_GWMED2
associate profile 2 register MTP711a_GWMED2
associate profile 3 register XCODE_GWMED2
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 g729br8
codec g729r8
codec g722-64
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
maximum sessions 4
associate application SCCP
!
dspfarm profile 2 mtp 
codec g711ulaw
maximum sessions hardware 2

associate application SCCP
!        
dspfarm profile 4 mtp 
codec g729r8
maximum sessions software 50
associate application SCCP
!

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

MRGL :

MRGL_HQ :

   > MTP729r_GWMED1 + MTP711a_GWMED1

   > XCODE_GWMED1

   > CFB_GWMED1

MRGL_RemoteSite :

   > MTP729r_GWMED2 + MTP711a_GWMED2

   > XCODE_GWMED2

DP :

DP_HQ, using MRGL_HQ + Region_HQ

DP_RemoteSite, using MRGL_RemoteSite + Region_RemoteSite

Codecs :

Region_HQ <> Region_HQ = G722/G711
Region_RemoteSite <> Region_RemoteSite = G722/G711
Region_HQ <> Region_RemoteSite = G729

Phones :

Phone 1 : DP_HQ + MRGL_HQ + "MTP Required"

Phone 2 : DP_HQ + MRGL_HQ + "MTP Required"

Phone 3 : DP_RemoteSite + MRGL_RemoteSite + "MTP Required"

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

Checks :

CALL #1 :

Phone 1 > Phone 2 : success

Both phones communicate through MTP GW_HQ using G711

Problem : when running "show dspfarm all", none MTP resource are used on Gateway

   => This is normal ?

CALL # 2 :

Phone  1 > Phone 3 : success

Both phones communicate through MTP Gateway : Phone 1 used GW-RemoteSite (G729), Phone 3 used GW-RemoteSite (G711)

CALL # 3 :

Phone  3 > Phone 1 : success

Both phones communicate through MTP Gateway : Phone 1 used GW-HQ (G711), Phone 3 used GW-HQ (G729)

XCODE and CFB are also working fine.

Have you an idea about comportment in CALL#1 (none DSPFarm resources used)?

Regards,

Pierre

Hi all,

 

Someone has an idea?

 

Regards