Commit Graph

3039 Commits

Author SHA1 Message Date
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
marian fe684b1fd2 Fixed bug: don't send local user's presence when its subscription request is aproved.
git-svn-id: http://voip.null.ro/svn/yate@3074 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-06 23:34:27 +00:00
marian 115558cfb3 Notify presence when a subscription request is aproved by a local user.
git-svn-id: http://voip.null.ro/svn/yate@3073 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-06 23:04:07 +00:00
marian b4cc407b2f Try harder to set the from attribute of an offline chat before storing it.
git-svn-id: http://voip.null.ro/svn/yate@3072 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-05 21:11:05 +00:00
paulc 49f6b9db4a Changed the menu name of the client to "Yate VoIP Client".
git-svn-id: http://voip.null.ro/svn/yate@3071 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 13:41:58 +00:00
paulc e04a1ad691 Shortened some expressions, added braces to avoid compiler warnings.
git-svn-id: http://voip.null.ro/svn/yate@3070 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 12:59:48 +00:00
paulc adbcad5373 Fixed building in Windows, added sigtransport to build and installer.
git-svn-id: http://voip.null.ro/svn/yate@3069 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 12:50:06 +00:00
paulc 3769914317 The SS7 Management component can handle MTNS messages too.
git-svn-id: http://voip.null.ro/svn/yate@3068 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 02:02:52 +00:00
paulc 2c29e87f01 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://voip.null.ro/svn/yate@3067 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 02:01:40 +00:00
paulc 65c7a2da30 Added method to set the desired SCTP protocol payload identification (PPID).
git-svn-id: http://voip.null.ro/svn/yate@3066 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 01:59:27 +00:00
paulc a175a3d44d The zapcard and tdmcard can be disabled individually.
Bumped status / build number to alpha2.


git-svn-id: http://voip.null.ro/svn/yate@3065 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-03 23:35:36 +00:00
paulc 80a2af15b4 M2PA Normal and Emergency proving were reversed.
git-svn-id: http://voip.null.ro/svn/yate@3064 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-03 23:32:07 +00:00
paulc 8be9e9991a Add the REGISTER request URI and Call-ID to the user.(un)register messages.
git-svn-id: http://voip.null.ro/svn/yate@3063 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 23:59:54 +00:00
paulc 530d21f9bc Fixed bug in spec file, conf_h323 must be always defined.
git-svn-id: http://voip.null.ro/svn/yate@3062 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 22:32:52 +00:00
paulc b6f5d9afba Fixed packaging paths and modules for Yate 3.
Added separate packages for SCTP sockets and Speex codec.


git-svn-id: http://voip.null.ro/svn/yate@3061 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 22:27:14 +00:00
paulc ed7d097677 Fixed initial M2PA sequence numbers and aligned() implementation.
Improved debugging messages and fixed minor spelling errors.


git-svn-id: http://voip.null.ro/svn/yate@3060 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 21:53:05 +00:00
paulc 580f5c0c9e Detect if sctp_connectx() has 3 or 4 arguments.
git-svn-id: http://voip.null.ro/svn/yate@3059 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 16:46:53 +00:00
andrei ecd075d0ac 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://voip.null.ro/svn/yate@3058 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 14:38:12 +00:00
andrei a8383a13ca Added suport for abstract SCTP Socket
git-svn-id: http://voip.null.ro/svn/yate@3057 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 14:21:02 +00:00
andrei 269ec0618e Allow configuration of components from message.
Configuration of ysigchan is saved to file


git-svn-id: http://voip.null.ro/svn/yate@3056 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 13:13:44 +00:00
paulc 28c89ce0c6 Added a set of classes for evaluating C or SQL style expressions.
git-svn-id: http://voip.null.ro/svn/yate@3055 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-01 20:53:47 +00:00
paulc 102f7af8ef Use PThread::WaitForTermination() to wait for call proxy thread, avoid 100% CPU load if call takes long to set up.
Give names to PWLib threads to aid in debugging.


git-svn-id: http://voip.null.ro/svn/yate@3053 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-01 14:44:31 +00:00
maciej deafaa3d61 yaypm.utils.outgoing works with forks now
git-svn-id: http://voip.null.ro/svn/yate@3052 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-01 13:29:19 +00:00
paulc 6eb57b13ca Use static Regexps instead of compiling new ones up to 5 times.
git-svn-id: http://voip.null.ro/svn/yate@3049 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-31 20:35:48 +00:00
paulc be5664b373 Use static Regexps instead of allocating them on stack. Multiplies 2.5x the parser performance.
git-svn-id: http://voip.null.ro/svn/yate@3048 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-31 20:30:02 +00:00
paulc 232ca0d142 Minor performance improvement parsing non-SIP/2.0 branches.
git-svn-id: http://voip.null.ro/svn/yate@3047 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-31 20:27:56 +00:00
paulc 8afde4d6b1 Precompile regular expressions on construction from constant string so it won't need to compile on first call.
git-svn-id: http://voip.null.ro/svn/yate@3046 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-31 20:05:43 +00:00
paulc eb98a3909a Display the name of the shared object in SLib destructor to aid in debugging unload order.
git-svn-id: http://voip.null.ro/svn/yate@3045 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-30 20:33:11 +00:00
marian 564cdb3c26 The jingle module is now handling call.execute with target starting with 'jabber/' in client mode.
git-svn-id: http://voip.null.ro/svn/yate@3044 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-28 11:39:36 +00:00
marian ac821b5213 Add one pair of separators (-----) when xml is printed in verbose mode.
git-svn-id: http://voip.null.ro/svn/yate@3043 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-28 11:20:16 +00:00
paulc 588591db02 Allow overriding DLL_SUFFIX (.yate) and CFG_SUFFIX (.conf) at compile time.
git-svn-id: http://voip.null.ro/svn/yate@3042 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-27 16:44:19 +00:00
paulc 2deb231d17 When started in interactive mode (not daemonified) shutdown on receiving SIGHUP since the console was closed.
git-svn-id: http://voip.null.ro/svn/yate@3040 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-27 12:07:51 +00:00
marian 5946e52bde Use clear() to delete list items when the list is destroyed.
git-svn-id: http://voip.null.ro/svn/yate@3038 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 13:20:06 +00:00
marian c9075175c2 Added extra mutex to protect stream socket and parser (avoid infinite looping on connection reset).
git-svn-id: http://voip.null.ro/svn/yate@3037 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 11:40:15 +00:00