SipDroid and Direct RTP

Unfortunately, when your SipPhone, registrar and callee are in the same network, they naturally try to establish direct rtp sockets for media.
And this case isn't yet well managed by SipDroid (1.1.3).

I proposed a little hack to make it work for this configurations.
This is not fully functional but can be a begin for more work.

Time I spent handling the code of SipDroid make me realize that this project isn't yet really mature and really still in development.

An alternative should be done using for example pjsip and the android ndk.
A really interesting approach (previous from any ndk release) has already been explored by the VoiDroid project but seems to be dead.