Thanks Guillaume,
this moves me a bit further, I tried to follow the instructions in submodules/linphone/README.zrtp
first thing I noticed, that libzrtpcpp as well as srtp folders exist already in the submodules/externals/
I did not try to replace them with the new ones, I only patched the files (supposing they are there because it's been tested to work with them).
The bulding gives some output, and first errors that occur are
[exec] /opt/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi-v7a/libopencoreamr.a(wrapper.o): in function Decoder_Interface_init:jni/..//submodules/externals/build/opencore-amr/../../opencore-amr/amrnb/wrapper.cpp:30: error: undefined reference to 'GSMInitDecode'
[exec] /opt/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi-v7a/libopencoreamr.a(wrapper.o): in function Decoder_Interface_exit:jni/..//submodules/externals/build/opencore-amr/../../opencore-amr/amrnb/wrapper.cpp:35: error: undefined reference to 'GSMDecodeFrameExit'
On the other hand I wanted also to try using the libzrtpcpp-2.0.0 as in the readme
I need to remove ZrtpPacketRelayAck, ZrtpPacketSASrelay from libzrtpcpp/Android.mk in order to pass further