I need directions to set a Custom Context as destination

I have so far, thanks to some of you, managed to get some stuff going.
Eliminate the ‘1’ on the incoming numbers and use the CID, masking the CaLLERNAME with a ‘#’ also worked.
Now I need directions in using Custom Context as destination.
Inbound Routes, Time Condition… announcements can have destinations as custom context.

Can anyone please help me getting started.
Example: from a time condition --> destination custom context to play a system recording 2803c

where do I create the custom context? the code in extensions_custom?

Hope this makes sense. I want to learn this as I’m sure I will love it once I get the grip

Custom dialplan is usually written in extensions_custom.conf [1] you can use the config edit module [2] which has some validation, or you can modify it with editor tools such as nano, vi, vim whatever you like the most.

After you save the changes remember to reload config, or a quicker cheat is to run “dialplan reload” assuming you only made dialplan changes

To send calls to a custom dialplan/context, you would need to create a custom destination [3]

[1] https://wiki.freepbx.org/display/FDT/FreePBX+Dialplan+Customization
[2] https://wiki.freepbx.org/display/FPG/Configuration+File+Editor+User+Guide
[3] https://wiki.freepbx.org/display/FPG/Custom+Destinations+User+Guide

3 Likes

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