J'utilise linphone SDK dans une application iOS. Lorsque l'application passe en mode arrière-plan, l'application peut parfois recevoir un appel entrant ou envoyer un message de notification, parfois non.linphone-iphone en arrière-plan-mod ne peut pas obtenir un appel entrant?
Si l'application était en mode arrière-plan il y a quelques minutes, elle ne peut pas recevoir d'appel entrant.
S'il vous plaît aidez-moi.
J'ai utilisé ipad pour appeler l'iPhone en mode arrière-plan.
ipad de journal:
linphone[2767:1066909] [Message] Garbage collecting unowned object of type LinphoneCallStats
linphone[2767:1066909] [Message] Garbage collecting unowned object of type LinphoneCallStats
linphone[2767:1066909] [Message] Garbage collecting unowned object of type LinphoneCallStats
linphone[2767:1066909] [Message] Garbage collecting unowned object of type LinphoneCallStats
linphone[2767:1066909] [Message] Garbage collecting unowned object of type LinphoneCallStats
linphone[2767:1066909] [Message] Garbage collecting unowned object of type LinphoneCallStats
linphone[2767:1066909] [Message] Garbage collecting unowned object of type LinphoneCallStats
linphone[2767:1066909] [Message] Garbage collecting unowned object of type LinphoneCallStats
Quand je laisse le téléphone au premier plan peut être composé.
linphone[2767:1066909] [Message] Garbage collecting unowned object of type LinphoneCallStats
linphone[2767:1066909] [Message] Garbage collecting unowned object of type LinphoneCallStats
linphone[2767:1066909] [Message] Garbage collecting unowned object of type LinphoneCallStats
linphone[2767:1066909] [Message] Background task belle-sip recv channel started. Unknown remaining time since application is not fully in background.
linphone[2767:1066909] [Message] channel [0x10eb70000]: starting recv background task with id=[94].
linphone[2767:1066909] [Message] channel [0x10eb70000]: received [437] new bytes from [TLS://sip.linphone.org:5223]:
linphone[2767:1066909] [Message] SIP/2.0 180 Ringing
linphone[2767:1066909] [Message] Via: SIP/2.0/TLS 192.168.1.232:58394;received=220.134.182.243;branch=z9hG4bK.5fJXlLPwC;rport=58394
linphone[2767:1066909] [Message] Record-Route: <sips:37.59.51.72:5223;lr>
Bonjour ~ Vous voulez dire que, avant de passer un appel VoIP, mon serveur sip a envoyé une notification à une application de réveil et à un enregistrement VoIP? – Victor
Oui, vous avez raison. –