cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3799
Views
29
Helpful
13
Replies

Transcoding failed on CUCM

JUN REN
Level 1
Level 1

 

Hi Guys,

 

Tried to call from Lync server to CUCM, I have set the code from cisco trunk to cisco phone as G729. It failed as I expected...

The thing is I want MTP/XCODE that is in the MRGL to do the transcoding, is it possible?

I have attached the call trace, from it, I can see the call comes in and couple of XCoder have been allocated, but all gave me the error: No matching caps for either side A or side B, MTP not allocated..

 

Can anyone please explain to me:

1. why the XCoders failed to transcode?

2. Do I need to put a gateway inbetween to do the transcoding?

 

Thanks

Jim

 

13 Replies 13

Jaime Valencia
Cisco Employee
Cisco Employee

Please move to the right area, this is Video Over IP

HTH

java

if this helps, please rate

Jagpreet Barmi
Cisco Employee
Cisco Employee

Hi Jim,

The transcoders fails to allocate because the region configuration.
The region of the transcoder (AU_PER_REG)  with the region of the device (JIM_TEST_RG) is configured with 8kbps (G729) or using the default Inter-region relation of 8kbps (G729).
Please change it to 64kbps(G711) and the call should work.


HTH,
Jagpreet Singh Barmi

 

Hi Jagpreet,

That is kind of scenario that I want to call. I want the cisco ip phone to call with G729 and be transcoded on MTP of gateway/CUCM to G711 to Lync server/client. Is it doable?

 

Regards

Jim

Adding to what Jagpreet mentioned, there are three regions into play here - Trunk side , xcoder and phone.

While the region settings between trunk and phone sets codec to G729 , the xcoder the the phone should be ale to connect via G711ulaw

ie we would want    phone <--- g711ulaw ---> Xcoder <--- g729 ---> Trunk endpoint.

 

An example from logs:

DeviceName=PERWAN2_TC Ci=18270800 ResourceCount=1

Logging RegionA=JIM_TEST_RG Caps and MTP/XCoder Region=AU_PER_REG Caps

Device Caps = 6 41 4 2            >> caps of the device (does not support g729)

regionA=AU_PER_REG regionB=JIM_TEST_RG latentCaps(A=0, B=0) kbps=8    >> but region settings require G729.

Due to the region settings between the xcoder and phone , xcoder cannot be allocated.

 

Regards,

Harsh

Hi Harsh,

Thanks for your reply.

Still a bit of confusing about it.

The scenario is shown as below:

 phone <--- g729 ---> Xcoder <--- g711 ---> Trunk endpoint<---G711--->lync phone

  

JIM_TEST_RG (cisco phone) to AU_PER_REG (Xcoder) is using G729

AU_PER_REG (Xcoder) to AU_PER_REG (Trunk endpoint) is using G711

 

If I want this work, how can I correct my setting? we need to use G729 on the cucm side. Thanks

 

Regards

Jim

 

 

Hello Jim,

 

Use a different "Region" for the xcoder and let the region have g711 in the inter region relation . say we create a new region XCODER-TEST,  phone has JIM_TEST_RG  and trunk has AU_PER_REG, keep the relation between XCODER-TEST & JIM_TEST_RG as g711.

 

Regards,

Harsh

Hi Harsh,

Thanks for your quick response. I have tested as you advised but no luck.

I have created new region for xcode: XCODE_TEST_REG

The scenario:

JIM_TEST_RG (cisco phone) to XCODE_TEST_REG (xcoder) is using G711

JIM_TEST_RG (cisco phone) to AU_PER_REG (Trunk Endpoint) is using G729

XCODE_TEST_REG (xcoder) to AU_PER_REG (Trunk Endpoint) is using G711.

when I call from cisco phone, the lync client is ringing but as soon as I click the answer, the call dropped.

 

Any suggest?

 

Thanks

Jim

 

 

Jim,

I dont think this will work.
The configuration between Phone and Xcoder should be G729, as per your requirement. (i.e. phone <--- g711ulaw ---> Xcoder <--- g729 ---> Trunk endpoint )
 
However, with the above configuration the region between phone and Xcoder is configured with g711.

The previous scenario should work fine.
JIM_TEST_RG (cisco phone) to AU_PER_REG (Xcoder) is using G729
AU_PER_REG (Xcoder) to AU_PER_REG (Trunk endpoint) is using G711

Additionally, in the trace file provided earlier, we see that the device configured with RegionB=AU_PER_REG is advertising support for Multiple codecs (G711ulaw, G711alaw, G729, G729AnnexA,G729AnnexB, G728 etc ) which is generally the phone.

14641577.010 |14:43:23.172 |AppInfo  |MediaTerminationPointControl(120685)::getResourcesAllocated -- Logging RegionB=AU_PER_REG Caps and MTP/XCoder Region=AU_PER_REG Caps
14641577.011 |14:43:23.172 |AppInfo  |MediaTerminationPointControl(120685)::logCapabilitiesinTrace -- MTP/XCoder Device Caps = 15 11 16 12 2 4 257 259 261
14641577.012 |14:43:23.172 |AppInfo  |MediaTerminationPointControl(120685)::logCapabilitiesinTrace -- Device Caps = 4 2 11 12 15 84 10 83 82 107
14641577.013 |14:43:23.172 |AppInfo  |DET-RegionsServer::matchCapabilities-- savedOption=0, PREF_LIST, regionA=AU_PER_REG regionB=AU_PER_REG latentCaps(A=0, B=0) kbps=64


However, the device configured with region JIM_TEST_RG supports limited codecs eg G722, G711Alaw, G711ulaw.

14641577.003 |14:43:23.172 |AppInfo  |MediaTerminationPointControl(120685)::getResourcesAllocated -- Logging RegionA=JIM_TEST_RG Caps and MTP/XCoder Region=AU_PER_REG Caps
14641577.004 |14:43:23.172 |AppInfo  |MediaTerminationPointControl(120685)::logCapabilitiesinTrace -- MTP/XCoder Device Caps = 15 11 16 12 2 4 257 259 261
14641577.005 |14:43:23.172 |AppInfo  |MediaTerminationPointControl(120685)::logCapabilitiesinTrace -- Device Caps = 6 41 4 2


Please confirm if the phone is configred with JIM_TEST_RG region. And the XCoder and Trunk is configured with AU_PER_REG.
In case the issue still exists, please provide the complete set of ccm traces for a test call with the calling and called party details.


HTH,
Jagpreet Singh Barmi

Hi Jagpreet,

It is working now as you advised. No idea why it did not work yesterday, maybe some rookie mistakes.

 

I assigned JIM_TEST_RG to phone and AU_PER_REG to xcoder and trunk and it works as expected.

Can I confirm this from the below trace?

23369551.004 |10:29:45.472 |AppInfo  |MediaResourceCdpc(97879)::sendMtpAllocateRequestToDevice MtpResource=PERWAN1_TC Cepn=5776c5dd-428a-7538-54be-013e34aec9ce

 

Thanks guys

Jim

 

Thats Great Jim!!! :-)

To confirm if the transcoder is allocated, you can run the following command on the router on which the transcoder is configured:
show sccp connections

It would show the remote IP addresses of both the endpoints where the rtp is terminated, with codec and port number. Basically, both the legs of the Xcoder. i.e. one toward the phone and other towards Lync.


The snip that you have provided indicates that the callmanager is in the process of allocating the device and the allocation is not finished yet. You should see somthing like ResourceAllocated=1.
Following which the number of available streams for the media resource would would decrease by 1.


HTH,
Jagpreet Singh Barmi

 

Hi Jagpreet,

Found the log

3159299.020 |09:51:12.289 |AppInfo  |MediaTerminationPointControl(120685)::getResourcesAllocated -- DeviceName=PERWAN2_TC Ci=39391894 ResourceAllocated=1

 

Thank you guys.

Jim

Hi Jim,

Kindly share the logs after these changes.

Regards,

Harsh.

My case was different but error message was same. I fixed it w/o calling TAC. But this thread helped me to see in right direction.

I noticed login issue over MRA. After running PRT through Cisco Tool, it told me various stuff but one was to check IMP troubleshooter.

Where I found this error message. AXL Web service was running from 1 year on PUB. Restarted it w/o success. Taking que from above referred fix, restarted Cisco Tomcat but it was same. Just on a hunch, restarted Cisco Sync Agent service and the error message went away and login worked. IHTH.

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: