Commit Graph

24749 Commits

Author SHA1 Message Date
Chris Rienzo ee2f1d32a4 Added mod_rayo (XMPP 3PCC http://xmpp.org/extensions/xep-0327.html). Used by Adhearsion as its native call control protocol. Currently beta testing. 2013-06-06 16:03:00 -04:00
Chris Rienzo acacb342e8 Added mod_ssml (speech synthesis markup language) ssml:// and tts:// file formats. 2013-06-06 15:34:49 -04:00
Travis Cross 74dcbe8240 Add missing newline at end of file 2013-06-06 19:01:17 +00:00
Travis Cross 1784663d35 Use --with-storagedir in Debian build 2013-06-06 17:34:03 +00:00
Travis Cross f3d851d198 Add support for --with-storagedir to configure
This is needed for correctly setting the default storage directory for
Debian builds.
2013-06-06 17:34:03 +00:00
Brian West d186cf95a9 ignore this 2013-06-06 10:27:24 -05:00
Anthony Minessale 7b25322e46 don't need this change revert 2013-06-05 11:21:59 -05:00
Anthony Minessale 4240526ce3 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:20:11 -05:00
Brian West b4ed2f55bf Up this buffer to prevent boxes from locking up if they receive more than 1000 bytes. 2013-06-04 17:10:05 -05:00
Seven Du 4bb4e66abd fix typo again 2013-06-04 10:37:39 +08:00
Seven Du 811a99e0f0 close websocket before unload 2013-06-04 10:23:23 +08:00
Seven Du d92074233c add show complete 2013-06-04 09:52:14 +08:00
Seven Du 68f1d34dfc add show aliases, management, interface_types 2013-06-04 09:47:45 +08:00
Seven Du 15a30c7f45 add missing ShowInterfacesRoute 2013-06-04 09:37:19 +08:00
Seven Du 9252f7ab2f fix copy&paste typo 2013-06-04 09:34:35 +08:00
Seven Du 4e70d7de30 show tasks 2013-06-04 09:32:38 +08:00
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