ACTION_WAIT_CALL_ANSWER
Blocks until the phone call enters the OFFHOOK state, returning call_answered or call_error; fails fast if no ringing or answer occurs within 5 seconds and respects the configured timeout.
Instructions
阻塞等待通话进入通话中(OFFHOOK)(需 READ_PHONE_STATE 权限)。输出:call_answered, call_error。5 秒内既没响铃也没进入通话就返回 false,不会等满超时。去电一拨出系统即为 OFFHOOK,不代表对方已接听;来电则表示已接起。。字符串参数支持 ${var} 插值;结果以变量快照 JSON 返回。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| require | No | 执行后要求为 true 的变量名(如 click_success),不满足按出错处理 | |
| on_error | No | 节点出错时:skip=跳过继续(默认),stop=停止整个工作流 | |
| timeout_ms | No | 最长等待毫秒,超时 call_answered=false(默认 120000) | |
| node_timeout_ms | No | 单节点超时毫秒,0=不限;默认 30 分钟 |