Commit Graph
100 Commits
Author SHA1 Message Date
Mathieu Parent 4ccfb475de Add IPs to mod_skinny recv/send event messages
FS-5268 --resolve
thanks to Nathan Neulinger
2013-04-06 14:44:11 +02:00
Mathieu Parent 5838050e4f Don't pretend we support skinny-wait timeout (See #FS 477) 2013-04-03 20:55:27 +02:00
Mathieu Parent 17408154ee Revert local stuff from previous commit 2013-04-03 20:42:30 +02:00
Mathieu Parent 1d9d7b1196 Don't create a new session when pressing speeddial
Fixes #FS-5259 (Thanks to Nathan Neulinger for the patch)
2013-04-03 20:34:55 +02:00
Mathieu Parent 860d952efd EndCall for incoming call while on hold doesn't close both legs on a skinny phone
Fixes #FS-5232, thanks to Nathan Neulinger for the patch
2013-03-30 12:00:58 +01:00
Mathieu Parent 03137f98ab Fix in-band ringback in mod_skinny
Closes: FS-4241 (Thanks to Marek Wiewiorski for the patch)
2013-03-26 22:36:56 +01:00
Mathieu Parent e0b34881af mod_skinny parses and modifies odbc url, breaking it, but also doesn't use the resulting vars
Closes: FS-5224 (Thanks to Nathan Neulinger for the patch)
2013-03-26 22:29:40 +01:00
Mathieu Parent e5ab581837 examples for the ext-voicemail and ext-redial options to mod_skinny sample conf
Closes: FS-5227 (Thanks to Nathan Neulinger for the patch)
2013-03-26 22:21:44 +01:00
Mathieu Parent c3b30a88e3 MIN is an aggregate function on MySQL
Closes: FS-5218 (Thanks to Nathan Neulinger for the patch)
2013-03-26 22:16:44 +01:00
Mathieu Parent 281f88ae39 Skinny: Don't do backspace if destination number is already empty
This fix a out of bound memory write.
(normally unreachable with a real phone)
2011-12-21 19:55:01 +01:00
Mathieu Parent 3c74f391f4 Skinny: correct fix b399735 2011-07-22 23:06:06 +02:00
Mathieu Parent b3997353a1 Skinny: Stop harcoding APR_TIMEUP
See also FS-3425
2011-07-22 09:17:09 +02:00
Mathieu Parent 062f07f5c9 Following of commit 9350fb96
Fix "variable set but not used"
2011-07-16 12:35:25 +02:00
Mathieu Parent afd8dad4e7 Skinny: some columns may be null: avoid segfault
See FS-3379
2011-06-29 00:25:32 +02:00
Mathieu Parent 99b7f1d10c Skinny: voicemail after 30s (like SIP) 2011-05-26 21:44:56 +02:00
Mathieu Parent c93f7be7c4 Skinny: replace skinny-route by skinny-process in dialplan 2011-05-26 21:43:54 +02:00
Mathieu Parent ff08ea68ce Skinny: reindent using vim's =G 2011-05-26 21:43:53 +02:00
Mathieu Parent 5f6c469e44 Skinny: rename skinny-route to skinny-process
this is needed to differentiate route/cfwd
2011-05-26 21:43:53 +02:00
Mathieu Parent b337b8554c Skinny: display accessories status on CLI 2011-04-14 13:23:03 +02:00
Mathieu Parent 6105757898 Skinny: store accessory status in db instead of memory
(this is not used yet)
2011-04-14 13:09:15 +02:00
Mathieu Parent 2bf69d621f Skinny: handle AccessoryStatusMessage 2011-04-13 23:16:08 +02:00
Mathieu Parent 4a494ff930 Skinny: incomplete support for DialedPhoneBookMessage 2011-04-13 20:14:34 +02:00
Mathieu Parent 496fd5df0f Skinny: more verbose log when pre-register message received 2011-04-10 23:16:56 +02:00
Mathieu Parent 8c814c82cf Skinny: put tables the other way
(more standard)

Done with:
sed -i 's/{\(".*"\|NULL\), \(.*\)}/{\2, \1}/' src/mod/endpoints/mod_skinny/skinny_tables.c
2011-04-10 23:08:46 +02:00
Mathieu Parent bd03d578d1 Skinny: add CP-7921G
and reindent
2011-04-10 22:58:09 +02:00
Mathieu Parent 695402333b Skinny: use proper name for station capabilities message 2011-03-01 00:24:39 +01:00
Mathieu Parent 316548273d Sofia: use const for variable name SWITCH_R_SDP_VARIABLE 2011-03-01 00:24:39 +01:00
Mathieu Parent fd7bbc0b3c Skinny: use IANA names for G729 codecs 2011-02-26 11:45:19 +01:00
Mathieu Parent d86388dbf7 Skinny: noop ForwardStatReq and ForwardStat implementation 2011-02-26 11:37:32 +01:00
Mathieu Parent f217ec48a4 Skinny: remove some unused vars 2011-02-26 10:52:20 +01:00
Mathieu Parent 0f7682a27c Skinny: don't crash when requesting an RTP port while the profile is listening on all ips
And store some more ip infos in the listener struct
2011-02-25 21:06:22 +01:00
Mathieu Parent e318e3eb91 Skinny: update profile IP address if changed during socket creation 2011-02-25 21:06:21 +01:00
Mathieu Parent c18835d3f9 Skinny: Allow to listen on ipv6
also allow to specify a blank ip which means: all
2011-02-25 01:53:05 +01:00
Mathieu Parent 646ad887d7 Skinny: enhance soft-key-sets 2011-02-25 00:05:56 +01:00
Mathieu Parent 2148d81d74 Skinny: avoid crash when loading config with blank soft-key-set value 2011-02-25 00:05:56 +01:00
Mathieu Parent cffd62aa36 Skinny: complete list of softkeysets 2011-02-25 00:05:56 +01:00
Mathieu Parent c9aab94aa4 Skinny: use a const for SKINNY_KEY_SET_IN_USE_HINT 2011-02-25 00:05:56 +01:00
Mathieu Parent e0a0a56f24 mod_command reg_url: correct field name 2011-02-23 01:13:00 +01:00
Mathieu Parent 0a14839bf9 Skinny: mark ring ready 2011-02-23 01:07:54 +01:00
Mathieu Parent e7a8189b2b Skinny: centralized registration 2011-02-23 01:07:54 +01:00
Mathieu Parent ea29a1dfcc centralized registration:
- allow infinite registrations (expire=0)
- when removing a registration, keep the other with same user if multiple reg is allowed
2011-02-23 01:07:53 +01:00
Mathieu Parent f202328eff Doc: somes details on user registration functions 2011-02-23 01:07:53 +01:00
Mathieu Parent 9b70d9a7a5 Revert perl's Net::Skinny test 2010-12-19 22:20:09 +01:00
Mathieu Parent 709c4e5f97 Skinny: Event skinny::xml_alarm 2010-12-19 22:16:40 +01:00
Mathieu Parent 1c4c84fc0f Perl's Net::Skinny : update to current handle PACKED structs 2010-12-19 22:16:40 +01:00
Mathieu Parent 715d250e17 Skinny: handle new XMLAlarmMessage
This add support for new SCCP Firmware 9.1

(part of FS-2912)
2010-12-15 21:29:52 +01:00
Mathieu Parent a95af70323 Skinny: set max message size to 2048 for now
(part of FS-2912)
2010-12-15 19:44:38 +01:00
Mathieu Parent 53be013a5d Skinny: Correct OffHook softkeys 2010-10-07 21:25:50 +02:00
Mathieu Parent 85b0e1b9c9 Skinny: Adds unimplemented send_data(), correct formats
- send_data() (only defined in .h-file - never implemented)
- Adds correct formats when adding message body.

Thanks to Peter Olsson for spotting this in FS-2737
2010-09-27 18:49:11 +02:00
Mathieu Parent d018fa489a Skinny: send proper USER_TO_DEVICE_DATA_MESSAGE 2010-09-25 10:49:13 +02:00
Mathieu Parent b2fd42ef09 Skinny: Windows build fix
MS compiler doesn't have strncpy, we need another method to
ensure that the body is null-terminated
2010-09-25 10:49:12 +02:00
Mathieu Parent 25ddef504d Skinny: add support to DeviceToUser and UserToDevice messages 2010-09-24 01:55:54 +02:00
Mathieu Parent f5e7284d39 Skinny: struct for 6 more messages
DeviceToUserDataMessage
DeviceToUserDataResponseMessage
DeviceToUserDataVersion1Message
DeviceToUserDataResponseVersion1Message
UserToDeviceDataMessage
UserToDeviceDataVersion1Message
2010-09-24 01:55:54 +02:00
Mathieu Parent 9fc6b2087a Skinny: no need for heartbeat event to handle keepalive timeout 2010-09-23 19:51:14 +02:00
Mathieu Parent 4f46bb91fc debian:
* Updated Uploaders list
  * Updated Standards-Version to 3.9.1
2010-09-23 19:51:14 +02:00
Mathieu Parent ba3a6ad6c8 Skinny: Rename skinny-default-soft-key-set-set to skinny-soft-key-set-set 2010-09-04 10:14:22 +02:00
Mathieu Parent 07c3c94d7a Skinny: allow skinny-default-soft-key-set-set per device 2010-09-04 10:06:07 +02:00
Mathieu Parent f5a6831ffc Skinny: allow configuration of softkeys via xml
- enhance conf/skinny_profiles/internal.xml
- Sanity checks
  + softKeySet id < 16
  + less than 16 buttons per softKeySet
  + at least the default soft-key-set to load the profile
  + at least one profile to load mod_skinny
- Lower some ERRORs to WARNINGs as they don't prevent module loading
- Default skinny_str2soft_key_event to 0
2010-09-04 09:35:43 +02:00
Mathieu Parent 690ae1b313 Skinny: avoid "-ERR no reply" when using API commands from CLI 2010-09-04 09:35:42 +02:00
Mathieu Parent 8381a4f3cf Skinny: adding tables for soft_key_events 2010-09-04 09:35:42 +02:00
Mathieu Parent 461db7573e Skinny: Better IP change handling
- Respawn only if ip or port is changed
- Properly handle timeout
2010-09-03 23:34:19 +02:00
Mathieu Parent b762a0aa7f Skinny: block socket to decrease CPU usage
non-blocking mode can still be used by setting MOD_SKINNY_NONBLOCK
2010-09-03 19:08:41 +02:00
Mathieu Parent a5cd2df89a Skinny: Handle network-address-change trap event
- add auto-restart param to each profile (if true, ip is automaticaly changed)
- some cleaning (unused args in flush_listener, better logs)
2010-09-03 00:09:10 +02:00
Mathieu Parent ce352bccc5 Skinny: stop media on early media hangup (ring-out) 2010-08-31 08:40:37 +02:00
Mathieu Parent 53561eaa9a debian/freeswitch.init: don't start fresswitch before network 2010-08-30 08:39:19 +02:00
Mathieu Parent 83a5342bfa Skinny: fix autocompletion
"skinny profile internal device <tab>" now works
2010-08-24 23:53:10 +02:00
Mathieu Parent 8921675668 Skinny: switch to new cache_db abstraction 2010-08-24 23:35:52 +02:00
Mathieu Parent 2aac00ef81 Skinny: MODSKINNY-14 The Cisco 7910 phone is no tone when I try to make a call and hang up.
Thanks to Sergio
2010-08-24 22:38:57 +02:00
Mathieu Parent f34b76c5e6 Skinny: MODSKINNY-12 (Cisco phone 7910 transfer button will not work) 2010-08-24 22:13:44 +02:00
Mathieu Parent b80eb9fb13 Skinny: realign after x86_64 commit 2010-07-28 23:57:27 +02:00
Mathieu Parent 83181fa2de Skinny use 1100 to 1119 to not conflict with groupdial 2010-07-28 23:57:26 +02:00
Mathieu Parent 59e197584c Skinny: more on device types
- print device type name when doing skinny status profile internal device ...
- add 7962 and 7965
- use base10 number
2010-07-28 22:17:54 +02:00
Mathieu Parent b062eef12e Skinny: pack data in mem to fix 64bit
On 64bit, fields are aligned which cause Skinny to fail
2010-07-28 21:43:55 +02:00
Mathieu Parent 7eec05736a Skinny: more API
- allow to set most settings at runtime (all but ip, port and odbc-dsn)
- little rewrite of the config load
- don't print Keepalive and KeepaliveAck messages unless profile debug is >=10
- print usage when incorrect parameters
2010-07-28 19:42:59 +02:00
Mathieu Parent 0a04ecb8dd Skinny: ring tone on dialing side 2010-07-28 00:31:52 +02:00
Mathieu Parent 53f75e9c94 Skinny: blind transfer MODSKINNY-10 2010-07-27 23:50:56 +02:00
Mathieu Parent 2d1c5c8dfa Skinny: don't hangup remote calls 2010-07-27 23:48:21 +02:00
Mathieu Parent 165140e076 Skinny: ib_calls stats 2010-07-27 23:48:21 +02:00
Mathieu Parent e704f02196 FSBUILD-285: Fix build with --with-curl 2010-07-25 10:10:06 +02:00
Mathieu Parent 25fe16dfed ivr_play: preanswer before getting variables to avoid crash 2010-07-22 23:53:11 +02:00
Mathieu Parent b40804a5e3 Skinny: corrected early media
This is part of MODSKINNY-8
2010-07-22 23:30:15 +02:00
Mathieu Parent db1289dfaf Skinny: avoid crash with autocompletion when skinny is unloaded 2010-07-22 21:04:18 +02:00
Mathieu Parent 5e07bd336c Skinny: hangup and hold calls in PROCEED state
as those CONNECTED
2010-07-20 22:43:56 +02:00
Mathieu Parent 20194286a4 Skinny: correct early media and answer
- SWITCH_MESSAGE_INDICATE_DISPLAY was missing a "break" statement
- handle not responding device (cancels early media or answer)
- don't send messages when listener is not ready (fix rare crashes)
2010-06-25 18:25:12 +02:00
Mathieu Parent 5017869399 Skinny: handle early media
See MODSKINNY-8 (switch_core_io.c:121
SKINNY/internal/SEP002699438FB6:0/1 has no read codec when using early
media)
2010-06-17 07:44:33 +02:00
Mathieu Parent df92a3ca07 Skinny: Remove unused flags 2010-06-17 07:05:28 +02:00
Mathieu Parent 2629a570c7 Skinny: MWI improvement: allow domain name <> profile name 2010-06-16 22:42:15 +02:00
Mathieu Parent 1d7d014612 Skinny: Basic MWI
With following limitations:
- only first line is handled
- only works well when domain name = profile name
2010-06-16 22:42:15 +02:00
Mathieu Parent 2fc09235b7 Skinny: split event handlers 2010-06-10 08:35:05 +02:00
Mathieu Parent 3f7cafd709 Rename sofia_glue_get_user_host to switch_split_user_domain
and move to switch_utils. To allow use by other modules.
2010-06-02 01:09:54 +02:00
Mathieu Parent 48c7bb320e Skinny: correct define_time_date
The 'day' field is the month day (and not year day).

Fix MODSKINNY-4 and MODSKINNY-7
2010-05-27 11:55:09 +02:00
Mathieu Parent 7566575523 Skinny: simplify header inclusions
thanks to Frank Seesink on MODSKINNY-6
2010-05-26 10:45:52 +02:00
Mathieu Parent 96a630e454 Skinny: fix compilation on OS X
declaring some variables "extern" thanks to Peter Olsson

Fix MODSKINNY-6: Build still fails on OS X (even after last changes)
2010-05-26 10:40:38 +02:00
Mathieu Parent a2ceff1471 Skinny: size_t has different sizes on different platforms
Resolve (shouldn't) MODSKINNY-5: Compiling mod_skinny on Mac OS X 10.6.3 fails
with error message about format mismatch of 'long unsigned int'
2010-05-25 09:29:01 +02:00
Mathieu Parent 1632f82a1a Skinny: typo 2010-05-21 15:53:15 +02:00
Mathieu Parent 0cb6af2f5a Skinny: One more for MODSKINNY-1: (soft_key_event) 2010-05-21 15:52:30 +02:00
Mathieu Parent 18a7657332 Skinny: one more for MODSKINNY-1 (keypad_button) 2010-05-21 15:47:57 +02:00
Mathieu Parent 2e2d587e7b Skinny: one more fix for MODSKINNY-1 (on_hook) 2010-05-21 15:41:41 +02:00
Mathieu Parent 2cb595c71c Skinny: Avoid message too short for off_hook
Resolve MODSKINNY-1:  FreeSwitch stops working when I use a cisco 7910
phone - FREESWITCH 1.0.6
2010-05-21 15:36:01 +02:00
Mathieu Parent 89a1c41a9f Skinny: place autoload config 2010-05-21 12:15:58 +02:00