Calls drop on double call forward

Hi everyone,

I’d like to first thank all developers and contributors making FreePBX as awesome as it is. I’ve been using it for many years and it’s been very good to me.

I’m looking at a system running FreePBX 13.0.192.19. I am trying to debug a complaint I started receiving when a call is forwarded twice. Eg. extension 299 forwards to 203 and 203 is forwarded to 206, the call drops with an “I’m sorry an error has occurred.”

I see in the asterisk log the macro depth check goes to 6 and that’s when it goes downhill.

A trace can be found : http://pastebin.freepbx.org/view/3dc0e928

Regards,
Vincent

This was an issue, but a fix was published months ago. Update all modules (Admin, Module Admin) and retest.

Hi,

Just performed online update of all modules. I have the same behavior on the following version.

Regards,
Vincent

Distro Version: 10.13.66-22
FreePBX 13.0.193
Core Module: 13.0.120.25
Asterisk 13.18.0

Having now actually looked at your trace, I can see the issue. Asterisk has a hard limit macro depth of 7:

https://wiki.asterisk.org/wiki/display/AST/app_macro+Deprecation

FreePBX checks this value and terminates the call gracefully at 6 instead of letting Asterisk drop the channel. I’m not sure there is a solution to this other than “Don’t forward to a forward”.

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