Commit Graph

7400 Commits

Author SHA1 Message Date
Steve Underwood 568ecb8bf4 Tweaks for platforms which require string.h for memxxx functions. 2015-12-05 01:15:54 +08:00
Steve Underwood c74237ad3c Added AC_FUNC_MEMMOVE test to spandsp 2015-11-25 23:21:48 +08:00
Anthony Minessale 26bed941b3 FS-8160 Additional vulnerability in json parsing malformed utf encoded chars discovered by Brian Martin - Tenable Security Response CVE-2015-7392 2015-11-19 13:45:04 -06:00
Moises Silva 8a81c3f59e OPENZAP-238: [freetdm] Fix gsm caller id and dnis information
Also fix small leak caused by the span being destroyed before the gsm loop ran
2015-11-13 02:58:06 -05:00
Moises Silva c8a9c07059 OPENZAP-238: [freetdm] Fix gsm signaling status reporting 2015-11-13 02:57:39 -05:00
Moises Silva c3e40b29be OPENZAP-238: [freetdm] Fix stop sequence to properly shutdown the gsm span using libwat
Misc code style fixes as well:

* Use static functions everywhere, no need to pollute the global namespace
* Rework some function names and variables to use lower case
2015-11-13 02:45:24 -05:00
Moises Silva b1de2ccd95 OPENZAP-238: [freetdm] Add new GSM parameter startup-command
The new parameter startup-command for gsm spans allows
executing raw AT commands on span startup
2015-11-13 02:05:53 -05:00
Moises Silva 7b4838035a OPENZAP-238: [freetdm] Enable GSM immediate forwarding logic
Use the new parameter immediate-forwarding-numbers to configure
immediate forwarding logic that emulates hunt groups

The parameter syntax is:

[<span-name>:]<number>

Multiple elements can be specified separated by commas

If the <span-name> is specified, the span will be checked for
availability, if available, its number will be selected for
forwarding, otherwise next number will be checked

Forwarding is enabled as soon as a channel is answered and its
disabled when the channel is hung up
2015-11-13 02:05:53 -05:00
Moises Silva 54005bfead OPENZAP-238: [freetdm] Confirm release on hangup of raw GSM call 2015-11-13 02:05:53 -05:00
Moises Silva 0267ab566d OPENZAP-238: [freetdm] Fix state transition on hangup after a raw call is placed 2015-11-13 02:05:53 -05:00
Moises Silva 160576f86b OPENZAP-238: [freetdm] Fix gsm forwarding initialization 2015-11-13 02:05:53 -05:00
Moises Silva f5894db211 OPENZAP-238: [freetdm] Several core and gsm improvements
* Add error handing in mod_freetdm for ftdm trace failures

* Allow freetdm signaling modules to specify a destroy function

* Added conditional forwarding to the freetdm gsm module
  Just specify the conditional-forwarding-number gsm parameter in freetdm.conf.xml

* Added new 'gsm call' freetdm command for raw GSM calls which can be
  used to enable/disabling network features (e.g call *93) without
  having to resort to use a full originate that requires routing the
  call somewhere when answered

* Miscelaneous cleanup of piggy coding style left over by one of the
  previous authors -_-
2015-11-13 02:05:53 -05:00
Mike Jerris 4cd0288034 Merge pull request #519 in FS/freeswitch from ~MBRANCA/freeswitch:bugfix/FS-8248-python-esl-bindings-are-installed to master
* commit 'f5441a09f8f0c20750b1f9762d361d6f1a2f19c8':
  FS-8248 put python binaries into site arch path
2015-11-09 13:52:41 -06:00
Mike Jerris 49832084bb Merge pull request #568 in FS/freeswitch from ~RAVENOX/freeswitch:master to master
* commit '54be6fc57369a71685aaad59f4605b29194cc8f2':
  ESL-111 Fix esl/python/Makefile to create install directory This need when using make install DESTDIR=...
2015-11-09 13:51:00 -06:00
Moises Silva ce5c99d45c OPENZAP-240 #resolve [GSM module uses incorrect length when parsing AT responses]
Use the buffer length returned by the driver instead of trying to use strlen()
2015-11-08 22:12:41 -06:00
Artur Kraev 54be6fc573 ESL-111 Fix esl/python/Makefile to create install directory
This need when using make install DESTDIR=...
2015-10-29 23:27:54 +03:00
matteo brancaleoni f5441a09f8 FS-8248 put python binaries into site arch path 2015-09-30 12:43:42 +02:00
Steve Underwood 721ea6dceb Removed use of _NONSTD for Windows builds of spandsp, so (hopefully) eliminate
compatibility problems with recent versions of MSVC
2015-09-28 21:47:27 +08:00
Michael Jerris cf892528a1 FS-8160: properly handle malformed json when parsing json with \u at the end of a json string 2015-09-14 17:56:55 -04:00
Stanislav Sinyagin 98a190a107 FS-7967 SmartOS compatibility
configure.ac: honor NetBSD and SmartOS in search for system lua
src/switch_utf8.c: remove switch_u8_vprintf and switch_u8_printf
replace u_int32_t with C99 standard uint32_t, and also the same for
  8,16,64 bit
2015-09-09 21:39:41 +00:00
Stanislav Sinyagin 4df2476564 libs/spandsp/.gitignore: added temporary files in test-data 2015-09-09 21:39:18 +00:00
Anthony Minessale ba5aa94ce8 FS-7486 #resolve update sofia 2015-09-09 12:26:03 -05:00
Anthony Minessale II c1f45cd3a8 Merge pull request #243 in FS/freeswitch from ~ARTURZ/freeswitch:FS-7486-broken-sofia-request-queue to master
* commit '074b07f5458d8584c153a5810bfa2e4011def20c':
  FS-7486: Fix handling of queued requests in Sofia-SIP
2015-09-09 12:23:20 -05:00
Mike Jerris 6445012dd6 windows test program working 2015-09-04 16:37:49 -04:00
Anthony Minessale 93a647468b move some defs to platform 2015-09-04 15:18:55 -05:00
Anthony Minessale 8a5cd7e734 cleanup 2015-09-04 15:10:55 -05:00
Anthony Minessale 6bb3e86629 add test 2015-09-04 15:06:52 -05:00
Anthony Minessale 01e7aaab89 temp build test func 2015-09-04 15:04:21 -05:00
Anthony Minessale e5bcf53b17 rm wtf 2015-09-04 15:04:21 -05:00
Anthony Minessale fd98f7f4fb formatting 2015-09-04 15:04:21 -05:00
Anthony Minessale 8142b5eb81 formatting 2015-09-04 15:04:21 -05:00
Mike Jerris 25b9c4810a turn on all warnings in windows build, silence specific ones we don't want 2015-09-04 14:49:52 -04:00
Anthony Minessale ecca125c6a add types and platform headers 2015-09-04 12:54:37 -05:00
Mike Jerris 84504b04c8 fully clean windows build 2015-09-04 13:28:55 -04:00
Mike Jerris 5b4b82c4f0 working windows build 2015-09-04 13:25:32 -04:00
Anthony Minessale 9830fb63f6 eliminate sbrk and make build on mac 2015-09-04 12:05:06 -05:00
Mike Jerris 17f7afe76a almost working windows build 2015-09-04 12:58:46 -04:00
Anthony Minessale b434e2b7fe add map_anonymoys support 2015-09-04 11:38:16 -05:00
Anthony Minessale aebc6467fb formatting 2015-09-04 11:34:51 -05:00
Anthony Minessale ab4514d1e5 fix indenting 2015-09-04 11:26:21 -05:00
Michael Jerris 3947d443fa add some code to test 2015-09-04 12:07:05 -04:00
Mike Jerris 46c0d05216 FS-7966: fix more msvc 2015 build warnings. 2015-09-02 13:07:17 -04:00
Mike Jerris 27f2797695 FS-7966: fix some dependencies to avoid rebuild, fix properties and enable warnings as errors on core 2015-09-01 14:24:25 -04:00
Mike Jerris a40c12547c FS-7966: bump lame tarball version so it downloads a new one 2015-09-01 11:35:16 -04:00
Mike Jerris 147af94385 FS-7966: disable warning 2015-08-31 18:32:55 -04:00
Mike Jerris 403c1735e5 FS-7966: fix more msvc 2015 warnings. 2015-08-31 17:47:57 -04:00
Mike Jerris 5c59a0159d FS-7966: fix more msvc 2015 warnings. 2015-08-31 17:08:52 -04:00
Mike Jerris 4b8587a863 FS-7966: fix msvc 2015 ldns build 2015-08-31 15:41:58 -04:00
Mike Jerris 8d92ff2ed3 FS-7966: fix msvc 2015 ldns build 2015-08-31 15:09:03 -04:00
Anthony Minessale 4d12bef20b revert 2015-08-31 13:00:08 -05:00