Hi all
I’ve built with asterisk and odbc a little system serving a repair shop.
Customer asked me to let him know before answering caller, about some information taken from db and the let him decide if answer or decline the call.
So i have to park or appending the call to a queue (or similar), call the agent, synthesize information and let him decide pressing 1 or 2 to accept or decline. Odbc and synthesis is not a trouble.
But i wish to have an advice about the right method to develop this situation.
Place the caller on hold and using local channel dial to the agent and use a gosub() to execute any method that display the caller information to the agent, then if he decide to accept the call use bridge() to bridge both channels.