]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
16 years agoadd events for bug start and stop
Anthony Minessale [Tue, 2 Mar 2010 01:11:15 +0000 (01:11 +0000)] 
add events for bug start and stop

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16858 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoadd bridged method
Anthony Minessale [Tue, 2 Mar 2010 01:08:31 +0000 (01:08 +0000)] 
add bridged method

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16857 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agodefault to a leg number on originate to bridge
Michael Jerris [Tue, 2 Mar 2010 00:41:39 +0000 (00:41 +0000)] 
default to a leg number on originate to bridge

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16856 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agocleanup caller id handling on originate to bridge
Michael Jerris [Tue, 2 Mar 2010 00:15:52 +0000 (00:15 +0000)] 
cleanup caller id handling on originate to bridge

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1047 a93c3328-9c30-0410-af19-c9cd2b2d52af

16 years agotry to prevent core dump- still don't completely understand the cause
Christopher Rienzo [Tue, 2 Mar 2010 00:01:52 +0000 (00:01 +0000)] 
try to prevent core dump- still don't completely understand the cause

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16855 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agocleanup caller id handling on originate to bridge
Michael Jerris [Mon, 1 Mar 2010 23:23:51 +0000 (23:23 +0000)] 
cleanup caller id handling on originate to bridge

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1046 a93c3328-9c30-0410-af19-c9cd2b2d52af

16 years agohandle SIGBOOST_EVENT_CALL_RELEASED
Moises Silva [Mon, 1 Mar 2010 20:50:40 +0000 (20:50 +0000)] 
handle SIGBOOST_EVENT_CALL_RELEASED

git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1045 a93c3328-9c30-0410-af19-c9cd2b2d52af

16 years agoadd bridged method to scripting langs
Anthony Minessale [Mon, 1 Mar 2010 20:04:12 +0000 (20:04 +0000)] 
add bridged method to scripting langs

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16854 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agocommit testsangomaboost.2008 vc project
Moises Silva [Mon, 1 Mar 2010 19:52:01 +0000 (19:52 +0000)] 
commit testsangomaboost.2008 vc project

git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1044 a93c3328-9c30-0410-af19-c9cd2b2d52af

16 years agocompromising on timing code, remove -vm and make it default, make new -heavy-timing...
Anthony Minessale [Mon, 1 Mar 2010 19:25:27 +0000 (19:25 +0000)] 
compromising on timing code, remove -vm and make it default, make new -heavy-timing for previous default, change tipping-point to work of count of active timers rather than sessions, this should statisfy the droves of 'I wish it worked like 1.0.4 people'

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16853 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years ago Clarifiy some info in the default user
Brian West [Mon, 1 Mar 2010 15:30:58 +0000 (15:30 +0000)] 
 Clarifiy some info in the default user

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16852 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: Synching audio
Giovanni Maruzzelli [Mon, 1 Mar 2010 13:25:04 +0000 (13:25 +0000)] 
skypiax: Synching audio

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16851 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: test: put config on top
Mathieu Parent [Mon, 1 Mar 2010 11:06:47 +0000 (11:06 +0000)] 
Skinny: test: put config on top

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16850 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: tweak
Giovanni Maruzzelli [Mon, 1 Mar 2010 09:53:11 +0000 (09:53 +0000)] 
skypiax: tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16849 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: cleaning
Giovanni Maruzzelli [Sun, 28 Feb 2010 20:48:13 +0000 (20:48 +0000)] 
skypiax: cleaning

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16848 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: #ifdeffed out netinet/tcp.h from skypiax.h for windows, it get its own autom...
Giovanni Maruzzelli [Sun, 28 Feb 2010 20:08:45 +0000 (20:08 +0000)] 
skypiax: #ifdeffed out netinet/tcp.h from skypiax.h for windows, it get its own automatically

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16847 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: tweak
Giovanni Maruzzelli [Sun, 28 Feb 2010 11:50:35 +0000 (11:50 +0000)] 
skypiax: tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16846 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoFSCORE-536
Mathieu Rene [Sat, 27 Feb 2010 20:39:23 +0000 (20:39 +0000)] 
FSCORE-536

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16845 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoMODLANG-161
Mathieu Rene [Sat, 27 Feb 2010 20:03:42 +0000 (20:03 +0000)] 
MODLANG-161

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16844 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoMODLANG-158
Mathieu Rene [Sat, 27 Feb 2010 20:00:28 +0000 (20:00 +0000)] 
MODLANG-158

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16843 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoadded boost-tasks.txt old doc, it might be useful later
Moises Silva [Sat, 27 Feb 2010 18:47:19 +0000 (18:47 +0000)] 
added boost-tasks.txt old doc, it might be useful later

git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1043 a93c3328-9c30-0410-af19-c9cd2b2d52af

16 years agomod_distributor: Fix segfault when no node are added, and add the support to have...
Marc Olivier Chouinard [Sat, 27 Feb 2010 16:24:09 +0000 (16:24 +0000)] 
mod_distributor: Fix segfault when no node are added, and add the support to have a single node with total weight of 1 only

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16842 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoChanged zap_channel_set_caller_data
David Yat Sin [Fri, 26 Feb 2010 22:54:59 +0000 (22:54 +0000)] 
Changed zap_channel_set_caller_data
Set default NPI to e164 and default TON to national

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1042 a93c3328-9c30-0410-af19-c9cd2b2d52af

16 years agoSupport for SIGBOOST Version 103
David Yat Sin [Fri, 26 Feb 2010 20:57:59 +0000 (20:57 +0000)] 
Support for SIGBOOST Version 103
Allows passthrough for TON and NPI on outgoing calls via sigboost

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1041 a93c3328-9c30-0410-af19-c9cd2b2d52af

16 years agodoh
Anthony Minessale [Fri, 26 Feb 2010 20:57:37 +0000 (20:57 +0000)] 
doh

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16841 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agomod_sofia: Fix small issue with rescan profile and gateway getting duplicate entry...
Marc Olivier Chouinard [Fri, 26 Feb 2010 20:53:14 +0000 (20:53 +0000)] 
mod_sofia: Fix small issue with rescan profile and gateway getting duplicate entry following improvement in r16698

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16840 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agomod_directory: add third argument for the transfer context. If not set, use the...
Marc Olivier Chouinard [Fri, 26 Feb 2010 20:17:31 +0000 (20:17 +0000)] 
mod_directory: add third argument for the transfer context.  If not set, use the user domain as current behavior

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16839 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agofix rare accidental null pointer deref
Anthony Minessale [Fri, 26 Feb 2010 19:20:24 +0000 (19:20 +0000)] 
fix rare accidental null pointer deref

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16838 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: snd-dummy alsa driver, make it ready (need to be edited before compilation...
Giovanni Maruzzelli [Fri, 26 Feb 2010 17:52:36 +0000 (17:52 +0000)] 
skypiax: snd-dummy alsa driver, make it ready (need to be edited before compilation) for alsa-1.0.22 still works on 1.0.20 and compatible with old alsa versions

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16837 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoinitialize caller profile ton and npi elements so we know the difference between...
Michael Jerris [Fri, 26 Feb 2010 16:33:02 +0000 (16:33 +0000)] 
initialize caller profile ton and npi elements so we know the difference between undefined and unknown

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16836 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: new snd-dummy.c
Giovanni Maruzzelli [Fri, 26 Feb 2010 10:47:32 +0000 (10:47 +0000)] 
skypiax: new snd-dummy.c

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16835 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: new snd-dummy.c don't care no more about HZ in kernel
Giovanni Maruzzelli [Fri, 26 Feb 2010 10:44:41 +0000 (10:44 +0000)] 
skypiax: new snd-dummy.c don't care no more about HZ in kernel

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16834 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoPhrase files update, esp for directory
Michael Collins [Fri, 26 Feb 2010 02:50:30 +0000 (02:50 +0000)] 
Phrase files update, esp for directory

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16832 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agomerged 1023:1039 http://svn.openzap.org/svn/openzap/trunk
Moises Silva [Thu, 25 Feb 2010 23:36:18 +0000 (23:36 +0000)] 
merged 1023:1039 http://svn.openzap.org/svn/openzap/trunk

git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1040 a93c3328-9c30-0410-af19-c9cd2b2d52af

16 years agosame for js_system
Mathieu Rene [Thu, 25 Feb 2010 21:28:29 +0000 (21:28 +0000)] 
same for js_system

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16831 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agomod_spidermonkey: suspend/resume ctx when sleeping
Mathieu Rene [Thu, 25 Feb 2010 21:22:41 +0000 (21:22 +0000)] 
mod_spidermonkey: suspend/resume ctx when sleeping

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16830 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: cleaning
Giovanni Maruzzelli [Thu, 25 Feb 2010 19:21:20 +0000 (19:21 +0000)] 
skypiax: cleaning

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16829 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: cleaning
Giovanni Maruzzelli [Thu, 25 Feb 2010 19:18:21 +0000 (19:18 +0000)] 
skypiax: cleaning

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16828 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoadd another frontender to list
Anthony Minessale [Thu, 25 Feb 2010 19:02:42 +0000 (19:02 +0000)] 
add another frontender to list

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16827 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: cleaning
Giovanni Maruzzelli [Thu, 25 Feb 2010 18:38:41 +0000 (18:38 +0000)] 
skypiax: cleaning

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16826 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: sleep to lower CPU consomption
Mathieu Parent [Thu, 25 Feb 2010 18:26:23 +0000 (18:26 +0000)] 
Skinny: sleep to lower CPU consomption

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16825 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: indenting
Giovanni Maruzzelli [Thu, 25 Feb 2010 18:17:38 +0000 (18:17 +0000)] 
skypiax: indenting

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16824 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: handle ServiceUrl
Mathieu Parent [Thu, 25 Feb 2010 17:36:45 +0000 (17:36 +0000)] 
Skinny: handle ServiceUrl

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16823 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: removed debugging with invis
Giovanni Maruzzelli [Thu, 25 Feb 2010 15:53:57 +0000 (15:53 +0000)] 
skypiax: removed debugging with invis

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16822 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: debugging with invis
Giovanni Maruzzelli [Thu, 25 Feb 2010 15:51:34 +0000 (15:51 +0000)] 
skypiax: debugging with invis

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16821 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: handle UnregisterMessage and properly flush listener
Mathieu Parent [Thu, 25 Feb 2010 15:23:11 +0000 (15:23 +0000)] 
Skinny: handle UnregisterMessage and properly flush listener

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16820 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: add send Reset/Restart
Mathieu Parent [Thu, 25 Feb 2010 14:34:43 +0000 (14:34 +0000)] 
Skinny: add send Reset/Restart

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16819 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: let's the API thread die on unload module on win32
Giovanni Maruzzelli [Thu, 25 Feb 2010 13:56:11 +0000 (13:56 +0000)] 
skypiax: let's the API thread die on unload module on win32

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16818 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: use dialplan XML/default
Mathieu Parent [Thu, 25 Feb 2010 13:30:43 +0000 (13:30 +0000)] 
Skinny: use dialplan XML/default

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16816 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: fix typo
Mathieu Parent [Thu, 25 Feb 2010 13:22:28 +0000 (13:22 +0000)] 
Skinny: fix typo

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16815 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agodebian: install conf/ivr_menus/demo_ivr.xml (as conffile)
Mathieu Parent [Thu, 25 Feb 2010 13:11:30 +0000 (13:11 +0000)] 
debian: install conf/ivr_menus/demo_ivr.xml (as conffile)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16814 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: tweakings for windows, still don't know how to make the API thread to die...
Giovanni Maruzzelli [Thu, 25 Feb 2010 12:43:06 +0000 (12:43 +0000)] 
skypiax: tweakings for windows, still don't know how to make the API thread to die on windows at module unload

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16812 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoskypiax: timing and load tweaking, let's see if compile on windoz
Giovanni Maruzzelli [Thu, 25 Feb 2010 10:29:19 +0000 (10:29 +0000)] 
skypiax: timing and load tweaking, let's see if compile on windoz

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16810 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoMODSOFIA-50
Anthony Minessale [Thu, 25 Feb 2010 00:07:25 +0000 (00:07 +0000)] 
MODSOFIA-50

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16806 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoMODENDP-294
Anthony Minessale [Wed, 24 Feb 2010 23:02:50 +0000 (23:02 +0000)] 
MODENDP-294

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16805 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoNo changes here - VS wants these this way ugh!
Jeff Lenk [Wed, 24 Feb 2010 20:50:50 +0000 (20:50 +0000)] 
No changes here - VS wants these this way ugh!

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16804 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoFSCORE-558
Anthony Minessale [Wed, 24 Feb 2010 20:40:31 +0000 (20:40 +0000)] 
FSCORE-558

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16803 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agotweak on last commit
Anthony Minessale [Wed, 24 Feb 2010 18:41:23 +0000 (18:41 +0000)] 
tweak on last commit

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16802 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoadd force_local_ip_v4 and force_local_ip_v6 global vars to override the core funcs...
Anthony Minessale [Wed, 24 Feb 2010 18:13:28 +0000 (18:13 +0000)] 
add force_local_ip_v4 and force_local_ip_v6 global vars to override the core funcs to always discover the same ip

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16801 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoadded skinny profiles to spec file
Michal Bielicki [Wed, 24 Feb 2010 15:55:06 +0000 (15:55 +0000)] 
added skinny profiles to spec file

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16800 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agofix windows build FSBUILD-252
Mathieu Rene [Wed, 24 Feb 2010 15:31:42 +0000 (15:31 +0000)] 
fix windows build FSBUILD-252

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16799 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoFix Windows build
Jeff Lenk [Wed, 24 Feb 2010 15:21:06 +0000 (15:21 +0000)] 
Fix Windows build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16798 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agodebian: also enable gdb for modules
Mathieu Parent [Wed, 24 Feb 2010 12:48:40 +0000 (12:48 +0000)] 
debian: also enable gdb for modules

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16797 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: answer FeatureStatReqMessage with FeatureStatMessage
Mathieu Parent [Wed, 24 Feb 2010 12:06:58 +0000 (12:06 +0000)] 
Skinny: answer FeatureStatReqMessage with FeatureStatMessage

'#buggy version!'

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16796 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: previous commit was incomplete
Mathieu Parent [Wed, 24 Feb 2010 12:06:47 +0000 (12:06 +0000)] 
Skinny: previous commit was incomplete

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16795 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: config cleaning and refactorisation
Mathieu Parent [Wed, 24 Feb 2010 12:06:36 +0000 (12:06 +0000)] 
Skinny: config cleaning and refactorisation
- removed unused globals: codecèprefs, codec_master, codec_rates
- moved global debug to profile
- store button type as id in DB (avoid case-sensitivity problem)
-

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16794 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: API commands (autocompletion included!)
Mathieu Parent [Wed, 24 Feb 2010 12:06:25 +0000 (12:06 +0000)] 
Skinny: API commands (autocompletion included!)
skinny profile <profile_name> device <device_name> send SetRingerMessage <ring_type> <ring_mode>
skinny profile <profile_name> device <device_name> send SetLampMessage <stimulus> <instance> <lamp_mode>
skinny profile <profile_name> device <device_name> send SetSpeakerModeMessage <speaker_mode>
skinny profile <profile_name> device <device_name> send CallState <call_state> <line_instance> <call_id>

Also:
- Correct sended line displayname
- Re-use the line on SoftKey
- Handle Answer SoftKey

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16793 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: avoid some wired scenarii
Mathieu Parent [Wed, 24 Feb 2010 12:06:16 +0000 (12:06 +0000)] 
Skinny: avoid some wired scenarii
- Close all sessions without B-leg
- Hold sessions with B-leg
- Currently hold is same as hang up
- Try to guess the best line to choose (use an existing one)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16792 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: redial
Mathieu Parent [Wed, 24 Feb 2010 12:06:06 +0000 (12:06 +0000)] 
Skinny: redial

- Allow redial from softKey or stimulus
- Add redial, newcall to on_hook softkeys
- Add endcall to ringing and connected softkeys

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16791 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Rework of buttons
Mathieu Parent [Wed, 24 Feb 2010 12:05:56 +0000 (12:05 +0000)] 
Skinny: Rework of buttons
- Refactorize line/speed-dial info (with getters)
- Set calling/called party when known
- Don't recreate session on existing
- Lower some debug messages (SQL, messages send/received)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16790 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Corrections
Mathieu Parent [Wed, 24 Feb 2010 12:05:45 +0000 (12:05 +0000)] 
Skinny: Corrections
- Construct call_id based on simple increment per profile
- close RTP only if needed
- now hanging up while there is no other leg works
- better steps: create_session -> process_dest -> answer

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16789 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: House cleaning
Mathieu Parent [Wed, 24 Feb 2010 12:05:34 +0000 (12:05 +0000)] 
Skinny: House cleaning
- Print message types and softkey states instead of their code
- Show line number of calling function
- Replace the remaining send_select_soft_keys by skinny_line_set_state (to keep proper state)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16788 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Line state
Mathieu Parent [Wed, 24 Feb 2010 12:05:26 +0000 (12:05 +0000)] 
Skinny: Line state

Avoid the use of TFLAG_WAITING_DEST an replace by a line_state corresponding to the softkey events

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16787 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny:
Mathieu Parent [Wed, 24 Feb 2010 12:05:16 +0000 (12:05 +0000)] 
Skinny:
- correct speed-dial and line label
- hangup when receiving EndDial softkey

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16786 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: M3: Calls management: handle OffHook then compose
Mathieu Parent [Wed, 24 Feb 2010 12:05:06 +0000 (12:05 +0000)] 
Skinny: M3: Calls management: handle OffHook then compose

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16785 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Split the code
Mathieu Parent [Wed, 24 Feb 2010 12:04:56 +0000 (12:04 +0000)] 
Skinny: Split the code
- mod_skinny.c: module, profile, listener, channels
- skinny_protocol.c: skinny messages

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16784 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: moving to autotools
Mathieu Parent [Wed, 24 Feb 2010 12:04:44 +0000 (12:04 +0000)] 
Skinny: moving to autotools

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16783 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: M3: Calls management: ingoing call
Mathieu Parent [Wed, 24 Feb 2010 12:04:36 +0000 (12:04 +0000)] 
Skinny: M3: Calls management: ingoing call

Following scenario:
- offhook a specific line
- compose 4 digits

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16782 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: M3: Calls management: Each line has a session
Mathieu Parent [Wed, 24 Feb 2010 12:04:25 +0000 (12:04 +0000)] 
Skinny: M3: Calls management: Each line has a session

- Each line as its session
- USER_BUSY if line is busy
- properly guess device and line to ring

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16781 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Milestone 3: Calls management: handle DTMF
Mathieu Parent [Wed, 24 Feb 2010 12:04:16 +0000 (12:04 +0000)] 
Skinny: Milestone 3: Calls management: handle DTMF

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16780 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Milestone 3: Calls management
Mathieu Parent [Wed, 24 Feb 2010 12:04:08 +0000 (12:04 +0000)] 
Skinny: Milestone 3: Calls management

As of now, this is only proof of concept. How to test:
- only one phone registred
- call originate skinny/internal/7628 &delay_echo(100) from console
- answer
- test the echo
- hangup

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16779 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Milestone 4: proper SoftkeyTemplateResMessage
Mathieu Parent [Wed, 24 Feb 2010 12:03:59 +0000 (12:03 +0000)] 
Skinny: Milestone 4: proper SoftkeyTemplateResMessage

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16778 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Milestone 8: answer ConfigStatReqmessage with ConfigStatMessage
Mathieu Parent [Wed, 24 Feb 2010 12:03:46 +0000 (12:03 +0000)] 
Skinny: Milestone 8: answer ConfigStatReqmessage with ConfigStatMessage

also some cleanup

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16777 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Add helper functions
Mathieu Parent [Wed, 24 Feb 2010 12:03:04 +0000 (12:03 +0000)] 
Skinny: Add helper functions

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16776 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Milestone 3: Calls management
Mathieu Parent [Wed, 24 Feb 2010 12:01:47 +0000 (12:01 +0000)] 
Skinny: Milestone 3: Calls management

- House cleaning

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16775 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Milestone 8 (partial): TimeDate
Mathieu Parent [Wed, 24 Feb 2010 12:01:39 +0000 (12:01 +0000)] 
Skinny: Milestone 8 (partial): TimeDate

- answer TimeDateReqMessage with DefineTimeDate

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16774 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoMilestone 3: Calls management: Add several messages structs
Mathieu Parent [Wed, 24 Feb 2010 12:01:31 +0000 (12:01 +0000)] 
Milestone 3: Calls management: Add several messages structs

+ KeypadButtonMessage
+ StimulusMessage
+ OnHookMessage
+ OpenReceiveChannelAck
+ SoftKeyEventMessage
+ StartToneMessage
+ StopToneMessage
+ SetRingerMessage
+ SetLampMessage
+ SetSpeakerModeMessage
+ StartMediaTransmissionMessage
+ StopMediaTransmissionMessage
+ CallInfoMessage
+ OpenReceiveChannelMessage
+ SelectSoftKeysMessage
+ CallStateMessage
+ DisplayPromptStatusMessage
+ ClearPromptMessage
+ ActivateCallPlaneMessage
+ DialedNumberMessage

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16773 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Milestone 8: Miscellaneous (handle HeadsetStatusMessage)
Mathieu Parent [Wed, 24 Feb 2010 12:01:21 +0000 (12:01 +0000)] 
Skinny: Milestone 8: Miscellaneous (handle HeadsetStatusMessage)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16772 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoMilestone 7: Alarm
Mathieu Parent [Wed, 24 Feb 2010 12:01:13 +0000 (12:01 +0000)] 
Milestone 7: Alarm

- Custom events: skinny::alarm

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16771 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Milestone 5: Speed-dials
Mathieu Parent [Wed, 24 Feb 2010 12:00:55 +0000 (12:00 +0000)] 
Skinny: Milestone 5: Speed-dials

- answer SpeedDialStatReqMessage with SpeedDialStatMessage

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16770 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Milestone 4: Button template, Soft-key template and Soft-key sets
Mathieu Parent [Wed, 24 Feb 2010 12:00:45 +0000 (12:00 +0000)] 
Skinny: Milestone 4: Button template, Soft-key template and Soft-key sets

- buttons are now stored in the same table
- answer ButtonTemplateReqMessage with ButtonTemplateMessage: DONE
- answer SoftKeyTemplateReqMessage with SoftKeyTemplateResMessage: WIP (currently empty response)
- answer SoftKeySetReqMessage with SoftKeySetResMessage: WIP (currently empty response)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16769 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Milestone 7: handle AlarmMessage
Mathieu Parent [Wed, 24 Feb 2010 12:00:35 +0000 (12:00 +0000)] 
Skinny: Milestone 7: handle AlarmMessage

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16768 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Sanity
Mathieu Parent [Wed, 24 Feb 2010 12:00:28 +0000 (12:00 +0000)] 
Skinny: Sanity

- truncate tables on module load
- check for message length

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16767 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Milestone 0: avoid crash when closing sockets by using mutexes
Mathieu Parent [Wed, 24 Feb 2010 12:00:19 +0000 (12:00 +0000)] 
Skinny: Milestone 0: avoid crash when closing sockets by using mutexes

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16766 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: Milestone 3: Parse calls coming to skinny
Mathieu Parent [Wed, 24 Feb 2010 12:00:11 +0000 (12:00 +0000)] 
Skinny: Milestone 3: Parse calls coming to skinny

Also don't free profile members (managed via pools) to avoid crash on module unload

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16765 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny:
Mathieu Parent [Wed, 24 Feb 2010 12:00:04 +0000 (12:00 +0000)] 
Skinny:
- don't free skinny messages as they are handled by pools
- correct devices autocompletion (inspired by switch_console_list_uuid in switch_console.c)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16764 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: SQL updates
Mathieu Parent [Wed, 24 Feb 2010 11:59:56 +0000 (11:59 +0000)] 
Skinny: SQL updates

- new switch_odbc_handle_exec argument
- add codec_string to device record
- minor changes

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16763 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: moving to SQL
Mathieu Parent [Wed, 24 Feb 2010 11:59:49 +0000 (11:59 +0000)] 
Skinny: moving to SQL

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16762 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: helper script: test-skinny.pl
Mathieu Parent [Wed, 24 Feb 2010 11:59:41 +0000 (11:59 +0000)] 
Skinny: helper script: test-skinny.pl

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16761 d0543943-73ff-0310-b7d9-9358b9ac24b2

16 years agoSkinny: reorder
Mathieu Parent [Wed, 24 Feb 2010 11:59:34 +0000 (11:59 +0000)] 
Skinny: reorder

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16760 d0543943-73ff-0310-b7d9-9358b9ac24b2