Commit Graph

2815 Commits

Author SHA1 Message Date
paulc 74f8043378 Replaced hardcoded -lpthread with detected library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2676 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 17:15:03 +00:00
paulc d0e5df7671 Made resolver checks stricter to avoid false positives because
of implicit declaration.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2675 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 17:13:45 +00:00
paulc 61ab284c4e Check define of IPTOS_MINCOST separately as on some platforms it's not
defined to avoid an usage conflict.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2674 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 16:37:48 +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 ac2afc3a99 Detect the proper threading library where pthread_mutexattr_settype is
located.
Look for regcomp only when not using internal regexp.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2672 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 15:42:34 +00:00
paulc 0aa90824b3 Call txPacket instead of transmitPacket so outbound MTP2 messages are written to dump.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2671 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 13:31:29 +00:00
marian 171e253f15 Implemented text changed notification for line edit widgets.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2670 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 10:33:02 +00:00
marian a219f1123a Changed jingleversion parameter name to jingle_version.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2669 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 10:03:28 +00:00
paulc 14cac40348 Try to use "targetid" if "peerid" is missing or empty when updating the CDR of the peer call leg.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2668 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-31 19:14:39 +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
marian cf5d0b1168 Implemented old jingle protocol support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2666 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-31 15:22:08 +00:00
marian e6c51b70c1 Fixed bug: don't expect a ClientChannel pointer in clientchan.update message with destroyed notification.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2665 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-31 12:45:20 +00:00
paulc fd9f6411ea Prevent creation of undesired CDR records when answering incoming calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2664 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-31 10:11:07 +00:00
paulc f4271b5a98 Return ARCHLIB and various QT4_... from yate-config so packages building on top of Yate don't have to detect them again.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2663 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-29 12:06:11 +00:00
marian ebb5c68092 Added base abstract class for jingle sessions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2662 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-29 08:39:33 +00:00
paulc cdb6350c70 Enable the SS7 L1 interface after being configured.
Slow down LSSU generation on FISU reception when unaligned as we'll flood the buffer since maximum FISU rate is greater than LSSU.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2661 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 17:52:27 +00:00
paulc a4a9588bdc Moved all point code settings to SS7ISUP so the type of point code is known and numeric (packed) values can be used.
Changed channellock to milliseconds to improve resolution.
Documented channellock and userparttest parameters.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2660 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 17:18:50 +00:00
paulc 07b79fa32d Allow using numeric (packed) point codes if their type is known.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2659 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 16:09:16 +00:00
paulc 914e9d2443 Changed some incorrect DebugStub levels.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2658 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 16:08:08 +00:00
paulc 499cbd7c1e Suppress CDR tracking on wave or tone originated call legs since these utility channels don't emit a chan.hangup anyway.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2657 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 14:33:07 +00:00
marian 3ba3376068 The client stream is now allowing disco info/items responses to be received by the upper layer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2656 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 07:28:11 +00:00
marian 3dc240a079 Handle tab widgets in get/set select. Notify the client when a tab page is selected.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2655 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-27 15:11:59 +00:00
paulc 6c62be3718 Fixed filtering of SDP parameters in case of using RTP forward.
The local RTP case was fixed in Rev. 2606.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2654 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-27 14:34:35 +00:00
paulc 1cc07d55dd Correctly apply minimum ACD query interval policy.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2653 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-26 15:57:05 +00:00
paulc 5986579302 Do not require to install API docs if neither kdoc or doxygen are detected.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2652 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-26 15:29:44 +00:00
paulc aaba29f467 Filter YCLASS*() macros when generating documentation, they confuse the parsers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2651 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-26 14:57:00 +00:00
paulc 0a6be5b4d1 Major rewrite of signalling components creation and configuration.
The creation of subcomponents is offloaded to each component to allow for proper building of the component stack.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2650 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-26 13:43:24 +00:00
paulc 3ab68886ff Added version of String::safe that provides an user defined safe value.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2649 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-25 14:39:50 +00:00
paulc a5ba174c12 Add the sip: protocol on outgoing calls if none is specified.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2648 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-22 18:15:48 +00:00
marian 525634921b Added jabber:iq:private namespace.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2647 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-22 13:23:58 +00:00
marian 933ee22e29 Implemented private data (jabber:iq.private) handling.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2646 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-22 13:23:25 +00:00
paulc 6017353332 Add a Contact header to INVITE even if user part of URI is empty.
Properly escape the user component of the URI.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2645 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-21 20:57:51 +00:00
paulc 0b0f5cc469 Added "cdrtrack" and "cdrcreate" to the forbidden parameters list since they are processed internally.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2644 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 17:59:37 +00:00
paulc 327a9bf8cb Try harder to masquerade the call.answered message to give the modules - in particular callfork - a chance to populate proper parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2643 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 17:54:29 +00:00
paulc 3ede8c9d0f Added parameter "cdrcreate" to prevent creation of new CDR records but allow updating existing ones.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2642 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 17:30:08 +00:00
paulc 231333d87c Protect with the global mutex not only creation of the fork master but also its slaves list while it starts calling.
Solves potential race conditions with call legs that start but very quickly hangup in another thread.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2641 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 14:43:16 +00:00
paulc 6e1972c72e Fixed searching fork slaves for chan.locate and chan.masquerade
git-svn-id: http://yate.null.ro/svn/yate/trunk@2640 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 14:40:02 +00:00
paulc 02b772bb9f Added $(threadname) function to help in tracing and debugging.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2639 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 14:33:45 +00:00
paulc 29294e0d8b Keep pushing the message to forkmaster until the message is no longer for a fork.
Fixes nesting of forked calls.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2638 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 13:08:01 +00:00
paulc d57dc7d1e8 Added mehod to remove and optionally destruct an ObjList item by its String value.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2637 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 12:49:13 +00:00
paulc 180bc22b03 Fixed a race condition in the destruction of master and audio proxying slave.
Implement chan.locate and chan.masquerade mainly for picking up one of the legs of a forked call.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2636 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 12:34:43 +00:00
paulc cd2c125292 Set peerid and targetid in the call.execute message, send correct call.answered to both call legs.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2635 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 12:32:09 +00:00
paulc 34d758ec07 Clear the DataEndpoint's owner early, do not assume the CallEndpoint will still be valid when the DataEndpoint is finally destroyed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2634 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 12:30:57 +00:00
marian a59623581f Don't move/resize a maximized window when showing it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2633 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 09:28:19 +00:00
marian 4eb98ad04d Added missing parameters documentation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2632 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-19 13:21:56 +00:00
marian 3389395dae From now on the stanza_timeout value is expected to be given in milliseconds.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2631 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-19 12:57:20 +00:00
marian a1573f9bb7 Implemented jingle session ping (check session existence at remote party).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2630 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-19 12:27:39 +00:00
paulc a3d461e66e Building of wpcard and tdmcard modules can be disabled independently of detecting wanpipe.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2629 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-15 14:35:48 +00:00
paulc 8e99bcb53f Added handy NamedList dump method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2627 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-13 10:13:45 +00:00
paulc 212aef34a5 Guard hungup channels for a while to reduce problems with chan.hangup arriving before other channel messages.
Added a warning when detecting conditions that can cause billing errors.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2626 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-12 17:24:41 +00:00