Commit Graph

27906 Commits

Author SHA1 Message Date
Chris Rienzo 7d7223e931 FS-6842 #resolve mod_graylog2: added send-uncompressed-header param- set to true for logstash support 2014-09-23 16:40:46 -04: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 e8d6866899 use the more reliable offset_pos counter in file position parsing for seek in scripts 2014-09-23 21:01:25 +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 0cc7bc8db6 Add missing CURLOPT_NOSIGNAL options
To work correctly in a multi-threaded environment, curl needs to be
used with CURLOPT_NOSIGNAL set to 1.  If it's left at zero, the
default, then curl will use signals to deal with timeouts which will
often result in a crash.

ref: http://curl.haxx.se/libcurl/c/libcurl-tutorial.html#Multi-threading
ref: http://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html
ref: http://stackoverflow.com/questions/9191668/error-longjmp-causes-uninitialized-stack-frame
ref: https://bugzilla.redhat.com/show_bug.cgi?id=539809
ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570436
2014-09-23 00:04:21 +00:00
Anthony Minessale 1bb0b8e16d fix leak in lua when script does not execute properly in xml_binding handler 2014-09-23 03:57:04 +05:00
Dušan Dragić a9b2e061dc mod_gsmopen: clean up "gsm list" output a little
Replace tabs with spaces and add two columns, operator and imei.
2014-09-21 20:14:13 +02:00
Dušan Dragić 4aa7c98d5a mod_gsmopen: convert reported RSSI from AT+CSQ to dBm.
Add to gsmopen_dump and events.
2014-09-21 20:14:12 +02:00
Dušan Dragić 13a595a15e mod_gsmopen: get device manufacturer, model and firmware version info. 2014-09-21 20:14:05 +02:00
Dušan Dragić 79d962f38e mod_gsmopen: add support for reading own number from ON phonebook using AT+CNUM 2014-09-21 20:04:04 +02:00
Travis Cross 4dc7f92aff Update document to HTTPS URLs 2014-09-19 06:38:35 +00:00
Travis Cross 10c8403689 Document guidelines for proposing a new module 2014-09-19 04:38:48 +00:00
Brian West 79b3cdfc96 update to strong hash and keysize 2014-09-18 17:54:25 -05:00
Travis Cross 393c7c3e97 Update our contributor guidelines for PRs 2014-09-18 21:44:37 +00:00
Anthony Minessale 372455c30a FS-6829 #resolve 2014-09-19 02:28:47 +05:00
Travis Cross b92ad9bbb5 Escape a literal pound for Markdown
Markdown treats this as an H1 otherwise.
2014-09-18 21:14:52 +00:00
Travis Cross b7b01d0144 Make example commit look like git log output
This makes it visually clearer what the reader is looking at and
highlights that we want a real name as the author name.
2014-09-18 21:10:18 +00:00
Travis Cross c166afb676 Use preformatted text for example commit message
We want to highlight that lines are hard wrapped in a commit message,
and using the typical Markdown blockquote syntax fails to achieve
that.
2014-09-18 21:09:58 +00:00
Travis Cross 1d80915637 Cleanup whitespace 2014-09-18 20:33:08 +00:00
Travis Cross 2ef2146a26 Refer to our contributor guidelines on git setup 2014-09-18 20:32:23 +00:00
Travis Cross 58110da870 Document policy against merges in a feature branch 2014-09-18 20:02:19 +00:00
Travis Cross 527016cdec Fix straggling reference to old commit hooks 2014-09-18 19:50:25 +00:00
Travis Cross 718e3c6583 Document our deviations from commit guidelines 2014-09-18 19:48:25 +00:00
Anthony Minessale bb2427e833 add state change to verto to allow call to stay up when network conditions change 2014-09-18 15:30:33 -04:00
Travis Cross 1379a2cc9f Document some guidelines for creating commits 2014-09-18 18:34:36 +00:00
Jeff Lenk 8f85b5204c vs2010 trival compiler warnings 2014-09-17 18:11:20 -05:00
Nathan Neulinger 1f5bb3470d mod_skinny: avoid truncation of non-null-terminated strings in protocol 2014-09-17 11:13:15 -05:00
Anthony Minessale d2f8fca18a FS-6825 #resolve #comment caused by regression in commit 0732c0b0 pertaining to FS-6825 2014-09-17 20:32:18 +05:00
Anthony Minessale 295fcce8a8 add buffer_seconds param to shout filehandles to override the original default of 1 and remove previous code to attempt to buffer several seconds of audio in the open routine. Any experiencing jittery playback from slow shout destinations should add {buffer_seconds=N} to the file path to increase the amount of time allotted for buffering when no audio is discovered on the wire 2014-09-17 04:54:38 +05:00
Anthony Minessale 16d947dd7a can't have asserts here after all 2014-09-17 02:14:54 +05:00
Anthony Minessale b2917e06db improve ssl errors 2014-09-17 02:14:43 +05:00
Anthony Minessale 47ae1837d5 add some asserts 2014-09-16 20:44:10 +05:00
Seven Du 36addd5b61 bytes is signed 2014-09-16 19:15:12 +08:00
Seven Du f78007766b don't reset when video floor is locked
when video floor is locked by a member, changing audio floor on del_member
will cause the video floor lock cleared unexpectedly, this commit fixes that.
2014-09-16 19:15:12 +08:00
Nathan Neulinger 04269fdf19 mod_skinny: additional logging 2014-09-15 16:42:31 -05:00
Brian West dca7bdde77 Merge pull request #55 in FS/freeswitch from ~DDRAGIC/freeswitch:bugfix/FS-6821-mod_gsmopen-wrong-interface-name-in-log to master
* commit 'f262dbce948e6043d48d7859da00fa7db5b47585':
  FS-6821 mod_gsmopen: fix interface name in log
2014-09-15 14:31:49 -05:00
Ken Rice b420a304b8 pt-BR-karina spec file initial import 2014-09-15 21:45:32 +04:00
Ken Rice 4be18d2c7b make these work with the rest of the RPM packaging system 2014-09-15 20:03:10 +04:00
Anthony Minessale f924684eff FS-6623 #resolve fix init and logging for rtcp 2014-09-15 20:08:09 +05:00
jchavanton b738775876 [FS-6623] implement RTCP report generation 2014-09-15 20:08:09 +05:00
Peter Wu 8e4423f126 Document Dbh.test_reactive, return saner values
In the FreeSWITCH core, the return value of switch_case_db_test_reactive
is ignored, but it is usable in LUA modules (and other bindings via
SWIG). The LUA API example[1] shows how to check the return value, but
that example miserably fails if the database did not exist before.

Changes:

 - Document the expected behavior of the test_reactive function.
 - Assert that test_sql and sql_reactive are both given. If either
   query is not given, the caller is using the wrong API.
 - When SCF_AUTO_SCHEMAS is cleared, use the return value of the
   test_sql execution. Does anybody use this? Why not remove it?
 - Do not unconditionally return SWITCH_FALSE when test_sql fails,
   instead allow it to become SWITCH_TRUE when reactive_sql passes.
 - Remove the unnecessary test_sql check for SCDB_TYPE_CORE_DB
   (this is now enforced through an assert check). (+reindent)
 - Clarify the error message of drop_sql, prepending "Ignoring" to
   the "SQL ERR" message.
 - LUA: Do not print "DBH NOT Connected" if the query fails. This was
   the initial source of confusion.

 [1]: https://confluence.freeswitch.org/display/FREESWITCH/Lua+API+Reference
2014-09-15 15:39:08 +02:00
Dušan Dragić f262dbce94 FS-6821 mod_gsmopen: fix interface name in log
Fix interface name for logs emitted from mod_gsmopen.cpp during startup
2014-09-14 13:06:31 +02:00
Dušan Dragić 9423953e02 FS-6820 mod_gsmopen: fix total interfaces count when executing gsm reload 2014-09-14 12:24:19 +02:00
Ken Rice bbcd4a86d1 prep for streamlining this process 2014-09-13 02:16:06 +04:00
Travis Cross 4016b93d4a Indicate we want a full name for git 2014-09-12 17:43:39 +00:00
Travis Cross 19e0de9049 Document how to setup git correctly 2014-09-12 17:42:25 +00:00
Ken Rice e440eb6dc8 include the hash files so we can copy them up all at once 2014-09-12 21:14:55 +04:00
Ken Rice 74343e5a0a make the spec file match the files that are there 2014-09-12 21:14:55 +04:00
Ken Rice 3afc086413 June French RPMs 2014-09-12 21:14:55 +04:00