Project Description:
We need to get a php agi sample code for the following:
1. A user is calling to our asterisk pbx
2. We ask him to wait and make outbound call to a predefined phone number
3. When answered, we ask the called party to click 1 to accept the call or 2 to decline
4. If the called party accept the call we connect both calls
5. If the called party decline (or hangup) the call, the inbound user hear a prompt and can continue the call (hear other prompts, or leave a message)
We only need a basic working code with the whole flow.
Our company now enter the IVR area and we will have lots of projects like this in the future, so we are looking for a long term freelancer.