Issues with voip.ms trunk "ALL CIRCUTS ARE BUSY NOW"

I have been trying to figure out the issue I am having where sometimes the trunk will work, and sometimes it’s not. When it does not work it says all circuits are busy now. I’m also trying to use more than one trunk to voipms which I’m doing because I want to have certain extensions with their own caller ID.

Logs
https://pastebin.com/xbwmErLK

32799	[2024-04-18 19:29:50] VERBOSE[3449][C-00000004] pbx.c: Executing [5555555555@from-internal:1] Macro("PJSIP/1000-00000006", "user-callerid,LIMIT") in new stack	

Why are you dialing 5555555555? Of course that will give you an error.

I suspect they changed the value to obfuscate but could be wrong.

Well if that is the case, the logs only show you that there is a problem but not what the problem is.

32988	[2024-04-18 19:29:51] VERBOSE[3449][C-00000004] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)	
32989	[2024-04-18 19:29:51] VERBOSE[3449][C-00000004] pbx.c: Executing [s@macro-dialout-trunk:37] NoOp("PJSIP/1000-00000006", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack	

You should pjsip set logger on and send updated logs.

It might be something that’s happening upstream with the carrier that OP might need to pull them in and ask them to check.

Cause code 21 is Call Rejected, which probably means you got a forbidden response from the provider.

Probably, but not sure until we see packet capture or logs with pjsip logger turned on.