03-22-2023 04:26 AM
Hi folks,
I have a problem with my SIP-Provider. When I make a external call forward they send me a CANCEL after that Phone rings one time.
SIP-Provider => CUBE => CUCM (call forward) => CUBE => SIP-Provider
Incoming, Outgoing and transfer calls work.
The provider tell me that we need to send a few empty RTP packets or have "comfort noise on" permanently so that the line is not "dead". Do you know if that is possible on a CISCO CUBE? I have tried with STUN but it didn't help...
Many thanks, Jonathan
Solved! Go to Solution.
04-24-2023 11:41 PM
Hello,
just to close the post :), I got the solution, is there another possibility without MTP to solve the audio problems when STUN or media Anti-Trombone doesn't work.
voice service voip
sip
nat force-on
Hier a link how it works:
https://www.cisco.com/en/US/docs/routers/asr1000/configuration/guide/sbcu/sbc_nat.pdf
That solve my issue, thanks an Ahmed from TAC!
03-22-2023 04:40 AM - edited 03-22-2023 04:48 AM
No, CUBE cannot send dummy RTP packets.
Only CUCM can do that, if you enable MTP on the SIP Trunk towards CUBE. (but MTP should be avoided in general, as it produces higher load on CUCM)
Edit:
What you also can try is to configure media anti-trombone
voice service voip
media anti-trombone
03-22-2023 04:55 AM
unfortunately doesn't work with MTP, still receive the CANCEL from provider. Should I deactivate STUN to configure the anti-trombone?
03-22-2023 05:00 AM
Then you might have a different problem.
Could you post the config (without any sensitive data) and the output of the following debugs for a test call?
debug voice ccapi ind 1
debug voice ccapi ind 2
debug voice ccapi ind 74
debug ccsip messages
03-22-2023 05:10 AM - edited 03-22-2023 05:12 AM
But problems with your scenario are common with SIP providers I have worked with and many of these problems have been discussed already in the forum.
E.g. here: https://community.cisco.com/t5/unified-communications-infrastructure/cube-config-sip-trunk-to-deutsche-telekom/m-p/4455797#U4455797
But as already written, I don't think that the Cancel is caused by the missing RTP packets.
Normally you would have a call establishing, but with no audio in both directions.
Maybe the call is not allowed, because normally SIP providers often use the FROM, PAI or PPI header for authentication, and if you have in there a number not assigned to your DID range, then the provider will decline the call.
And in the scenario PSTN --> CUCM --> PSTN, CUBE will send the external calling number in the FROM (normal behavior), which is obviously not a number of your DID range, then the provider will decline it.
As written, most providers then look at the PAI or PPI header, if there is a number of your DID range (which you could configure in the CUBE with SIP profiles), but you have to ask the provider such question or you have a doc from them.
03-22-2023 05:24 AM
03-22-2023 06:49 AM - edited 03-22-2023 06:51 AM
I don't think, that the answer you got from the provider is accurate. Because the call isn't even established, so RTP is not even in place.
Just a guess:
Maybe the provider cancels the call, because he didn't receive a 180 Ringing for a certain time period.
Maybe he doesn't like the 183 Session Progress and/or ignores it.
Since there is no 180 Ringing or 200 Ok after x seconds, the provider cancels the call.
As you can see in the screenshot, CUBE converts the 180 Ringing with SDP (received from provider) to a 183 Session Progress with SDP (sent to CUCM).
And CUBE also gets 183 from CUCM, because CUCM just uses the same method.
And if CUBE receives a 183 on one leg, it also sends a 183 on the other leg.
Long story short:
Try to configure "send 180 sdp" in the dial-peers or globally in "voice service voip"
03-22-2023 08:17 AM
so I am done for today but I did the following:
deactivated 180 messages with "disable-early-media 180"
Now I can stablish the call but still without Audio...
03-22-2023 08:29 AM
Then now you have the problem, which I described in the other post.
Try with MTP.
03-22-2023 09:05 AM
Yeah it works but I can not keep this active, I need another solution
03-22-2023 10:51 AM
But you only have the options described in the other post:
There are no other options.
03-23-2023 01:18 AM
@Jonathan Galvez Your stun config cannot work, because you haven't assigned the stun-usage to no dial-peer.
Config voice-class stun-usage 1 to every dial-peer and try if you have audio then (without MTP)
03-23-2023 02:11 AM
Hi, I tried and didn't work. You are right on the config I sent to you was not applied, cause I change so many things and you got the wrong config
04-24-2023 11:41 PM
Hello,
just to close the post :), I got the solution, is there another possibility without MTP to solve the audio problems when STUN or media Anti-Trombone doesn't work.
voice service voip
sip
nat force-on
Hier a link how it works:
https://www.cisco.com/en/US/docs/routers/asr1000/configuration/guide/sbcu/sbc_nat.pdf
That solve my issue, thanks an Ahmed from TAC!
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