Ok, first, sorry for the confusion.... early Monday morning with a full inbox.
The issue is that call were failing when it was forward to an outside number via a ring group. The SIP trunk provider (Twilio) returned an error saying it was not allowed. It was not allowed because 3CX sent the caller id of the caller (in my example has an area code of 917) instead of using the default outbound caller id specified in the Trunk settings. The fix was to define the outbound caller id on the "Outbound Rule". Then the calls started working again. This error first started happening after applying the new hotfix. Previously, there was no outbound caller id defined in the "outbound rules". I was wrong about that previously because I thought my team always sets that but they told me otherwise.
Below is the error we would see in the 3cx call logs. Notice the "Not allowed" error.
Below is the log of the call in Twilio. Notice "Failed" and the (917) area code as the source and (516) was the destination. The source number was that of the caller when it should have been the default caller id in the trunk settings.
When I view the details on the error, it said: "Invalid Caller ID".
Here is the ring group setting and forward to external number:
Again, the fix was to copy the default caller id number defined in the trunk settings and enter it on the outbound rules:
Once we did this, everything starting working again.
Our trunk sip provider is Twilio. I do believe we modify the trunk template to set the inbound caller id because those fields were removed in v20 when they used to be available in v18. I will find this and send an update with those details.
Thank you