[jitsi-users] handling tel: URIs for click-to-dial


#1

Many Linux desktop applications have improved support for tel: URIs
these days.

I recently tested[1] Firefox, GNOME Evolution's address book and
Thunderbird with the TBDialOut[2] plugin.

If a suitable .desktop file is present, the tel: URI is correctly passed
to a command or script.

How can Jitsi handle these URIs and convert them to SIP addresses for
dialling?

Can the .deb and .rpm packages include a .desktop file with the MIME
type? e.g.

-MimeType=x-scheme-handler/sip;x-scheme-handler/xmpp;
+MimeType=x-scheme-handler/sip;x-scheme-handler/xmpp;x-scheme-handler/tel;

Regards,

Daniel

1. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746707#73


#2

Many Linux desktop applications have improved support for tel: URIs
these days.

I recently tested[1] Firefox, GNOME Evolution's address book and
Thunderbird with the TBDialOut[2] plugin.

If a suitable .desktop file is present, the tel: URI is correctly passed
to a command or script.

How can Jitsi handle these URIs and convert them to SIP addresses for
dialling?

Can the .deb and .rpm packages include a .desktop file with the MIME
type? e.g.

-MimeType=x-scheme-handler/sip;x-scheme-handler/xmpp;
+MimeType=x-scheme-handler/sip;x-scheme-handler/xmpp;x-scheme-handler/tel
;

Yes, this should work. The SIP protocol in Jitsi Desktop is currently able to handle
- sip
- tel
- callto

I don't have a running Linux at hand, would you mind submitting a pull request on Github?

Regards,
Daniel

Thanks,
Ingo


#3

Which repository has the jitsi.desktop file? I couldn't find it in
jitsi/jitsi

···

On 26/06/17 20:17, Ingo Bauersachs wrote:

Many Linux desktop applications have improved support for tel: URIs
these days.

I recently tested[1] Firefox, GNOME Evolution's address book and
Thunderbird with the TBDialOut[2] plugin.

If a suitable .desktop file is present, the tel: URI is correctly passed
to a command or script.

How can Jitsi handle these URIs and convert them to SIP addresses for
dialling?

Can the .deb and .rpm packages include a .desktop file with the MIME
type? e.g.

-MimeType=x-scheme-handler/sip;x-scheme-handler/xmpp;
+MimeType=x-scheme-handler/sip;x-scheme-handler/xmpp;x-scheme-handler/tel
;

Yes, this should work. The SIP protocol in Jitsi Desktop is currently able to handle
- sip
- tel
- callto

I don't have a running Linux at hand, would you mind submitting a pull request on Github?


#4

Which repository has the jitsi.desktop file? I couldn't find it in
jitsi/jitsi

jitsi/jitsi. It's resources/install/debian/jitsi.desktop.tmpl

Ingo


#5

Thanks, pull request submitted

https://github.com/jitsi/jitsi/pull/369

···

On 26/06/17 21:01, Ingo Bauersachs wrote:

Which repository has the jitsi.desktop file? I couldn't find it in
jitsi/jitsi

jitsi/jitsi. It's resources/install/debian/jitsi.desktop.tmpl