Hi,
Best regards
On Wed, 18 Jul 2018, Martin Glaser wrote: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
[snip]Well, that is interesting. In my queries, I left out the sip. host,as in *.linphone.org; your queries include sip. as in *.sip.linphone.org.Both SRV type queries received answers, and the answers are different.In queries like _sip._udp.linphone.org, only 1 answer is given, andit includes sip.linphone.org.I wonder why these two queries should both receive answers, especiallyanswers that differ. A good reason, or error?I don't know if asterisk[*] is actually doing SRV queries in the formyou used, but if so I would expect it to try sip1 if sip3 isunreachable.I suppose I'll keep sip3.linphone.org in my /etc/hosts as a workarounduntil linphone folks sort it out.[*] meaning asterisk chan_sip module.-Ed Hynanp.s.% for H in {_sips._tcp,_sip.{_tcp,_udp}}{.sip,}.linphone.org; do echo ==$H==; dig $H SRV; done==_sips._tcp.sip.linphone.org==; <<>> DiG 9.10.4-P8 <<>> _sips._tcp.sip.linphone.org SRV;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45246;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1;; OPT PSEUDOSECTION:; EDNS: version: 0, flags:; udp: 4096;; QUESTION SECTION:;_sips._tcp.sip.linphone.org. IN SRV;; ANSWER SECTION:_sips._tcp.sip.linphone.org. 1614 IN SRV 0 100 5223 sip3.linphone.org._sips._tcp.sip.linphone.org. 1614 IN SRV 10 100 5223 sip1.linphone.org._sips._tcp.sip.linphone.org. 1614 IN SRV 20 100 443 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==; <<>> DiG 9.10.4-P8 <<>> _sips._tcp.linphone.org SRV;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29168;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1;; OPT PSEUDOSECTION:; EDNS: version: 0, flags:; udp: 4096;; QUESTION SECTION:;_sips._tcp.linphone.org. IN SRV;; ANSWER SECTION:_sips._tcp.linphone.org. 9164 IN SRV 0 0 5061 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==; <<>> DiG 9.10.4-P8 <<>> _sip._tcp.sip.linphone.org SRV;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13653;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1;; OPT PSEUDOSECTION:; EDNS: version: 0, flags:; udp: 4096;; QUESTION SECTION:;_sip._tcp.sip.linphone.org. IN SRV;; ANSWER SECTION:_sip._tcp.sip.linphone.org. 2299 IN SRV 10 100 5228 sip1.linphone.org._sip._tcp.sip.linphone.org. 2299 IN SRV 0 100 5228 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==; <<>> DiG 9.10.4-P8 <<>> _sip._tcp.linphone.org SRV;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17347;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1;; OPT PSEUDOSECTION:; EDNS: version: 0, flags:; udp: 4096;; QUESTION SECTION:;_sip._tcp.linphone.org. IN SRV;; ANSWER SECTION:_sip._tcp.linphone.org. 9199 IN SRV 0 0 5060 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==; <<>> DiG 9.10.4-P8 <<>> _sip._udp.sip.linphone.org SRV;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45686;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1;; OPT PSEUDOSECTION:; EDNS: version: 0, flags:; udp: 4096;; QUESTION SECTION:;_sip._udp.sip.linphone.org. IN SRV;; ANSWER SECTION:_sip._udp.sip.linphone.org. 1825 IN SRV 0 100 5060 sip3.linphone.org._sip._udp.sip.linphone.org. 1825 IN SRV 10 100 5060 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==; <<>> DiG 9.10.4-P8 <<>> _sip._udp.linphone.org SRV;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11539;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1;; OPT PSEUDOSECTION:; EDNS: version: 0, flags:; udp: 4096;; QUESTION SECTION:;_sip._udp.linphone.org. IN SRV;; ANSWER SECTION:_sip._udp.linphone.org. 9218 IN SRV 0 0 5060 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 listaddress@hiddenhttps://lists.nongnu.org/mailman/listinfo/linphone-users
|