Applying Global Dialplan for Shortcode Rewriting Across All Domains

samy

New Member
Jul 24, 2019
2
0
1
49
Hello everyone,
I'm working on a multitenant FusionPBX setup and attempted to implement a global dialplan in the default context to rewrite shortcodes (e.g., 300 → 654321-300) using ${domain_name}.


Since there's no GUI option to assign this dialplan to all domains or to set new domains to use the default context, I added entries manually into v_dialplan_to_domains via SQL. After doing so, I noticed that creating new domains via the GUI shows as successful but the domain doesn't appear in the interface anymore.
Could you please advise on the recommended way to:
  • Apply a dialplan to all current and future domains?
  • Set the domain context to default via the GUI or a safe method?
 
  • What is your version of FusionPBX?
  • FusionPBX doesn't have a table called v_dialplan_to_domains
 
Last edited:
  • Like
Reactions: samy