210 Commits

Author SHA1 Message Date
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
Jeff Lenk
ec54acb738 FS-2954 correct windows usage 2011-07-08 09:53:03 -05:00
Mathieu Parent
afd8dad4e7 Skinny: some columns may be null: avoid segfault
See FS-3379
2011-06-29 00:25:32 +02:00
Jeff Lenk
e5ce51c439 FS-3356 --resolove fix windows build vs2010 2011-06-20 09:30:45 -05: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
Marc Olivier Chouinard
ba7dc9fde8 Fix for -Wunused-but-set-variable required compiler. : mod_freetdm mod_avmd mod_cidlookup mod_ladspa mod_lcr mod_nibblebill mod_rss mod_vdm mod_dahdi_codec mod_skinny mod_cdr_pg_csv 2011-04-22 22:49:41 -04: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
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
2148d81d74 Skinny: avoid crash when loading config with blank soft-key-set value 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
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
33848eb01c Skinny: handle Enbloc messages 2011-02-01 08:56:26 +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
Anthony Minessale
93cc3dc556 normalize tests for outbound channels to use switch_channel_direction instead of testing for CF_OUTBOUND 2010-12-15 20:59:42 -06: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
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
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
Jeff Lenk
3e2056833b add windows x64 build support for mod_skinny 2010-08-31 09:53:22 -05:00
Mathieu Parent
ce352bccc5 Skinny: stop media on early media hangup (ring-out) 2010-08-31 08:40:37 +02:00