Robo call transfer call to call center on pressing Zero 0

Hey everyone, a noob here… I was trying to make a dial plan for a robo-call that goes like this:

  • call start
  • plays recording press 1 to hang up or press 0 to talk to an operator
  • user presses 0
  • calls operator

I have a pjsip trunk If that help,
plus for testing reasons, the operators’ number is a mobile number
Can someone help me write a simple dial plan for this ?