05-10-2018 01:40 PM - edited 03-17-2019 12:47 PM
Hi All,
I have a trunk between cucm 11 and asterisk but when a call is made from asterisk to cucm it disconnects immediately it is picked. Any idea?
Solved! Go to Solution.
05-14-2018 06:23 AM - edited 05-14-2018 06:34 AM
Hi,
The issue you are having is the region config between the asterisk SIP trunk and cisco phones.
The region config is set to use 8kbps ( region default to JubileeTZ). Your Asterisk server is only advertising G711, hence a xcoder is needed. Please change the region setting to use 64Kbps
++ CUCM logs +++
35738374.006 |09:32:08.637 |AppInfo |DET-MediaManager-(166857)::preCheckCapabilities, region1=Default, region2=JubileeTZ, Pty1 capCount=2 (Cap,ptime)= (2,20) (4,20), Pty2 capCount=9 (Cap,ptime)= (90,20) (6,20) (4,20) (2,20) (86,20) (11,20) (12,20) (15,20) (16,20)
35738374.007 |09:32:08.637 |AppInfo |DET-RegionsServer::matchCapabilities-- savedOption=0, PREF_NONE, regionA=(null) regionB=(null) latentCaps(A=0, B=0) kbps=8, capACount=2, capBCount=9
35738374.008 |09:32:08.637 |AppInfo |RegionsServer: applyCodecFilterIfNeeded - no codecs remained after filtering so restored original 0 caps
---
35738374.009 |09:32:08.637 |AppInfo |DET-MediaManager-(166857)::preCheckCapabilities, caps mismatch! Xcoder Reqd. kbps(8), filtered A[capCount=0 (Cap,ptime)=], B[capCount=5 (Cap,ptime)= (90,20) (11,20) (12,20) (15,20) (16,20)] allowMTP=0 numXcoderRequired=1 xcodingSide=1
++ CUCM tried to allocate a xcoder but didnt find any ++
5738376.003 |09:32:08.637 |AppInfo |MRM::convertScmStringToStdString MRG-AmeyoQueue
35738376.004 |09:32:08.637 |AppInfo |MRM::getXcodeDeviceGivenMrgl
35738376.005 |09:32:08.637 |AppInfo |MRM::getXcodeDeviceGivenMrgl GETTING XCODE FROM DEFAULT LIST
35738376.006 |09:32:08.637 |AppInfo |MediaResourceManager::sendAllocationResourceErr - ERROR - no transcoder device configured
05-10-2018 01:46 PM
That sounds like a media negotiation issue. We are going to need CUCM logs to know why. A couple of things to check. What is the codec that is advertised from Asterisk? What is the bit rate on the region that is configured between the SIP trunk and the endpoint in CUCM?
05-14-2018 12:50 AM
05-14-2018 06:23 AM - edited 05-14-2018 06:34 AM
Hi,
The issue you are having is the region config between the asterisk SIP trunk and cisco phones.
The region config is set to use 8kbps ( region default to JubileeTZ). Your Asterisk server is only advertising G711, hence a xcoder is needed. Please change the region setting to use 64Kbps
++ CUCM logs +++
35738374.006 |09:32:08.637 |AppInfo |DET-MediaManager-(166857)::preCheckCapabilities, region1=Default, region2=JubileeTZ, Pty1 capCount=2 (Cap,ptime)= (2,20) (4,20), Pty2 capCount=9 (Cap,ptime)= (90,20) (6,20) (4,20) (2,20) (86,20) (11,20) (12,20) (15,20) (16,20)
35738374.007 |09:32:08.637 |AppInfo |DET-RegionsServer::matchCapabilities-- savedOption=0, PREF_NONE, regionA=(null) regionB=(null) latentCaps(A=0, B=0) kbps=8, capACount=2, capBCount=9
35738374.008 |09:32:08.637 |AppInfo |RegionsServer: applyCodecFilterIfNeeded - no codecs remained after filtering so restored original 0 caps
---
35738374.009 |09:32:08.637 |AppInfo |DET-MediaManager-(166857)::preCheckCapabilities, caps mismatch! Xcoder Reqd. kbps(8), filtered A[capCount=0 (Cap,ptime)=], B[capCount=5 (Cap,ptime)= (90,20) (11,20) (12,20) (15,20) (16,20)] allowMTP=0 numXcoderRequired=1 xcodingSide=1
++ CUCM tried to allocate a xcoder but didnt find any ++
5738376.003 |09:32:08.637 |AppInfo |MRM::convertScmStringToStdString MRG-AmeyoQueue
35738376.004 |09:32:08.637 |AppInfo |MRM::getXcodeDeviceGivenMrgl
35738376.005 |09:32:08.637 |AppInfo |MRM::getXcodeDeviceGivenMrgl GETTING XCODE FROM DEFAULT LIST
35738376.006 |09:32:08.637 |AppInfo |MediaResourceManager::sendAllocationResourceErr - ERROR - no transcoder device configured
05-14-2018 11:54 AM
Thanks man this fixed the issue. I could not see that. Thanks again
05-10-2018 01:53 PM
Hi there
Can you post some debugs from the gateway here. Could you try the following,
Hope this helps!
Cheers
Rath!
***Please rate helpful posts***
05-14-2018 01:59 AM
hi,
I have already applied resources but the issue persist. I have attached some logs above
05-14-2018 06:46 AM
As Ayodeji suggested try changing the region setting between the IP Phones and SIP trunk to use 64kbps ( to ensure that xcoder is not required ) and then test. If the issue persists then share the traces for one such failed call.
Manish
05-12-2018 03:38 AM
please enable SIP debug log in CUCM and collect SDL log then share it here
you might refer to this document
04-13-2020 04:09 PM
has anyone figured out how to sip trunk connect asterisk to CUCM on a newer version by using pjsip.conf?
if so, would you please share your config ?
10-04-2022 02:01 PM
Yes, using cucm 11.5 and issabel pbx the trunk works bothways....
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