Commit Graph

831 Commits

Author SHA1 Message Date
paulc ef825bbe19 Modified the way M2PA UserData messages are acknowledged.
Reduces the number of ACK messages in case of unidirectional high traffic.


git-svn-id: http://voip.null.ro/svn/yate@4167 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-08 16:21:15 +00:00
paulc 5d19885970 Added support for Extended Changeover messages (XCO/XCA) used with 24-bit sequence SS7 links.
git-svn-id: http://voip.null.ro/svn/yate@4164 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-07 18:34:52 +00:00
paulc 934ba9df5c Report textual status of call controllers (trunks).
git-svn-id: http://voip.null.ro/svn/yate@4163 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-07 14:57:07 +00:00
paulc b2283a0c2e Added flags that control how SIP message components are automatically completed.
These flags can be configured per engine and can be overridden in some messages by setting an "xsip_flags" parameter.


git-svn-id: http://voip.null.ro/svn/yate@4161 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-07 13:50:59 +00:00
paulc 62ce79a0c0 Set the value of rport parameter (RFC 3581) in the topmost Via header only if the parameter is already set by the client or proxy and has no value.
git-svn-id: http://voip.null.ro/svn/yate@4160 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-07 11:56:43 +00:00
paulc adc5fbb490 Check if the remote Point Code is set in ISUP before using it.
Code was crashing if an ISUP was started with an invalid configuration.


git-svn-id: http://voip.null.ro/svn/yate@4159 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 21:06:55 +00:00
paulc 6641d5037d Send repeatedly Link Status messages during M2PA proving, some implementations require them.
git-svn-id: http://voip.null.ro/svn/yate@4158 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 19:39:47 +00:00
paulc bb1d05b189 Added support for changeover and changeback messages on networks like ANSI where the SLC is not stored in the routing label's SLS.
git-svn-id: http://voip.null.ro/svn/yate@4157 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 19:02:56 +00:00
paulc d0d3574634 Fixed the way ISUP calls are released when media cannot be started or checked.
git-svn-id: http://voip.null.ro/svn/yate@4156 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 14:42:14 +00:00
paulc c5eff5494b Start the M2PA ACK timer before sending the SIGTRAN packet.
Prevents a race condition from clearing the timer too early.


git-svn-id: http://voip.null.ro/svn/yate@4155 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 14:29:12 +00:00
marian 5b39629262 Use async connect if available. The stream connect timeout value is no longer global: it's used for each connect attempt (configured address, srv record, domain). Remember connect status and re-connect starting from old status. Added srv query timeout configurable option.
git-svn-id: http://voip.null.ro/svn/yate@4150 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-03 13:02:29 +00:00
paulc a79e6d160d Added failsafes to prevent reusing an ISUP circuit if a call still owns it.
git-svn-id: http://voip.null.ro/svn/yate@4147 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-02 12:10:54 +00:00
paulc aaf803ef69 Added the newer Number Translated and QoR Routing flags to ISUP Forward Call Indicators.
git-svn-id: http://voip.null.ro/svn/yate@4145 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-01 17:49:28 +00:00
paulc 0480df38f6 Added status detail to the pbxassist module.
git-svn-id: http://voip.null.ro/svn/yate@4140 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-01 14:22:42 +00:00
marian 071c85ecb0 Changed stream start timeout values.
git-svn-id: http://voip.null.ro/svn/yate@4131 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-25 10:53:23 +00:00
marian 3e16f27c7a Changed stream setup and connect default and maximum timeout values.
git-svn-id: http://voip.null.ro/svn/yate@4130 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-25 09:58:56 +00:00
paulc bf1e35151c Display the proper OPC/DPC in the debug message when sending a SLTA.
git-svn-id: http://voip.null.ro/svn/yate@4126 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-23 12:11:03 +00:00
paulc 822fd7c505 Fixed a double release of a circuit that could cause a race condition leading to multiple calls per circuit.
Removed an unnecessary release of the current reset circuit.


git-svn-id: http://voip.null.ro/svn/yate@4123 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-22 13:11:32 +00:00
marian ddc7f940fc Always restart cluster streams with InError flag set.
git-svn-id: http://voip.null.ro/svn/yate@4122 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-21 15:59:28 +00:00
paulc 109c049bf8 Constified all TokenDicts in the ysig library.
git-svn-id: http://voip.null.ro/svn/yate@4121 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-21 11:56:06 +00:00
paulc 01aa79131c Added a Media Required setting to Call Controllers.
Drop the call if a required circuit setup failed.


git-svn-id: http://voip.null.ro/svn/yate@4120 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-21 11:42:10 +00:00
marian 8f0c2fe698 Added cluster stream.
git-svn-id: http://voip.null.ro/svn/yate@4116 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-18 16:07:46 +00:00
marian f3440631ff Added conversion methods between NamedList parameters and XmlElement objects.
git-svn-id: http://voip.null.ro/svn/yate@4115 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-18 16:04:07 +00:00
marian 2aba6e4e4a Outgoing streams can now be forced to use a specified local ip when connecting.
git-svn-id: http://voip.null.ro/svn/yate@4110 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-15 15:26:53 +00:00
paulc ae0f68f596 Release the ISUP call and the circuit when failed to transmit the IAM.
This can happen when the MTP route is prohibited.


git-svn-id: http://voip.null.ro/svn/yate@4107 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-14 11:00:26 +00:00
paulc e9a728a29b Do not send back an UPU when receiving a call for on unequipped circuit.
git-svn-id: http://voip.null.ro/svn/yate@4105 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-14 08:30:19 +00:00
marian 5637f4e993 Increased the length of m2pa unacknowledged packets queue.
git-svn-id: http://voip.null.ro/svn/yate@4104 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-10 11:13:32 +00:00
paulc 197610ddc9 Added a flag for value 0 of Access Delivery Information so it gets propagated.
git-svn-id: http://voip.null.ro/svn/yate@4102 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-09 12:57:08 +00:00
marian 8bdb6ae559 Retrieve the jingle action from 'type' or 'action' attribute. Set them both in sent jingle stanzas.
git-svn-id: http://voip.null.ro/svn/yate@4097 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-04 15:08:40 +00:00
paulc 968770b41c Fixed the state machine of MTP2 to always start alignment by OS ->O transition.
Speed up end of proving on receipt of a correctly sequenced MSU.
Added setting (default true) to flush queued MTP2 messages at end of proving.


git-svn-id: http://voip.null.ro/svn/yate@4096 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-04 14:18:56 +00:00
paulc 6a076e3af8 Added possibility to disable the autostart feature of MTP2 and Cisco SLT.
Autostart should be disabled only for some certification or interoperation tests.


git-svn-id: http://voip.null.ro/svn/yate@4095 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-04 11:43:43 +00:00
paulc 3795181694 Fixed reporting of SS7 links status.
git-svn-id: http://voip.null.ro/svn/yate@4092 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-03 14:03:21 +00:00
paulc 0308b9ddd6 ISUP now emits SUS / RES messages on Suspend / Resume events.
git-svn-id: http://voip.null.ro/svn/yate@4089 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-02 10:12:28 +00:00
paulc 3ed78f111b Allow signals A (10) and D (13) in ISUP digits.
git-svn-id: http://voip.null.ro/svn/yate@4087 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-31 09:13:07 +00:00
paulc 0499d4774a Added setting to disable dropping the call if the remote sends an unknown or unsupported ISUP message in an early call state.
git-svn-id: http://voip.null.ro/svn/yate@4082 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-28 12:13:51 +00:00
paulc 37d32210b1 Consistently use the branch from the last Via header in matching transactions.
Fixes bug #237.


git-svn-id: http://voip.null.ro/svn/yate@4080 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-28 09:49:55 +00:00
paulc 85604c3339 Added optional parameter to retrieve the last header or its parameters from a SIP message.
git-svn-id: http://voip.null.ro/svn/yate@4079 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-28 09:48:00 +00:00
paulc dd7f88a7b9 Renamed RedirectionInformation field "reason-original" to "reason_original" so it gets copied.
git-svn-id: http://voip.null.ro/svn/yate@4078 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-27 13:52:06 +00:00
paulc 17dc955373 Handle SUS and RES messages - mandatory in ISUP v2.
git-svn-id: http://voip.null.ro/svn/yate@4076 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-27 08:51:28 +00:00
paulc 8d97984d25 Added flags for Call Diversion Information encoding and decoding.
git-svn-id: http://voip.null.ro/svn/yate@4075 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 15:54:49 +00:00
paulc 94fde0fb0a Add a raw hex variant of Parameter Compatibility Information for easier forwarding.
git-svn-id: http://voip.null.ro/svn/yate@4074 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 15:02:15 +00:00
paulc 125865d8ba Changed the order of local point code checks so a transparent STP can transfer a message not handled by a local user part.
git-svn-id: http://voip.null.ro/svn/yate@4073 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 14:03:50 +00:00
paulc 9d24ea53a5 Properly initialize the MTP operational status when attaching an ISUP dynamically at runtime.
git-svn-id: http://voip.null.ro/svn/yate@4072 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 13:39:33 +00:00
paulc 3c8fcc97dd Never advertise a point code from same linkset local address, it must be always allowed by TRA to adjacent node.
Such condition can happen in a nonstandard STP with multiple local point codes.


git-svn-id: http://voip.null.ro/svn/yate@4071 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 09:31:30 +00:00
paulc 050b239e64 Ignore neighbours setting when receiving an UPU, any node can send it.
git-svn-id: http://voip.null.ro/svn/yate@4070 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 19:20:54 +00:00
paulc e6b3efcf47 Fixed and simplified the way M2PA is forcibly realigned, wasn't clearing sequence numbers and all machine states.
git-svn-id: http://voip.null.ro/svn/yate@4069 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 16:12:03 +00:00
paulc d2161cc28e Add a short random time to the initial SLTM timer to prevent synchronization between link ends.
git-svn-id: http://voip.null.ro/svn/yate@4068 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 16:00:28 +00:00
paulc a380672bec Prevent misrouting or inadvertently handling SS7 messages in silent transfer scenarios.
git-svn-id: http://voip.null.ro/svn/yate@4067 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 15:31:42 +00:00
paulc 90b21d56ff Do not check the sequence numbers of M2UA packets with LinkStatus == OutOfService, let the state machine process them.
More visibly warn about wrong sequences once false positives are eliminated.


git-svn-id: http://voip.null.ro/svn/yate@4066 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 15:07:08 +00:00
marian 4961432346 Added thread safe methods used to retrieve a stream's local and remote party jid and check its id.
git-svn-id: http://voip.null.ro/svn/yate@4064 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 14:59:06 +00:00
paulc 13a1cf786d Added capability to force a ringback to a MGCP gateway from ISDN and ISUP.
Fixed ring end on FXS analog MGCP gateways.


git-svn-id: http://voip.null.ro/svn/yate@4062 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 11:46:13 +00:00
paulc a57b721d36 Added parameters CCSS Call Indication and CCNR Possible Indicator used by some ISUP supplementary services.
git-svn-id: http://voip.null.ro/svn/yate@4060 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 11:16:20 +00:00
marian f59c024431 Fixed memory leak: release a parsed attribute when a duplicate is found.
git-svn-id: http://voip.null.ro/svn/yate@4057 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 10:12:37 +00:00
marian 0521db4564 Fixed memory leak: release received stream features xml element when starting stream compression.
git-svn-id: http://voip.null.ro/svn/yate@4056 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 10:11:34 +00:00
marian 15a5f96466 Fixed memory leak: release received 'starttls' requests after successfully processed.
git-svn-id: http://voip.null.ro/svn/yate@4055 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 09:51:21 +00:00
marian 44871c0a16 Fixed memory leak: release all xml element data when destroyed.
git-svn-id: http://voip.null.ro/svn/yate@4050 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-21 08:57:29 +00:00
marian 1ef92e9788 Fixed memory leak: clear xml document data when destroyed.
git-svn-id: http://voip.null.ro/svn/yate@4049 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-20 16:10:56 +00:00
marian 7be7776fde Fixed memory leak: release extracted xml tag if invalid.
git-svn-id: http://voip.null.ro/svn/yate@4048 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-20 14:48:22 +00:00
marian cc446606c9 Fixed memory leak: release data if failed to parse attribute value.
git-svn-id: http://voip.null.ro/svn/yate@4047 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-20 14:30:52 +00:00
marian a4ec2a4b26 Fixed memory leak: release the fragment owned by a DOM parser. Release the temporary parser used when loading an xml document from a file.
git-svn-id: http://voip.null.ro/svn/yate@4046 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-20 14:10:13 +00:00
paulc 482be6c580 Build a list of "No pass on possible" compatibility parameters in "parameters-nopass-release", release the call if the list is not cleared just like "parameters-unhandled-release".
Make sure the CNF or REL diagnostic holds each parameter code only once.


git-svn-id: http://voip.null.ro/svn/yate@4045 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-20 11:10:58 +00:00
paulc 5bbf5e7498 For signalling channels made "noconn" an alias for temporary failure, provides better error mapping.
git-svn-id: http://voip.null.ro/svn/yate@4044 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-20 07:18:00 +00:00
paulc f936d07e75 Added the "No pass on possible" flags decoding to parameter compatibility.
git-svn-id: http://voip.null.ro/svn/yate@4038 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-19 07:13:58 +00:00
paulc 5c6d09f8ec Include A and D in the digits decoded when not following strictly the ISUP standard.
git-svn-id: http://voip.null.ro/svn/yate@4033 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-18 12:00:39 +00:00
marian 8528733d75 Fixed bug: avoid sending entity caps request on s2s incoming stream.
git-svn-id: http://voip.null.ro/svn/yate@4018 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-23 15:48:12 +00:00
marian 2c63f7a702 Fixed bug: lock the engine while searching for a session to accept a received response.
git-svn-id: http://voip.null.ro/svn/yate@4016 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-23 13:10:01 +00:00
paulc 5a398c0f5f Raised the debug level of adding a circuit range.
git-svn-id: http://voip.null.ro/svn/yate@4015 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 17:21:04 +00:00
marian 9830907d46 Set the correct base class when calling the YCLASS macro in JBEngine descendants.
git-svn-id: http://voip.null.ro/svn/yate@4014 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 16:04:27 +00:00
marian 3769d428df The jabber client engine default value for 'printxml' is now 'verbose'.
git-svn-id: http://voip.null.ro/svn/yate@4013 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 16:01:38 +00:00
marian 84129ca775 Fixed bug: set the telephone-event payload type to 101 instead of 106.
git-svn-id: http://voip.null.ro/svn/yate@4002 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-21 16:10:58 +00:00
paulc c77c83e6eb Got rid of two leftover DebugStub.
git-svn-id: http://voip.null.ro/svn/yate@3961 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 14:41:26 +00:00
oana 99321baccc Fixed OID encoding/decoding for itu-t, iso and joint-iso-itu-t identifiers. Added check to see if an interrogated OID is part of the known OID tree.
git-svn-id: http://voip.null.ro/svn/yate@3934 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-08 14:45:39 +00:00
marian 9c4c4a7a83 Merged jabber changes from client branch into trunk.
git-svn-id: http://voip.null.ro/svn/yate@3928 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-08 09:55:05 +00:00
oana 789f16e0c1 Fixed the OID interrogation for the successor of a given OID.
git-svn-id: http://voip.null.ro/svn/yate@3915 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-07 09:27:39 +00:00
oana d2d49eea4f Fixed negative integer ASN.1 encoding and decoding.
git-svn-id: http://voip.null.ro/svn/yate@3914 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-07 09:23:05 +00:00
paulc c504c597f0 Made ISUP return properly HandledMSU::NoCircuit when it does not handle the circuit code and only warn the first time.
git-svn-id: http://voip.null.ro/svn/yate@3909 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-06 09:39:23 +00:00
paulc 7102b79539 Added silent MSU transfer mode (STP without route advertising).
git-svn-id: http://voip.null.ro/svn/yate@3908 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-06 09:37:37 +00:00
oana 3c7127d0d1 Fixed memory leaks. Fixed several bugs. Changed the debug level for several debug messages.
git-svn-id: http://voip.null.ro/svn/yate@3864 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-24 16:25:16 +00:00
paulc 33e354d749 Preserve the ISUP REL message for retransmissions instead of rebuilding it.
Copy parameters from failed call.route or call.execute to the REL message.


git-svn-id: http://voip.null.ro/svn/yate@3850 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-22 18:03:00 +00:00
marian 87568817de Allocate a buffer for each child of an XmlFragment and then append them to the destination buffer (avoid expensive re-alloc/copy for elements with a large number of children).
git-svn-id: http://voip.null.ro/svn/yate@3814 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-15 08:38:01 +00:00
marian e2faa31939 Made some xml parser's methods static (they are not related to parser state). Added method used to check if a string is a valid tag name.
git-svn-id: http://voip.null.ro/svn/yate@3809 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-12 15:59:19 +00:00
paulc dd19ba84d7 Correctly deal with the name prefix when encoding optional ISUP parameters.
Also added some debugging on parameter encoding.
WARNING: This can disturb setups relying on the incorrect behavior.


git-svn-id: http://voip.null.ro/svn/yate@3803 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-10 18:00:25 +00:00
paulc e18756d05a Keep the transaction list iterator in the MGCP engine.
Instead of creating it at each getEvent call just reassign it when running out of transactions.
This avoids the very expensive constructor and provides handling fairness.


git-svn-id: http://voip.null.ro/svn/yate@3800 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-05 17:28:29 +00:00
paulc 3853b37773 Added static method to check at runtime if Socket::select() is efficient.
Use select() on the MGCP reader socket if it worths.


git-svn-id: http://voip.null.ro/svn/yate@3798 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-05 16:08:11 +00:00
paulc 5428d1eef2 Added Visual Studio projects for SNMP components.
Added SNMP to installer.
Fixed some bugs and warnings exposed by the Microsoft compiler.

git-svn-id: http://voip.null.ro/svn/yate@3795 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-04 18:48:53 +00:00
paulc 73b866e6a2 Added a missing Windows specific macro, fixed some documentation comments.
git-svn-id: http://voip.null.ro/svn/yate@3792 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-04 16:06:55 +00:00
marian 8e21f8cd26 Safely allow IAX lines to be processed asynchronously (IAX line is now a Mutex and RefObject). Fixed IAX line (un)register transaction abort.
git-svn-id: http://voip.null.ro/svn/yate@3791 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-04 15:43:16 +00:00
paulc f12e027b64 Made MGCPEngine::knownCommand take a const String& to avoid unnecessarily constructing a String.
git-svn-id: http://voip.null.ro/svn/yate@3789 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-04 15:30:00 +00:00
oana ef5a8f1e2a Fixed compile warning on Mac OSX.
git-svn-id: http://voip.null.ro/svn/yate@3777 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-03 16:57:08 +00:00
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 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
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