08-19-2016 01:54 PM - edited 03-17-2019 07:53 AM
Hello,
I'm trying to better understand and troubleshoot my CUCM environment. I have CUCM 11.5, a CUBE router and an ITSP SIP provider as my connection to the PSTN.
I have outbound calls working, internal numbers can call and voice calls work fine, however I cannot get incoming calls to work.
I believe my CUBE router is forwarding calls to CUCM because when I do debug voice ccapi inout the output shows the correct inbound and outbound dialpeers being matched.
So I believe my cube is telling me it is forwarding the calls correctly but when I call from my mobile (cell) phone inwards the phone rings and eventually goes to the the SIP providers voicemail.
Are there any commands I can run on the CUCM to troubleshoot this? To see if CUCM is receiving the call? And then if it is receiving the call, why its not connecting it?
Many Thanks,
Tom
Solved! Go to Solution.
08-23-2016 12:39 PM
Hi,
I've not added any CAC, I'll have a read through and see if I can add some CAC.
Thanks,
Tom
08-23-2016 01:12 PM
Hi,
I've just read through and added max-connection 5 to each dial-peer and additionally call threshold global total-calls low 1 high 10 and so far no change :(
Thanks,
Tom
08-23-2016 11:51 AM
Hi Tom,
you can modify "dial-peer voice 1000 voip" to receive incoming call from CUCM
dial-peer voice 1000 voip
description CUBE-TO-CUCM
destination-pattern 2..
incoming called-number 2..
session protocol sipv2
session target ipv4:172.16.127.70
codec g711ulaw
no vad
but this one shouldn't be cause of the error code "480 Temporarily Unavailable (Call limit)".
This error message coming from CUCM to CUBE, Looks like it is Call Admission Control related issue. I will test in my home lab after office hour and will see if I can replicate the error or not.
Regards,
Moshfiqur
08-23-2016 05:58 AM
Hi Tom,
I am so sorry, I didn't see that the CUBE has sent second invite to CUCM.
so, digest authentication doesn't matter in this case. In response to second invite from CUBE , CUCM is responding back with
"SIP/2.0 480 Temporarily Unavailable (Call limit)"
Is there any location applied in the trunk itself or in the device pool that is being applied in this trunk? If so, Can you make location setting as "Hub-None" and test?
08-23-2016 11:29 AM
08-23-2016 03:38 AM
Dear twhittle,
As per your logs
CUBE Tries to Establish connection with CUCM but
CUCM Says
SIP/2.0 480 Temporarily Unavailable (Call limit)
Are you having any Bandwidth or Location settings.
Make sure the Location setting on SIP Trunk allow enough Calls to pass through to the Device.!!
Instead of 201 extension can you try some other extension as well.
Thanks
Haris
>>Please rate and mark correct as applicable
08-24-2016 12:00 PM
08-25-2016 12:25 PM
Hi All,
I've gotten somewhere! I removed the "outbound proxy" from my voice service voip command and now inbound calling is working.
I can't fully explain it but it seems like this command was catching all the sip calls and redirecting them to the proxy?
I'm having one more issue where my incoming call is not disconnecting when the calling mobile phone hangs up (internal phone keeps ringing) but this is something I'll investigate seperately.
Progress!
Thanks for your assistance.
Tom
08-25-2016 08:30 PM
Great it worked out , Outbound proxy command is used to route SIP Messages to the outbound proxy . You can even use outbound proxy on individual dial-peers.
Please rate if found applicable.
Thanks
Haris
08-26-2016 12:38 AM
Ah ok, so if I configure it in the voice service voip area it applies globally or it can be applied specifically to a dial peer. That makes sense, I had it in the wrong place and it was catching and redirecting all sip calls to my ITSP rather than just my outbound calls.
As it turns out I don't appear to need it but it's very good to know for the future!
Thanks again for your help.
Regards,
Tom
08-26-2016 04:19 AM
Good catch Tom! happy to know that your issue has been resolved.
08-24-2016 02:13 PM
08-23-2016 02:03 PM
Hi,
A couple of other things I've noticed:
The when the debug ccsip messages command is run and I place a call it seems to hang while the mobile phone rings:
Ro-H-CUBE#SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.16.127.15:5060;branch=z9hG4bKB990F;received=172.16.127.15;rport=54414
From: "07000111222" <sip:07000111222@phone.tel2.co.uk>;tag=93A9EC-1D94
To: <sip:201@172.16.127.70:5060>
Call-ID: 504BD4C0-68B211E6-82E5A61E-12822F40@172.16.127.15
CSeq: 102 INVITE
Server: 2talk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces
Contact: <sip:201@27.111.15.65:5060>
Content-Length: 0
It seems to be the CUCM isn't responding?
Also I notice all the entries say SIP/2.0/UDP - i assume using UDP rather than TCP. Is there a default setting anywhere in CUCM so that CUCM is expecting TCP? Could this be causing an issue?
I wish I understood this better, it's how you learn I guess, just frustrating whilst I can't get thing working :)
Thanks again,
Tom
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