Displaying 1 result from an estimated 1 matches for "provideralias".
2005 Aug 18
4
options for mysql query from dialplan
...from the dialplan.
I have looked at the MySQL command, and there are a lot of notes about
connection closing and other scary stuff? Does it work?
Are there other native options given the fact that realtime is
configured and in use?
The goal is to run a query against a database like this
SELECT provideralias FROM ldproviders WHERE npa = (digits 2 thru 4 of
dialed number) AND nxx = (digits 5 thru 7)
Then take the provider alias returned and
Dial(SIP/${EXTEN}@${provideralias},60).
Next step would be to add a loop for multiple providers, starting with
the lowest cost.
Any hints or comments from the pro...