sip3.linphone.org is back.
Post by Ed HynanPost by Martin GlaserHello again,
also in my Asterisk configuration is neither a reference to sip3.linphone.org nor to 37.59.51.72.
and
[sip.linphone.org]
type=peer
host=sip.linphone.org
remotesecret=...
defaultuser=...
context=public
pips:~ martin$ dig -t SRV _sip._udp.sip.linphone.org
[snip]
Well, that is interesting. In my queries, I left out the sip. host,
as in *.linphone.org <http://linphone.org/>; your queries include sip. as in *.sip.linphone.org <http://sip.linphone.org/>.
Both SRV type queries received answers, and the answers are different.
In queries like _sip._udp.linphone.org <http://udp.linphone.org/>, only 1 answer is given, and
it includes sip.linphone.org <http://sip.linphone.org/>.
I wonder why these two queries should both receive answers, especially
answers that differ. A good reason, or error?
I don't know if asterisk[*] is actually doing SRV queries in the form
you used, but if so I would expect it to try sip1 if sip3 is
unreachable.
I suppose I'll keep sip3.linphone.org <http://sip3.linphone.org/> in my /etc/hosts as a workaround
until linphone folks sort it out.
[*] meaning asterisk chan_sip module.
-Ed Hynan
p.s.
% for H in {_sips._tcp,_sip.{_tcp,_udp}}{.sip,}.linphone.org <http://linphone.org/>; do echo ==$H==; dig $H SRV; done
==_sips._tcp.sip.linphone.org <http://tcp.sip.linphone.org/>==
; <<>> DiG 9.10.4-P8 <<>> _sips._tcp.sip.linphone.org <http://tcp.sip.linphone.org/> SRV
;; global options: +cmd
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45246
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
; EDNS: version: 0, flags:; udp: 4096
;_sips._tcp.sip.linphone.org <http://tcp.sip.linphone.org/>. IN SRV
_sips._tcp.sip.linphone.org <http://tcp.sip.linphone.org/>. 1614 IN SRV 0 100 5223 sip3.linphone.org <http://sip3.linphone.org/>.
_sips._tcp.sip.linphone.org <http://tcp.sip.linphone.org/>. 1614 IN SRV 10 100 5223 sip1.linphone.org <http://sip1.linphone.org/>.
_sips._tcp.sip.linphone.org <http://tcp.sip.linphone.org/>. 1614 IN SRV 20 100 443 sip3.linphone.org <http://sip3.linphone.org/>.
;; Query time: 1 msec
;; SERVER: 192.168.1.221#53(192.168.1.221)
;; WHEN: Wed Jul 18 10:35:44 EDT 2018
;; MSG SIZE rcvd: 167
==_sips._tcp.linphone.org <http://tcp.linphone.org/>==
; <<>> DiG 9.10.4-P8 <<>> _sips._tcp.linphone.org <http://tcp.linphone.org/> SRV
;; global options: +cmd
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29168
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
; EDNS: version: 0, flags:; udp: 4096
;_sips._tcp.linphone.org <http://tcp.linphone.org/>. IN SRV
_sips._tcp.linphone.org <http://tcp.linphone.org/>. 9164 IN SRV 0 0 5061 sip.linphone.org <http://sip.linphone.org/>.
;; Query time: 1 msec
;; SERVER: 192.168.1.221#53(192.168.1.221)
;; WHEN: Wed Jul 18 10:35:44 EDT 2018
;; MSG SIZE rcvd: 88
==_sip._tcp.sip.linphone.org <http://tcp.sip.linphone.org/>==
; <<>> DiG 9.10.4-P8 <<>> _sip._tcp.sip.linphone.org <http://tcp.sip.linphone.org/> SRV
;; global options: +cmd
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13653
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
; EDNS: version: 0, flags:; udp: 4096
;_sip._tcp.sip.linphone.org <http://tcp.sip.linphone.org/>. IN SRV
_sip._tcp.sip.linphone.org <http://tcp.sip.linphone.org/>. 2299 IN SRV 10 100 5228 sip1.linphone.org <http://sip1.linphone.org/>.
_sip._tcp.sip.linphone.org <http://tcp.sip.linphone.org/>. 2299 IN SRV 0 100 5228 sip3.linphone.org <http://sip3.linphone.org/>.
;; Query time: 1 msec
;; SERVER: 192.168.1.221#53(192.168.1.221)
;; WHEN: Wed Jul 18 10:35:44 EDT 2018
;; MSG SIZE rcvd: 129
==_sip._tcp.linphone.org <http://tcp.linphone.org/>==
; <<>> DiG 9.10.4-P8 <<>> _sip._tcp.linphone.org <http://tcp.linphone.org/> SRV
;; global options: +cmd
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17347
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
; EDNS: version: 0, flags:; udp: 4096
;_sip._tcp.linphone.org <http://tcp.linphone.org/>. IN SRV
_sip._tcp.linphone.org <http://tcp.linphone.org/>. 9199 IN SRV 0 0 5060 sip.linphone.org <http://sip.linphone.org/>.
;; Query time: 1 msec
;; SERVER: 192.168.1.221#53(192.168.1.221)
;; WHEN: Wed Jul 18 10:35:44 EDT 2018
;; MSG SIZE rcvd: 87
==_sip._udp.sip.linphone.org <http://udp.sip.linphone.org/>==
; <<>> DiG 9.10.4-P8 <<>> _sip._udp.sip.linphone.org <http://udp.sip.linphone.org/> SRV
;; global options: +cmd
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45686
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
; EDNS: version: 0, flags:; udp: 4096
;_sip._udp.sip.linphone.org <http://udp.sip.linphone.org/>. IN SRV
_sip._udp.sip.linphone.org <http://udp.sip.linphone.org/>. 1825 IN SRV 0 100 5060 sip3.linphone.org <http://sip3.linphone.org/>.
_sip._udp.sip.linphone.org <http://udp.sip.linphone.org/>. 1825 IN SRV 10 100 5060 sip1.linphone.org <http://sip1.linphone.org/>.
;; Query time: 1 msec
;; SERVER: 192.168.1.221#53(192.168.1.221)
;; WHEN: Wed Jul 18 10:35:44 EDT 2018
;; MSG SIZE rcvd: 129
==_sip._udp.linphone.org <http://udp.linphone.org/>==
; <<>> DiG 9.10.4-P8 <<>> _sip._udp.linphone.org <http://udp.linphone.org/> SRV
;; global options: +cmd
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11539
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
; EDNS: version: 0, flags:; udp: 4096
;_sip._udp.linphone.org <http://udp.linphone.org/>. IN SRV
_sip._udp.linphone.org <http://udp.linphone.org/>. 9218 IN SRV 0 0 5060 sip.linphone.org <http://sip.linphone.org/>.
;; Query time: 1 msec
;; SERVER: 192.168.1.221#53(192.168.1.221)
;; WHEN: Wed Jul 18 10:35:44 EDT 2018
;; MSG SIZE rcvd: 87
_______________________________________________
Linphone-users mailing list
https://lists.nongnu.org/mailman/listinfo/linphone-users <https://lists.nongnu.org/mailman/listinfo/linphone-users>