Followup of [bugs:#245] & [bugs:#273]
After extracting the host name from the conference URL, strip the first domain part and send out a DNS A request to verify it. On failure again strip the first part of domain and retry. Stop when there is only one domain part left and report error back to user.
Example: https://server.sub.domain.com/meet/first.last/HBG846J5 try
FYI, this is how it behaves here:
dig +short A lync.ts.fujitsu.com
172.24.39.21
dig +short A ts.fujitsu.com
80.70.173.132
dig +short A fujitsu.com
192.240.0.104
63.96.196.212
And the correct one would be "fujitsu.com"? Then DNS check wouldn't work for you.
ts.fujitsu.com is correct for me. See bug description of bug #245.
So the current code that takes
https://lync.ts.fujitsu.com/xxxx
and derives "ts.fujitsu.com" should work for you.
Last edit: Stefan Becker 2015-02-02
Yes.
@Nelson: your debug log shows
https://join.houston.hp.com/meet/. So it would be nice to know the output ofand the correct domain for your Lync meetings is
hp.com, nothouston.hp.com?$ dig +short A join.houston.hp.com
15.201.58.62
$ dig +short A houston.hp.com
16.210.7.49
16.216.216.193
16.234.95.253
$ dig +short A hp.com
15.216.241.18
15.217.232.245
15.240.60.238
15.192.124.145
15.193.176.227
15.201.225.10
And yes, I need to use "hp.com" to connect to the lync meetings
Last edit: Nelson Chan 2015-02-02
Then the suggested approach won't work for you, because houston.hp.com already returns a valid DNS A response.
The only other solution I can think of would be to get the contents of that URL and extract the
sip:URI of the conference from that. Can somebody use e.g. curl with one meeting URL and attach the HTML contents here?Attached is the output from my own meeting URL (https://join.houston.hp.com/meet/nchan/Q0435BJP) using curl
Implemented by git commit 6f619ca