Commit Graph

339 Commits

Author SHA1 Message Date
Ryan Lantzer dd64594c05 Updated SKINNY on-hook action to hang up all calls on a device, except those in a short list of call states (or perform a blind transfer).
Added a hook after completing the hangup operation to start ringing if there is an inbound call active on the device.

Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
2015-06-05 17:36:51 -05:00
Nathan Neulinger fb02e34c5a FS-7593 --resolve add locking keyed on device name around any database updates adding/removing the device 2015-06-01 12:23:45 -05:00
Nathan Neulinger c79360c596 reduce logging when level is below 9 for less important messages 2014-11-11 09:11:44 -06:00
Nathan Neulinger ab24bde262 FS-5533 fix issue with busy signal being sent back to all shared lines instead of just the calling device 2014-11-11 08:41:16 -06:00
Nathan Neulinger 1f5bb3470d mod_skinny: avoid truncation of non-null-terminated strings in protocol 2014-09-17 11:13:15 -05:00
Nathan Neulinger 04269fdf19 mod_skinny: additional logging 2014-09-15 16:42:31 -05:00
Nathan Neulinger 574d19e56e mod_skinny: fix behavior of transfer when target extension falls through to voicemail - keep bridge from dropping out during that operation 2014-09-09 15:58:56 -05:00
Nathan Neulinger 8973ffcc35 mod_skinny: improvements to error handling/detection 2014-09-09 08:30:46 -05:00
Nathan Neulinger 3c7e7c757a mod_skinny: more logging during transfer operations 2014-09-08 17:35:30 -05:00
Nathan Neulinger 2db039bc5f mod_skinny: FS-6720 - fix issue with SLA - had to do with answering in wrong state 2014-08-27 10:38:16 -05:00
Nathan Neulinger 5f6db1db3e mod_skinny: roll back, these are not expected to be null terminated, they are fixed length 2014-08-20 14:50:46 -05:00
Nathan Neulinger 84bc50e4ad mod_skinny: fix potential buffer size issue CID: 1214145 1214146 2014-08-20 14:32:02 -05:00
Nathan Neulinger 92b95c2d05 mod_skinny: fix calloc argument ordering CID: 1214236 1214235 2014-08-05 11:52:52 -05:00
Nathan Neulinger d0b49f95de mod_skinny: calloc param ordering 1214234 2014-08-05 11:45:38 -05:00
Nathan Neulinger bca7520ad2 mod_skinny: fix potential NPE CID: 1223252 2014-08-05 11:39:17 -05:00
Nathan Neulinger e84c964fb9 mod_skinny: pointless check CID 1060963 2014-08-05 11:30:15 -05:00
Nathan Neulinger bea603b7fa mod_skinny: fix potential overflow CID: 1060947 2014-08-05 11:26:20 -05:00
Nathan Neulinger 5e1e3565db mod_skinny: start using switch_copy_string so it uses apy_cpystrn - CID: 1214145 1214146 1214131 1214132 1214133 1214134 1214135
1214147 1214148 1214149 1214150 1214151 1214152 1214153 1214154 1214155 1214138 1214139 1214143 1214144

Forces null termination of the destination string.
2014-08-05 11:18:24 -05:00
Nathan Neulinger bb52587b81 mod_skinny: CID:1060950 remove some dead debugging code 2014-08-05 11:10:47 -05:00
Nathan Neulinger 3d5d8163b3 mod_skinny:
Changes by Ryan Lantzer <lantzer@mst.edu> to correct the generation of
line_instance value in outbound ringer requests as part of trying to
diagnose 79x1 series phones not using the correct ring tone for
calls coming into secondary lines.
2014-07-23 17:26:24 -05:00
Nathan Neulinger cf786b184d FS-6685 mod_skinny: fix behavior of ring if other SLA extension is active 2014-07-23 13:31:06 -05:00
Nathan Neulinger b6566b8354 FS-5384 enable the flash indicator on ring 2014-07-16 10:42:30 -05:00
Nathan Neulinger 958d9d9b21 FS-5384 implement support for ring-on-active and ring-on-idle attributes - right now, will just switch from 'ring' to 'indicate only' if set to 0, defaults to 1/on 2014-07-16 09:05:15 -05:00
Nathan Neulinger d886cc12fa mod_skinny: profile digit timeout is integer not string 2014-06-18 17:11:19 -05:00
Nathan Neulinger 65e190ce26 mod_skinny: add easy access to set blocking/non-blocking mode for skinny socket on a per-profile basis 2014-06-18 17:06:54 -05:00
Nathan Neulinger 8dabf51945 mod_skinny: socket timeout should be set in all cases, not just for blocking 2014-06-18 16:41:38 -05:00
Nathan Neulinger 06b87b83c5 mod_skinny: no warning if there is a matching entry, but no version listed 2014-06-18 12:06:27 -05:00
Nathan Neulinger 296c489143 mod_skinny: add stub for media resource notification message sent by VG224 2014-06-18 11:54:49 -05:00
Nathan Neulinger 840f7e69dd mod_skinny: always return a response to version message, since that's what CCM does 2014-06-18 11:44:25 -05:00
Nathan Neulinger 4eabd3ab95 mod_skinny: handle additional escaping in log messages to reduce screen/console issues 2014-06-18 10:19:42 -05:00
Nathan Neulinger e279ae8203 FS-6605 add support for automatic dialing when off-hook/ringdown --resolve 2014-06-18 08:40:28 -05:00
Nathan Neulinger 723ea00855 FS-6607 add further not from wiki page about IPv6 support 2014-06-17 19:53:45 -05:00
Nathan Neulinger 1e249d61c3 FS-6607 add notice of IPv6 support for mod_skinny 2014-06-17 19:36:55 -05:00
Nathan Neulinger d5856a4197 FS-477 fix inappropriate firing of timeout after call proceeds --resolve 2014-06-17 14:56:21 -05:00
Nathan Neulinger 148c21c6b2 FS-477 mod_skinny fix leaked lock 2014-06-09 12:34:52 -05:00
Nathan Neulinger 2974734479 FS-477 mod_skinny: re-add ability to set digit timeout in patterns, update example configs 2014-06-09 12:29:47 -05:00
Nathan Neulinger 8b6fd66f34 FS-477 default to 10 seconds to avoid noticeable impact on current users until variable timeout support re-added 2014-06-09 10:56:52 -05:00
Simon Wunderlich 31a181a4b5 mod_skinny: implement digit timeout for dialing
For numbers with variable length, there should be a timeout to wait for
further digits before routing the number. This has been prepared with
the skinny-wait target, which waited forever. This patch implements the
digit timeout which routes the call after the timeout has elapsed. The
timeout can be configured in the mod_skinny XML settings
("digit-timeout") and defaults to 2 seconds.

This implementation has been requested and sponsored by Blackned GmbH.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
2014-06-09 10:55:36 -05:00
Michael Jerris 96c6abbe69 Fix buffer overrun that could have been exploited with a crafted skinny packet designed to exploit this mistake in bounds checking. 2014-04-26 15:29:01 -04:00
Nathan Neulinger 96523a9bef mod_skinny: fix leak 2014-04-14 15:04:06 -05:00
Nathan Neulinger 93a84cf130 FS-6460 --resolve fix leaked RTP ports that cause mod_skinny to fail after N calls 2014-04-14 13:23:05 -05:00
Anthony Minessale 7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Anthony Minessale 5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
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 305543814d mod_skinny: wait up to 5 seconds for OpenRecvChannelAck
WiFi phones like the 7925g may take longer than just one second to
acknowledge the open receive message. Increase the timeout to 5 seconds.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
2014-03-10 15:17:44 -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
Anthony Minessale 804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Nathan Neulinger 9d3000788d FS-6231 add support for sending call waiting tone when a simultaneous call is received --resolve 2014-02-17 13:25:11 -06:00
Nathan Neulinger 5f5a9710bf FS-6220 fix sql quoting of queries from mod_skinny 2014-02-12 15:23:20 -06:00
Peter Olsson 93696934b2 Silence more compiler warnings 2014-01-23 12:25:15 +01:00