FreePBX / issue-tracker

The unified FreePBX issue tracker.
https://www.freepbx.org
GNU General Public License v3.0
7 stars 1 forks source link

[improvement]: Allow Asterisk Variables In Miscellaneous Destinations #409

Open Mahbell opened 2 weeks ago

Mahbell commented 2 weeks ago

FreePBX Version

FreePBX 17

Improvement Description

With the flexibility of dynamic routes, we’ve been able to move almost all custom dialplan into the GUI, which has been great. One barrier that occurs quite frequently is that we have an off pbx variable number to dial and because it is a variable we can’t call it from the GUI miscellaneous destination. We have to go back to custom dialplan.

Please consider adding this improvement.

lgaetz commented 2 weeks ago

It's possible I don't understand the request, but this seems like a poor fit for a Misc Destination. I think what you want to do is use a Custom Destination, i.e. if you want to dial an outbound call in the digits in a variable called DIALDIGITS, then the custom dest of

from-internal,${DIALDIGITS},1