330 Commits

Author SHA1 Message Date
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
Peter Olsson
5a820fdc78 Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future. 2014-01-22 22:47:11 +01:00
Peter Olsson
084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01: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
3f064220b9 FS-6024 --resolve 2013-12-09 08:54:54 -06:00
Anthony Minessale
4a172402d2 some refactoring and plumbing for 1.4 2013-10-16 02:24:32 +05:00
Nathan Neulinger
4158d92ed6 FS-5826 - seems to improve behavior, possibility of issue with FS-5180, but not enough details on that problem to tell. Current symptom is definitely measurable though. --resolve 2013-09-30 09:32:14 -05:00
Nathan Neulinger
ea51b86970 FS-5819 remove pointless comparison 2013-09-26 12:53:44 -05:00
Nathan Neulinger
23530ebb23 add send of DisplayPromptStatusMessage and ForwardAll stimulus 2013-09-23 13:18:00 -05:00
Nathan Neulinger
1dc04136e2 add functions for sending forward stat message (mod_skinny) 2013-09-23 11:49:22 -05:00