linphone-iphone
linphone-iphone copied to clipboard
SIP MESSAGE with Content-Type: message/imdn+xml SLOW DOWN the wake up(or ring) process
When calling [email protected] from [email protected], too many of these sip MESSAGE block(or slow down) the client waking up to get the INVITE signal, in another word, we might wait a long time until the callee getting iphone-iphone ringing indication; even the client might being killed by iOS due to tones of sip MESSAGE to handle.
Can we only send one( or the last) Content-Type: message/imdn+xml message at the beginning? If supported by the server, then the rest, rather than loop all messages?
Part of logs from server side during linphone-iphone wake up: <--- Received SIP request (999 bytes) from UDP:11.22.33.44:35495 ---> [350/1864] MESSAGE sip:[email protected] SIP/2.0 Via: SIP/2.0/UDP 10.66.224.77:63957;branch=z9hG4bK.amJpuPQ-I;rport From: sip:[email protected];tag=rg-9-ABuL To: sip:[email protected] CSeq: 20 MESSAGE Call-ID: j9JJ9QslnA Max-Forwards: 70 Supported: replaces, outbound, gruu Date: Fri, 24 Sep 2021 13:46:53 GMT Content-Encoding: deflate Content-Type: message/imdn+xml Content-Length: 200 Priority: non-urgent User-Agent: LinphoneiOS/4.5.0 (My iPhone) LinphoneSDK/5.0.0 Proxy-Authorization: Digest realm="sip.linphone.org", nonce="S1X45AAAAAAYMPoMAADjdHyvMMkAAAAA", algorithm=MD5, opaque="+GNywA==", username="liuyang66 15", uri="sip:[email protected]", response="81a38589d1cee17f07a2cda6278fba5b", cnonce="MihGL1Tf--nM~8tD", nc=00000010, qop=auth
xun Dq0 KoԻDHR_rhKoI3oGͅ> !2]v9 Ym npT8;w U 2>:vTݣ�xE!N֨Y5CE+^S l=zG P`/qv}{-߂J)?V1 ^B$+^ <--- Transmitting SIP response (323 bytes) to UDP:11.22.33.44:35495 ---> SIP/2.0 415 Unsupported Media Type Via: SIP/2.0/UDP 10.66.224.77:63957;rport=35495;received=11.22.33.44;branch=z9hG4bK.BVNVWy2LZ Call-ID: Tsx1TM3VQq From: sip:[email protected];tag=DbEnrVMnP To: sip:[email protected];tag=z9hG4bK.BVNVWy2LZ CSeq: 20 MESSAGE Server: sip Content-Length: 0