Commit Graph

6579 Commits

Author SHA1 Message Date
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
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
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
Anthony Minessale 50b68f2f85 add some device-state mechinism to FS to allow tracking of device-specific states where they may have more than one call from the same device 2013-06-05 11:19:53 -05:00
Brian West 31b6d6017b Up this buffer to prevent boxes from locking up if they receive more than 1000 bytes. 2013-06-04 17:09:33 -05:00
Stefan Knoblich bf0b3291bb ftmod_libpri: Fix channel iterator memory leak
Keep the original iterator around to be able to actually free it
after use.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-01 22:49:00 +02:00
Stefan Knoblich 424850f688 ftmod_libpri: Fix possible NULL-ptr dereference crash in on_restart(_ack)()
Catch single channel RESTART/RESTART ACK events for non-B-channels,
that would lead to a NULL pointer dereference, because those do not have
per-channel private data (chan->call_data = chan_priv == NULL).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-01 22:48:45 +02:00
Mathieu Parent b36ad82da7 Don't create a new session when pressing speeddial
Fixes #FS-5259 (Thanks to Nathan Neulinger for the patch)
2013-05-31 15:10:42 -05:00
Brian West 83c6f4250b add kirk wireless servers to safe as they do not do rport 2013-05-31 11:56:53 -05:00
Travis Cross 5e7485ff20 Avoid dereferencing potential null value 2013-05-29 02:52:13 +00:00
Travis Cross 9ce4be3daa Remove assignment without effect 2013-05-29 02:52:05 +00:00
Travis Cross ca9d806042 Avoid dereferencing potential null value 2013-05-29 02:51:57 +00:00
Travis Cross 83e33bb399 Handle potential malloc failure better 2013-05-29 02:51:51 +00:00
Travis Cross 58e48416be Add missing text editor local variable blocks 2013-05-29 02:50:03 +00:00
Travis Cross 00769c458f Fix unlikely memory leak in ESL 2013-05-29 02:48:59 +00:00
Travis Cross 800fe2a970 Remove assignment without effect in fs_cli 2013-05-29 02:48:50 +00:00
Travis Cross 987f76d379 Avoid dangling reference at end of fs_cli
Not that it really matters since we're returning to the OS momentarily
at that point anyway.
2013-05-29 02:48:33 +00:00
Jeff Lenk 73257d7ca2 FS-5479 --resolve 2013-05-29 02:48:23 +00:00
Jeff Lenk 1926a54bd0 fix unused parameter warning on windows 2013-05-29 02:48:17 +00:00
Travis Cross d5d9e45632 Remove self-assignment without any effect
clang:

  error: explicitly assigning a variable of type 'uint16_t' (aka 'unsigned short') to itself [-Werror,-Wself-assign]
2013-05-29 02:47:41 +00:00
Travis Cross f07e58d30f Handle a failure of strerror_r
This fixes the build on gcc-4.7.3.  The build was breaking with:

  error: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Werror=unused-result]
2013-05-25 21:44:16 +00:00
William King 898a487443 Theoretical memory leak where if attr_init failed, then check would have still been malloc'd but not used. 2013-05-18 20:42:35 -07:00
William King 4192bf3370 Minor code cleanup. calling va_start without calling va_end doesn't leak does it? Either way, it's fixed now. 2013-05-18 20:15:14 -07:00
Anthony Minessale d3c5713649 FS-5325 force rebuild 2013-05-14 07:44:48 -05:00
Jeff Lenk b52994ed5d FS-5325 windows compile
(cherry picked from commit d466316ace)
2013-05-10 17:34:06 -05:00