Speex - Multiple frames in RTP packet

Could someone tell me how to change Asterisk code to be able to manage packet with multiple frames ? I’m using Speex codec.
Thank you

Jonathan