RTP tunneling thru asterisk

Hello

I have Linsys PAP2 box which connects two phones and registers it into local asterisk server (thru SIP). I also have several idefisk clients (IAX).

I was wondering if is it possible to make such configuration in which all traffic is transmitted thru asterisk server (security reasons in my case). If it’s possible fo force SIP clients to pass RTP(UDP) traffic not directly to the client , but thru the asterisk server.

Thanx

canreinvite=no would force RTP to go through Asterisk, if that’s what you ask for.