Commit Graph

3201 Commits

Author SHA1 Message Date
paulc bcf35137fe Fixed typo.
git-svn-id: http://voip.null.ro/svn/yate@3183 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-12 11:23:41 +00:00
paulc c6a7b31937 Reduced contention between PostgreSQL accounts by keeping a reference counter to each instead of keeping the list locked.
git-svn-id: http://voip.null.ro/svn/yate@3182 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-12 11:02:56 +00:00
marian 29803fe799 Handle _yate_windowclosedaction property and trigger the action when a window is closed by the user.
git-svn-id: http://voip.null.ro/svn/yate@3181 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-12 10:57:39 +00:00
paulc 7910ef6a64 Commented out the sample SSL server context to avoid a runtime warning.
git-svn-id: http://voip.null.ro/svn/yate@3180 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-12 08:14:37 +00:00
paulc 93f04c937c Added variable $caller that was used in a debugging message but not defined.
git-svn-id: http://voip.null.ro/svn/yate@3179 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-12 08:07:33 +00:00
paulc b3d88aa7d7 Handle ANSI ISUP Circuit Validation Test, answer to it.
git-svn-id: http://voip.null.ro/svn/yate@3178 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-09 22:16:08 +00:00
paulc 962bc53562 ANSI RLC has no parameters, not even optional, so add it to the specific table.
Accept with just a MILD warning messages that are truncated just before the optional parameters pointer.


git-svn-id: http://voip.null.ro/svn/yate@3177 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-09 16:58:03 +00:00
paulc 543d105246 Emit a BYE only if we have a SIP dialog - either early or established.
git-svn-id: http://voip.null.ro/svn/yate@3175 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-08 22:49:58 +00:00
marian 0c0c34f559 Use existing QAction object(s) when building a menu at runtime.
git-svn-id: http://voip.null.ro/svn/yate@3174 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-08 11:27:08 +00:00
marian a7d63284c7 Handle _yate_setaction property: associate a QToolButton with an existing QAction. Handle _yate_noautoconnect property: don't connect buttons to window slots.
git-svn-id: http://voip.null.ro/svn/yate@3173 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-08 09:29:36 +00:00
paulc 2fc128e21e Store initially guessed local address, re-register only if it changed.
git-svn-id: http://voip.null.ro/svn/yate@3172 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-07 11:27:30 +00:00
paulc a1f7b8655d Unset PKG_CONFIG_LIBDIR only after we're done with it.
git-svn-id: http://voip.null.ro/svn/yate@3171 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-07 08:50:04 +00:00
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