65 Commits

Author SHA1 Message Date
Simon Wunderlich
9f804d2d95 mod_skinny: remove unknown field from access_status
Cisco 7925g send access status message with just 8 byte of payload data.
Since we don't interpret the unknown 3rd field anyway, remove it. This
will prevent the first register to fail.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
2014-03-10 15:17:50 -05:00
Simon Wunderlich
1727213bb8 mod_skinny: make 7925g work
Cisco 7925G seem to work only with the correct conference_id2 and
rtptimeout set, so add protocol 11 definition fields and set
conference_id2 correctly.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
2014-03-10 15:17:31 -05:00
Nathan Neulinger
0174aba5af mod_skinny: move hardwired ptime to a define so it's in one place 2013-12-09 09:01:02 -06:00
Nathan Neulinger
1dc04136e2 add functions for sending forward stat message (mod_skinny) 2013-09-23 11:49:22 -05:00
Nathan Neulinger
118614e447 mod_skinny work on FS-5632 - first pass 2013-08-02 21:11:56 -05:00
Nathan Neulinger
af9a18c63c FS-4027 - improve adherence to code conventions 2013-07-12 12:00:57 -05:00
Nathan Neulinger
655325ab05 fixup and merge in FS-4027 enhancements for additional device support 2013-07-12 11:39:23 -05:00
Nathan Neulinger
802aa379fc skinny typedef 2013-07-12 11:15:46 -05:00
Nathan Neulinger
76c3f4be98 add a few additional skinny message types 2013-07-12 11:05:52 -05:00
Nathan Neulinger
9bdfb18715 skinny correct field name 2013-07-12 11:05:18 -05:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Nathan Neulinger
f59690c02f skinny more logging improvements and some refactoring of protocol replies 2013-06-23 21:47:58 -05:00
Nathan Neulinger
4a267627f2 skinny logging 2013-06-23 14:58:25 -05:00
Nathan Neulinger
e744bf0385 improvements to skinny logging, table based message text ids 2013-06-23 14:19:05 -05:00
Nathan Neulinger
8afaf28a09 FS-5379: --resolve fix skinny phone codec agreement issues due to incorrect hardwired ptime, update field names for future coding to be more descriptive 2013-05-22 09:27:09 -05:00
Jeff Lenk
ec54acb738 FS-2954 correct windows usage 2011-07-08 09:53:03 -05:00
Mathieu Parent
ff08ea68ce Skinny: reindent using vim's =G 2011-05-26 21:43:53 +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
695402333b Skinny: use proper name for station capabilities message 2011-03-01 00:24:39 +01:00
Mathieu Parent
d86388dbf7 Skinny: noop ForwardStatReq and ForwardStat implementation 2011-02-26 11:37:32 +01:00
Mathieu Parent
33848eb01c Skinny: handle Enbloc messages 2011-02-01 08:56:26 +01:00
Mathieu Parent
709c4e5f97 Skinny: Event skinny::xml_alarm 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
d018fa489a Skinny: send proper USER_TO_DEVICE_DATA_MESSAGE 2010-09-25 10:49:13 +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
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
b80eb9fb13 Skinny: realign after x86_64 commit 2010-07-28 23:57:27 +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
7566575523 Skinny: simplify header inclusions
thanks to Frank Seesink on MODSKINNY-6
2010-05-26 10:45:52 +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
5bdf8bcc16 Skinny: More channel variables 2010-05-21 01:12:40 +02:00
Mathieu Parent
8bdd2f2dc2 Skinny: add message type in too short warning 2010-05-20 20:51:18 +02:00
Mathieu Parent
8cc89ab042 Skinny: rewrite of the skinny state machine
- for incoming calls, go CS_ROUTING only when number is dialed.
  CS_HIBERNATE before
- start media when both side have answered

Also:
- send tone for UNALLOCATED_NUMBER and USER_BUSY
- if channel variables are not sufficent to set call info, ask the
  partner channel
2010-05-20 15:16:08 +02:00
Mathieu Parent
0bc11afa73 Skinny: split out server part
And try to keep each file below 2000 lines
2010-05-18 10:49:01 +02:00
Mathieu Parent
51f1ad5072 Skinny: Send hangup cause to device (busy, unknown number) 2010-05-18 10:49:01 +02:00
Mathieu Parent
74e14f0dfb Skinny: fix the build 2010-05-10 18:19:58 +02:00
Mathieu Parent
6a29e56301 Skinny: tiny change (comment) 2010-05-10 18:19:57 +02:00
Mathieu Parent
4263dda2de Skinny: Initial implementation of VersionReq
And reordering
2010-04-16 15:03:37 +02:00
Mathieu Parent
00b2622350 Skinny: initial transfer support
and some re-indentation
2010-04-16 11:59:58 +02:00
Mathieu Parent
e44d79192f Skinny: Handle backspace 2010-04-15 10:54:01 +02:00
Mathieu Parent
befd41c829 SKinny: handle hold corner cases
- try to re-use existing OffHook session
- hold active lines before: newcall, resume
- allow endcall on: offHook, afterFirstDigit
- allow newcall on: connected, ringin
2010-04-09 18:02:14 +02:00
Mathieu Parent
a1952b8636 Skinny: implement hold/resume
Also rework a bit softkey sets
2010-04-09 16:12:58 +02:00
Mathieu Parent
9cf882566f Skinny: security
- Avoid writing outside of fields
- tab ident
2010-04-02 14:47:37 +02:00
Mathieu Parent
54e73c774f Skinny: Check for socket to see if listener is alive
also, use tab to indent
2010-04-01 19:50:55 +02:00
Mathieu Parent
59bb764ff9 Skinny: avoid some crashes
- move api to own file
- really allow several profiles (one thread per profile)
- global pool
- pool per profile
- Remove unused globals.calls
- Check for closed listener before sending data
- use mutex for hashes
2010-04-01 19:41:48 +02:00
Mathieu Parent
b8ac781c05 Skinny: Implement shared lines and more
- Shared lines (same line on several phones)
  + Active lines stored in db
- Separate SQL mutex per profile
- New event skinny::call_state
- Clean port_message
- More protocol understanding:
  + stimulus may have call_id
  + off_hook may have call_id
  + set_ringer may have call_id and line_instance
  + New DisplayPriNotifyMessage
- Use Cisco terms for Call state
  + Congestion -> LineInUse
  + CallRemoteMultiline -> InUseRemotely
- Add line_instance to Lines table (relative position contrary to
  absolute position)
- Less assertions as FS already does some
2010-04-01 14:08:12 +02:00
Mathieu Parent
b769233b76 Skinny: Split ou tables
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17022 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-17 12:52:08 +00:00