I require a conference room which allows an agent to dial into remotely while on a call to a customer, the conference asks for a password (standard), a code (12345 for example), an id number (123 for example), a service id (1 for example) and then it fetches a recorded file which is assigned to the entered code. It then plays this file to the customer (with agent listening), the customer at the end of the recorded file must say yes, it then attaches (uploads to folder and adds MySQL entry) the recorded file with the customers response to a PHP hosted web application. It will know what record to attach it to from the id number AND the service id entered previously.
So: agent calls customer => customer answers => agent says 'please hold while I fetch the terms and conditions' => agent dials into conference => agent enters password => when verifed, conference asks for recording code => agent enters 12345# => conference asks for application id number => agent enters 123# => conference asks for service id => agent enters 1# => conference then plays a file associated with recording code 12345 => customer says 'yes' => asterisk uploads file to remote server and updates application entry where id = 123 and service id = 1 => agent is returned to customer
There will need to be some controls like pause recording (used if agent hears too much background noise), start recording again (used if customer requires to listen again), stop (if the agent needs to stop the recorded file).
I will need to assign other records to codes so documentation on doing this will need ot be provided.
You could use AGI for managing this kind of flow. This AGI will follow the dial-plan plus any other function such as call transfer, recording, key detection, etc.