2017-09-06 9 views
0

iOS 앱에서 linphone SDK를 사용합니다.background-mod의 linphone-iphone은 걸려 오는 전화를받을 수 없습니까?

앱이 백그라운드 모드로 전환되면 앱에 수신 전화 나 푸시 알림 메시지가 수신 될 수 있습니다.

또는 몇 분 전에 앱이 백그라운드 모드에 있던 경우 수신 전화를받을 수 없습니다.

도와주세요.

저는 ipad를 사용하여 백그라운드 모드의 iPhone에서 ipad를 호출했습니다.

아이 패드의 로그 :

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 

나는 전경 전화가 전화를 걸 수 있도록합니다.

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> 

답변

0

백그라운드 모드의 iOS APP가 일시 중지되었을 수 있습니다. APP에 VoIP 호출을하기 전에 PushKit을 사용하여 APP에 알림을 보낼 수 있습니다. 방문해 볼 수있는 PushKit 정보 https://developer.apple.com/documentation/pushkit 행운을 비네!

+0

안녕하세요 ~ 내가 VoIP 전화를 걸기 전에 내 SIP 서버가 앱에 깨우기 앱에 알림을 보내고 VoIP 등록을 한 것입니다. – Victor

+0

네, 맞습니다. –