how to use sinch to call app-to-phone?

i am trying to use sinch iOS SDK to make an app-to-phone call. when I get clientDidStart I make a call to sinchCallClient.callPhoneNumber("+46000000000") (calling the test number provided by sinch) but I never get to the callDidEstablish or any of the error callbacks either (keep waiting for function call to end). I see these log messages:

(audio_device_generic.cc:66): BuiltInAGCIsAvailable: Not supported on this platform (area - webrtc. severity - Warn.)

Use of audio session mode is disabled. (area - audiosession. severity - Trace.)

from the sinch documentation it seems i'm not supposed to manage AVAudioSession, it's taken care of by the SDK.

am i missing something? what do i need to do for the call to be established?

i'll mention also that i'm writing in Swift and i'm pretty new to iOS development.

Answers


turns out I was actually setting the call delegate in the wrong place. thanks anyway!


Need Your Help

Modern practice for client side javascript source structure with CommonJS TypeScript etc

javascript client-side

My javascript foo is okay but I haven't kept up with the latest and greatest (we don't use Node.js in backend).

Is mootools alternative of jquery + backbone / spine / sprouteCore

javascript jquery backbone.js mootools

I was full time java developers, now I also work on JavaScript. couple of years back when I started learning JavaScript, first library I tried was jquery like most of the people. But it made my life