Commit Graph

6701 Commits

Author SHA1 Message Date
Michael Jerris 39c3ca0014 don't define inline to nothing 2014-01-30 08:54:39 -05:00
Michael Jerris 905225a36c revert previous change that does not correct the issue. opened a bug with apple on this issue https://bugreport.apple.com/problem/viewproblem #15938497 2014-01-29 17:00:41 -05:00
Michael Jerris f6cd2945a9 FS-5956: fix __sputc included twice due to stdio.h inlining issue 2014-01-29 11:39:03 -05:00
Michael Jerris 7bff57c528 add back dir 2014-01-28 11:50:27 -05:00
Anthony Minessale a6cd8c5cc5 FS-6150 --resolve cool find 2014-01-27 06:57:21 +05:00
Anthony Minessale f865755893 rm gen files 2014-01-27 06:19:26 +05:00
Anthony Minessale 47992ab5f0 tweak event queue size on event socket and speed up fs_cli a little to keep up on busy logging env 2014-01-23 21:27:06 +05:00
Steve Underwood 5c7a5c1110 Fixed poor checking for ARM NEON 2014-01-22 02:10:27 +05:00
Travis Cross 1bf17857c9 Handle Linux TCP keepalives better in Sofia
Sofia accepts a value for the TCP keepalive timeout interval via
TPTAG_KEEPALIVE, however it fails to use this value for the Linux
keepalive socket options TCP_KEEPIDLE and TCP_KEEPINTVL.  In fact, on
Linux it enables the sending of TCP keepalives even if tpp_keepalive
is set to zero which would disable Sofia's internal keepalive
mechanisms.  Sofia then uses a hard coded value of 30 seconds for
these keepalive intervals which affects battery life on mobile
devices.

With this commit we harmonize the sending of TCP keepalives on Linux
with other platforms by using the value from TPTAG_KEEPALIVE and not
enabling the sending of TCP keepalives at all if the value of the
parameter is zero.

FS-6104 --resolve
2014-01-18 15:49:01 +00:00
Anthony Minessale 03e59c3efa FS-5653 --resolve 2014-01-07 00:39:19 +05:00
Michael Jerris 5bb1593798 .gitignore 2013-12-23 17:26:12 -05:00
Jeff Lenk 3687892e91 FS-6010 VS2013 build changes 2013-12-21 16:50:09 -06:00
Jeff Lenk e20ed84a8d fix spandsp compile for windows part 1 2013-12-09 16:42:32 -06:00
Anthony Minessale d429d7fff1 sync spandsp 2013-12-05 22:58:12 +05:00
Anthony Minessale 76f30ae090 FS-6005 --resolve
Conflicts:
	libs/sofia-sip/.update
2013-11-27 21:21:45 +05:00
Anthony Minessale eed2a7aa86 fix regression from recent refactor that causes infinite loop on unexpected disconnect 2013-11-22 04:53:49 +05:00
Jeff Lenk 071fa4db65 FS-5986 --resolve fix download reference to windows libcelt 2013-11-20 07:36:57 -06:00
Jeff Lenk 86c63fb41d fix windows esl compile 2013-11-13 19:36:49 -06:00
Anthony Minessale 14b1656c8c doh 2013-11-14 01:49:06 +05:00
Anthony Minessale dfb5867766 fix build err 2013-11-14 01:38:10 +05:00
Anthony Minessale 9284a16237 cleanup ESL a little 2013-11-14 00:43:36 +05:00
Anthony Minessale ea3aa83fd6 remove condition for mem leak 2013-11-12 12:33:44 -06:00
Moises Silva 35413ec77d freetdm: ftmod_analog_em: Remove constant CAS debug log 2013-11-08 19:08:14 -05:00
Moises Silva 2f6ccf659c Merge branch 'v1.2.stable' into v1.2.stable-em_management
Conflicts:
	libs/freetdm/mod_freetdm/mod_freetdm.c
2013-11-08 02:04:58 -05:00
Moises Silva 3a162334fe freetdm: E&M: Set the line offhook when suspended 2013-11-03 20:22:41 -05:00
Moises Silva 53d16f6193 freetdm: ftmod_zt: Refactor event processing to store OOB events that arrive during read/write operations 2013-11-01 02:07:10 -04:00
Moises Silva e945042c4d mod_freetdm: Handle read errors gracefully when the device is dead already 2013-11-01 01:16:49 -04:00
Moises Silva d0f18e4a2c freetdm: Fix hangup supervision on inbound calls for Analog E&M 2013-11-01 00:27:10 -04:00
Anthony Minessale 282808c26a add channel to logline 2013-10-31 11:21:47 -05:00
Moises Silva 7a3cc7c9af Merge remote branch 'origin/v1.2.stable' into v1.2.stable-em_management 2013-10-22 10:06:42 -04:00
Moises Silva fa1a1bfbaf freetdm: Added CAS hangup bit checking to the E&M signaling module 2013-10-22 00:52:59 -04:00
Travis Cross ddf44c089a Fix build of apr-util expat with libtool2
Applied patch from:
http://people.apache.org/~rjung/patches/expat-libtool2.patch

The failure that results from this seems to occur
non-deterministically.

FS-3185 --resolve
2013-10-17 20:42:27 +00:00
Michael Jerris 0f0816aac2 FS-5819: configure fix for new clang detection and adjust cflags for building with newest clang 2013-10-15 09:34:33 -07:00
Anthony Minessale 9764fb33cd FS-5855 please try lastest HEAD
Conflicts:
	libs/sofia-sip/.update
2013-10-08 23:05:45 +05:00
Moises Silva 01b02acfae ftmod_analog_em: Block/unblock signaling when a span is stopped/started 2013-10-06 20:51:31 -04:00
Moises Silva 4d0cc03928 Allow setting/getting signaling status from E&M channels 2013-10-06 20:11:28 -04:00
Michael Jerris 2f556d4802 FS-5819: don't assigne variable to itself 2013-09-30 13:29:04 -04:00
Chris Rienzo 5c9479db1c FS-5819 fix typo 2013-09-27 22:24:21 -04:00
Michael Jerris 4dcb448d10 FS-5819: fix bounds check on enum type 2013-09-27 21:27:52 -04:00
Michael Jerris d732c855cc FS-5819: fix useless assignment in sofia 2013-09-27 12:40:13 -04:00
Ken Rice a9330e6b8c --resolve ESL-72 fix const char* vs char* issue in swig 2013-09-20 15:26:09 -05:00
Anthony Minessale c6dd7b8fe4 ignore a= lines when m= port is 0
Conflicts:
	libs/sofia-sip/.update
2013-09-20 00:39:34 +05:00
Anthony Minessale 0b3139301d update cc header 2013-09-18 05:21:11 +05:00
Brian West 2645113465 similar fix to 53d17a1312 2013-09-12 16:57:19 -05:00
Anthony Minessale 439e582dc6 FS-5780 --resolve
Conflicts:
	libs/sofia-sip/.update
2013-09-12 00:11:06 +05:00
Anthony Minessale 795498da83 FS-5714 --resolve
Conflicts:
	libs/sofia-sip/.update
2013-09-05 20:56:51 +05:00
Anthony Minessale 9cc8b725e4 rebuild 2013-09-05 20:41:17 +05:00
Anthony Minessale b9c3dc071a FS-5714 --resolve That is probably the right place 2013-09-05 20:39:58 +05:00
Anthony Minessale 6a793107df reset offset too 2013-09-04 20:24:45 +05:00
Seven Du 9760f183fe fix typo 2013-08-28 16:23:46 +08:00
Anthony Minessale 782664056c fix some close on -1 issues 2013-08-27 23:00:29 +05:00
Moises Silva 176034bceb Merge remote-tracking branch 'origin/v1.2.stable' into v1.2.stable 2013-08-21 18:04:12 -04:00
Moises Silva cfa41253b2 mod_freetdm: E&M Analog fixes
* Rename option ringback-during-collect to immediate-ringback
* Allow regular ringback tone with immediate-ringback, not just a wav file
* Do not request full frame of data, just packet_len which is what we receive per IO interval
* Ignore user data when playing ringback tone
2013-08-21 17:54:00 -04:00
Anthony Minessale 7c92d96a5c FS-5296 2013-08-22 02:30:25 +05:00
Moises Silva 06a2ec1d4c Merge remote-tracking branch 'origin/v1.2.stable' into v1.2.stable-ftdm_em_playback 2013-08-14 14:28:59 -04:00
Jeff Lenk 7b2ed3405e FS-5655 try this 2013-08-06 00:16:03 +08:00
Anthony Minessale e765748288 rebuild 2013-07-29 16:07:52 -05:00
Anthony Minessale c0e75741b0 FS-5641 --resolve 2013-07-29 16:07:14 -05:00
Jeff Lenk 371fce4649 more fixes for last commit 2013-07-27 22:13:08 -05:00
Jeff Lenk 23bfa9c968 add missing cielab_luts to spandsp build 2013-07-27 10:52:13 -05:00
Travis Cross 465e21c76f Improve our .gitignore files
Avoid ignoring files actually in our tree, and ignore some generated
files that were not being ignored previously.
2013-07-27 03:39:38 +00:00
Travis Cross f5bb52d516 Remove autogenerated file from tree
This file is specifically ignored by our .gitignore.  Brian added this
ignore on 2013-06-06 but neglected to remove the file.  I've now
bulid-tested without the file to be sure that it is indeed generated
correctly and so can be removed safely.
2013-07-27 03:35:47 +00:00
Anthony Minessale e4ab113aae FS-5617 --resolve 2013-07-19 13:29:24 -05:00
Anthony Minessale 9ef232a4bb FS-5610 --resolve 2013-07-15 16:58:14 -05:00
Jeff Lenk 823c2a81dd FS-5598 --resolve 2013-07-13 11:57:19 -05:00
Anthony Minessale 0505879846 FS-5575 --resolve 2013-07-12 14:06:29 -05:00
Nathan Neulinger b5b23e8309 add files to spandsp ignore list 2013-07-12 10:16:55 -05:00
Jeff Lenk ca73adbea0 FS-5588 --resolve windows compiler fixes 2013-07-09 07:59:41 -05:00
Ken Rice 2fd21a47b1 FS-2816 --resolve 2013-07-06 22:03:44 -05:00
Moises Silva 7ff70bd5cd freetdm: Fix longstanding minor bug in ftdm_span_send_signal causing dial-regex in Analog modules to not work
The return status of the signal callback was not being passed to the signaling module delivering the signal
2013-07-03 02:08:59 -04:00
Anthony Minessale c5b8d3ee9b FS-5568 --resolve the real problem is that L=-1 is not valid because the L param is about how many times to generate the output while generating the tone so -1 is impossible because it can never end to let you hear it. The real fix is to not allow -1 loops=-1 is the correct way to do this because that is parsed after the tone is generated and repeats the entire thing. Doing something like L=100 actually generates the whole slinear audio 100 times into memore where loops=100 only generates the little snippet and repeats it after it was generated. 2013-07-02 08:50:14 -05:00
Jeff Lenk 5e2f808de6 FS-5527 fix compiler error windows
(cherry picked from commit a52a604fbb)
2013-06-28 11:10:58 -05:00
Anthony Minessale 74740cca5f FS-5527 --resolve
Conflicts:
	libs/sofia-sip/.update
	libs/sofia-sip/libsofia-sip-ua/nta/nta.c
2013-06-28 10:45:33 -05:00
Moises Silva f49dc139ad freetdm: Added E & M logic for routing success and fail regex parameters 2013-06-27 00:11:57 -04:00
Moises Silva c0fe9c9cd3 freetdm: Override regular media with ringback in E&M when a ringback file is specified 2013-06-27 00:11:39 -04:00
Moises Silva a55b5347ba mod_freetdm: Expose new ringback E&M parameters in the XML config 2013-06-27 00:11:24 -04:00
Moises Silva 95a2c11b0d Added ability to play a wav file as ringback tone during the COLLECT state of E&M signaling module
This is configured through 2 new parameters:
ringback-during-collect=yes|no
ringback-file=<wav file path>

You may not want to use this if your E&M lines are connected to traditional phones, otherwise
you will hear ringback tone while pressing digits. This is mostly useful with old switches that do
not provide ringback tone but the user is already done dialing (perhaps the signaling was converted from
ISDN to E&M and the full number was received in a single SETUP message)
2013-06-27 00:11:09 -04:00
Nathan Neulinger 543dc3caea make noexpandtab explicit in all vim modelines other than xml files
Conflicts:
	src/include/switch_core_media.h
	src/mod/endpoints/mod_sofia/sofia_media.c
	src/switch_core_media.c
2013-06-25 09:39:37 -05:00
Anthony Minessale 9a67ce5c1a fix gcc bug patch
Conflicts:
	libs/sofia-sip/.update
2013-06-20 10:52:10 -05:00
Anthony Minessale adf61e4bf5 newer gcc does not like when you use out of bounds array indexes to access other elements in a struct (at least at -O2) 2013-06-20 10:17:17 -05:00
Jeff Lenk c42aa88f42 FS-5526 --resolve 2013-06-19 10:51:52 -05:00
Anthony Minessale 4ea6369d1d disable dialog matching for subscribe reqs so it always uses a new handle to avoid conflicting with notify transactions 2013-06-12 23:46:52 -05:00
Jeff Lenk b1e296b948 another esl managed tweak 2013-06-07 07:26:24 +00:00
Jeff Lenk 230cea6982 tweak windows esl managed - removing mixed mode and any from the solution - this should remove some of the ambiguity around building 2013-06-07 07:26:24 +00:00
Jeff Lenk 26ca852eb0 FS-5167 fix 2010 dependency 2013-06-07 07:26:19 +00:00
Jeff Lenk ad292fb13c FS-5273 --resolve windows update resource version for pthreads 2013-06-07 07:26:18 +00:00
Michael Jerris 4fc4f7495e FS-5250: --resolve fix mac build 2013-06-07 07:26:16 +00:00
Jeff Lenk 270c47a0a5 FS-5167 fs_cli update dependency 2013-06-07 07:26:15 +00:00
Jeff Lenk b3fc9067d4 FS-5167 2013-06-07 07:26:15 +00:00
Jeff Lenk 5d77546bd5 FS-5167 add version stuff to vs2010 2013-06-07 07:26:13 +00:00
Moises Silva 2f208a64a7 OPENZAP-200 --resolve
Patch provided by: Spencer Thomason

Implement appropiate caller/called TON in ftmod_libpri
2013-06-07 07:26:12 +00:00
Jeff Lenk ec44f6aec0 FS-5167 2013-06-07 07:26:11 +00:00
Jeff Lenk a319f91ee6 FS-5272 --resolve 2013-06-07 07:26:10 +00:00
Jeff Lenk e9b94b0fbc windows missed this spot 2013-06-07 07:26:06 +00:00
Jeff Lenk c75fc0d688 windows compile openssl missed this 2013-06-07 07:26:06 +00:00
Mathieu Parent c9e09cf78a Revert local stuff from previous commit 2013-06-07 07:26:04 +00:00
Jeff Lenk f6838e2ce0 windows openssl missing file 2013-06-07 07:25:58 +00:00
Jeff Lenk 329fd4715a upgrade windows openssl to 1.0.1c 2013-06-07 07:25:58 +00:00
Stefan Knoblich 4ed7cd977a esl: Don't abort the esl_listen() loop(s) if accept() returns with errno == EINTR
ivrd doesn't use sigaction + SA_RESTART for SIGCHILD. An exiting
child process will interrupt accept() in the parent to handle
the signal, which makes accept() return -1 (errno = EINTR) after
the sighandler function returns.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-07 05:42:45 +00:00
Stefan Knoblich a573be11a1 ivrd: fflush() stdout before entering esl_listen()
Fixes repeatedly printing the 'Starting forking listener' message,
if stdout has been redirected into a logfile (for example).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-07 05:42:45 +00:00