I seem to be getting random Everyone is busy/congested at this time
errors from app_dial.c
when Asterisk hasn’t even tried to send an INVITE
to the remote party. I am using Asterisk 18.26.0 with PJSIP.
Here’s an example log entry where it randomly fails:
[Dec 17 08:58:08] VERBOSE[3560018][C-00000022] pbx.c: Executing [s@dialvoipms:14] Dial("PJSIP/1011009248-00000061", "PJSIP/1[redacted]@voipms-[redacted]4,120,TW") in new stack
[Dec 17 08:58:08] VERBOSE[3560018][C-00000022] app_dial.c: Called PJSIP/1[redacted]@voipms-[reacted]4
[Dec 17 08:58:08] VERBOSE[3560018][C-00000022] app_dial.c: Everyone is busy/congested at this time (1:0/1/0)
Since I have SIP logging enabled I should see the INVITE
being sent before Asterisk should be deciding that there is congestion shouldn’t I? Here’s the same call being made a second time successfully, right after the above failure:
[Dec 17 08:58:34] VERBOSE[3560060][C-00000023] pbx.c: Executing [s@dialvoipms:14] Dial("PJSIP/1011009248-0000006a", "PJSIP/1[redacted]@voipms-[redacted]4,120,TW") in new stack
[Dec 17 08:58:34] VERBOSE[3560060][C-00000023] app_dial.c: Called PJSIP/1[redacted]@voipms-[redacted]4
[Dec 17 08:58:34] VERBOSE[3560012] res_pjsip_logger.c: <--- Transmitting SIP request (2409 bytes) to UDP:[redacted]:5060 --->
INVITE sip:1[redacted]@[redacted]4.voip.ms:5060 SIP/2.0^M
Via: SIP/2.0/UDP 10.75.22.8:5060;rport;branch=z9hG4bKPj5f9fd0fe-7eeb-4130-ad1a-6bb902fbdb76^M
From: <sip:[redacted]@10.75.22.8>;tag=e39df122-3cd8-459b-a4da-79d009fb1cc1^M
To: <sip:1[redacted]@[redacted]4.voip.ms>^M
…
So as you can see, the successful call actually sends a SIP INVITE
. The congested call doesn’t even do that before deciding on congestion.
Any thoughts on what’s going on/wrong here?