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.
Are you sure it does not exist? Can you show us the output of this command?
fgrep macro-dialout-one-predial-hook /etc/asterisk/*
Pretty sure that was a feature added in FreePBX 12. You won’t find it in 2.11.
Yes, I believe you are right, but just to be sure with @voipmuch, Let us wait for his output.
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?
What exactly you want to do? we can write a custom context to establish that.
Please state your Freepbx version and Asterisk version.