Commit Graph

24583 Commits

Author SHA1 Message Date
Seven Du 5414c7630a show say, chat, interfaces, limits 2013-06-04 09:25:19 +08:00
Seven Du 947c0542a9 update to mp4v2-2.0.0
It seems I cannot contact the original author
it seems has a bug which even cannot compile with mp4v2-trunk-479
This patch allow it to compile
2013-06-04 08:46:05 +08:00
Seven Du 96f74a9f4a fix hardcoded host and port 2013-06-04 08:23:37 +08:00
Jeff Lenk 6739889f65 OPENZAP-214 --resolve 2013-06-03 17:27:04 -05:00
Travis Cross d40f59e795 Set mod_voicemail to depend on mail-transport-agent
Without this dependency we might not end up with sendmail installed
which would be unnecessarily surprising when using mod_voicemail.
2013-06-03 09:29:52 +00:00
Travis Cross 505815c902 Avoid crashing FS after delivering a VM
When vm-storage-dir was set to an absolute path, FS would abort after
delivering a VM because we were trying to free(3) memory sitting in
the middle of a memory pool.

FS-5329
2013-06-03 09:29:51 +00:00
Travis Cross 9ae26ff50d Have modules depend on a particular version of libfreeswitch1
At this point we never want someone running a module against a
different version of FS than the module was built for.  It's also
conceivable that you could want to use the modules with libfreeswitch1
even if you weren't running FS itself.
2013-06-03 06:14:02 +00:00
Travis Cross bc25079fce Fix spelling in log message 2013-06-02 20:06:34 +00:00
Stefan Knoblich 6ca5a02656 FreeTDM: handle_core_command() clean up
Use uint64_t and FTDM_UINT64_FMT for flagval and "%u" for unsigned int.
Extend invalid channel id check to cover chan_id == 0 case.

Use ftdm_strlen_zero() and ftdm_array_len() instead of open-coding them.
Move some variables from global scope into local subcommand scope.

Various other little format string and variable naming fixes.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-02 03:02:14 +02:00
Stefan Knoblich 23c2c751bd FreeTDM: Move I/O interface lookup code into common ftdm_global_get_io_interface()
Auto-loading can be toggled by setting the new autoload parameter
to FTDM_FALSE/FTDM_TRUE.

Update ftdm_span_create() and ftdm_api_execute() to use the new code.

NOTE: Auto-loading of missing I/O interfaces remains enabled in both cases,
      but I guess we should disable it for ftdm_api_execute().

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-02 02:56:44 +02:00
Stefan Knoblich 85e2eaaf58 FreeTDM: Fix "ftdm core flags/spanflags" with flag names
"x >> 1" is _NOT_ the reverse of "1 << x"...

Use code from Sean Eron Andersen's "Bit Twiddling Hacks"
(=> http://graphics.stanford.edu/~seander/bithacks.html#IntegerLog)
to compute the log2 value (= position in the enum) of the bitflag.

This preserves the current behaviour, which is rather odd because
it is based on the position of the value in the enum, not its
actual (bit flag) value.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-01 22:30:45 +02:00
Stefan Knoblich e857527a3b FreeTDM: Rewrite "ftdm core" print_* functions (to use new span iterator)
Simplify code by using shared string constants using bool (0/1) index,
!!-operator and negation-via-XOR.

Future optimization: Preallocate and re-use of iterators, to avoid
repeatedly allocating and freeing of memory.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-01 22:19:16 +02:00
Stefan Knoblich 5154bd847b 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 21:09:48 +02:00
Stefan Knoblich 4bc05eae68 FreeTDM: Add span iterator
Part of my ongoing effort to split ftdm_io.c into more manageable pieces.

This change (along with others in the future) allows decoupling of the
span registry and its users, in preparation of moving all span related
functions and data structures into ftdm_span.c.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2013-06-01 15:20:51 +02:00
Anthony Minessale 5835e0d541 FS-5488 --resolve 2013-05-31 14:46:15 -05:00
Nathan Neulinger e74bba08c2 FS-5449: apply correct quoting, got older version of patch accidentally 2013-05-31 16:31:27 -05:00
Nathan Neulinger ac0ed44b96 FS-5449: --resolve add a mod_commands function to use the shell escape function and update the existing function to use correct escaping
adds a pool based implementation of the switch_util_quote_shell_arg function and changes existing function to be a wrapper around the pool based one
2013-05-31 16:25:08 -05:00
Anthony Minessale 5eabe2bc4e FS-5488 --resolve 2013-05-31 13:14:37 -05:00
Michael S Collins c88059c5a8 More to-be-recorded phrases. 2013-05-31 11:44:58 -07:00
Stefan Knoblich 9da0183352 FreeTDM: Remove unused local 'interfaces' variable
Zero-filled, but never used otherwise (and static), drop it.

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2013-05-31 19:26:36 +02:00
Steve Underwood 88587ec03b Minor tweaks from cleaning up spandsp 2013-06-01 01:05:08 +08:00
Brian West a55d70ed62 add kirk wireless servers to safe as they do not do rport 2013-05-31 11:54:05 -05:00
Brian West 507788f01c Swap this 2013-05-31 09:16:32 -05:00
Nathan Neulinger 803c02a3e8 Change to correct prompt on outgoing call, eliminate UNDEFINED! message 2013-05-30 12:49:59 -05:00
Nathan Neulinger fffe3d06aa Allow skinny speed dials to work when already off-hook 2013-05-30 12:15:20 -05:00
Jeff Lenk 24c13adfaf FS-5483 --resolve 2013-05-29 09:32:24 -05:00
Steve Underwood 4fba20c787 Something stupid that way went 2013-05-29 17:00:57 +08:00
Steve Underwood c200c24c7f Merge branch 'master' of git.freeswitch.org:freeswitch 2013-05-29 14:48:33 +08:00
Steve Underwood 3ea625c6ae More movement towards colour FAXing 2013-05-29 14:47:48 +08:00
Travis Cross a82878f786 Unsigned values are never less than zero 2013-05-29 03:02:07 +00:00
Travis Cross f07181e266 Avoid using psession uninitialized in mod_fsk 2013-05-29 02:59:05 +00:00
Steve Underwood 3519e0f4c3 More tweaks towards colour FAXing 2013-05-29 10:07:08 +08:00
Steve Underwood 3b595efc60 More tweaks towards colour FAXing 2013-05-29 09:53:56 +08:00
Steve Underwood 0b6c53217a Moves towards colour FAX 2013-05-29 09:31:58 +08:00
Travis Cross 26d5a6eb33 Remove redundant orig file purifying step
We kill these files with .gitattributes.
2013-05-28 23:52:46 +00:00
Travis Cross 0a50536aa8 Add generic mechanism for building non-DFSG packages 2013-05-28 23:52:41 +00:00
Mariusz Czułada d0af6ce81d FS-5157 patch accepted 2013-05-29 00:19:49 +02:00
Brian West ecd8aabf5d log auto adjust ip and port separate so it doesn't get clobbered on hold/update events 2013-05-28 16:25:39 -05:00
Anthony Minessale 9d8af739c8 FS-5480 --resolve 2013-05-28 08:17:44 -05:00
Travis Cross aa7c4d1f75 debian: Update -meta-all to grab all packages
We now build unimrcp, portaudio, portaudio-stream, skypopen, b64, and
dahdi-codec, so they should be included in meta-all.  Also refactor a
bit so we install all lang and mod_say packages as well.
2013-05-28 07:29:31 +00:00
Travis Cross 3c8db7c715 Avoid using memory after we free it
Without setting errmsg to NULL here, we'll try to print this freed
value again below if another error doesn't intercede.
2013-05-28 05:28:19 +00:00
Travis Cross d7b139f3b4 Avoid dereferencing potential null value 2013-05-28 03:55:48 +00:00
Travis Cross 3217442d0e Remove assignment without effect 2013-05-28 03:46:53 +00:00
Travis Cross e887cecb5e Avoid dereferencing potential null value 2013-05-28 03:41:44 +00:00
Travis Cross 2dea51ad58 Handle potential malloc failure better 2013-05-28 03:40:58 +00:00
Travis Cross ef13a63447 Fix unlikely memory leak in ESL 2013-05-28 03:01:49 +00:00
Travis Cross a5397e5980 Remove assignment without effect in fs_cli 2013-05-27 21:07:56 +00:00
Travis Cross f00b77597f 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-27 21:07:52 +00:00
Travis Cross 5b1d1de1a7 Add common include paths for jni.h and jni_md.h 2013-05-27 16:19:24 +00:00
Jeff Lenk 757b792324 FS-5479 --resolve 2013-05-27 09:21:43 -05:00