FreePBX Asterisk 14
I want to use system recordings in my custom dialplan with the purpose of allowing changes to the system recording in the GUI to flow into my custom dialplan. I found the [play-system-recording] context in extensions_addational.conf and the playback seems to always be the second step in the dialplan.
Is there a way for me to pull one line of an extension in the [play-system-recording] context into my existing custom dialplan [custom-1]?
What’s the correct way to write the dialplan for [custom-1] so that it calls step two of exten 57 before going to the next s step of the custom context?
something like, I need extension 57 custom recording on line 2:
[play-system-recording] include => play-system-recording-custom exten => 57,1,Answer exten => 57,n,Playback(custom/1021132) exten => 57,n,Hangup [custom-1] exten => s,1,Answer exten => 57,2,Playback(custom/1021132) exten => s,n,...
Thanks for your help!