Commit Graph

429 Commits

Author SHA1 Message Date
oana 51b082375f Yate has been ported on Mac OS X.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3153 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 11:49:43 +00:00
paulc 15904daef1 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://yate.null.ro/svn/yate/trunk@3143 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-24 13:46:12 +00:00
marian 3a60230566 Fixed SRV query failure reporting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3132 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-18 15:25:15 +00:00
marian 5621a88ebb Fixed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3131 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-18 14:32:37 +00:00
marian e4bf599a53 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://yate.null.ro/svn/yate/trunk@3129 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 15:22:26 +00:00
marian d2010e3a13 Lock the socket mutex when the xml parser is reset due to stream restart.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3128 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 14:48:40 +00:00
marian cba07a3ca3 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://yate.null.ro/svn/yate/trunk@3126 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 13:06:54 +00:00
paulc ea6a75fd23 Collect RTP stats - packet and octet counter - and retrieve them MGCP style.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3105 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-03 18:52:40 +00:00
marian 71aa51d5db Don't indent element text when it's the only child. Fixed documentation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3100 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-02 09:27:10 +00:00
paulc 3c1deeb549 Handle SignallingInterface::HardwareError condition in M2PA.
An explicit "align" control forces alignment even if autostart is disabled.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3092 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 17:52:53 +00:00
marian 44fa85340c Fixed bug: always re-connect idle outgoing c2s streams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3087 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:46:45 +00:00
marian 7ec8c7e66f Fixed indendation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3086 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:45:20 +00:00
marian 69e15604d0 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://yate.null.ro/svn/yate/trunk@3085 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:40:24 +00:00
paulc ebd4da0abb Use CR LF for multi-line message outputs, fixes telnet and Windows logging.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3082 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 21:07:17 +00:00
paulc 1032ee4aaa Fixed checking of M2PA backwards sequence numbers with jumps.
Decode and acknowledge CBD and XCO management messages.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3080 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 20:29:32 +00:00
paulc 8b0c5ed985 Use the proper clearParams() method to clear the parameter lists.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3078 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 13:53:18 +00:00
paulc 9eccfa1130 Fixed building in Windows, added sigtransport to build and installer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3069 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 12:50:06 +00:00
paulc ef9be3b3b3 The SS7 Management component can handle MTNS messages too.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3068 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 02:02:52 +00:00
paulc c1e8fe9e8b Set the proper PPID for M2PA, propagate to SCTP socket.
Fixed order of sequence numbers in M2PA.
Fixed the insertion/removal of priority octet in M2PA transport.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3067 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 02:01:40 +00:00
paulc 06fb9ee9ef M2PA Normal and Emergency proving were reversed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3064 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-03 23:32:07 +00:00
paulc cbdfb4b156 Fixed initial M2PA sequence numbers and aligned() implementation.
Improved debugging messages and fixed minor spelling errors.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3060 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 21:53:05 +00:00
andrei 91ec0a8770 Added generic support for SS7 SIGTRAN protocol stack.
Added SCTP sockets support based on Linux Kernel SCTP.
Added SS7 Sigtran M2PA protocol support.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3058 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 14:38:12 +00:00
paulc c7d6f8c029 Use static Regexps instead of allocating them on stack. Multiplies 2.5x the parser performance.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3048 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-31 20:30:02 +00:00
paulc 717d48cd77 Minor performance improvement parsing non-SIP/2.0 branches.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3047 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-31 20:27:56 +00:00
marian b1f12727ca Add one pair of separators (-----) when xml is printed in verbose mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3043 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-28 11:20:16 +00:00
marian 0df7c25fd6 Added extra mutex to protect stream socket and parser (avoid infinite looping on connection reset).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3037 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 11:40:15 +00:00
marian 16105694c5 Don't add streams namespace to error and features elements.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3036 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 11:30:34 +00:00
paulc 651327cff6 Fixed some doxygen comments.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3015 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-11 00:24:17 +00:00
marian c4c41e16e3 Avoid destroying a locked isup call mutex.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3014 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-08 15:39:26 +00:00
andrei 03de45eb83 When getting circuit events return fast without locking if there are no queued events.
Fixes high CPU usage when running many ISDN or SS7 circuits.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3011 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-07 14:19:57 +00:00
marian f747a6b6e1 Set message type to 'chat' when building from a list of parameters. Added some namespaces to global list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2986 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-14 16:44:34 +00:00
marian 03d9853390 Escape element text when requested.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2978 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-03 13:21:37 +00:00
marian fa5280c020 Add stream type prefix to stream name. Added account to client streams. A client stream can now be retrieved by account from the jabber client engine.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2976 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-27 12:17:17 +00:00
marian 1f61c91241 Fixed compile error.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2969 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-26 13:46:17 +00:00
marian c0507328f6 Skip SRV query if a destination port was set.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2968 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-26 13:40:09 +00:00
oana e41063d92e Skip SRV resolving on platforms that don't support it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2963 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-25 15:04:46 +00:00
paulc e70fb1fafe Explicitely include arpa/nameser.h needed for *BSD.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2962 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-25 14:25:50 +00:00
marian 56f6a19ab5 Don't reset stream flags when updating from engine domain list. Added debug when stream flags change.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2960 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-23 09:54:16 +00:00
marian d827c8d14b Set default message stanza type to 'chat'.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2959 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-23 09:52:16 +00:00
marian adffa26bb7 Print element attributes on the same line with tag.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2950 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-17 08:28:46 +00:00
marian 995d6fb6a0 Fixed ILBC payload name in rtpmap.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2949 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-16 13:35:54 +00:00
marian f06dc5c814 Don't use idle timer for c2s streams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2945 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 12:56:05 +00:00
marian 3aa98bfd98 Implemented c2s non sasl authentication. Added listener for direct c2s SSL connections. Restrict client resources with the same name while authenticating using non sasl.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2943 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 11:36:05 +00:00
marian d3a451fcae Pop only completed child elements.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2924 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-11 13:00:09 +00:00
paulc 413102c4c1 Made Yate 3 build in Visual Studio, fixed some bugs discovered by the VC++ compiler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2923 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 18:44:44 +00:00
marian a9419ce738 Fixed xml debug string build.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2922 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 16:17:42 +00:00
marian 803f4e27f1 Added error flag used to avoid stream re-connect when terminated with error and have nothing to send. Fixed stream idle timer usage.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2917 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 15:27:47 +00:00
paulc a9a4088db4 Fixed ISDN PRI circuit allocation bugs introduced by Rev. 2505 (BRI support).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2913 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 21:38:16 +00:00
paulc a38ca1916d Added some extra messages related to circuit allocation when compiled for debugging.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2912 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 21:35:50 +00:00
paulc 7f67a8c7f5 Disambiguated a pair of if ... else.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2910 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 19:05:44 +00:00