Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow dialplan ID to identify a ruleset to be a string #2477

Open
kingsleytart opened this issue Apr 21, 2021 · 0 comments
Open

Allow dialplan ID to identify a ruleset to be a string #2477

kingsleytart opened this issue Apr 21, 2021 · 0 comments

Comments

@kingsleytart
Copy link

Is your feature request related to a problem? Please describe.
It can be difficult remembering which dialplan ruleset does which thing, because the dpid field is an integer. When editing the rules in the database, the same applies. If you have many rules, you have to remember which number means which thing.

Describe the solution you'd like
I think it would be handy to be able to apply names to dialplan rulesets as it would be more intuitive. If dialplan.dpid could be a string, then I could for example create a ruleset that I could refer to as "uk_local_to_e164" instead of "7".

Implementation

  • Component: dialplan module
  • Type: module's parameter
  • Name: same as it is now, just allow a string

Describe alternatives you've considered
No alternatives.

Additional context
Comment from Bogdan: "Indeed, it may be an interesting one. And as Ben said, we are also using M4 for the scripting, nevertheless, if you want to integrate with OpenSIPS Control Panel, it may become tricky ;)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants