AGI Example script MEETME request (ast_waitstream)

I’ve a little problem when i use meetme with the AGI script feature.
The phone connection disconnect (close meetme room) when the script is ready.

Is there a command to wait for a DTMF key, so that the users also can speak in the meetme converence?

I mean this asterisk command but then with AGI: ast_waitstream(chan, “”);