Answer
From SoftIVR
answer
Answers an inbound call.
If the service is called as a result of an outbound call being triggered, answer() will wait for the outbound leg to be answered.
Parameters:
- optional timeout - for outbound calls only; how long to wait for the call to be answered.
Return values:
- 0 - call answered
- TIMEOUT - timeout reached.
Return to Javascript_functions.