I’m in the process of writing a config utility for my company and I have run into a problem that I was hoping I get could some feedback on.
The problem stems from having to specify a technology when using the Dial() application. For instance:
Because I must specify the technology (which could very likely be different for each ext.: IAX, Sip, etc) along with the extension number it creates I problem, I think, with using a Macro to dial. I think a Macro would be better than listing each and every extension. Even with a macro, the technology type must be used (Sip/111 or IAX/112, etc).
Because of this, it seems that I must either
- List each possible exntension as an exten=> line.
- Use an AGI script to pull the required info from either astdb or other datastore in real time.
Am I missing something?
Is there a better way to do this?
Thanks for your input,