You could use sip specific lib in app connect it to telephony server asterisk/freeswitch both open source m do some dial plan m you wil have what you need , the recording will be in server but possible to view even at client if you use proper app logic . All you can do without spending a dime, look at github also you will find example. thanks