Macro Limit Reached. Aborting Call

Hi All,

I have an extension that’s forwarded to another extension. Occasionally the other extension is then also forwarded. This means that an inbound call to ext1 is then bounced on twice.

However, apparently it’s never worked and I only found this out yesterday. Digging through the logs these calls fail with;

[2023-06-15 20:25:44] VERBOSE[8157][C-00001a86] pbx.c: Executing [s@macro-user-callerid:29] NoOp("PJSIP/Gamma-Primary-00003cc6", "Macro Depth is 6") in new stack
[2023-06-15 20:25:44] VERBOSE[8157][C-00001a86] pbx.c: Executing [s@macro-user-callerid:30] GotoIf("PJSIP/Gamma-Primary-00003cc6", "0?report2:macroerror") in new stack
[2023-06-15 20:25:44] VERBOSE[8157][C-00001a86] pbx_builtins.c: Goto (macro-user-callerid,s,40)
[2023-06-15 20:25:44] VERBOSE[8157][C-00001a86] pbx.c: Executing [s@macro-user-callerid:40] NoOp("PJSIP/Gamma-Primary-00003cc6", "Macro Limit Reached. Aborting Call") in new stack
[2023-06-15 20:25:44] VERBOSE[8157][C-00001a86] pbx.c: Executing [s@macro-user-callerid:41] Answer("PJSIP/Gamma-Primary-00003cc6", "") in new stack
[2023-06-15 20:25:44] VERBOSE[8157][C-00001a86] pbx.c: Executing [s@macro-user-callerid:42] Wait("PJSIP/Gamma-Primary-00003cc6", "1") in new stack
[2023-06-15 20:25:45] VERBOSE[8157][C-00001a86] pbx.c: Executing [s@macro-user-callerid:43] Gosub("PJSIP/Gamma-Primary-00003cc6", "macro-user-callerid,lang-playback,1(hook_2)") in new stack
[2023-06-15 20:25:45] VERBOSE[8157][C-00001a86] pbx.c: Executing [lang-playback@macro-user-callerid:1] GosubIf("PJSIP/Gamma-Primary-00003cc6", "1?macro-user-callerid,en,hook_2():macro-user-callerid,en,hook_2()") in new stack
[2023-06-15 20:25:45] VERBOSE[8157][C-00001a86] pbx.c: Executing [en@macro-user-callerid:5] Playback("PJSIP/Gamma-Primary-00003cc6", "im-sorry&an-error-has-occurred") in new stack
[2023-06-15 20:25:45] VERBOSE[8157][C-00001a86] file.c: <PJSIP/Gamma-Primary-00003cc6> Playing 'im-sorry.alaw' (language 'en')
[2023-06-15 20:25:46] VERBOSE[8157][C-00001a86] file.c: <PJSIP/Gamma-Primary-00003cc6> Playing 'an-error-has-occurred.alaw' (language 'en')

Is there a way around this?

I’m FPBX 16, Asterisk v18

I have found the following post with the same problem. I am in a unique situation at the moment where I have a forward via a ring group that’s also triggering this issue. This is only required for a month.

Editing the two files has fixed the problem but I now have a security warning on my dashboard!

Is there a permanent fix to this or another way of changing the macro limit?

Looks like this is to avoid a loop. Can you please share the full call trace?

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