BelledonneCommunications / linphone-iphone

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of linphone-iphone (git://git.linphone.org/linphone-iphone.git)
http://linphone.org
GNU General Public License v3.0
585 stars 349 forks source link

intermittent outbound call failure (rejection?) from call URI #831

Open t0johnso opened 2 years ago

t0johnso commented 2 years ago

The current app store version of linphone. Outbound calls from URI fail intermittently. Steps to reproduce

  1. install from app store
  2. call linphone with full sip://[number]@[ipaddress] URI from safari or other app
  3. end call
  4. swap back to app and repeat

Intermittently, linphone just stops at dialpad, but doesnt seem to initate call. Error message from device logs below.

Seems random, regardless of:

default callservicesd 17:48:44.021384-0600 Validating intent for call source: <private> callSourceHasReasonableUserIntent: <private> isUserIntentConfident: <private> (<private>) default callservicesd 17:48:44.021449-0600 [WARN] Not allowing requested CXStartCallAction because user intent could not be validated for call source with identifier: <private> error callservicesd 17:48:44.021509-0600 SimulateCrash() on another process is not supported ...

default callservicesd 17:48:44.024409-0600 [WARN] Not allowing requested transaction: <private> default linphone 17:48:44.025057-0600 Received reply from transaction request with error: Error Domain=com.apple.CallKit.error.requesttransaction Code=6 default locationd 17:48:44.031704-0600 Received state update for 2523 Tried to lookup error message but can't find decent explanation. Seems like framework is randomly rejecting the call request. I don't understand what is not validated, or why it would intermitently reject with same number@ip, same method, same settings back to back with a successful one.

t0johnso commented 2 years ago

Could it be that the audio engine is not always available when the call starts like this issue:? https://stackoverflow.com/questions/60346953/callkit-cxcallcontroller-request-error-com-apple-callkit-error-requesttransactio