Commit Graph

7339 Commits

Author SHA1 Message Date
Artur Zaprzała 2c8e9c80ce Fix SIP_PAYLOAD_INIT2 macro in sip_header.h 2015-02-18 12:37:20 +01:00
Michael Jerris 4780a7e2af FS-7294: Enable -Werror when building with clang compiler 2015-02-17 18:18:41 -05:00
Michael Jerris cf53a30a4d FS-7294: Enable -Werror when building with clang compiler 2015-02-17 17:12:58 -05:00
Michael Jerris 5f55790d72 FS-7294: Enable -Werror when building with clang compiler 2015-02-17 16:47:17 -05:00
Michael Jerris 85a5e1db1d FS-7294: Enable -Werror when building with clang compiler 2015-02-17 16:23:53 -05:00
Michael Jerris 302a339fdf FS-7294: Enable -Werror when building with clang compiler #resolve 2015-02-17 12:20:33 -05:00
Anthony Minessale 82f267adc1 FS-7122 forgot to add file to last commit 2015-02-16 16:59:55 -06:00
Anthony Minessale efd3744a21 FS-7122: Working with william to find a better way 2015-02-16 16:25:35 -06:00
Anthony Minessale 0dd71fd9fb FS-7122 REVERT 2015-02-16 16:20:14 -06:00
Anthony Minessale 9f3f348984 CentOS 5 dosn't support subdir-objects 2015-02-16 16:13:13 -06:00
Anthony Minessale 7cf5a84634 FS-7122 reversion 2015-02-16 16:06:43 -06:00
Michael Jerris d17edb59dc FS-7264: fix signed/unsigned warnings on windows building ws.c 2015-02-11 12:40:04 -05:00
Michael Jerris cceeecb04c FS-7264: silence inet_ntop deprecated warnings 2015-02-11 12:15:03 -05:00
Moises Silva 98de925e46 Merge pull request #171 in FS/freeswitch from ~MBRANCA/freeswitch:bugfix/FS-7209-improve-ani-ton-and-type-when-not to master
* commit '3cd62df96f78a0ea3255c4fced2e2f32f97c0a42':
  If ANI ton is not interpreted correctly by libpri, fallback to calling ton/type.
2015-01-28 10:35:09 -06:00
Moises Silva c9ebd0fcdf Merge pull request #165 in FS/freeswitch from ~MBRANCA/freeswitch:bugfix/FS-7197-libpri-spans-fails-to-stop-when-unloading to master
* commit 'e062f5e3c8355a6b5cb0d12ddb99300e95b38193':
  If the span has been already fully stopped and ftdm is not running, return success from the span stop function.
2015-01-28 10:33:47 -06:00
Matteo Brancaleoni 3cd62df96f If ANI ton is not interpreted correctly by libpri,
fallback to calling ton/type.
2015-01-28 11:13:37 +01:00
Matteo Brancaleoni e062f5e3c8 If the span has been already fully stopped and ftdm is not running,
return success from the span stop function.
2015-01-28 09:35:19 +01:00
Matteo Brancaleoni 8307e7842d Set ANI plan and ANI type for ftmod_libpri. 2015-01-27 15:56:00 +01:00
Anthony Minessale 90ab1d16f5 fix cent5 build 2015-01-21 02:01:54 -06:00
Michael Jerris c36196db3f FS-7180: when using system lua, properly link against renamed library versions on debian for esl luamod 2015-01-20 14:32:36 -05:00
Brian West 1d361b6108 FS-7180: let esl lua module build against lua 5.1 or 5.2 (requires newer swig) 2015-01-20 12:26:57 -06:00
William King d82611af0b Fix build of freetdm on CentOS
Revert the build change to freetdm since it broke the build of that
modules on CentOS. Once a working change is finished, then it'll be
committed against FS-7122.

FS-7142 #resolve
2015-01-09 14:21:05 -08:00
Mike Jerris 4c89075f2d Merge pull request #147 in FS/freeswitch from ~DDRAGIC/freeswitch:feature/FS-7128-fs_cli-ignore-duplicate-lines to master
* commit '2406abdb76a2c6dfb3da364a3997fb6d422e759d':
  FS-7128 fs_cli: ignore duplicate lines in history
2015-01-09 11:52:54 -06:00
Mike Jerris 9caea96371 Merge pull request #148 in FS/freeswitch from ~DDRAGIC/freeswitch:feature/FS-7129-fs_cli-function-keys-toggle-functionality to master
* commit '959b07c06f565f7d2d8a158c3ce2f44bdae3f350':
  FS-7129 fs_cli: add toggle mode to function keys
2015-01-09 11:51:07 -06:00
William King 16f7177c3d resolve an automake warning about subdirs on latest automake
The file 'libs/sofia-sip/s2check/exit77.c' was moved in order to
silence the warning and to keep the build working. There might be a
build problem that results from this file move, but after serveral
build tests I have not found one. The contents of the file are
specifically for the make check target, so I believe it would be
highly unlikely to cause problems with any production feature.

FS-7122 #resolve
2015-01-07 11:30:41 -08:00
Mike Jerris 10c961e65e Merge pull request #155 in FS/freeswitch from bugfix/FS-7122-several-libs-do-not-have-the-subdirs to master
* commit '51f2442a9e3e3478b38bfab882c7cfe4bfc37d92':
  resolve an automake warning about subdirs on latest automake
2015-01-07 12:16:29 -06:00
Anthony Minessale 19a0a0fb00 sofia rebuild 2015-01-07 17:18:21 -06:00
Anthony Minessale 5187aaed79 FS-7117 #comment revert bf5210bf72 and implement it in ws.c please be sure to learn to use git commit hooks to properly associate commits with jiras 2015-01-07 17:17:28 -06:00
William King 51f2442a9e resolve an automake warning about subdirs on latest automake
Latest automake will detect then warn if the Makefile uses source
files that are in subdirectories, but the subdirs option is not
set. In the FreeSWITCH build system the current expected behavior is
to expect the subdirs option to be enabled.

FS-7122 #resolve
2015-01-07 10:04:29 -08:00
Anthony Minessale 7c0c3ab8a6 sofia rebuild 2015-01-07 02:12:48 -06:00
Anthony Minessale 6c1bc0e2f6 sync ws code 2015-01-07 02:12:29 -06:00
Dušan Dragić 959b07c06f FS-7129 fs_cli: add toggle mode to function keys 2015-01-04 00:29:38 +01:00
Dušan Dragić 2406abdb76 FS-7128 fs_cli: ignore duplicate lines in history 2015-01-03 23:46:19 +01:00
Jeff Lenk 0b414a8de8 vs2010 unimrcp working build 2014-12-15 16:47:14 -06:00
Jeff Lenk 4d45e19691 vs2010 support for recent unimrcp changes 2014-12-15 15:18:44 -06:00
Jeff Lenk a26e29c647 vs2010 support for recent unimrcp changes 2014-12-15 14:18:01 -06:00
Jeff Lenk 357ffad817 fix windows build error 2014-12-15 13:37:07 -06:00
Michael Jerris 19272dc5e2 FS-7078: fix sip_header_as_string to properly null_terminate on larger header strings 2014-12-12 10:25:49 -06:00
Brian West c327455cde FS-7030 #resolve 2014-12-03 13:36:39 -06:00
Dave Kompel db66cdb56f Fix mrcp libraries to build right 2014-12-03 12:56:48 -05:00
Brian West b69c93eb78 FS-7030 work in progress 2014-12-02 12:32:49 -06:00
Chris Rienzo 46adbece5e FS-7030 #comment [unimrcp] restore visual studio 2010/2012 project files added by FS project 2014-12-01 14:53:25 -05:00
matteo brancaleoni 382e683b15 Use FTDM_UINT64_FMT macro to log uint64_t values, in order to not break x86 builds. 2014-11-25 15:38:45 +01:00
Chris Rienzo 061f3cb980 FS-7031 #resolve #comment [unimrcp] update library again to pull in upstream fix for --with-sofia-sip=../sofia-sip 2014-11-25 08:24:50 -05:00
Chris Rienzo f4876d591b FS-7031 [unimrcp] update sofia-sip.m4 so that it can build when relative path is used in configure.gnu --with-sofia-sip 2014-11-24 12:12:51 -05:00
Chris Rienzo 0d636aff16 FS-7031 [unimrcp] revert configure.gnu change- doesn't work when using non-source build dir. 2014-11-24 12:12:25 -05:00
Ken Rice c645ab3889 FS-6848 #resolve #comment slight tweak to fix the logic and avoid unbalanced parens 2014-11-19 16:06:17 -06:00
Richard Neese 9673cf0acb Fix for apr build issue fs-6848 freebsd arm 2014-11-19 14:00:12 -06:00
Chris Rienzo 7b80b6249b Merge branch 'unimrcp-update-20141117' 2014-11-18 14:28:38 -05:00
Chris Rienzo 8330336e9a FS-6450 [unimrcp] Update library
[apr] Backport APR_RING_FOREACH and APR_RING_FOREACH_SAFE macros to APR for unimrcp compatibility.

 [unimrcp] configure.gnu - need full path, not relative path for library paths

 [unimrcp] added uni_revision.h - couldn't get it to autogenerate from build

 [mod_unimrcp] add better logging and error checking on module load.  Currently dumps core on MRCPv1 TTS attempt

 [mod_unimrcp] don't configure MRCPv1 session with a connection agent- causes crash
2014-11-18 14:23:54 -05:00
Michael Jerris 424df19083 FS-6695: fix build on mips 2014-11-17 15:25:39 -05:00
Chris Rienzo 6f660c3a10 iksemel - remove support for SSLv23 in iks_proceed_tls (was a FS addition to iksemel). mod_rayo - updated to no longer support SSLv23 2014-11-17 09:46:23 -05:00
Michael Jerris 0cf770a836 FS-6996: #resolve fix define change as of glibc 2.20 for _BSD_SOURCE -> _DEFAULT_SOURCE 2014-11-17 09:27:22 -05:00
Anthony Minessale 87a4670d16 FS-6890 #comment please test 2014-11-12 13:09:39 -06:00
Moises Silva eb30491688 Merge remote-tracking branch 'moystash/em-suspend-support'
Conflicts:
	libs/freetdm/src/include/private/ftdm_core.h
2014-11-09 03:50:07 -05:00
Moises Silva 6b8d5b2b10 freetdm: Fix release guard timer check 2014-11-09 00:41:59 -08:00
Moises Silva 2f1b12fdc0 OPENZAP-232 #resolve
Patched-By: Florian Richter

Check for digits received on sangoma isdn stack to avoid delaying
moving to the ring state if all digits are received at once in
overlap dialing mode
2014-11-09 03:33:43 -05:00
Anthony Minessale 46e74e5853 revert 831832c2c6 2014-11-05 09:26:44 -06:00
Anthony Minessale 831832c2c6 FS-6890 #please test 2014-11-04 18:31:44 -06:00
Brian West 32a9ff3d39 Merge pull request #60 in FS/freeswitch from ~SJTHOMASON/freeswitch:FS-6823 to master
* commit 'afb00b2ecc8a9b049801f3f475c80e1111070fa8':
  Force rport on ADTRAN TA Devices
2014-11-04 07:36:36 -06:00
Anthony Minessale 7ca4ac566c FS-5949 FS-6945 #comment this change should be relevant to both of these issues, please test. This patch improves the hold parsing and ignores connection address of 0 implying hold when ice is present and disables the auto interpretation by the lower level stack of 0.0.0.0 to automatically imply sendonly to allow FS to decide on its own 2014-10-31 13:49:39 -05:00
Jeff Lenk 3c1ad1f014 Merge pull request #66 in FS/freeswitch from ~STEFANO.PICERNO/freeswitch:windows-wait-fix to master
* commit '4c9d9301b0f19b1750d567ce62142a572b163944':
  Workaround for Windows limit in su_wait
2014-10-29 11:04:00 -05:00
Peter Olsson 1ca81aca50 Ignore generated log files on Windows build 2014-10-18 09:30:07 +02:00
Mike Jerris a5f4810c0d Merge pull request #88 in FS/freeswitch from ~DANIELWEBER/freeswitch:FixManaged to master
* commit 'a0d6b642fff4fddf1bd62f39ccf952891c7817e3':
  Fix ManagedEsl.2012.csproj: There is no file 'ESLconnection.2010.cs'.
2014-10-16 11:54:13 -05:00
Anthony Minessale 59352005d0 force sofia rebuild 2014-10-13 18:28:44 -05:00
Jeff Lenk 6146efd446 FS-6870 #comment please reopen if this doesnt fix vs2010 2014-10-07 22:28:53 -05:00
Matteo Brancaleoni 7ec7c920d1 OPENZAP-220 fix blocked into read and add cause for a correct hangup 2014-10-07 14:34:39 +02:00
Michael Jerris acd8d74316 cleanup conditions 2014-10-03 12:48:43 -04:00
Spencer Thomason afb00b2ecc Force rport on ADTRAN TA Devices
ADTRAN Total Access devices do not support sending the rport parameter in
the Via header. This allows us to detect the device and force rport when
using the "safe" parameter, enabling the device to be used behind NAT.

FS-6823 #resolve
2014-10-02 13:09:15 -07:00
Anthony Minessale 35aeae0170 FS-6822 #comment The code in question appears to have been added by me (18f20e24). I think this patch is the correct solution. 2014-10-01 18:11:01 -05:00
Jeff Lenk b3d71917d2 FS-6870 #comment vs2010 and vs2012 would rather fix it this way 2014-10-01 17:53:51 -05:00
Jeff Lenk 661269a46f Revert "FS-6870 #vs2012 and vs2010 make download of openssl dependent"
This reverts commit a39db86863.
2014-10-01 17:49:21 -05:00
Brian West 8e408e9abe FS-6865 #resolve add XMPP priority to dingaling 2014-10-01 10:40:57 -05:00
Jeff Lenk a39db86863 FS-6870 #vs2012 and vs2010 make download of openssl dependent 2014-09-30 21:30:48 -05:00
Anthony Minessale 0150c862a2 FS-6854 #comment try this patch 2014-09-30 20:35:19 +05:00
Brian West 7c89c21153 FS-6860 #resolve this was fixed once but was lost in the last sync 2014-09-26 09:00:09 -05:00
Anthony Minessale f7de058acd FS-6854 #resolve 2014-09-25 21:44:02 +05:00
Travis Cross 051772e4ae Add fs_cli option to disable use of history file
With this commit, passing -Q to fs_cli will cause fs_cli to not load
or save the command history file (~/.fs_cli_history).  This can be
useful e.g. on read-only systems.

This can also be set in the fs_cli configuration file with the option
`no-history-file`.
2014-09-25 11:07:49 +00:00
Daniel Weber a0d6b642ff Fix ManagedEsl.2012.csproj: There is no file 'ESLconnection.2010.cs'. 2014-09-24 10:16:35 +02:00
Anthony Minessale 9e72c8477f fix possible buffer overrun in websocket uri and sync the ws.c between sofia and verto (missing code from last commit) 2014-09-24 01:09:44 +05:00
Anthony Minessale 59e71341db fix possible buffer overrun in websocket uri and sync the ws.c between sofia and verto 2014-09-23 20:17:20 +05:00
Stefano Picerno 4c9d9301b0 Workaround for Windows limit in su_wait
Windows has a 64 descriptor limit in WSAWaitForMultipleEvents system call.
Implemented some custom login in su_wait to work around this limitation.
Changed SU_WAIT_MAX from 64 to 0x7fffffff, like on other plaftorms.
2014-09-23 13:09:57 +02:00
Travis Cross 323a3d617c Avoid output of junk text by fs_cli
In some cases where `redisplay()` is called immediately after a
command is run (e.g. `log ...`) we often get a prompt, junk output,
and a second prompt.  This is due to a (known) race.

We believe we're falling afoul of this code in `el_deletestr`:

    if (el->el_line.cursor < &el->el_line.buffer[n])
            return;

Basing the length of text to delete off of the cursor position
resolves the issue of junk text, but the real solution is to eliminate
the race conditions, which will also resolve the sometimes duplicated
prompt.

FS-6764 #resolve

Thanks-to: Nathan Neulinger <nneul@neulinger.org>
2014-08-26 20:18:22 +00:00
Travis Cross 3c32dd3bc9 Return NULL from `sub_alloc` for zero size
When zero was passed for the size to `sub_alloc`, we were passing this
size on to `malloc` or `calloc`, which is unusual enough that static
analyzers warn about this (POSIX says that either NULL or a pointer
will be returned).

We'll instead just return NULL right away.
2014-08-22 02:47:04 +00:00
Jeff Lenk 571cf932dc fix VS2010 build warning 2014-08-16 18:22:41 -05:00
Anthony Minessale cbe0bc05d0 force sofia rebuild 2014-08-16 01:34:30 +05:00
Anthony Minessale 24413bfa11 copy changes from verto ws.c to sofia 2014-08-16 00:43:25 +05:00
Travis Cross 8d84aa25ec Cleanup whitespace 2014-08-13 19:29:03 +00:00
Peter Wu 21c145b108 libzrtp: update zrtp_sleep for modern libc
usleep is deprecated and disabled in glibc 2.12 unless requested. Use
nanosleep instead if available.

This fixes the following compiler warning:

    ./src/zrtp_iface_scheduler.c: In function 'zrtp_sleep':
    ./src/zrtp_iface_scheduler.c:96:2: warning: implicit declaration of
    function 'usleep' [-Wimplicit-function-declaration]
      usleep(msec*1000);
      ^
2014-08-13 19:28:55 +00:00
Peter Wu 98502947c8 libsrtp: do not include unnecessary sources
These two files should only be built when OpenSSL is not enabled. See
the configure script of the original sources and Makefile from upstream.
(RNG_EXTRA_OBJS)

Fixes a -Wimplicit-function-declaration warning.
2014-08-13 18:52:18 +00:00
Anthony Minessale 2411550727 add homer capture line to websocket transport 2014-08-11 21:02:25 +05:00
Travis Cross 8414c498cf Fix line endings per .gitattributes 2014-08-08 15:24:42 +00:00
Steve Underwood af64da86f2 Improved HDLC abort handling 2014-07-29 21:22:47 +08:00
Steve Underwood 8d818c3be7 Fixes for DTC handling in the T.38 gateway 2014-07-28 23:35:06 +08:00
Moises Silva d65716d83a freetdm: Added dtmf_time_on and dtmf_time_off parameters to tweak DTMF duration in milliseconds 2014-07-27 13:29:58 -04:00
Brian West 327146cecf Fix WS Compile on MSVC2012 2014-07-25 11:34:08 -05:00
Moises Silva b80cdd45d5 freetdm: Added release guard time configuration
Currently only enabled in the analog e&m module but any
signaling module can easily take advantage of it with a small
modification to the signaling module to set span->sig_release_guard_time_ms
2014-07-23 00:41:08 -04:00
Moises Silva 09198ee357 freetdm: Raise some buffer limits 2014-07-22 23:44:17 -04:00
Moises Silva 61101e325f freetdm: ftmod_analog_em: Added support for suspending channels that are offhook 2014-07-22 23:30:53 -04:00
Moises Silva a65ba24298 mod_freetdm: Added 'ftdm cas' command to read/write raw CAS bits 2014-07-22 23:30:45 -04:00