linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] Free linphone.org SIP service not working?


From: Martin Glaser
Subject: Re: [Linphone-users] Free linphone.org SIP service not working?
Date: Wed, 18 Jul 2018 10:42:18 +0200

Hello again,

also in my Asterisk configuration is neither a reference to sip3.linphone.org 
nor to 37.59.51.72.

That here is all:

register => tls://...:address@hidden/...

and 

[sip.linphone.org]
type=peer
host=sip.linphone.org
remotesecret=...
defaultuser=...
context=public

If I check DNS SRV records, I see:

pips:~ martin$ dig -t SRV _sip._udp.sip.linphone.org

; <<>> DiG 9.8.3-P1 <<>> -t SRV _sip._udp.sip.linphone.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45935
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;_sip._udp.sip.linphone.org.    IN      SRV

;; ANSWER SECTION:
_sip._udp.sip.linphone.org. 1353 IN     SRV     10 100 5060 sip1.linphone.org.
_sip._udp.sip.linphone.org. 1353 IN     SRV     0 100 5060 sip3.linphone.org.

;; Query time: 229 msec
;; SERVER: 172.20.10.1#53(172.20.10.1)
;; WHEN: Wed Jul 18 10:10:10 2018
;; MSG SIZE  rcvd: 94

pips:~ martin$ dig -t SRV _sip._tcp.sip.linphone.org

; <<>> DiG 9.8.3-P1 <<>> -t SRV _sip._tcp.sip.linphone.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49828
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;_sip._tcp.sip.linphone.org.    IN      SRV

;; ANSWER SECTION:
_sip._tcp.sip.linphone.org. 650 IN      SRV     0 100 5228 sip3.linphone.org.
_sip._tcp.sip.linphone.org. 650 IN      SRV     10 100 5228 sip1.linphone.org.

;; Query time: 214 msec
;; SERVER: 172.20.10.1#53(172.20.10.1)
;; WHEN: Wed Jul 18 10:10:37 2018
;; MSG SIZE  rcvd: 94

pips:~ martin$ dig -t SRV _sips._tcp.sip.linphone.org

; <<>> DiG 9.8.3-P1 <<>> -t SRV _sips._tcp.sip.linphone.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41583
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;_sips._tcp.sip.linphone.org.   IN      SRV

;; ANSWER SECTION:
_sips._tcp.sip.linphone.org. 2500 IN    SRV     0 100 5223 sip3.linphone.org.
_sips._tcp.sip.linphone.org. 2500 IN    SRV     20 100 443 sip3.linphone.org.
_sips._tcp.sip.linphone.org. 2500 IN    SRV     10 100 5223 sip1.linphone.org.

;; Query time: 138 msec
;; SERVER: 172.20.10.1#53(172.20.10.1)
;; WHEN: Wed Jul 18 10:11:38 2018
;; MSG SIZE  rcvd: 115

pips:~ martin$ dig sip3.linphone.org

; <<>> DiG 9.8.3-P1 <<>> sip3.linphone.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51087
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;sip3.linphone.org.             IN      A

;; ANSWER SECTION:
sip3.linphone.org.      10330   IN      A       37.59.51.72

;; Query time: 247 msec
;; SERVER: 172.20.10.1#53(172.20.10.1)
;; WHEN: Wed Jul 18 10:12:05 2018
;; MSG SIZE  rcvd: 51

Correct me if my way to query is wrong (I have no experience with that). Note 
that I configured my Asterisk to use a TLS connection. I am not sure how to 
query that. Is it correct to prefix the server name by _sips._tcp.?

What I see above are DNS entries refering to sip3.linphone.org which is 
37.59.51.72.

So either Asterisk makes similar queries to the ones above and is directed to 
37.59.51.72 or the redirection happens during registration with 
sip.linphone.org.

Your method to remove 37.59.51.72 from the cluster seems to be wrong to me.

Best Regards 
 
 Martin


>>> While registering from Linphone (iOS) works, I have trouble to register 
>>> from Asterisk: 
>>> 
>>> [Jul 16 21:12:12] ERROR[907] tcptls.c: Unable to connect SIP socket to 
>>> 37.59.51.72:5061: Connection refused
>>> [Jul 16 21:12:32] NOTICE[902] chan_sip.c:    -- Registration for ... timed 
>>> out, trying again (Attempt #2)
>>> 
>>> What's wrong?
>>> 
>> Hi,
>> Machine 37.59.51.72 has been temporary removed from the sip.linphone.org  
>> cluster.
>> If you use DNS SRV request against sip.linphone.org it should be transparent 
>> to you application.
>> Best regards
>> Jehan
>> www.linphone.org
>> 
> 
> There is no reference to sip3.linphone.org
> at all in my asterisk configuration; only sip.linphone.org is given.
> 
> Since you mention SRV records, I checked my resolver, and each of
> _sip._udp., _sip._tcp., and _sips._tcp. give sip.linphone.org (5600. 5600, 
> 5601).
> 




reply via email to

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