How to prevent G.722 (16kHz) from transcoding to 8kHz SLIN before EAGI script?

You can also get a full-duplex 16-bit audio connection with Asterisk via AudioSocket. This is done FastAGI-style, where your running process accepts multiple incoming connections instead of a separate process being launched by Asterisk for every call.