I was calling the wrong function on the SDK. What I intended to do was set the ringing timeout on incoming calls.
FLEXISIP-104