linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] contact field in the SIP headers


From: Павел Н .
Subject: [Linphone-developers] contact field in the SIP headers
Date: Thu, 22 Jun 2023 18:24:56 +0300

Hello.
 
I am trying to use Linphone on my Android 13 (Redmi Note 10S) and I faced with following.
 
When I make a call everything is perfect. Contact field from Linphone is

Contact: "dobr_2102" <sip:2102@213.87.132.246:41788;transport=tls>;+sip.instance="<urn:uuid:7c6f56ee-8052-003a-8720-e284a2ac3159>";expires=3600;+org.linphone.specs="ephemeral/1.1,groupchat/1.2,lime"

 
When I receive the external call and answer, the call is closing unexpected after 15 secs.
I investigate the traces and I found the following two anomalies:
  1. Linphone does not use Contact field in the 180 Ringing messages. I do not know is it normal or not.
​​​​​​​​​​​​​​

16:26:15.399 ---- Incoming SIP Message from 213.87.132.246:41788 to SIPInterface #3 (sipInterface3) TLS TO(#1734) SocketID(4387) ---- [Time:22-06@16:26:15.399]

 

SIP/2.0 180 Ringing

Via: SIP/2.0/TLS 83.220.52.222:5061;alias;branch=z9hG4bKac2116095764

From: "NOVIKOV Pavel" <sip:338@83.220.52.222;user=phone>;tag=1c2108534417

To: <sip:2102@213.87.132.246;user=phone>;tag=roNdlKT

Call-ID: 9368982262023162614@83.220.52.222

CSeq: 1 INVITE

User-Agent: LinphoneAndroid/5.0.14 (M2101K7BNY) LinphoneSDK/5.2.77 (tags/5.2.77^0)

Supported: replaces, outbound, gruu, path, record-aware

Content-Length: 0

 
 
  1. Linphone sent the Contact field without my number@, as 
Contact: <sip:213.87.132.246:41788;transport=tls>;+org.linphone.specs="ephemeral/1.1,groupchat/1.2,lime"
 
in the next 200 Ok message.

16:26:16.894 ---- Incoming SIP Message from 213.87.132.246:41788 to SIPInterface #3 (sipInterface3) TLS TO(#1734) SocketID(4387) ---- [Time:22-06@16:26:16.894]

 

SIP/2.0 200 Ok

Via: SIP/2.0/TLS 83.220.52.222:5061;alias;branch=z9hG4bKac2116095764

From: "NOVIKOV Pavel" <sip:338@83.220.52.222;user=phone>;tag=1c2108534417

To: <sip:2102@213.87.132.246;user=phone>;tag=roNdlKT

Call-ID: 9368982262023162614@83.220.52.222

CSeq: 1 INVITE

User-Agent: LinphoneAndroid/5.0.14 (M2101K7BNY) LinphoneSDK/5.2.77 (tags/5.2.77^0)

Supported: replaces, outbound, gruu, path, record-aware

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, PRACK, UPDATE

Contact: <sip:213.87.132.246:41788;transport=tls>;+org.linphone.specs="ephemeral/1.1,groupchat/1.2,lime"

Content-Type: application/sdp

Content-Length: 163

v=0

o=2102 3414 2352 IN IP4 10.126.15.146

s=Talk

c=IN IP4 10.126.15.146

t=0 0

m=audio 60897 RTP/AVP 8 0 101

a=rtpmap:101 telephone-event/8000

a=rtcp:60315

 

Contact: <sip:213.87.132.246:41788;transport=tls>
IP address only, there is no my number 2102@. 
Must be <sip:2102@10.7.10.91:5061;transport=tls>.
 
Its are two anomaly I found and It seems it is the reason why SIP signal become broken and call have been closed by PBX according the timer.
 
When I try that scenario with PhoneLite on my PC then everything is perfect without any problem,
and contact field is present in the 180 Ringing message,
and the Contact field is according RFC:

Contact: <sip:2102@10.7.10.91:5061;transport=tls>

 
Why Linphone does not send number@ in the Contact and does not send contact in the Ringing?
Is it possible to repair?
 
Linphone on my Android was updated yesterday, and yesterday I found the issue.
I do not know how it worked before, because all my test calls were short before.
 
Absolutely the same situation with Linphone on the Android of my colleague (but I do not know details about the versions in the moment).  
 
Thank you.
--
Pavel
Отправлено из Почты Mail.ru

reply via email to

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