[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-users] how to process iOS VOIP push message correctly
From: |
address@hidden |
Subject: |
[Linphone-users] how to process iOS VOIP push message correctly |
Date: |
Wed, 4 May 2022 23:58:01 +0800 |
Dear all,
I have add some code to receive VOIP push message. When VOIP arrived, there are two incoming call event:
onCallStateChanged(core:call:state:message:) onCallStateChanged call: {length = 8, bytes = 0xc86de00801000000} state: PushIncomingReceived
linphoneCallUpdate call: 0x108e06dc8, state: PushIncomingReceived, targetId: anonymous
call: 0x108e06dc8, targetId: anonymous
onCallStateChanged call: {length = 8, bytes = 0x8848d20801000000} state: IncomingReceived
linphoneCallUpdate call: 0x108d24888, state: IncomingReceived, targetId: 16478126613
call: 0x108d24888, targetId: 16478126613
I don't know how to accept the calls. I tried to accept the latter call, but crashed.
Can anyone give me some example code?
Thanks very much!
gangl@ubesoftware.com