Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

Codec ATA problem

Calls from region 1 to a phone connected to ATA in region 2 (G729 between both region) does not work sometimes.

As the ports of the ATA can´t use G729. We have LBRCodec=0 (no port use G729) and the gateway is responsible of the transcoding.

Gateway conf:

dial-peer voice 1000 voip

destination-pattern 81[0-3].

session target ipv4:x.x.x.x

dtmf-relay h245-alphanumeric

codec g711alaw

sccp local FastEthernet0/0.2

sccp ccm identifier 1

sccp ccm identifier 2



sccp ccm group 999

bind interface FastEthernet0/0.2

associate ccm 1 priority 1

associate ccm 2 priority 2

associate profile 1 register MTPxxxxxx


dspfarm profile 1 transcode

codec g711ulaw

codec g711alaw

codec g729ar8

codec g729abr8

codec gsmfr

maximum sessions 12

associate application SCCP

The call does not work. I get a busy tone.

The Cm traces shows:

11/25/2005 10:40:20.859 CCM|MediaTerminationPointControl(224)::waiting_AllocateMtpResourceReq - ERROR - mismatch cap. match1=4, match2=0|<CLID::244CCM01-Cluster><NID::><CT::2,100,118,1.40238937><IP::><DEV::ATA001360874BC5>

Which is the reason of the failure?


Re: Codec ATA problem

If LBRCodec is 3G.729a is available to one of the two FXS ports on a first-come-first-served basis. The Cisco ATA 186 has only one G.729a coded. Therefore, there can be only one call at any time that uses the G.729a codec. Both ports on the Cisco ATA 186 can not be used at the same time, if you only configure the default codec on the gateway. You need to configure a codec-class on the gateway to negotiate the second call using G.711uLaw or G.711aLaw, as G.711 is the default codec used. Without this configuration, the second call will fail. When configured for G.729a, the Cisco ATA 186 supports all G.729 codecs.

New Member

Re: Codec ATA problem

I know only one port can use G729 that´s why I configured the ATA to use only G711 (LBRCodec=0) and I want the gw to transcode to G729 if needed. The problem is this configuration is not working. The gw is not able to transcode to g729 as needed in order to make a call to a different region


Re: Codec ATA problem


Based on the ccmtrace CCM doesnt know capabilities for B party, Party A is: 4 (G711u-law).

which I assume is the ATA186.

ATA186 is SCCP right?

Could you please post the complete ccm trace.

If all is configured correctly the XCODER must be invoked since matching low BW codec doesnt exist.

When the ATA186 | MTP | IP Phone are registering can you check the CapabilitiesResMessage to see which codecs announce to the CCM.

Just want to double check that region configuration is correct and XCODER is configured in CallManager to speak G711 with ATA186 and G711/G729 with the IP Phone and ATA186 has access to the XCODER.

IP Phone - G711/G729 -- XCODER -- G711 -- ATA186.



New Member

Re: Codec ATA problem


This is part of the trace:

11/25/2005 10:40:20.859 CCM|MediaManager(292990) - getCapsAndRegionForBothSides - entryInList=0, connCount=2|<:244CCM01-CLUSTER><:><:2><:><:ATA001360874BC5>

11/25/2005 10:40:20.859 CCM|MediaManager(292990) - sendMTPXcoderAllocationRequest - (CapCount,Region),SideA:(7,NAVRG), SideB:(3,MADRG),

11/25/2005 10:40:20.859 CCM|MRM::getXcodeDeviceGivenMrgl MTP001380503FD8 Group=0 Counter=0|<:244CCM01-CLUSTER><:><:2><:><:ATA001360874BC5>

11/25/2005 10:40:20.859 CCM|MediaTerminationPointControl(224)::waiting_AllocateMtpResourceReq - ERROR - mismatch cap. match1=4, match2=0|<:244CCM01-CLUSTER><:><:2><:><:ATA001360874BC5>



11/25/2005 10:40:20.859 CCM|MRM::waiting_AllocateMtpResourceErr - ERROR - no resources are available -- ci = 34608231|<:244CCM01-CLUSTER><:><:2><:><:ATA001360874BC5>

Party B is the ATA.It is SCCP and I have checked again the region configuration and is ok: PArty A (region NAVRG), Party B (region MADRG) and the communication between both regions is G729.

I will reset the ATA to see the CapabilitiesResMessage.



Re: Codec ATA problem

Hi 6r,

Please email me the ccmtrace file, include called,calling timestamp.


gogasca at cisco dot com

CreatePlease to create content