Commit Graph

3022 Commits

Author SHA1 Message Date
marian 77b1c3982c Fixed jingle channel hangup reason (avoid setting it to failure when session termination reason is missing).
git-svn-id: http://voip.null.ro/svn/yate@3152 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-29 10:08:51 +00:00
marian b5725b3771 Added jingle channel option used to ignore Yate running mode.
git-svn-id: http://voip.null.ro/svn/yate@3151 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-29 10:00:01 +00:00
paulc d404ad6b5b Quickly return 0 on compiling a NULL or whitespace-only expression.
git-svn-id: http://voip.null.ro/svn/yate@3150 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-26 13:01:56 +00:00
paulc 7f9dec036d Initialize the expression evaluator's extender to NULL in constructor.
git-svn-id: http://voip.null.ro/svn/yate@3149 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-26 12:23:50 +00:00
paulc 2dd651a1bd Use the * precision specification in sprintf to allow format checks.
git-svn-id: http://voip.null.ro/svn/yate@3147 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-26 09:41:42 +00:00
paulc 3063022168 Create jabber and qt4 modules directory when installing on systems whose install does not suport the -D option.
git-svn-id: http://voip.null.ro/svn/yate@3146 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-25 16:16:41 +00:00
paulc 4de85d952c Make Qt4 autoconf detected variables available to custom targets by copying them to make variables.
git-svn-id: http://voip.null.ro/svn/yate@3145 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-24 16:54:24 +00:00
paulc a3b65e3faa 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://voip.null.ro/svn/yate@3143 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-24 13:46:12 +00:00
paulc 257744e4e3 Search for pkgconfig Qt4 files in architecture specific dir only if fails in standard location.
Fixes bug #205 reported by Mandriva.


git-svn-id: http://voip.null.ro/svn/yate@3141 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-23 14:43:29 +00:00
paulc ab2dd05c41 Properly provide a format string to the printf-style Debug.
Report and fix provided by Mandriva.


git-svn-id: http://voip.null.ro/svn/yate@3139 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-23 14:33:30 +00:00
paulc 794b49a7e2 Improved checking of String appending during race conditions.
git-svn-id: http://voip.null.ro/svn/yate@3137 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-22 12:15:46 +00:00
paulc 13559bc05a Fortify String appending against concurrency conditions so the resulting string is at most garbled or truncated.
It was possible to overwrite arbitrary amounts of memory if the String itself or the appended value were modified during the appending operation.


git-svn-id: http://voip.null.ro/svn/yate@3133 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-22 11:30:24 +00:00
marian cae46114b4 Fixed SRV query failure reporting.
git-svn-id: http://voip.null.ro/svn/yate@3132 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-18 15:25:15 +00:00
marian 52d07b557d Fixed debug.
git-svn-id: http://voip.null.ro/svn/yate@3131 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-18 14:32:37 +00:00
paulc 925f4b7038 Reordered Qt libraries to allow proper resolution of symbols at link time.
git-svn-id: http://voip.null.ro/svn/yate@3130 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 15:58:04 +00:00
marian 83812e81e4 The xml parser now returns incomplete instead of invalid encoding error when the buffer contains an invalid utf8 character (it might be at buffer end).
git-svn-id: http://voip.null.ro/svn/yate@3129 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 15:22:26 +00:00
marian d2a45bc08d Lock the socket mutex when the xml parser is reset due to stream restart.
git-svn-id: http://voip.null.ro/svn/yate@3128 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 14:48:40 +00:00
marian 6f224d983a Fixed bug: check if the resource is already used by an user when processing a bind request.
git-svn-id: http://voip.null.ro/svn/yate@3127 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 14:19:15 +00:00
marian b480d411f0 Fixed deadlock: outgoing jabber stream id is now checked by the engine event processor to avoid locking engine's stream list(s) while the stream is locked.
git-svn-id: http://voip.null.ro/svn/yate@3126 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 13:06:54 +00:00
paulc 1c9e786a74 Lock the module while accessing or changing SIP dialog information.
git-svn-id: http://voip.null.ro/svn/yate@3125 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-12 16:25:37 +00:00
paulc 7a9631dd18 Lock the YateH323Connection while changing the capabilities and fast start channel lists.
git-svn-id: http://voip.null.ro/svn/yate@3124 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-12 15:37:41 +00:00
paulc 1767ec3835 In YateH323Connection::OnCleared() clean up the m_chan pointer as suggested by Alain Brassard in Mantis issue #201.
git-svn-id: http://voip.null.ro/svn/yate@3123 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-12 15:35:56 +00:00
marian a72f2ea177 Fixed property name.
git-svn-id: http://voip.null.ro/svn/yate@3119 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-08 09:42:23 +00:00
marian ca5f2d3eb6 Store custom identity in dynamic property (avoid using accessibleName). Requires QT 4.2.
git-svn-id: http://voip.null.ro/svn/yate@3118 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-08 09:35:59 +00:00
paulc 08c5b34be1 Retrieve as strings all MySQL types that cannot hold arbitrary binary data.
git-svn-id: http://voip.null.ro/svn/yate@3107 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-04 16:27:27 +00:00
paulc 638ffc277c Copy RTP stats in SIP to the CDR and to BYE or 200 message.
git-svn-id: http://voip.null.ro/svn/yate@3106 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-03 19:05:01 +00:00
paulc 5686698de8 Collect RTP stats - packet and octet counter - and retrieve them MGCP style.
git-svn-id: http://voip.null.ro/svn/yate@3105 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-03 18:52:40 +00:00
marian 5b3d5ec79d Optionally dump received 'iq' xml string in dispatched jabber.iq message.
git-svn-id: http://voip.null.ro/svn/yate@3104 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-03 09:51:02 +00:00
paulc 83d29c516c The echo script can play a prompt before starting to echo back voice.
git-svn-id: http://voip.null.ro/svn/yate@3102 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-02 22:52:31 +00:00
marian 980779ded1 Remember the node where an instance is located.
git-svn-id: http://voip.null.ro/svn/yate@3101 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-02 15:18:20 +00:00
marian 524b89abdb Don't indent element text when it's the only child. Fixed documentation.
git-svn-id: http://voip.null.ro/svn/yate@3100 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-02 09:27:10 +00:00
paulc 92904c3cdf Keep looping() in a ThreadedSource that has more than one reference even if it has no consumers. Prevents exiting on race condition between adding consumers and dereferencing.
git-svn-id: http://voip.null.ro/svn/yate@3098 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-01 22:49:17 +00:00
paulc 98df7e335f Preserve the Call-ID across REGISTER messages in a single login session.
git-svn-id: http://voip.null.ro/svn/yate@3096 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-23 18:22:59 +00:00
oana 3149b861cd Added support for Dahdi drivers. Compatibility with Zaptel is maintained.
git-svn-id: http://voip.null.ro/svn/yate@3094 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-23 13:50:52 +00:00
paulc 5acd80973a Re-establish the transport up state whenever we managed to receive a message.
git-svn-id: http://voip.null.ro/svn/yate@3093 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 17:54:12 +00:00
paulc ef54bbdde6 Handle SignallingInterface::HardwareError condition in M2PA.
An explicit "align" control forces alignment even if autostart is disabled.


git-svn-id: http://voip.null.ro/svn/yate@3092 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 17:52:53 +00:00
marian b8ab2edfa5 Remember directed presence notifications. Automatically notify directed 'offline' presence when an user goes offline without doing it.
git-svn-id: http://voip.null.ro/svn/yate@3091 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 13:56:12 +00:00
marian 3d07d9cbee Fixed debug message parameter.
git-svn-id: http://voip.null.ro/svn/yate@3090 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 13:29:37 +00:00
marian 60030b9241 A list parameter can now be removed by pointer.
git-svn-id: http://voip.null.ro/svn/yate@3089 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 12:59:50 +00:00
marian 0fe241df8f Documented option.
git-svn-id: http://voip.null.ro/svn/yate@3088 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 12:21:28 +00:00
marian cf0e6bb935 Fixed bug: always re-connect idle outgoing c2s streams.
git-svn-id: http://voip.null.ro/svn/yate@3087 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:46:45 +00:00
marian f0efb2945a Fixed indendation.
git-svn-id: http://voip.null.ro/svn/yate@3086 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:45:20 +00:00
marian 8630c28ec1 Implemented support for multiple remote domains on incoming s2s streams. Implemented XEP 0185 and 0220. Added module option and stream flag used to disable RFC3920 features advertising on incoming s2s streams.
git-svn-id: http://voip.null.ro/svn/yate@3085 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:40:24 +00:00
marian 1ef003f69f Added user.notify message handler used in client mode to close all channels belonging to an unregistered local account.
git-svn-id: http://voip.null.ro/svn/yate@3084 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-16 16:23:28 +00:00
paulc 2b2f7e2380 Use CR LF for multi-line message outputs, fixes telnet and Windows logging.
git-svn-id: http://voip.null.ro/svn/yate@3082 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 21:07:17 +00:00
paulc dcaf541c92 The default stream mode is adapted to the type of transport.
Constified some methods of the Transport class.


git-svn-id: http://voip.null.ro/svn/yate@3081 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 20:57:37 +00:00
paulc 240cb52250 Fixed checking of M2PA backwards sequence numbers with jumps.
Decode and acknowledge CBD and XCO management messages.


git-svn-id: http://voip.null.ro/svn/yate@3080 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 20:29:32 +00:00
paulc 81e5d1050e Use the proper clearParams() method to clear the parameter lists.
git-svn-id: http://voip.null.ro/svn/yate@3078 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 13:53:18 +00:00
paulc 0db9124255 The MGCP-CA module needs to be early init as the endpoint must be set up when ysigchan or analog need to create circuits.
git-svn-id: http://voip.null.ro/svn/yate@3076 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-09 20:52:16 +00:00
andrei 50a37a289d Fixed configuration of Cisco SM module.
git-svn-id: http://voip.null.ro/svn/yate@3075 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-08 15:57:32 +00:00