Commit Graph

3609 Commits

Author SHA1 Message Date
oana 55813dcbe3 Added SNMP support.
git-svn-id: http://voip.null.ro/svn/yate@3776 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-03 16:27:30 +00:00
marian 1d9e0f3256 Avoid output buffer re-alloc if needed size don't change in various data translators.
git-svn-id: http://voip.null.ro/svn/yate@3769 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 13:59:02 +00:00
marian 82b42cfbc1 The SimpleTranslator is now keeping source and destination formats across Consume calls: avoid repetitive String alloc.
git-svn-id: http://voip.null.ro/svn/yate@3768 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 13:43:03 +00:00
marian ffed91381f RTPSender send buffer is now kept across send calls: avoid buffer re-alloc if needed size don't change.
git-svn-id: http://voip.null.ro/svn/yate@3767 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 13:13:10 +00:00
marian 3c4627c7f4 Always display XDebug message with data consume results.
git-svn-id: http://voip.null.ro/svn/yate@3766 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 13:00:57 +00:00
paulc 5bf4cc8129 Further improved chan.connect to deal faster with the case when the peer of the channel already in the message is requested.
git-svn-id: http://voip.null.ro/svn/yate@3765 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 12:34:20 +00:00
paulc 8d4f8f0da4 Speed up chan.connect handling if the proper CallEndpoint is already carried in the message.
git-svn-id: http://voip.null.ro/svn/yate@3764 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 12:28:34 +00:00
paulc 3fea3d7ed3 Set the proper channel ID in MOH channels.
git-svn-id: http://voip.null.ro/svn/yate@3763 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 12:27:39 +00:00
marian acb41d1a50 Added resize method used to re-alloc a DataBlock if it doesn't have a required length.
git-svn-id: http://voip.null.ro/svn/yate@3762 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 08:54:58 +00:00
paulc 131f9dc787 Fixed a compile bug on platforms where a pointer does not fit in an int.
git-svn-id: http://voip.null.ro/svn/yate@3761 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-01 20:57:15 +00:00
marian e93dca85c5 Added MutexPool class implementing a fixed size array of mutexes. Replaced the global mutex protecting the RefObject counter changes with a mutex pool.
git-svn-id: http://voip.null.ro/svn/yate@3760 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-01 14:54:53 +00:00
marian d173535c1c Lock DataSource while its translator is set. Safely retrieve the translator when a chain is detached.
git-svn-id: http://voip.null.ro/svn/yate@3759 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-29 08:41:32 +00:00
marian ebfb341722 Added global mutex used to protect DataConsumer's source pointer changes.
git-svn-id: http://voip.null.ro/svn/yate@3758 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-27 16:03:44 +00:00
marian 5f7acf9202 Avoid to crash when the subscription module handles a mwi message without the "operation" parameter.
git-svn-id: http://voip.null.ro/svn/yate@3757 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-27 13:53:15 +00:00
paulc ee9bcb3b9c Avoid a crash when the Jingle channel receives a call.update without the "operation" parameter.
git-svn-id: http://voip.null.ro/svn/yate@3756 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-26 15:52:36 +00:00
paulc a2102dfbf1 Emit a chan.connected notification message when a Channel was just connected.
git-svn-id: http://voip.null.ro/svn/yate@3755 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-26 15:48:36 +00:00
marian bd86eb9b79 Avoid overriding window flags. Handle close button window flag added in Qt 4.5.
git-svn-id: http://voip.null.ro/svn/yate@3754 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-26 10:46:31 +00:00
paulc e8f806c950 Added thread priority setting for the SIP module.
git-svn-id: http://voip.null.ro/svn/yate@3753 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-25 13:13:35 +00:00
marian d0781c9d21 Initialize variable.
git-svn-id: http://voip.null.ro/svn/yate@3752 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 14:50:33 +00:00
marian 8dd22900f3 Removed unused class data member.
git-svn-id: http://voip.null.ro/svn/yate@3751 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 14:46:19 +00:00
paulc 2d83207ce9 Fixed the alternate route detection algorithm.
Always recompute all views including itself as in alternate routing a notification may be sent back.


git-svn-id: http://voip.null.ro/svn/yate@3750 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 10:38:15 +00:00
paulc 629cb10303 Got rid of the early... settings, the algorithm is robust enough.
Speed up by always sending TFP and TRA on adjacent node restart if we are already started.


git-svn-id: http://voip.null.ro/svn/yate@3749 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 07:23:24 +00:00
paulc 542df8be26 Fixed the per-view best route state to take into account load sharing and alternate routing.
The type of sharing / alternate is taken from relative route priority.
Note that actual routing of the packets also takes into account the SLS shift.


git-svn-id: http://voip.null.ro/svn/yate@3748 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 04:14:41 +00:00
paulc 2756fb30d5 Answer with TRA to TRA (if T19 not running) in SP mode too.
Start T19 also when manually forcing out all TRA messages.


git-svn-id: http://voip.null.ro/svn/yate@3747 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 01:53:39 +00:00
paulc ed9df427bc By default push TFPs as soon as possible on newly checked linksets.
Send TFPs to adjacent node with linkset down but seen starting elsewhere.


git-svn-id: http://voip.null.ro/svn/yate@3746 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 01:30:25 +00:00
paulc a8b2ca5c4d Do not send by default a TRA when the linkset is put in service.
In STP mode routing information (TFx) should be sent first.


git-svn-id: http://voip.null.ro/svn/yate@3745 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 15:30:32 +00:00
paulc 0b335451a7 Restart T21 when a link goes up.
git-svn-id: http://voip.null.ro/svn/yate@3744 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 14:24:13 +00:00
paulc 7327ea7854 After silently allowing routes on T21 expiration send all TFx and TRA just like if received a TRA.
git-svn-id: http://voip.null.ro/svn/yate@3743 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 14:22:21 +00:00
paulc 373045e192 Check the route status of the STP too if routing an User Part message.
Perform time controlled rerouting on all routes on a STP whose state changed.


git-svn-id: http://voip.null.ro/svn/yate@3742 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 13:53:06 +00:00
paulc 024add22c5 Added capability of configuring explicit routes per MTP3 linkset.
git-svn-id: http://voip.null.ro/svn/yate@3741 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 11:59:43 +00:00
paulc 0629159c34 Added an "available" command to ISUP so the remote user part can be enabled manually for testing.
git-svn-id: http://voip.null.ro/svn/yate@3740 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 09:38:20 +00:00
paulc 130cf665a1 Added a separate T19 timer, initialize T19 and T21 interval only once.
Start T21 at beginning of restart instead of a short one at end.


git-svn-id: http://voip.null.ro/svn/yate@3739 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 08:32:10 +00:00
paulc dd5ead5f12 Silently activate unknown yet routes to all nodes behind an adjacent STP that sent TRA.
This is safe as all TRx must have been received before TRA is received.


git-svn-id: http://voip.null.ro/svn/yate@3738 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 16:26:13 +00:00
paulc df9aadbed7 Fixed the way the routes are cleared when a linkset changes state.
The adjacent point code is located (it is always first as it has priority zero) and provided for all other routes.


git-svn-id: http://voip.null.ro/svn/yate@3737 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 15:20:02 +00:00
paulc 31fe65c5b1 Consistently set T21 = T20 + 4s in the SS7 restart procedure.
git-svn-id: http://voip.null.ro/svn/yate@3736 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 11:35:14 +00:00
paulc f2f8647c4f Do not handle route set test messages while still in the restart procedure.
git-svn-id: http://voip.null.ro/svn/yate@3735 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 11:31:11 +00:00
paulc cb2c28d2f8 Properly clear the adjacent route(s) of a linkset that goes down.
git-svn-id: http://voip.null.ro/svn/yate@3734 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 11:29:51 +00:00
paulc 9181b64439 Trigger time controlled rerouting when the availability of any linkset in a route changed.
git-svn-id: http://voip.null.ro/svn/yate@3733 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 09:57:57 +00:00
paulc 77a7a6da7b Added variable to warn only once that all links in a linkset are down.
Prevents flooding the logs with warnings if a linkset is down for a long time.


git-svn-id: http://voip.null.ro/svn/yate@3732 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 09:07:35 +00:00
paulc 9fa50f8e1d Documented the SS7 Management Part settings.
git-svn-id: http://voip.null.ro/svn/yate@3731 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 08:34:05 +00:00
paulc 8346fdf2d2 Added separate setting for enabling sending changeback and changeover between linksets.
This setting is disabled by default so time controlled diversion is used between linksets.


git-svn-id: http://voip.null.ro/svn/yate@3730 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 08:08:35 +00:00
paulc b43ef61320 Fixed a route building bug introduced in Rev 3641 (2010-09-08).
Fixed route test querying that caused the changes above.


git-svn-id: http://voip.null.ro/svn/yate@3729 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 16:23:36 +00:00
paulc 079c85b713 Postpone the resuming of M2UA links after retrieval of sequence number to avoid flooding the gateway if we have many links (de)activating at once.
git-svn-id: http://voip.null.ro/svn/yate@3728 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 13:43:20 +00:00
paulc 74717acc85 Release the router lock before checking each reroute buffer to avoid deadlocks.
git-svn-id: http://voip.null.ro/svn/yate@3727 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 13:41:46 +00:00
paulc 25d7eb4016 Changed the way an incoming LUN removes pending LRT and LFU, there can be one of each pending.
git-svn-id: http://voip.null.ro/svn/yate@3726 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 12:53:41 +00:00
paulc 1959fa4adc Added a reroute buffer used to implement T3 and T6 (missequencing avoidance).
Changed debug messages and levels to be easier to interpret the typical output.


git-svn-id: http://voip.null.ro/svn/yate@3725 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 11:17:12 +00:00
paulc bede083f28 Added a message when a link that is not in service is cycled because of maintenance test failure.
git-svn-id: http://voip.null.ro/svn/yate@3724 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 08:30:09 +00:00
paulc c2fc5e8f3d Added a debugging message before SS7 SNM sends out a message.
git-svn-id: http://voip.null.ro/svn/yate@3723 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 08:00:00 +00:00
paulc 9462db8c97 Link Force Uninhibit is sent with an 1200ms one-time retry (Q.704 T13).
git-svn-id: http://voip.null.ro/svn/yate@3722 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 06:50:48 +00:00
paulc 84983afd57 Send a link management SNM even on inhibited links if nothing else is available.
git-svn-id: http://voip.null.ro/svn/yate@3721 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 04:30:53 +00:00