Commit Graph

38 Commits

Author SHA1 Message Date
marian 45666a90f8 Silenced unused variable compiler warning.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6353 acf43c95-373e-0410-b603-e72c3f656dc1
2019-06-06 10:12:45 +00:00
marian f976dc463b Reverted accidental commit in mgcp.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6352 acf43c95-373e-0410-b603-e72c3f656dc1
2019-06-06 10:11:23 +00:00
marian 6a07bab093 Allow setting incoming channel params from user.auth.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6351 acf43c95-373e-0410-b603-e72c3f656dc1
2019-06-06 10:05:42 +00:00
paulc c4c9e994f0 Renamed DebugGoOn to DebugCrit so it better matches its purpose.
Swapped order of DebugCall and DebugNote so DebugCall is less visible.
Changed default debug level to DebugNote.
Modified a few inadequate uses of DebugCrit.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6250 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 13:08:23 +00:00
paulc 37a72e4bc1 Added copyright notices to sources and scripts missing them.
Updated copyright notices for 2014.
Fixed end of lines in many files.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc cf5d0fd71a Changed license terms in each source file to reference an external file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
paulc 3cf42e2828 Use Alarm() in places that could prevent normal operation.
This allows sending SNMP traps when parts of the service become non-operational.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5569 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 12:21:26 +00:00
marian a5857bd1d8 Added MGCPTransaction flag used to instruct the engine to process it in the private process worker. Handle it when getting events from transactions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5363 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-18 15:27:47 +00:00
paulc d82fce3915 Worked around a possible endless loop at MGCP library shutdown.
Fixed a one time memory leak.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5306 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-24 11:08:57 +00:00
paulc 717ee6b7fa Resolve the hostname of a MGCP endpoint only when first needed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4972 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-22 14:01:24 +00:00
paulc 0a86f2dffe Allow suppressing the port at the end of a MGCP endpoint ID.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4461 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-21 16:21:43 +00:00
paulc f89e32af60 Optimized const String usage in MGCP library and modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4433 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 16:27:11 +00:00
paulc 9cfc4fef96 Do not provide the raw user data from library when processing MGCP events.
Access explicitely the pointer under a mutex lock to prevent race conditions.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4374 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-13 13:12:05 +00:00
paulc 0d1c48aa8f Adjusted debugging in MGCP, prevent log spamming.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4212 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-24 14:23:09 +00:00
paulc 242ae2be8d Keep the transaction list iterator in the MGCP engine.
Instead of creating it at each getEvent call just reassign it when running out of transactions.
This avoids the very expensive constructor and provides handling fairness.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3800 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-05 17:28:29 +00:00
paulc fd39111d4f Added static method to check at runtime if Socket::select() is efficient.
Use select() on the MGCP reader socket if it worths.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3798 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-05 16:08:11 +00:00
paulc 61bb19e5ce Made MGCPEngine::knownCommand take a const String& to avoid unnecessarily constructing a String.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3789 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-04 15:30:00 +00:00
oana cda9ed670f Added SNMP support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3776 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-03 16:27:30 +00:00
paulc 78d100265f Got rid of some long standing conversion warning by providing the proper casts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3377 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 18:07:17 +00:00
oana 51b082375f Yate has been ported on Mac OS X.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3153 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 11:49:43 +00:00
paulc 15904daef1 Reorder libraries so that Yate libraries and modules can be linked using --as-needed avoiding underlinking or overlinking.
Reported by Mandriva (bug report #206).


git-svn-id: http://yate.null.ro/svn/yate/trunk@3143 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-24 13:46:12 +00:00
paulc f4b1496a46 Added an unified Thread::idle method, use it instead of arbitrary
sleeps.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2737 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-24 16:47:29 +00:00
paulc d31c7b4076 Fixed thread names for the MGCP library and Signalling engine too.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2734 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 15:01:10 +00:00
paulc 6ad1605ad6 Reserve $LIBS and @LIBS@ for the system libraries that can be passed to
the configure script.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2678 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 19:17:54 +00:00
paulc 2c03a9624d Use the system detected CFLAGS instead of hardcoding -O2
git-svn-id: http://yate.null.ro/svn/yate/trunk@2673 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 16:06:14 +00:00
paulc c069997056 Link the libraries using the C++ linker so it properly links against libstdc++ and compiler support.
Not required on ELF systems as libyate.so would pull in the required libraries but was confusing and could cause problems on other platforms.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2667 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-31 18:58:25 +00:00
paulc 2c3d47c29c Added mutex names to most Yate libraries.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2612 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 12:37:55 +00:00
paulc 725a105827 Accept MGCP responses with an empty comment.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2594 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-24 15:38:11 +00:00
paulc 790b528742 Handle MGCP requests with versions other than 1.0
git-svn-id: http://yate.null.ro/svn/yate/trunk@2569 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-09 09:55:41 +00:00
paulc 9b292f5868 Fixed some warnings and genuine bugs exposed by newer gcc.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2447 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-20 12:27:53 +00:00
paulc 7f4fb01461 Work in progress.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2420 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-09 15:24:24 +00:00
paulc c8e0a44ea2 Added alias name to remote endpoint info.
Optimized some endpoint searches.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2394 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-05 13:48:44 +00:00
paulc 70331e9efe Build and use dynamic versions of MGCP and Jingle libraries.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2389 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-03 13:51:52 +00:00
paulc 72b441af71 Requesting an ACK on incoming MGCP transactions can be disabled per engine or transaction.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2367 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-25 18:17:26 +00:00
paulc c144964a67 Accept NUL character as alias for piggybacking dot to support broken gateways.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2364 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-25 16:04:02 +00:00
paulc 14bf8a5cd3 Add configure time LDFLAGS to linker command line.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2006 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-03 10:59:16 +00:00
paulc 85a2f72b07 Silenced several benign warnings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1600 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-08 13:05:34 +00:00
paulc b42a894ddc Directory reorder #3
git-svn-id: http://yate.null.ro/svn/yate/trunk@1476 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-15 23:06:36 +00:00