Use GoSub in macro gives error

I am using GoSub in macro and feel that it creates issue sometimes due to which channel could not clear automatically on the hangup of call. Does anyone have idea is gosub creates issue while we use inside macro

Macro has been deprecated for many years.

I wouldn’t have thought that subroutine in macro was something that many people had ever tried.

I’m assuming you are using extensions. conf, as AEL complies macros as subroutines, anyway.

Why do you need to run gosub inside another gosub ?

yes using extensions.conf

I routinely use gosub inside a macro, and I don’t recall ever having an issue. Not something that is desirable, but I work mostly within FreePBX which still relies on Macros for some features.

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