The question if SIPE can be controlled via the libpurple D-Bus interface has been raised in the past, e.g. in [8bb88508]. After studying the libpurple source code I came to the conclusion that it is possible for third-party plugins to extend the libpurple D-Bus interface with own function calls.
A first example for SipeJoinConferenceUri has been pushed as git commit 3cd9e145. Example code how to use the the API from a script has been included.
Forums: 8bb88508
Forums: join meeting from command line or dbus?
Implemented in git commit 5a68e728
List of D-Bus interfaces and some example code can be found in the README file.
This is cool!
Just to contibute back a bit, I wrote this URL Open wrapper script which I put into a file named "open-url" in my $PATH somewhere:
Which I then tell my desktop (i.e. GNOME, Cinnamon, etc.) how to open with this in ~/.local/share/applications/open-url.desktop:
A path may or may not be needed in the Exec line. I have not tested without.
I then put into a file called join_conference that is also in my $PATH:
As you can see, you can link the above to "call_number" to be able to call phone numbers if your SIPE account is configured/allowed to do so.
Just set your desktop's "Preferred Applications" entry for a browser to "Open A URL" and you should now be able to click on Lync meeting/converence URIs and be joined to the conference.
You might also have/want to adjust the open-url script to point at your preferred browser and/or alter the command-line arguments. Personally, I prefer links I click on to open in new windows as you an see.