Commit Graph

21970 Commits

Author SHA1 Message Date
Steve Underwood 232fe67722 More integration with the current spandsp 2012-07-15 01:47:55 +08:00
Steve Underwood 5d7e26141f Introducing T.85 encode and decodei to spandsp. This is not connected into the FAX engine in this update. 2012-07-14 23:59:01 +08:00
Steve Underwood 287678bc56 Tweaks to spandsp tests
Addition of tones to modem connect tones
Repeat function for V.18 TDD
2012-07-14 23:34:40 +08:00
Brian West 860b53183d tweak 2012-07-14 10:24:35 -05:00
Stefan Knoblich 6ff084492b esl-php: Create installation directories if they do not exist (+ other minor clean ups).
Fixes:

   cp ESL.so /var/tmp/por.../image/usr/lib64/php5.3/lib/extensions/no-debug-zts-20090626
   cp: cannot create regular file `/var/tmp/por.../image/usr/lib64/php5.3/lib/extensions/no-debug-zts-20090626': No such file or directory

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-14 14:01:18 +02:00
Stefan Knoblich 445b74b765 mod_http_cache: Do not use C99-style for loops to fix non-debug builds.
Debug builds add -std=c99 (or -xc99 for suncc) to CFLAGS
(AX_CFLAGS_WARN_ALL_ANSI configure macro).

Non-debug builds do not invoke AX_CFLAGS_WARN_ALL_ANSI checks and
therefore won't have C99 support enabled, which breaks the build of
mod_http_cache due to "for (int i... )"-style C99 loops.

NOTE: AC_PROG_CC_C99 would make a lot of sense here and MSVC (2005)
accepts "for (int ...)" constructs too.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-14 12:43:36 +02:00
Anthony Minessale 1f39ecd13f FS-3840 --resolve 2012-07-13 18:02:36 -05:00
Anthony Minessale b6e962de1d typo 2012-07-13 18:02:09 -05:00
Anthony Minessale aebb15fe86 FS-4421 --resolve 2012-07-13 17:20:59 -05:00
Michael S Collins a217dec243 Update phrase_en.xml (new sound files created) 2012-07-13 14:55:10 -07:00
Anthony Minessale 4a801c8626 only decode rtp packets in srtp mode 2012-07-13 14:58:20 -05:00
William King 0afd7318bd adding write support to mod_vlc 2012-07-13 09:26:02 -07:00
Anthony Minessale ba6c404eb9 FS-4422 2012-07-12 18:10:20 -05:00
Anthony Minessale 643a18b583 FS-4418 --resolve 2012-07-12 17:54:02 -05:00
Anthony Minessale 18a16e6931 FS-4335 test this patch, and also remember you must resubmit the logs after each new test 2012-07-12 17:45:43 -05:00
Anthony Minessale 0dfb4db8b4 how does the older compiler catch things the new one doesnt 2012-07-12 14:34:56 -05:00
Anthony Minessale 46fee25dad add fsctl sql start/stop for standby controls 2012-07-12 14:30:44 -05:00
Anthony Minessale cc48015709 conf tweaks 2012-07-12 14:30:44 -05:00
Anthony Minessale f5fe8bc5f6 close fd on fsv_record 2012-07-12 14:03:19 -05:00
Stefan Knoblich de4bf23d59 ftmod_pritap: Fix format string errors.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 20:07:18 +02:00
Stefan Knoblich 391d498cbe ftmod_r2: Fix format string errors.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 20:07:18 +02:00
Stefan Knoblich d141de28ea freeswitch: Add -base cmdline option.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 19:52:00 +02:00
Anthony Minessale d5d6b29893 add outcall-templ 2012-07-12 10:42:46 -05:00
Stefan Knoblich 03a219772c ftmod_gsm: Fix format string errors.
Two fixes:

	Use ftdm_set_string() instead of sprintf() (seriously, wtf?).

	Drop invalid, needless argument to ftdm_log().

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 12:41:23 +02:00
Stefan Knoblich 435f28cefb FreeSWITCH: Fix copy&paste error in -storage cmdline option handling.
"htdocs_dir" -> "storage_dir"

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 10:03:14 +02:00
Jeff Lenk fc5490f1dc FS-4415 --resolve 2012-07-11 22:31:36 -05:00
Stefan Knoblich 95c20425a8 FreeSWITCH: Use SWITCH_TIME_T_FMT to fix format string error in send_heartbeat().
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 03:25:12 +02:00
Stefan Knoblich ba1c27fec7 ftmod_sangoma_ss7: Fix format string errors.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 03:20:47 +02:00
Stefan Knoblich da4b28c115 FreeTDM: Cast flag to uint64_t and use FTDM_UINT64_FMT to silence format string warning.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 03:18:52 +02:00
Stefan Knoblich 6aebfe6a60 ftmod_wanpipe: Fix "initialization from incompatible pointer type" warning.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 03:02:16 +02:00
Stefan Knoblich ee2a5a33f3 FreeTDM: Fix format string errors in ftmod_analog, ftmod_wanpipe and ftmod_sangoma_isdn.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 03:01:20 +02:00
Stefan Knoblich 90d299cd7a FreeTDM: Add dumy "%s" format string to ftdm_assert() and ftdm_assert_return() to silence format string warnings.
Neither of them accepts extra arguments and ftmod_sangoma_isdn is calling
ftmod_assert() with a char * msg argument.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 02:37:55 +02:00
Stefan Knoblich a0bd63d32d mod_conference: Fix format string errors.
Use switch_event_add_header_string() where needed and add a
dummy "%s" format string to switch_event_add_body() calls.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 01:44:18 +02:00
Daniel Swarbrick a8efae998f Add FreeSWITCH-Version string and Uptime-msec (uptime in *milliseconds*) to heartbeat events 2012-07-12 01:34:36 +02:00
Anthony Minessale a06eb2db30 FS-4328 try this 2012-07-11 18:12:26 -05:00
Anthony Minessale 932fc2286f update 2012-07-11 18:04:13 -05:00
Anthony Minessale 0c945168ca update 2012-07-11 17:35:40 -05:00
Anthony Minessale 4e0f40d7c6 update 2012-07-11 17:25:45 -05:00
Anthony Minessale 63147207b6 update 2012-07-11 17:09:42 -05:00
Anthony Minessale 75b36c9545 tweaks 2012-07-11 16:48:56 -05:00
Anthony Minessale 9cad51b74b flip not 2012-07-11 16:03:56 -05:00
Anthony Minessale abbe8d5a0d tweak 2012-07-11 15:50:43 -05:00
Stefan Knoblich f384e247fc FreeTDM: Add gcc printf()-style format string checks to ftdm_log(), also add FTDM_(U)INT64_FMT and FTDM_TIME_FMT constants.
The format string checks already caught a couple crash-worthy bugs and this
commit fixes a couple more.

Also includes __ftdm_check_scanf(), for completeness (currently unused).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-11 22:44:08 +02:00
Anthony Minessale 1e7d214ae6 compiler errs from last commit 2012-07-11 15:35:49 -05:00
Anthony Minessale 088437cab1 add some rtcp stuff for sangoma 2012-07-11 15:23:12 -05:00
Anthony Minessale 2aebe2456f first pass on some new stuff 2012-07-11 15:15:50 -05:00
Stefan Knoblich 90cdc718ec FreeTDM: Whitespace fixes for load_config().
Get rid of those annoying green trailing whitespace and empty lines
with whitespace.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-11 20:41:55 +02:00
Stefan Knoblich fdf86c0c51 FreeTDM: Make cfg_name[] const in load_config().
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-11 20:40:59 +02:00
Stefan Knoblich ab285ace3d FreeTDM: Improve error checking and logging in load_config(), add FTDM_SPAN_IS_DIGITAL() helper.
Output the current trunk_type in "add X-channel vs. trunk_type" error messages and
check this for B-/D-channels too.

ISDN (= digital) spans need to have a trunk_type set before adding channels,
bail out early with an error message (actually two) if this is not the case.

(Adding channels should really be moved out of the parsing loop, to catch
 certain types of errors easier.)

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-11 20:32:34 +02:00
Michael S Collins eb7e640b59 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2012-07-11 11:10:33 -07:00