paulc
b7e750e8a1
Use a binary semaphore to wait for messages to be handled by external modules.
...
Reduces the CPU load when there are many scripts handling messages.
git-svn-id: http://voip.null.ro/svn/yate@3169 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-06 11:13:47 +00:00
paulc
f839f0bc9b
Allow specifying a PSTN trunk circuit number offset
...
git-svn-id: http://voip.null.ro/svn/yate@3168 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-05 21:55:59 +00:00
paulc
bffac88961
Added include guards to the Qt4 client.
...
git-svn-id: http://voip.null.ro/svn/yate@3167 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-02 17:36:20 +00:00
oana
b3cd7d832d
Added sample rate control to the audio module for Mac OS X.
...
git-svn-id: http://voip.null.ro/svn/yate@3166 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-02 14:48:04 +00:00
paulc
1469b445ca
Added names to codec translator factories to aid in debugging.
...
Try all possible formats when attempting to crate a new chain.
Fixes some missing conversions like speex/32000<->slin.
git-svn-id: http://voip.null.ro/svn/yate@3165 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-02 14:28:27 +00:00
paulc
1bc096fa99
Added basic sample rate control in the DirectSound module, removed chunk and buffer settings as they must be computed from rate.
...
git-svn-id: http://voip.null.ro/svn/yate@3164 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-31 13:53:44 +00:00
paulc
42d4dded8f
Double the system idle interval when running in client mode, make it adjustable from the config file.
...
git-svn-id: http://voip.null.ro/svn/yate@3163 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-31 09:36:58 +00:00
paulc
3f634396d6
Added wideband example in MOH config sample file.
...
git-svn-id: http://voip.null.ro/svn/yate@3162 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 15:12:07 +00:00
paulc
44d5f77989
Added basic sample rate control in ALSA, OSS, conference and MOH.
...
git-svn-id: http://voip.null.ro/svn/yate@3161 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 15:06:50 +00:00
paulc
2db4b83623
Fixed the SVN properties of coreaudio.cpp
...
git-svn-id: http://voip.null.ro/svn/yate@3160 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 13:43:00 +00:00
paulc
68313f1b7d
Fixed sed type detection, added messages.
...
git-svn-id: http://voip.null.ro/svn/yate@3159 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 13:37:41 +00:00
paulc
109bb293ff
Fixed typo in sed type detection.
...
git-svn-id: http://voip.null.ro/svn/yate@3158 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 13:30:41 +00:00
paulc
02ed7988d6
Support versions of sed that do not implement infix operator | in default mode.
...
git-svn-id: http://voip.null.ro/svn/yate@3157 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 13:26:04 +00:00
paulc
c413754f37
Suppress spurious messages about missing qmake.
...
git-svn-id: http://voip.null.ro/svn/yate@3156 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 13:15:10 +00:00
oana
d742e3b343
Added detection of Qt4 header files and libraries on Mac OS X.
...
git-svn-id: http://voip.null.ro/svn/yate@3155 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 12:29:20 +00:00
oana
1f51c74a0a
Audio support for Mac OS X added.
...
git-svn-id: http://voip.null.ro/svn/yate@3154 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 12:12:32 +00:00
oana
aa528b1523
Yate has been ported on Mac OS X.
...
git-svn-id: http://voip.null.ro/svn/yate@3153 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 11:49:43 +00:00
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