[Freeswitch-trunk] [freeswitch-contrib] FreeSWITCH user-contributed scripts, etc branch master updated. java-esl-client-0.9.2-387-g594536a

git at svn.freeswitch.org git at svn.freeswitch.org
Wed Feb 2 18:29:39 MSK 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FreeSWITCH user-contributed scripts, etc".

The branch, master has been updated
       via  594536af195a45e9515ff1c40979a3f036934e49 (commit)
       via  3f2c531df509383cd93d9ae4379bfb656a969c7e (commit)
       via  fc1ff4f95853eb0a66db9b3658f596c19f8e66c4 (commit)
      from  4a414482ddc08fe77a42daab560a1bd860235154 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 594536af195a45e9515ff1c40979a3f036934e49
Merge: 4a41448 3f2c531
Author: Jeff Lenk <jeff at jefflenk.com>
Date:   Wed Feb 2 09:29:16 2011 -0600

    Merge branch 'master' of ssh://git.freeswitch.org/freeswitch-contrib


commit 3f2c531df509383cd93d9ae4379bfb656a969c7e
Merge: fc1ff4f 4277bdb
Author: Mitch Capper <mitch.capper at gmail.com>
Date:   Tue Feb 1 22:29:18 2011 -0800

    Merge branch 'master' of ssh://git.freeswitch.org/freeswitch-contrib


commit fc1ff4f95853eb0a66db9b3658f596c19f8e66c4
Author: Mitch Capper <mitch.capper at gmail.com>
Date:   Tue Feb 1 22:28:48 2011 -0800

    Minor text changes to make things clearer

diff --git a/mitchcapper/FSClient/README.txt b/mitchcapper/FSClient/README.txt
index 6863643..68288a3 100644
--- a/mitchcapper/FSClient/README.txt
+++ b/mitchcapper/FSClient/README.txt
@@ -22,7 +22,7 @@ Plugins
 		There are two native headset plugins provided for Jabra and Plantronics headsets.  If you do not have one of these you can still leave the plugin in the directory it will not harm anything.  If you do have one of these headsets you will then be able to select the headset in the options.  This will automatically open/close the audio link, support muting and buttons, caller id, etc in the headset.  You may need the runtime/sdk for the headset installed for it to work.
 
 	Contact Plugins
-		There is one contact plugin provided by default, SimpleXML.  This plugin allows you to attach a name/alias to a phone number so future calls show this information for the number.  Right click and click edit on a call to edit the name/alias.  The plugin stores all the names in an xml file in the AppData\Local folder for the app.  Note you cannot have more than one contact plugin in the plugins folder or else only the first will be used.  There are two ways to write a contact plugin, you can inherit from the SimpleContactPluginBase or IContactPlugin classes.  SimpleContactPluginBase is just a base class that inherits from IContactPlugin to make things a bit easier.  It uses basically the same interface as SimpleXML but you could replace SimpleXML with something to tie it to outlook, a ldap address book etc.
+		There is one contact plugin provided by default, SimpleXML.  This plugin allows you to attach a name/alias to a phone number so future calls show this information for the number.  Right click and click edit on a call to edit the name/alias. Control +F or click in the contact search box on the bottom right, search by name right click for options.  The plugin stores all the names in an xml file in the AppData\Local folder for the app.  Note you cannot have more than one contact plugin in the plugins folder or else only the first will be used.  There are two ways to write a contact plugin, you can inherit from the SimpleContactPluginBase or IContactPlugin classes.  SimpleContactPluginBase is just a base class that inherits from IContactPlugin to make things a bit easier.  It uses basically the same interface as SimpleXML but you could replace SimpleXML with something to tie it to outlook, a ldap address book etc.
 	
 	Plugin Development
 		FSClient was made to make it easy to extend through plugins.  The two plugin types supported are noted above.  Writing a plugin is exceptionally easy, you simply inherit the base interface fill in a few functions and are good to go.  Use the above for examples.  As for how easy, well the SimpleXML Contact Plugin was written in under an hour and under 100 lines of code.  Writing plugins is easiest in a .net language (although you can write them in any language).  FSClient will try to load any plugins in the plugin dir.  
diff --git a/mitchcapper/FSClient/Sofia.cs b/mitchcapper/FSClient/Sofia.cs
index 15fd750..f33d963 100644
--- a/mitchcapper/FSClient/Sofia.cs
+++ b/mitchcapper/FSClient/Sofia.cs
@@ -126,7 +126,7 @@ namespace FSClient {
 			master_profile_ok = true;
 			String res = Utils.api_exec("sofia", "status profile softphone");
 			if (res.Trim() == "Invalid Profile!") {
-				MessageBox.Show("Warning the master sofia profile was not able to load and the phone will most likely _not_ work, make sure the local bind port (" + FieldValue.GetByName(values, "sip-port").value + ") is free(set under the Advanced tab of in the sofia settings), otherwise check the freeswitch.log for more details.  You can try reloading the sofia profile by editing the sofia settings and clicking save.");
+				MessageBox.Show("Warning the master sofia profile was not able to load and the phone will most likely _not_ work, make sure the local bind port (" + FieldValue.GetByName(values, "sip-port").value + ") is free(set under the Advanced tab of in the sofia settings) and FSClient is allowed through your firewall, otherwise check the freeswitch.log for more details.  You can try reloading the sofia profile by editing the sofia settings and clicking save to see if fixed.");
 				master_profile_ok = false;
 			}
 
diff --git a/mitchcapper/FSClient/TODO.txt b/mitchcapper/FSClient/TODO.txt
index 7e3f1fb..4e65bb3 100644
--- a/mitchcapper/FSClient/TODO.txt
+++ b/mitchcapper/FSClient/TODO.txt
@@ -1,4 +1,2 @@
-Better address book integration.   Right now the integration is pretty lame to say the least, you cannot lookup contacts or do much in the way of editing them. I think a nice interm solution would be a control + f support to find a contact to atleast make outgoing calls.  Right now contact plugins can add right click menus but maybe making a more central way for them to add right click options so they don't have to do so much work would be better.
-Volume control / gain.   Right now you can use the system volume to adjust things but it would be nice to have this built into the GUI and also have a gain option.  Gain would require changes to portaudio to support it most likely (although should be decently simple) or using set_audio_level.  -- Partially implemented now with the ability to set audio levels on a call by right clicking on it.
 Plugin control, ability to enable or disable plugins from the options menu.
 Figure out a way to sort codecs, a draggable combo box may work well.
\ No newline at end of file

-----------------------------------------------------------------------

Summary of changes:
 mitchcapper/FSClient/README.txt |    2 +-
 mitchcapper/FSClient/Sofia.cs   |    2 +-
 mitchcapper/FSClient/TODO.txt   |    2 --
 3 files changed, 2 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FreeSWITCH user-contributed scripts, etc



More information about the Freeswitch-trunk mailing list