I have a user that would like to use Adhearsion to drive a database-driven IVR system and then transfers calls to a Vicidial agent. The hope here is to be able to have a simple call context with one line:
[ahn-context]
exten => _X.,1,AGI(agi://localhost)
That would hit an Adhearsion process running on another box to do its thing. Adhearsion would then add a custom channel variable to that call and issue a redirect over AMI to send it on its way to the appropriate Vicidial context to go through the queues and hit an agent.
What are the issues I would have to think about here? Is this a problem, is there a 'custom' extensions.conf like in FreePBX? Also, may Vicidial easily pick up a custom channel variable, say with account number, and pass that down to the agent as a 'screen-pop'?