Commit Graph

5676 Commits

Author SHA1 Message Date
marian 831b64a895 Renamed gsm library to radio. Renamed library source directory and header also.
git-svn-id: http://voip.null.ro/svn/yate@5965 acf43c95-373e-0410-b603-e72c3f656dc1
2015-04-07 10:07:44 +00:00
paulc bb26c1197c Build, install and use a dynamic library for ASN.1 code.
git-svn-id: http://voip.null.ro/svn/yate@5964 acf43c95-373e-0410-b603-e72c3f656dc1
2015-04-01 16:50:56 +00:00
paulc f5a5ad41b9 Made String::printf(const char* format, ...) grow with the format string length.
The helper function string_printf is now static.


git-svn-id: http://voip.null.ro/svn/yate@5963 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-23 15:37:43 +00:00
marian 4b61ebb6a6 Added String constructor from double. Added assignment and append operators from double.
git-svn-id: http://voip.null.ro/svn/yate@5962 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-19 13:11:45 +00:00
andrei a9e461461e Clear the string if we failed to obtain the 'printf" formatted one.
git-svn-id: http://voip.null.ro/svn/yate@5961 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-16 11:39:37 +00:00
andrei 5faef36bb6 Added a better description and more suggestive parameters for String::appendFixed method.
Clear the String in 'printf' method if 'malloc' fails.


git-svn-id: http://voip.null.ro/svn/yate@5960 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-13 16:03:42 +00:00
andrei e6c6214688 Added printf style format method for String.
Added utility method to append and align a string on a specified size.


git-svn-id: http://voip.null.ro/svn/yate@5959 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-13 13:25:35 +00:00
marian 5c12f5654e Make some explicit conversions to silence compiler warnings.
git-svn-id: http://voip.null.ro/svn/yate@5958 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-11 10:41:51 +00:00
paulc e3dcfbcc93 Synchronized Windows version.
git-svn-id: http://voip.null.ro/svn/yate@5957 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-02 10:21:36 +00:00
paulc d15a1b8348 Bumped version to devel 5.4.3
git-svn-id: http://voip.null.ro/svn/yate@5956 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-02 10:11:43 +00:00
paulc 26af64ee5b Bumped version to 5.4.2
git-svn-id: http://voip.null.ro/svn/yate@5954 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 15:47:46 +00:00
paulc 9931722a7b Added SQLite database module to Windows build.
Fixed dependencies of _eventlogs project.

git-svn-id: http://voip.null.ro/svn/yate@5953 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 15:30:00 +00:00
marian dfc79e6f5c Fixed string in VC project file.
git-svn-id: http://voip.null.ro/svn/yate@5952 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 15:29:31 +00:00
marian d38da053eb Cancel call monitor thread instead of deleting it: avoid virtual method call on Windows.
git-svn-id: http://voip.null.ro/svn/yate@5951 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 15:18:15 +00:00
marian c8d79fb421 Added eventlogs module to Windows build (partially set in rev. 5949).
git-svn-id: http://voip.null.ro/svn/yate@5950 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 13:59:27 +00:00
marian 100e1bde7e git-svn-id: http://voip.null.ro/svn/yate@5949 acf43c95-373e-0410-b603-e72c3f656dc1 2015-02-26 13:57:47 +00:00
paulc 3cc531ed36 Renamed configure.in to configure.ac to preserve compatibility with newer autoconf.
git-svn-id: http://voip.null.ro/svn/yate@5948 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 11:17:03 +00:00
paulc 8c85246a77 Add -L flag for PostgreSQL library in non-default place.
Patch by Andre Sencioles Vitorio Oliveira <andre@bcp.net.br>


git-svn-id: http://voip.null.ro/svn/yate@5947 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 10:58:29 +00:00
paulc f81d9a2ca4 Added support for PPC and PPC64 platforms.
Patch written bei Ulrich Weigand on OBS for openSUSE.
Resolves Mantis bug #387.


git-svn-id: http://voip.null.ro/svn/yate@5946 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 10:44:40 +00:00
paulc 6fabac567e Added GSM-EFR codec support and transcoder.
git-svn-id: http://voip.null.ro/svn/yate@5945 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 10:26:51 +00:00
paulc cebcd93fa9 Fixed build on systems where timezone is not an integer type variable.
git-svn-id: http://voip.null.ro/svn/yate@5944 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 09:53:31 +00:00
marian 3cd286e39f Make an explicit conversion to satisfy the Windows compiler.
git-svn-id: http://voip.null.ro/svn/yate@5943 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 09:42:47 +00:00
marian 1960b82520 Debug output can now be hooked using a custom function. Added Debugger method used to relay preformatted strings. Added Engine method used to build a command line from current settings. Added Engine methods used to init and cleanup libyate based applications.
git-svn-id: http://voip.null.ro/svn/yate@5942 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 09:32:36 +00:00
marian 2c1a6213fe Added accessor for Lockable safety flag.
git-svn-id: http://voip.null.ro/svn/yate@5941 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-19 13:53:38 +00:00
marian 6e995924c7 Avoid possible deadlocks when the call controller signal termination to an ISUP call: the call may be already locked trying to send a message.
git-svn-id: http://voip.null.ro/svn/yate@5940 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-19 10:03:40 +00:00
marian daeb8611cc Semaphore initial count can now be set in constructor.
git-svn-id: http://voip.null.ro/svn/yate@5939 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-18 11:36:25 +00:00
paulc 30d2d5af03 Refuse to JSON.stringify functions, return undefined for undefined and functions.
Completely remove from JSON object properties that are functions or undefined.


git-svn-id: http://voip.null.ro/svn/yate@5938 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-10 12:43:05 +00:00
paulc e1b8cb569d Implemented JS Function apply() and call() methods.
git-svn-id: http://voip.null.ro/svn/yate@5937 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-10 12:02:20 +00:00
paulc c47e08f97a Added NIST FIPS 186-2 change notice 1 Pseudo Random Function with 160 bits SHA-1.
git-svn-id: http://voip.null.ro/svn/yate@5936 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-05 17:58:39 +00:00
paulc a97ca952c5 Fixed typo in encoder input saturation.
git-svn-id: http://voip.null.ro/svn/yate@5935 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-02 18:16:46 +00:00
oana 69bf1bf2f5 Do not keep reajusting the relative path of a dinamically loaded script.
Avoids unloading and reloading of the script at YATE reinit/javascript reload even if the script didn't change.



git-svn-id: http://voip.null.ro/svn/yate@5934 acf43c95-373e-0410-b603-e72c3f656dc1
2015-01-30 13:39:52 +00:00
paulc f30831814b Properly release the file resources at the end of a T.38 fax transfer.
Make sure the spandsp API supports t38_terminal_release().


git-svn-id: http://voip.null.ro/svn/yate@5933 acf43c95-373e-0410-b603-e72c3f656dc1
2015-01-29 10:23:36 +00:00
oana e05fb3e372 Fix order in which checks on the input buffer are done. Check length of buffer only if IEI matches.
Avoids reports of errors when there are none.
 


git-svn-id: http://voip.null.ro/svn/yate@5932 acf43c95-373e-0410-b603-e72c3f656dc1
2015-01-27 12:22:18 +00:00
paulc b4fba4436e Limit the result of regexroute function $(variables,list) so it doesn't crash when there is a very large number of variables.
git-svn-id: http://voip.null.ro/svn/yate@5931 acf43c95-373e-0410-b603-e72c3f656dc1
2015-01-07 17:14:32 +00:00
paulc 6f941b4282 Added getInt64Value to NamedList and Configuration classes.
Added getIntValue and getBoolValue to Javascript ConfigFile and ConfigSection.


git-svn-id: http://voip.null.ro/svn/yate@5930 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-22 11:56:16 +00:00
paulc 2659c482e0 Added engine and Javascript methods for packing and unpacking IP addresses.
git-svn-id: http://voip.null.ro/svn/yate@5929 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-18 15:11:42 +00:00
paulc dea5719b10 Changed EPS PDN types to lowercase.
git-svn-id: http://voip.null.ro/svn/yate@5928 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-16 17:39:41 +00:00
paulc 8c917c7957 Fix bashish (automatic use of REPLY in read) in shell scripts.
Make sure backslash is not used as escape in shell reads.


git-svn-id: http://voip.null.ro/svn/yate@5927 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-16 09:39:41 +00:00
paulc 0b17897104 Preserve correct path when reloading JS scripts that were loaded on demand.
git-svn-id: http://voip.null.ro/svn/yate@5926 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-09 11:33:04 +00:00
marian 76ee71838f Properly check normal/emergency alignment when trying to align.
git-svn-id: http://voip.null.ro/svn/yate@5925 acf43c95-373e-0410-b603-e72c3f656dc1
2014-11-27 14:57:13 +00:00
andrei 4acea4f5d1 Added support for 3des with two and three keys.
git-svn-id: http://voip.null.ro/svn/yate@5924 acf43c95-373e-0410-b603-e72c3f656dc1
2014-11-24 14:28:05 +00:00
oana b90916f55a Added function to take the pointer to the root element from a document, thus removing the pointer from the document's ownership.
git-svn-id: http://voip.null.ro/svn/yate@5923 acf43c95-373e-0410-b603-e72c3f656dc1
2014-11-10 15:19:42 +00:00
paulc a2a775588f Fix tel: URI parsing, try harder to pick SIP REGISTER related information.
git-svn-id: http://voip.null.ro/svn/yate@5922 acf43c95-373e-0410-b603-e72c3f656dc1
2014-11-06 10:12:26 +00:00
paulc 92c50487f2 Allow retrieving a pointer to native objects in JS Message, ConfigFile and XML.
git-svn-id: http://voip.null.ro/svn/yate@5921 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-29 16:32:20 +00:00
paulc 4a817693cd Added optional parameter to XML.xmlText() to indent with spaces.
git-svn-id: http://voip.null.ro/svn/yate@5920 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-29 16:30:02 +00:00
paulc d381628777 Removed a harmless extra pair of brackets.
git-svn-id: http://voip.null.ro/svn/yate@5919 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-29 16:27:35 +00:00
paulc 7b9afea8f4 Fixed PLC for the iSAC codec, caused memory corruption and crashes.
git-svn-id: http://voip.null.ro/svn/yate@5918 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-21 11:56:46 +00:00
oana bc1d7a15e5 Add option to dinamically load JS scripts through engine.command.
git-svn-id: http://voip.null.ro/svn/yate@5917 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-16 12:39:59 +00:00
oana a04eb2606f Add function to the String API for locating the last instance of a substring in a string.
git-svn-id: http://voip.null.ro/svn/yate@5916 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-16 12:34:11 +00:00
paulc e13b4b1a7b Added optional message to verify reINVITE in media proxying mode.
git-svn-id: http://voip.null.ro/svn/yate@5915 acf43c95-373e-0410-b603-e72c3f656dc1
2014-09-19 11:36:28 +00:00