Hi Guillermo, We modified an existing extension for Firefox: Telify.
Here is how it works: Telify highlights the phone numbers on a web page, and provide a contextual link (on right-click on the number) to make a call through Firefox handlers callto: (or tel:, or sip:). We just modified Firefox configuration to use our script as an action by default.
The script is in the git repository: tools/sflphone-callto. When the script is executed, a D-Bus method is sent to sflphone core to create a new call. When the core receives the method, it instanciates a new call with the first registered account and notifies the client that a new call has been created. That's how the call appears on the GTK GUI. This is the D-Bus method we are using: http://sflphone.org/doc/dbus/org.sflphone.SFLphone.CallManager.html#org.sflphone.SFLphone.CallManager.placeCallFirstAccount
To configure actions in Firefox: Edit > Preferences > Applications. Then attach the script to the handler you would like to use. Don't forget to set the same handler in Telify configuration (Tools > Telify > Preferences).
If you are developing from scratch a new plugin for Firefox, we are very interested because Telify has some restrictions on the licence we would be happy to get rid of.
If you have any other questions, we would be happy to help you. Emmanuel. On 10-08-02 10:07 AM, Pierre-Luc Bacon wrote:
----- Forwarded Message ----- From: "Guillermo Colmenero"<[email protected]> To: "Pierre-Luc Bacon"<[email protected]> Cc: [email protected] Sent: Friday, July 30, 2010 4:48:56 PM GMT -05:00 US/Canada Eastern Subject: Re: [SFLphone] [Technical] Calls from command line Hello, thanks for your answer. I downloaded the plungin and the source from the git repo. I buil the repo, but i did not understand how to configure the plugin. Can you send me more info about it. Regards, Guillermo 2010/7/30 Pierre-Luc Bacon< [email protected]> Hi Guillermo, We've been working on that feature recently. You can take a look at it by pulling the source from the git repository ( http://sflphone.org/download/source-code ). It works with https://addons.mozilla.org/en-US/firefox/addon/10654/ in Firefox. If you want to develop a new plugin, that would be also great ! What you were attempting with sflphone-client-gnome is not possible however, the way you thought it would work. SFLPhone is based on a client/server model, where the server (sflphoned) is independent from the UIs/controllers (say, sflphone-client-gnome for example), and this separation is achieved through DBus. So if you want to place calls, and do all sorts of actions, that is entirely possible simply by using our DBus API. ----- Original Message ----- From: [email protected] To: [email protected] Sent: Thursday, July 29, 2010 4:57:22 PM GMT -05:00 US/Canada Eastern Subject: [SFLphone] [Technical] Calls from command line Guillermo Colmenero sent a message using the contact form at http://www.sflphone.org/contact . Hi, i wolud like to know if there is any possibility to dail using the command line. We are trying to asociate firefox to SFLPhone: gconftool-2 -s /desktop/gnome/url-handlers/sip/command '/path/to/app %s' --type String gconftool-2 -s /desktop/gnome/url-handlers/sip/enabled --type Boolean true The %s the parameter that SFLPhone must take as the number to dail. Is that possible? Sorry for the bad english. Regards, Guillermo Colmenero _______________________________________________ SFLphone mailing list [email protected] http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
<<attachment: emmanuel_milou.vcf>>
_______________________________________________ SFLphone mailing list [email protected] http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
