feat(voice): scenario-driven incoming calls #171
Reference in New Issue
Block a user
Delete Branch "feat/scenario-incoming-calls"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phone auto-rings on scene entry via call_on_scene map (no firmware change — runtime already pushes the scene). Empty by default. _ring_board helper shared with /game/call.
The phone now rings on cue from the game with NO firmware change. A call_on_scene map (phone_directory.yaml: {SCENE_X: number}) tells the gateway which scenes are scripted incoming calls; since the runtime already pushes the scene to /game/step, the gateway auto-rings the PLIP with that NPC on scene entry (deduped, once per entry). Factored a _ring_board helper (shared by /game/call + auto-ring). Map ships empty (no surprise rings) with commented examples for the designer.