Python AGI EXEC Read do not work with more than one option

Hi. I’m tring to execute this inside a Python script but it doesn’t works.

sys.stdout.write(“EXEC Read “ACCEPT|my-sound|100|noanswer|0|1” \n”)
sys.stdout.flush()

If i call this if just one option
sys.stdout.write(“EXEC Read ACCEPT \n”)
sys.stdout.flush()

than it works normally.

Does anyone now how to pass more than one option??
Regards,
Carlos

This should work:

sys.stdout.write(“EXEC Read ACCEPT,my-sound,100,noanswer,0,1 \n”)
sys.stdout.flush()