We are trying to route inbound calls with openser. In other words, I would like calls from DID 123-345-1234 to go to extension 123 and calls from DID 234-456-6789 to go to extension 234. I assume that lookup("aliases") is the way to do this. But I need an example of what would be in the aliases database. Any example would help.
TIA.
Bill
Hi Bill,
note that if you use lookup("aliases"), the records will be cached into memory and it will a bit difficult to provision them - you will need to do it via FIFO.
an alternative is to use alias_db module: http://www.openser.org/docs/modules/1.2.x/alias_db.html
does the same, but with no caching - the DB table is also more comprehensive.
regards, bogdan
Bill Neely wrote:
We are trying to route inbound calls with openser. In other words, I would like calls from DID 123-345-1234 to go to extension 123 and calls from DID 234-456-6789 to go to extension 234. I assume that lookup("aliases") is the way to do this. But I need an example of what would be in the aliases database. Any example would help.
TIA.
Bill