oana
ada2affb79
Added CPU load OIDs.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3902 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-03 11:40:35 +00:00
oana
47088fb162
Fixed debug message.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3876 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-26 11:31:05 +00:00
oana
ae2f69f21f
Fixed memory leaks. Fixed several bugs. Changed the debug level for several debug messages.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3864 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-24 16:25:16 +00:00
andrei
1e409f772c
Synchronized module default value for 'session' parameter with configuration file.
...
Improved debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3859 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-24 09:36:42 +00:00
andrei
dcb4387cd0
Fixed memory leak.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3858 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-23 16:04:37 +00:00
paulc
144b6472a8
Copy parameters "reason" and "operation" (as "pbxoper") to routing messages created by the pbxassist module.
...
Add the "diverter" number to unassisted transfer routing.
Add "onhold" as reason for the calls redialed because they were abandoned on hold.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3857 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-23 16:00:41 +00:00
paulc
440cfabfa2
Preserve the ISUP REL message for retransmissions instead of rebuilding it.
...
Copy parameters from failed call.route or call.execute to the REL message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3850 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-22 18:03:00 +00:00
oana
9abfa9adb7
Lowered the debug level for several debug messages.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3821 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-18 14:26:20 +00:00
oana
0aa3a6849a
Delete SNMP thread in case binding on the SNMP socket fails.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3816 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-17 11:30:43 +00:00
marian
2d2fd49921
Allocate a buffer for each child of an XmlFragment and then append them to the destination buffer (avoid expensive re-alloc/copy for elements with a large number of children).
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3814 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-15 08:38:01 +00:00
paulc
c4a036d5b1
Added script to provide ringback when not provided by the called party.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3813 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-12 18:27:36 +00:00
paulc
08bc5abb50
Always set the name of temporary tone sources, helps in debugging.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3812 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-12 17:57:08 +00:00
marian
92c4fe2c60
Optimized String append from ObjList: calculate required space, allocate it and then build the new string.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3811 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-12 16:34:26 +00:00
marian
d6c811dd70
Use all resource.subscribe message parameters when checking event subscription authorization.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3810 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-12 16:10:41 +00:00
marian
e51b81c831
Made some xml parser's methods static (they are not related to parser state). Added method used to check if a string is a valid tag name.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3809 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-12 15:59:19 +00:00
marian
8f9ea92224
Add notifier domain to resource.subscribe message dispatched by the sipfeatures module.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3808 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-12 15:22:50 +00:00
paulc
e0353d7530
Added proper automatic emergency handling in Cisco SLT.
...
Previous code crashed if a control with no parameters was automatically executed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3807 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-12 13:15:29 +00:00
marian
9e73c41bb7
Fixed bug: match mwi.query message name to make a correct message summary subscription initial notification.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3806 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-12 09:24:31 +00:00
paulc
2c1458b67a
Removed referencing of mutexes and semaphores while locked or locking.
...
It is unsafe without the global mutex and was hiding genuine bugs like deleting a locked Mutex.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3805 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-11 08:29:35 +00:00
paulc
60f6ce8f69
Explicitely casted some double -> int conversions to get rid of warnings.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3804 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-10 18:21:31 +00:00
paulc
a895c7b2dc
Correctly deal with the name prefix when encoding optional ISUP parameters.
...
Also added some debugging on parameter encoding.
WARNING: This can disturb setups relying on the incorrect behavior.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3803 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-10 18:00:25 +00:00
paulc
75b0506d0f
Only unfold non-empty MIME header lines, an empty one indicates end of headers.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3802 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-10 10:34:45 +00:00
paulc
0883e02e29
Added API and -Dd command line parameter to disable taking the global mutex when (un)locking a Mutex or Semaphore.
...
This provides better performance and reduces mutex contention on expense of some thread safety and ease of debugging.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3801 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-09 19:52:51 +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
9107954c10
Added method to (re)assign a list to an iterator and a method to clear the iterator.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3799 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-05 17:25: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
82ad37c3af
Detect if available and use poll() instead of select() on sockets.
...
This save a lot on performance by not FD_ZEROing large sets.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3797 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-05 15:06:57 +00:00
paulc
26744da509
Idle instead of just yielding control if no event is read, greatly reduces CPU load.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3796 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-05 14:14:01 +00:00
paulc
51a48f4322
Added Visual Studio projects for SNMP components.
...
Added SNMP to installer.
Fixed some bugs and warnings exposed by the Microsoft compiler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3795 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-04 18:48:53 +00:00
paulc
e2d8b4317d
Added a missing Windows specific macro, fixed some documentation comments.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3792 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-04 16:06:55 +00:00
marian
01d6f7601c
Safely allow IAX lines to be processed asynchronously (IAX line is now a Mutex and RefObject). Fixed IAX line (un)register transaction abort.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3791 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-04 15:43:16 +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
f3a841b70e
Fixed compile warning on Mac OSX.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3777 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-03 16:57:08 +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
marian
a17323af75
Avoid output buffer re-alloc if needed size don't change in various data translators.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3769 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 13:59:02 +00:00
marian
ba08ab437b
The SimpleTranslator is now keeping source and destination formats across Consume calls: avoid repetitive String alloc.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3768 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 13:43:03 +00:00
marian
34b0ecfe00
RTPSender send buffer is now kept across send calls: avoid buffer re-alloc if needed size don't change.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3767 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 13:13:10 +00:00
marian
92d5a22606
Always display XDebug message with data consume results.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3766 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 13:00:57 +00:00
paulc
ffef6b9b99
Further improved chan.connect to deal faster with the case when the peer of the channel already in the message is requested.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3765 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 12:34:20 +00:00
paulc
aae1888a23
Speed up chan.connect handling if the proper CallEndpoint is already carried in the message.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3764 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 12:28:34 +00:00
paulc
967ce0bd41
Set the proper channel ID in MOH channels.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3763 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 12:27:39 +00:00
marian
76bf65c908
Added resize method used to re-alloc a DataBlock if it doesn't have a required length.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3762 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 08:54:58 +00:00
paulc
d6dc35ac2f
Fixed a compile bug on platforms where a pointer does not fit in an int.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3761 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-01 20:57:15 +00:00
marian
be61cac29b
Added MutexPool class implementing a fixed size array of mutexes. Replaced the global mutex protecting the RefObject counter changes with a mutex pool.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3760 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-01 14:54:53 +00:00
marian
467e2897f1
Lock DataSource while its translator is set. Safely retrieve the translator when a chain is detached.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3759 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-29 08:41:32 +00:00
marian
a38fa1ba85
Added global mutex used to protect DataConsumer's source pointer changes.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3758 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-27 16:03:44 +00:00
marian
76424dfb79
Avoid to crash when the subscription module handles a mwi message without the "operation" parameter.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3757 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-27 13:53:15 +00:00
paulc
944d788b8f
Avoid a crash when the Jingle channel receives a call.update without the "operation" parameter.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3756 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-26 15:52:36 +00:00
paulc
d5d51a5ab2
Emit a chan.connected notification message when a Channel was just connected.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3755 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-26 15:48:36 +00:00
marian
1feb2b72bb
Avoid overriding window flags. Handle close button window flag added in Qt 4.5.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3754 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-26 10:46:31 +00:00