This document describes some of the issues when calling accross SIP Trunk and how to to troubleshoot the same.
Problem: You are currently implementing a SIP trunk from a UC Cluster to an external SIP provider via a CUBE. Issue in getting basic incoming/outgoing calls. No voice is heard when calling accross SIP Trunk.
A Trace of the problem and the config for the CUBE needs to be taken.
The CUBE is running 15.1.3T code, and the CallManager is on 8.0.3 code.
So in this case you need to either configure your cube to transcode from g729br8 to g729r8 or send your provider g729r8
Ensure you add g729br8 in your list of codecs
If the issue still persist do another test call and run the debug ccsip messages.
After looking at the trace in detail it was found that the called number was not from the sip provider.
Your dial-peer 1 shows like this.
dial-peer voice 1 voip
incoming called-number 5[8-9].. (this is not the incoming called number)
it should be this..
dial-peer voice 1 voip
incoming called-number 01387345[8-9]..
Then when this dial-peer is matched, the xlation will be applied.
Also you need to remove the following lines from the dial-peers to cucm. you need to ensure that you have removed all dial-peers to cucm and sip provider.
progress_ind setup enable 3
progress_ind alert enable 8
Call Forward over SIP trunk fails
Problem Details: You have a SIP trunk connecting to provider called centurylink. For sites that you have provisioned on this SIP trunk, call forwarding to a PSTN number is not working. This issue is related to the originating number not being associated with the provicer
century link account, and so century link is probably dropping the call.
How to configure the call forward on a line to transform the ANI which is sent out on the SIP turnk to be a predetermined number (like the DID of the line).
The call flow is
The call coming through same sip trunk and going through same .
Here the issue is in selecting redirecting calling rather than original calling party when doing a CFA to PSTN number. This happens because the
s the originating number is of the PSTN party and the number is not registered with provider so they are dropping it. To resolve this issue you need to change the calling party selection from original calling party to last redirecting party (External).
Calls failing accross SIP trunk to display caller ID
Problem Description: When users homed at Head Quarters CUBE makes an outbound call, the Local Route Group is failing to send the call out the gateway, calls are defaulting to the trunk causing the caller ID to represent the trunk's mask.
Follow the steps below to resolve the issue:
Incoming/Outgoing dial-peers on CUBE were configured with g729
Call from CUCM came with EarlyOffer g711u codec.
CUBE rejected call with codec mismatch between incoming dial-peer and codec in INVITE message.
After checking configuration parameters on SIP trunk it was found that MTP required is checked and g711u used as codec for EarlyOffer Configuring g729 caused disconnect from CUCM side.
Disabling MTP on trunk made call possible to go through CUBE successfully.
Actually, outgoing dial-peer on CUBE is configured for EarlyOffer so there's no need to configure MTP on SIP trunk to avoid double xcoding. In version 8.0.3+ EarlyOffer sent from SIP trunk without using MTP. MTP required was checked on SIP trunk which caused CUCM to send call with G711u towards CUBE. Dial-peer towards SIP provider on CUBE was configured with g729 and no local xcoder configured. After disabling MTP required on SIP trunk everything works as expected.
Incorrectly configured trunk with MTP enabled caused CUBE to reject call with codec mismatch reason. Call went out through different GW in RGL. After disabling MTP call went through correct GW.