V11: macro-dialout-one-predial-hook does not seem to exist

Hello,

macro-dialout-one-predial-hook does not seem to exist and is not called in v11.
This is working perfectly as expected in v13.

However, in v11: macro-dialout-one-predial-hook does not exist in extensions.conf and when added to extensions_custom.conf, it is not called at all (according to logs).

What is the correct context to trigger on an incoming call with v11?
or what do I need to do to make this work in v11?

  • we are working to move everything of v11… but have many custom things in place, so it is taking some time.

To note: macro-dialout-trunk-predial-hook is working perfectly in both v11 and v13.
macro-dialout-trunk-predial-hook exists as a place holder in extensions.conf and when my custom stuff is added to extensions_custom.conf it is executed.

Hello @voipmuch,

Are you sure it does not exist? Can you show us the output of this command?
fgrep macro-dialout-one-predial-hook /etc/asterisk/*

Thank you,

Daniel Friedman
Trixton LTD.

Pretty sure that was a feature added in FreePBX 12. You won’t find it in 2.11.

Hello @lgaetz,

Yes, I believe you are right, but just to be sure with @voipmuch, Let us wait for his output.

Thank you,

Daniel Friedman
Trixton LTD.

Hi Danielf,

Nothing found, except my entry in extensions_custom, which of course is not being triggered.

Is there any way to trigger a function on an incoming call, while retaining variables and being able to end or continue with the call?

Hello @voipmuch,

What exactly you want to do? we can write a custom context to establish that.
Please state your Freepbx version and Asterisk version.

Thank you,

Daniel Friedman
Trixton LTD.