So this is a bit of a "jugaad" guess, but you can use screen recorder to record a call (both sides). Just tap on screen re order in the notification bar and select "Media and Mic".
I have a routine setup to activate screen recording on call (see image) that activates screen recording on manking any call (including whatsapp). Tested on s4 ultra