Call to RG drops with Error to Call Forwarding Message

FreePBX V14 system, Calls to a RG drop with an error to call forwarding message. It appears to be related to a previous ticket for RG that fail over to the same RG. In that case there was a TTL feature that started at 6 and counted down to 0. I see that it starts at 64 now but for some reason it counts down to 0 within 30s of entering the RG instead of 64 cycles through the RG.

[2020-12-22 11:07:31] VERBOSE[25440][C-00023685] pbx.c: Executing [s@macro-user-callerid:32] Set("SIP/wiresip2-0001e21f", "__TTL=0") in new stack
[2020-12-22 11:07:31] VERBOSE[25440][C-00023685] pbx.c: Executing [s@macro-user-callerid:33] GotoIf("SIP/wiresip2-0001e21f", "0?continue") in new stack
[2020-12-22 11:07:31] VERBOSE[25440][C-00023685] pbx.c: Executing [s@macro-user-callerid:34] Wait("SIP/wiresip2-0001e21f", "15") in new stack
[2020-12-22 11:07:46] VERBOSE[25440][C-00023685] pbx.c: Executing [s@macro-user-callerid:35] Answer("SIP/wiresip2-0001e21f", "") in new stack
[2020-12-22 11:07:46] VERBOSE[25440][C-00023685] pbx.c: Executing [s@macro-user-callerid:36] Wait("SIP/wiresip2-0001e21f", "1") in new stack
[2020-12-22 11:07:47] VERBOSE[25440][C-00023685] pbx.c: Executing [s@macro-user-callerid:37] Gosub("SIP/wiresip2-0001e21f", "macro-user-callerid,lang-playback,1(hook_0)") in new stack
[2020-12-22 11:07:47] VERBOSE[25440][C-00023685] pbx.c: Executing [lang-playback@macro-user-callerid:1] GosubIf("SIP/wiresip2-0001e21f", "1?macro-user-callerid,en,hook_0():macro-user-callerid,en,hook_0()") in new stack
[2020-12-22 11:07:47] VERBOSE[25440][C-00023685] pbx.c: Executing [en@macro-user-callerid:1] Playback("SIP/wiresip2-0001e21f", "im-sorry&an-error-has-occurred&with&call-forwarding") in new stack

https://issues.freepbx.org/browse/FREEPBX-15840

So it appears the system thinks everyone is busy and it cycles through the RG 64 times:

[2020-12-22 12:53:28] VERBOSE[26530][C-000238d2] pbx.c: Executing [s@macro-dial:9] NoOp(“SIP/wiresip2-0001e425”, “Returned from dialparties with no extensions to call and DIALSTATUS: BUSY”) in new stack

I checked and the vast majority of the extensions are available and not on a call. I see no hung channels on the system. Any ideas why the RG thinks there are no extensions to call? Skip busy agents is set to Yes but the agents aren’t on the phone so that shouldn’t factor in.

It may be that Asterisk thinks they’re busy. Have you tried restarting asterisk?

1 Like

I’ve not tried that but setting Skip Busy Agents to No has stopped the message from playing. This is an extremely busy system and I’m wondering if two calls came into the same RG if the extensions would be seen as Busy if they were ringing from another call? Resetting asterisk/fwconsole restart was my next step and may still be necessary. I almost wonder if high traffic systems need a reboot every month or so to clear things out. Maybe not.

It would not fail the rule of Least Astonishment for me. If the phone is engaged in ringing with another call, it could be “engaged”. It seems to me that we (the forum) talked about this a couple of years ago and it was the consensus then that it made sense. I don’t remember if making it a queue would help, but I’d expect it to.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.