Menu

#82 Parse HTML from Lync conference URL

closed-fixed
None
Protocol/Other
5
2015-06-20
2015-01-31
No

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

  • sub.domain.com
  • domain.com

Related

Bugs: #245
Bugs: #273
Forums: Live Meeting Urls

Discussion

  • Martin Wilck

    Martin Wilck - 2015-02-02

    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

     
    • Stefan Becker

      Stefan Becker - 2015-02-02

      And the correct one would be "fujitsu.com"? Then DNS check wouldn't work for you.

       
  • Martin Wilck

    Martin Wilck - 2015-02-02

    ts.fujitsu.com is correct for me. See bug description of bug #245.

     
    • Stefan Becker

      Stefan Becker - 2015-02-02

      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
  • Martin Wilck

    Martin Wilck - 2015-02-02

    Yes.

     
  • Stefan Becker

    Stefan Becker - 2015-02-02

    @Nelson: your debug log shows https://join.houston.hp.com/meet/. So it would be nice to know the output of

    :::sh
    $ dig +short A join.houston.hp.com
    $ dig +short A houston.hp.com
    $ dig +short A hp.com
    

    and the correct domain for your Lync meetings is hp.com, not houston.hp.com?

     
  • Nelson Chan

    Nelson Chan - 2015-02-02

    $ 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
  • Stefan Becker

    Stefan Becker - 2015-02-02

    Then the suggested approach won't work for you, because houston.hp.com already returns a valid DNS A response.

     
  • Stefan Becker

    Stefan Becker - 2015-02-02

    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?

     
  • Nelson Chan

    Nelson Chan - 2015-02-02

    Attached is the output from my own meeting URL (https://join.houston.hp.com/meet/nchan/Q0435BJP) using curl

     
  • Stefan Becker

    Stefan Becker - 2015-06-20
    • summary: Verify conference URL information with DNS --> Parse HTML from Lync conference URL
    • status: open --> closed-fixed
     
  • Stefan Becker

    Stefan Becker - 2015-06-20

    Implemented by git commit 6f619ca

     
  • Stefan Becker

    Stefan Becker - 2015-06-20
    • assigned_to: Stefan Becker
     

Log in to post a comment.

MongoDB Logo MongoDB