11-02-2020 06:48 AM
Hello all,
I have an odd issue with inbound calls through a SIP trunk via CUBE to our CUCM.
Calls that are cancelled before the phone has been picked up keep ringing until the phone has been picked up. Of course that results in a disconnect as the other call leg has been cancelled already.
Solved! Go to Solution.
11-03-2020 06:41 AM
Found the cause after looking through the logs.
Because we rewrite the header on INVITE the call-leg could not be cancelled properly.
The solution was to rewrite the header for CANCEL in the same way.
For others who might hit this page through a google search, the error was:
SIP/2.0 481 Call Leg/Transaction Does Not Exist
Solution:
voice class sip-profiles 1
request INVITE sip-header To copy "sip:(.*)@" u01
request INVITE sip-header SIP-Req-URI modify ".*@(.*)" "INVITE sip:\u01@\1"
request CANCEL sip-header To copy "sip:(.*)@" u01
request CANCEL sip-header SIP-Req-URI modify ".*@(.*)" "CANCEL sip:\u01@\1"
11-02-2020 08:07 AM
Can you capture a debug ccsip messages and post that along with the trace file of the node the phone is registered to?
Maren
11-03-2020 06:41 AM
Found the cause after looking through the logs.
Because we rewrite the header on INVITE the call-leg could not be cancelled properly.
The solution was to rewrite the header for CANCEL in the same way.
For others who might hit this page through a google search, the error was:
SIP/2.0 481 Call Leg/Transaction Does Not Exist
Solution:
voice class sip-profiles 1
request INVITE sip-header To copy "sip:(.*)@" u01
request INVITE sip-header SIP-Req-URI modify ".*@(.*)" "INVITE sip:\u01@\1"
request CANCEL sip-header To copy "sip:(.*)@" u01
request CANCEL sip-header SIP-Req-URI modify ".*@(.*)" "CANCEL sip:\u01@\1"
11-03-2020 07:47 AM
Thanks for posting your solution. That is helpful for folks who will be looking at this later!
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