I am interested in both the Auto Attendant and inbound routes method.
Perhaps I should explain my dilemma. I am setting up a calling system for elderly people in a nursing home. They are on fixed incomes, and most cannot afford to make calls. I have FreePBX setup to "call back". But each person has their own DID at the nursing home. And outbound calls are expensive. They can place an outbound local call to my PBX which has a CID callback. The call is never answered. It simply reads the CID then calls back. I have 4 GV accounts in my Obi2182. Once they receive the callback, they get a DIS and they can place their outbound call. The problem is all the outbound calls are made on the first GV account. And the GV account only supports 3 channels. I need to be able to route the calls through other GV accounts. I tried prefixing the numbers in FreePBX...But that didn't work. It still directs all outbound calls through the first GV account. I finally figured out the problem was due to the way Obitalk does its "dialplan" with its "dialmap". But I do not know how to force the Obi2182 to route the outbound calls through the different GV accounts.
I have the four GV accounts in SP1 through SP4 and the FreePBX extension in SP6. If I call directly from the Obi2182, all calls get handled and routed properly. Even if I Call through SP6, if I prefix the call **21NXXNXXXXXX, the call gets routed through SP2. When I tried prefixing the call **2 through FreePBX, I got a 503 (Service Not Available) error message.
Essentially, I need a way to route the calls to specific GV accounts after the callback. The users are willing to dial the "extra digits" in order to save money. (I provide the service free of charge). Presently, only one person can call at a time because each call use 2 channels (One for callback and one outbound. GV will support three simultaneous channels). Any assistance you provide will be greatly appreciated.