mesh_answer_ring
Respond to a pending ring by accepting to join the room or declining with an optional reason, so the caller is notified of your decision.
Instructions
Answer a ring that was deferred to you (mesh_read_inbox lists them under rings.pending, with who rang and why). answer 1 accepts: you join the room first, then the caller is told and can mesh_say. answer 2 declines, with an optional reason the caller sees. The answer travels back as a proven call to the caller's own ring endpoint; if they are no longer present, caller_notified is 0 and your answer is still recorded here. Deferring again is not an answer; leave it pending instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Station to connect through, "host[:port]". Defaults to station-de-frankfurt.macula.io:4433. | |
| answer | Yes | 1 accept, 2 decline. No booleans on the wire. | |
| reason | No | Shown to the caller. Worth giving on a decline. | |
| ring_id | Yes | From rings.pending in mesh_read_inbox. |