Commit Graph

13143 Commits

Author SHA1 Message Date
Mathieu Parent 8850125676 Skinny: Add helper functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16776 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 12:03:04 +00:00
Mathieu Parent ecd86ec42c Skinny: Milestone 3: Calls management
- House cleaning

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16775 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 12:01:47 +00:00
Mathieu Parent 90063622cf 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
2010-02-24 12:01:39 +00:00
Mathieu Parent 506517e9ac 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
2010-02-24 12:01:31 +00:00
Mathieu Parent ca3aa27976 Skinny: Milestone 8: Miscellaneous (handle HeadsetStatusMessage)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16772 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 12:01:21 +00:00
Mathieu Parent 6c7de2c721 Milestone 7: Alarm
- Custom events: skinny::alarm

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16771 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 12:01:13 +00:00
Mathieu Parent 829a711c72 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
2010-02-24 12:00:55 +00:00
Mathieu Parent afc8e79655 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
2010-02-24 12:00:45 +00:00
Mathieu Parent 48aaa884fd Skinny: Milestone 7: handle AlarmMessage
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16768 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 12:00:35 +00:00
Mathieu Parent 3ed58f15db 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
2010-02-24 12:00:28 +00:00
Mathieu Parent f1391f0eb8 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
2010-02-24 12:00:19 +00:00
Mathieu Parent f02d6a5139 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
2010-02-24 12:00:11 +00:00
Mathieu Parent 92bb098745 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
2010-02-24 12:00:04 +00:00
Mathieu Parent 5ad95379bf 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
2010-02-24 11:59:56 +00:00
Mathieu Parent c35f367d58 Skinny: moving to SQL
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16762 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:59:49 +00:00
Mathieu Parent a4d9fa2654 Skinny: helper script: test-skinny.pl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16761 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:59:41 +00:00
Mathieu Parent bcf4a9277a Skinny: reorder
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16760 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:59:34 +00:00
Mathieu Parent 93b3aa7ff4 Skinny: Milestone 2: Line managements
- handle RegisterAvailableLinesMessage

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16759 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:59:25 +00:00
Mathieu Parent 2092e39d16 Skinny: Milestone 1: Devices management
- handle unregister message
- send skinny::unregister event
- send skinny::expire event

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16758 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:59:18 +00:00
Mathieu Parent a5dc87ce61 Skinny: one function per message type
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16757 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:59:10 +00:00
Mathieu Parent 4c1065f7b5 Skinny: Milestone 1 : device level (codec list)
- update codec list

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16756 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:59:02 +00:00
Mathieu Parent 0cdf84d35b Skinny: Milestone 1 : device level (register event)
- fire skinny::register events

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16755 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:58:54 +00:00
Mathieu Parent 84f500f0cc Skinny: Milestone 1 : device level (multiple replies)
- A request can call several replies

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16754 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:58:43 +00:00
Mathieu Parent bd480237b9 Skinny: Milestone 1 : device level (CapabilitiesReqMessage and CapabilitiesResMessage)
- send CapabilitiesReqMessage during registration
- handle CapabilitiesResMessage
- also correct sent length

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16753 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:58:36 +00:00
Mathieu Parent c813d03e97 Skinny: Milestone 1 : device level (PortMessage)
-Handle PortMessage

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16752 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:58:25 +00:00
Mathieu Parent ba1950a75d Skinny: Milestone 1 : device level (API)
skinny device *
skinny device <device_name>

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:58:15 +00:00
Mathieu Parent b78542299c Skinny: Milestone 1 : device level (timeout)
- handle keepalive message (expiration)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16750 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:58:07 +00:00
Mathieu Parent c6fbe03072 Skinny: Milestone 1 : device level (Register)
- handle RegisterMessage
- keep device infos (attached to listener)
- respond with RegisterAckMessage
- handle port message (do nothing)
- handle keepalive message (do nothing for now)

and:
- clean memory pools usage
- date_format is fixed length

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16749 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:58:00 +00:00
Mathieu Parent 0117bdd936 Skinny: Milestone 0 : no-op module (listeners and base skinny parsing)
Check for huge message

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16748 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:57:53 +00:00
Mathieu Parent bf64b0962b Skinny: Milestone 0 : no-op module (listeners and base skinny parsing)
Based on mod_event_socket.

- create listeners
- parse sccp header (length, reserved, type)
- don't listen to reloadxml event, as we don't reload listeners
- listen to heartbeat event to expire listeners

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16747 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:57:45 +00:00
Mathieu Parent 36e6d9548f Skinny: Milestone 0 : no-op module (conf and event)
Based on mod_reference.

- example conf files
- load configuration file conf/autoload_configs/skinny.conf.xml
- listen to reloadxml events

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 11:57:37 +00:00
Anthony Minessale ffe784f110 add sofia_dig [xml] api func
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 00:01:39 +00:00
Brian West 4d3dac5b52 FSBUILD-249
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 22:56:54 +00:00
Michal Bielicki 1e72376473 replaced libtiff-devel dependency by libjpeg-devel
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16743 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 20:41:14 +00:00
Michal Bielicki 5a24927f0c added mod_file_string
added build requirement for libjpeg-devel
started analysing runtime reqs



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16742 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 20:06:06 +00:00
Michael Jerris c96fa14851 fix mod_fax missing symbol on libtool 2+ (FSMOD-37)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16741 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 19:20:46 +00:00
Michael Jerris a7f6806215 fix mod_fax missing symbol on libtool 2+ (FSMOD-37)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16740 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 19:19:04 +00:00
Anthony Minessale b9c18c5261 allow domains with no dot in them as long as you specify a profile name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16739 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 19:13:12 +00:00
Michael Jerris a524ad6227 fix mod_fax missing symbol on libtool 2+ (FSMOD-37)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 19:12:53 +00:00
Anthony Minessale cd4cb502f8 FSCORE-556
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16736 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 17:00:17 +00:00
Mathieu Parent f70813a90e FSBUILD-251: Debian buildsystem: Some development files (*.la) are placed in both freeswitch and freeswitch-dev packages
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16735 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 15:57:53 +00:00
Mathieu Parent 6666bf7d9d debian install missing files in /opt/freeswitch/conf/lang/fr/
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16734 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 15:12:56 +00:00
Mathieu Parent ba4516bf41 debian: proper file permissions when /opt/freeswitch is a symlink
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16733 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 15:12:01 +00:00
Giovanni Maruzzelli 1bc16199a5 skypiax: silent_mode in config file, now it works well. DelphiWorld asked for it, and will be useful to all :)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16731 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 14:32:52 +00:00
Giovanni Maruzzelli b2157456f5 skypiax: do the audio timers synch each 20secs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16730 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 12:26:03 +00:00
Giovanni Maruzzelli 3cc72e256a skypiax: shut up windows compiler
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16729 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 02:31:37 +00:00
Brian West 3b92634403 cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16728 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-22 23:41:56 +00:00
Anthony Minessale 2a3bd9f4bb add spandsp_start_dtmf app to mod_fax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16727 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-22 23:41:34 +00:00
Giovanni Maruzzelli 20334f3ab6 skypiax: no more tcp ports in config, cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16726 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-22 22:48:50 +00:00
Anthony Minessale ae2354be24 small timer test tweak for horribly clocked boxen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16725 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-22 22:42:29 +00:00