I tried to do the same with a shorter 'sip:first.last@company.com' URL but it fails.
I opened the SIPE scripts located in /usr/local/contrib/dbus and I found two calls to SIPE plugin
For conference
$purple->SipeJoinConferenceWithUri($accountId, $uri);
For voice call
$purple->SipeCallPhoneNumber($accountId, $number);
But nothing for to join/initiate a simple chat
Is there a solution with SIPE plugin ? I searched the doc without success, I didn't find the name of SIPE functions I may call by scripts, like the two above one
I built a workaround with a dirty patch in /usr/bin/purple-url-handler , replacing prpl-simple by prpl-sipe in protocol search script source.
This workaround works without the full chat features, no presence management by example.
So I guess it should be done through proper call to SIPE plugin, but how?
Thks.
Bru
Last edit: Bru Four 2020-02-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The functionality you are looking for isn't SIPE specific. Hence you need to look up the correct libpurple DBus interface and call that in your script.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi.
I would like to connect by commandline to a simple sip chat without conference.
For conference I found the script sipe-join-conference-with-uri.pl
It works well for sip full conference.
The command line is
I tried to do the same with a shorter 'sip:first.last@company.com' URL but it fails.
I opened the SIPE scripts located in /usr/local/contrib/dbus and I found two calls to SIPE plugin
For conference
$purple->SipeJoinConferenceWithUri($accountId, $uri);
For voice call
$purple->SipeCallPhoneNumber($accountId, $number);
But nothing for to join/initiate a simple chat
Is there a solution with SIPE plugin ? I searched the doc without success, I didn't find the name of SIPE functions I may call by scripts, like the two above one
I built a workaround with a dirty patch in /usr/bin/purple-url-handler , replacing prpl-simple by prpl-sipe in protocol search script source.
This workaround works without the full chat features, no presence management by example.
So I guess it should be done through proper call to SIPE plugin, but how?
Thks.
Bru
Last edit: Bru Four 2020-02-10
The functionality you are looking for isn't SIPE specific. Hence you need to look up the correct libpurple DBus interface and call that in your script.