linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Bug report iOS CallKit


From: Nick Briggs
Subject: Re: [Linphone-developers] Bug report iOS CallKit
Date: Sun, 21 Jul 2024 15:33:39 -0700

From a discussion of SIP headers:

=====
Call-ID:

The Call-ID SIP Header creates a globally unique identifier for the call. To ensure that each Call-ID identifier is globally unique, a random number is generated (which often looks like this: f_169eac17a017b0a4e0adfa8_I), and the sender’s IP address is appended to this number. This guarantees that the Call-ID number will be globally unique, since no two devices will have the same IP address.

Format
Call-ID: (generated number)@(ip\_address) 
=====

The error message you're getting suggests that the device you're making the call from is reusing the SAME Call-Id value.  It must not do that.  The "generated number" in the above is NOT the telephone number.


On Jul 19, 2024, at 1:30 AM, Mirco Moretti <mmoretti@iplabs.it> wrote:

To whom it may concern,


I've a strange bug, I updated my Linphone-based iOS application from the release 4.x to the last 5.2 release, with SDK 5.3.57 (iOS 17.5.1).


The problem is:

- I do a first call to my iOS app

- the app woke up, show a "fake" call, then the CallKit updates and shows the real call, and I can answer correctly.

- I do a second call (or more than one) from the same caller to the same device

- The CallKit with no caller appears just for few seconds, then it disappear and the call is lost (still ringing from the caller)


I look into the logs (attached), and I found:

2024-07-19 09:39:48:223 [linphone/liblinphone] ERROR [pushkit] terminating call prematuraly because a call with call-id [206] was found in the past.
2024-07-19 09:39:48:223 [linphone/liblinphone] ERROR [pushkit] the past call with same call-id was: Incoming call with call-id: 206 at Thu Jul 18 10:08:33 2024

206 is the caller number, what does it means this error?

I understand that after the first call from that number, next calls with the same number are terminated, but I don't understand why, what is the necessity?

How to solve this?


I look forward to hearing from you,

Many Thanks!

_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]