There is a helper to handle calls in iOS Apple Standard library CallKit Apple Documentation - CallKit
There is one lecture about it here WWDC 2016
And, there is a tutorial in Ray Wenderlich here
You still might need some library to handle SIP connections and handle incoming calls.
Open source library linphone
Paid library voipsipsdk