Hi All -
Been looking and although I am finding pieces of information, I cant find all the information on the forums.
I want to be able to call forward certain/specific DID/Incoming Routes at will.
I have 10 DIDs and I was looking to set up the 11th DID to go to a custom destination. The parameters are:
- look at the calling party caller ID to make sure this person should have access to it.
- enter a pin code for authentication
- it will prompt for the DID to forward.
- confirms if the DID to forward is under the calling party’s caller ID group of acceptable DIDs to forward
- prompt for destination
- press 1 to accept.
The part I cannot figure out is how to change the routing.
Is it done in the flat file /etc/asterisk/extensions_additional.conf or is it in the DB somewhere?.
I tried updating the destination in the mysql table incoming but it didnt take affect.
I can create a system command to sed the .conf file and reload the system but was wondering if there was a more elegant solution.
I would assume once the solution is figured out, it would be the same for the misc destination ring to updates where I modify the flat file or DB.