Commit Graph

5636 Commits

Author SHA1 Message Date
paulc 4c0a8e31c9 Made String::printf(const char* format, ...) grow with the format string length.
The helper function string_printf is now static.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5963 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-23 15:37:43 +00:00
marian b19d0a8e8e Added String constructor from double. Added assignment and append operators from double.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5962 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-19 13:11:45 +00:00
andrei c7a98797a2 Clear the string if we failed to obtain the 'printf" formatted one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5961 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-16 11:39:37 +00:00
andrei 8ef9679c3d 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://yate.null.ro/svn/yate/trunk@5960 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-13 16:03:42 +00:00
andrei ca3a15437c Added printf style format method for String.
Added utility method to append and align a string on a specified size.


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

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


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


git-svn-id: http://yate.null.ro/svn/yate/trunk@5946 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 10:44:40 +00:00
paulc 3bba322664 Added GSM-EFR codec support and transcoder.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5945 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 10:26:51 +00:00
paulc b02afc13c0 Fixed build on systems where timezone is not an integer type variable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5944 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 09:53:31 +00:00
marian 702cf6fd7a Make an explicit conversion to satisfy the Windows compiler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5943 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 09:42:47 +00:00
marian 6d1a1111a6 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://yate.null.ro/svn/yate/trunk@5942 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 09:32:36 +00:00
marian 56d84e6a37 Added accessor for Lockable safety flag.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5941 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-19 13:53:38 +00:00
marian b548a08f27 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://yate.null.ro/svn/yate/trunk@5940 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-19 10:03:40 +00:00
marian 988d1af0e4 Semaphore initial count can now be set in constructor.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5939 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-18 11:36:25 +00:00
paulc 5f6d1e7e8d 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://yate.null.ro/svn/yate/trunk@5938 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-10 12:43:05 +00:00
paulc d7e12fc50c Implemented JS Function apply() and call() methods.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5937 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-10 12:02:20 +00:00
paulc 0953ee36d5 Added NIST FIPS 186-2 change notice 1 Pseudo Random Function with 160 bits SHA-1.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5936 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-05 17:58:39 +00:00
paulc 583e9bc73e Fixed typo in encoder input saturation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5935 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-02 18:16:46 +00:00
oana 7e7477a2e6 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://yate.null.ro/svn/yate/trunk@5934 acf43c95-373e-0410-b603-e72c3f656dc1
2015-01-30 13:39:52 +00:00
paulc 5a828d1aa5 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://yate.null.ro/svn/yate/trunk@5933 acf43c95-373e-0410-b603-e72c3f656dc1
2015-01-29 10:23:36 +00:00
oana d1c48eec1a 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://yate.null.ro/svn/yate/trunk@5932 acf43c95-373e-0410-b603-e72c3f656dc1
2015-01-27 12:22:18 +00:00
paulc aeaca4e94b 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://yate.null.ro/svn/yate/trunk@5931 acf43c95-373e-0410-b603-e72c3f656dc1
2015-01-07 17:14:32 +00:00
paulc 7f38064c6d Added getInt64Value to NamedList and Configuration classes.
Added getIntValue and getBoolValue to Javascript ConfigFile and ConfigSection.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5930 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-22 11:56:16 +00:00
paulc 7f834fd8b8 Added engine and Javascript methods for packing and unpacking IP addresses.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5929 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-18 15:11:42 +00:00
paulc b3f7450cdb Changed EPS PDN types to lowercase.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5928 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-16 17:39:41 +00:00
paulc 291f99f676 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://yate.null.ro/svn/yate/trunk@5927 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-16 09:39:41 +00:00
paulc 48103e3e1b Preserve correct path when reloading JS scripts that were loaded on demand.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5926 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-09 11:33:04 +00:00
marian e400402cda Properly check normal/emergency alignment when trying to align.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5925 acf43c95-373e-0410-b603-e72c3f656dc1
2014-11-27 14:57:13 +00:00
andrei bf9261a33f Added support for 3des with two and three keys.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5924 acf43c95-373e-0410-b603-e72c3f656dc1
2014-11-24 14:28:05 +00:00
oana de6b5b9aaa 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://yate.null.ro/svn/yate/trunk@5923 acf43c95-373e-0410-b603-e72c3f656dc1
2014-11-10 15:19:42 +00:00
paulc 95419fbe8b Fix tel: URI parsing, try harder to pick SIP REGISTER related information.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5922 acf43c95-373e-0410-b603-e72c3f656dc1
2014-11-06 10:12:26 +00:00
paulc e160c8595b Allow retrieving a pointer to native objects in JS Message, ConfigFile and XML.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5921 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-29 16:32:20 +00:00
paulc 063b8f7707 Added optional parameter to XML.xmlText() to indent with spaces.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5920 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-29 16:30:02 +00:00
paulc da44cbe85c Removed a harmless extra pair of brackets.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5919 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-29 16:27:35 +00:00
paulc 50b69baa01 Fixed PLC for the iSAC codec, caused memory corruption and crashes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5918 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-21 11:56:46 +00:00
oana af150f67f0 Add option to dinamically load JS scripts through engine.command.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5917 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-16 12:39:59 +00:00
oana a9fa6b1bd0 Add function to the String API for locating the last instance of a substring in a string.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5916 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-16 12:34:11 +00:00
paulc f9e6470a90 Added optional message to verify reINVITE in media proxying mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5915 acf43c95-373e-0410-b603-e72c3f656dc1
2014-09-19 11:36:28 +00:00
paulc cef24d27f8 Make sure an ip.v4.addr.ess:port does not get enclosed in square brackets.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5914 acf43c95-373e-0410-b603-e72c3f656dc1
2014-09-18 13:29:42 +00:00
paulc ba13dedd67 Added SQLite database support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5913 acf43c95-373e-0410-b603-e72c3f656dc1
2014-09-16 13:04:05 +00:00