Commit Graph

2815 Commits

Author SHA1 Message Date
paulc c23251c4d0 Fixed more warnings on different platforms.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2726 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:58:33 +00:00
paulc ddcb309e01 Two more warning fixes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2725 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:28:25 +00:00
paulc 65fa4adbd4 Fixed warnings and a few minor bugs when compiling on a different architecture.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2724 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:19:20 +00:00
marian b2f419a6b5 Utility client channels are now notifying startup/destroyed events.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2723 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 06:53:44 +00:00
paulc bad4b42a73 Added engine config section so individual modules that depend on buggy
libraries are never unloaded from memory, only finalized if possible.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2722 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 17:44:48 +00:00
paulc a6a9d71e8f Allow skipping mutex operations until main() on platforms where mutexes
are unsafe in global object constructors.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2721 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 12:21:23 +00:00
paulc d32ef480a0 Added possibility to disable unloading in modules at build time.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2720 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 11:54:07 +00:00
paulc fc2b3d5e2e Thread support for systems without inherited scheduling and/or thread
cancelling.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2719 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 11:41:44 +00:00
paulc a41297889b Added sample PHP external resolver script, allows blacklisting IP addresses of failed SIP gateways.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2718 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-17 15:39:17 +00:00
paulc e4bb7cac09 Added capability to issue a DLCX to clear all connections when becoming operational.
Each remote endpoint has its connections cleared when recovering from error.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2717 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-16 16:02:50 +00:00
paulc 087d8bf25b Handle a MGCP connection deletion from the gateway.
Fixed span endpoint matching to search all its circuits.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2716 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-16 13:47:52 +00:00
marian 2bc53a4f23 Copy the 'cdrwrite' parameter when starting an outgoing client channel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2715 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 15:26:23 +00:00
marian 58deec4684 Fail user.login if a stream was found but is going to be destroyed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2714 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 11:46:19 +00:00
marian e9fe9cae41 Forward presence 'show' to/from resource.notify for client streams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2713 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 11:42:01 +00:00
paulc 27ec0b5013 Added method to add a compact circuit range to an existing range.
In ysigchan status a suffix of /* or /all shows the state of all circuits of the trunk.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2712 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 10:38:32 +00:00
paulc a68b1553c0 Changed the name of the mutex protecting name resolution to reveal its real usage.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2711 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 04:10:36 +00:00
paulc 99e02ed75a Do not report a warning if there are 16 NULs or less at the end of a MIME body, assume it's some sort of padding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2710 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-14 21:19:00 +00:00
marian 207cfef1f2 Don't trigger existing disabled actions/widgets from event filter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2709 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-14 21:11:25 +00:00
marian 2f76d754bf Keep the stream alive while connecting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2708 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-13 18:47:20 +00:00
marian 73937c8588 Don't resolve the remote domain in constructor: avoid blocking the thread creating the stream. Don't try to connect if failed to resolve the remote domain.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2707 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-13 18:46:00 +00:00
paulc 186ac531ca Changed the order the engine object files are listed in the Makefile to match the desired initialization order.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2706 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-12 15:24:45 +00:00
paulc ca829d943a Made some dangerous constructors explicit, fix potential problems exposed by this.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2705 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-12 15:15:36 +00:00
marian eacfc80db6 Use channel mutex when releasing data for a client utility channel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2704 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-12 12:12:47 +00:00
marian df16ca8449 Add channel client data when notifying without adding the channel pointer. Release channel client data after notifying.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2703 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-12 12:09:26 +00:00
marian 5d2100af59 Return the correct result when setting custom widgets parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2702 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-10 14:39:07 +00:00
paulc deb2d22bda Suppress the MODULE_ parameters since they can be retrieved by other means.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2701 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-10 14:16:44 +00:00
paulc 6b89eafb9f Added back missing interpreter name and final newline.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2700 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-10 14:13:20 +00:00
paulc 81c381fd57 Fixed parsing of configure on FreeBSD or similar where ac_subst_vars is one long line.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2699 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-10 14:06:32 +00:00
paulc 1e290ad39d Don't attempt to reset the nocasematch shopt, it wasn't working anyway.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2698 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-10 13:50:31 +00:00
paulc 636a6a1e8e Generate yate-config.in dynamically to add support for arbitrary parameters.
Run autogen.sh to regenerate configure, should detect autoconf properly.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2697 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-10 13:43:42 +00:00
marian dd1ee45b73 Added widget dynamic property used to indicate to enqueue an ui.action message when window visibility changes. This property must be used when the window is destroyed when hidden.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2696 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-10 11:02:01 +00:00
marian a16485b562 Added optional parameter to buildMenu() used to indicate an about to show slot (handle the menu's aboutToShow() signal).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2695 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-10 10:14:54 +00:00
paulc e7dde79187 Fixed the parameter used for sending DTMF over MGCP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2694 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-09 16:36:24 +00:00
paulc 61629e34f8 Allow to configure (and better defaults) the increment in circuit numbers caused by each span.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2693 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-09 15:34:51 +00:00
paulc bbf88687c2 Allow disabling sending of ISUP circuit group requests.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2692 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-09 13:18:46 +00:00
paulc 00105b6b53 Warn if we never received a valid line from an external script.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2691 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-08 10:56:01 +00:00
paulc 32d4a4030f Fixed building osschan on FreeBsd where soundcard.h is in include/sys
git-svn-id: http://yate.null.ro/svn/yate/trunk@2690 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-05 17:39:29 +00:00
paulc 440bef9ad1 Got rid of a strcmp call, use String method instead.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2689 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-05 17:21:32 +00:00
marian a104d578e3 Forward photo and email from received vcard.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2688 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-05 14:56:48 +00:00
marian 647859a94a Fixed bug: avoid calling tinyxml's SetAttribute() with NULL char pointer parameter(s) (leads to crash).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2687 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 16:26:01 +00:00
paulc ef913bddc2 Configure can receive explicit path to openssl base directory, assumes
libssl and libcrypto are in the linker's path.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2686 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 14:52:08 +00:00
paulc 4358188785 Prevent inclusion of strings.h as the bcmp/bcopy/bzero defines can cause
syntax errors.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2685 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 14:21:19 +00:00
paulc 84c764c5b7 Check for regcomp only if we would use it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2684 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 14:02:57 +00:00
paulc 8c0c29f738 Fixed path to test executable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2683 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 14:01:44 +00:00
paulc 55df1c3620 Correctly provide a format string as we cannot guarantee the string content is printf safe.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2682 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 14:01:17 +00:00
paulc 38dc83a703 Made MessageHandler::cleanup() protected.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2681 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-03 16:07:12 +00:00
paulc 953cbfe189 Use normal function check instead of AC_FUNC_MALLOC as we never call it
to allocate zero bytes.
AC_FUNC_MALLOC cannot be tested wile cross-compiling and its default 
behaviour disturbs subsequent tests.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2680 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-03 12:34:07 +00:00
paulc 6dfcdcbd11 Fixed several warnings detected by stricter compilers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2679 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 20:05:02 +00:00
paulc 6ad1605ad6 Reserve $LIBS and @LIBS@ for the system libraries that can be passed to
the configure script.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2678 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 19:17:54 +00:00
paulc 2275cf0f76 Disabled system CFLAGS on Qt client as optimization -O2 or higher caused confusing template and pointer related warnings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2677 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 17:27:51 +00:00