Commit Graph

40 Commits

Author SHA1 Message Date
paulc 18e10bfd69 Changed license terms in each source file to reference an external file.
git-svn-id: http://voip.null.ro/svn/yate@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
oana f2d7c9c424 Update transaction state before sending a message.
git-svn-id: http://voip.null.ro/svn/yate@5415 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-26 11:11:07 +00:00
oana 3120efd164 Keep operation code and type for components.
When sending to the TCAP user a Result/ReturnError/L_Cancel send operation code and type also.



git-svn-id: http://voip.null.ro/svn/yate@5356 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 15:52:03 +00:00
oana 054e40b667 When there is no user to accept an incoming transaction, respond with an U_Abort message.
git-svn-id: http://voip.null.ro/svn/yate@5355 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 15:03:54 +00:00
oana 9bc8935fbc Encode components in the order they are received, not reversed.
git-svn-id: http://voip.null.ro/svn/yate@5351 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 13:59:38 +00:00
oana 63e3b1d19a Notify SCCP about subsystem management status changes for TCAP.
git-svn-id: http://voip.null.ro/svn/yate@5290 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-02 14:33:43 +00:00
oana 91f257d255 Fix bug introduced by commit 5166: don't drop the encoding of a ResultLast component operation code type is missing and it has no payload.
git-svn-id: http://voip.null.ro/svn/yate@5176 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-03 12:40:25 +00:00
oana 1e13e273b0 Show a warning and drop the encoding of a component when a mandatory parameter is misssing.
git-svn-id: http://voip.null.ro/svn/yate@5166 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-29 15:34:01 +00:00
andrei 733027f68d Fixed race condition in tcap.
git-svn-id: http://voip.null.ro/svn/yate@5104 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-11 14:28:29 +00:00
paulc 1acbc5ba04 Added default type in SignallingComponent constructor.
git-svn-id: http://voip.null.ro/svn/yate@5099 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-07 10:27:45 +00:00
andrei 3a17f6050a Set SS7TcapTransaction mutex name.
git-svn-id: http://voip.null.ro/svn/yate@5097 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-07 07:35:58 +00:00
oana 145761fa3c Handle ASN.1 specification of length in the indefinite form.
git-svn-id: http://voip.null.ro/svn/yate@5048 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-08 08:42:59 +00:00
paulc ee9229a986 Added ability to limit how much to try to acquire a non-critical mutex.
This should reduce contention during high load and the chances to deadlock.


git-svn-id: http://voip.null.ro/svn/yate@4950 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-02 16:01:45 +00:00
paulc 0515c70e4f When accepting an ITU TCAP dialog set the diagnostic to originate from service user, not provider.
Do not overwrite any application user provided diagnostic information.


git-svn-id: http://voip.null.ro/svn/yate@4815 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-20 12:27:47 +00:00
paulc 5440d2ea73 Assume a missing ITU TCAP protocol-version is version 1.
Allow suppressing the transmission of the version tag by setting version to 0.


git-svn-id: http://voip.null.ro/svn/yate@4813 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-20 11:12:30 +00:00
oana f691d830fb When updating a transaction also update the endNow parameter.
git-svn-id: http://voip.null.ro/svn/yate@4746 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-08 14:38:06 +00:00
paulc ec784cb467 Added possibility to set a default HopCounter in TCAP.
Accelerated TCAP by storing preconstructed Strings for comparations.


git-svn-id: http://voip.null.ro/svn/yate@4742 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-07 20:32:40 +00:00
oana d6fb3cccbe Derived TCAPUser from SignallingComponent. Removed tcap.request message handler from ysigchan, use relay instead. Removed multiple inheritance of SigTcapUser class.
git-svn-id: http://voip.null.ro/svn/yate@4741 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-07 16:24:34 +00:00
paulc c099d900ed Fixed a printf-style format in DEBUG compile.
git-svn-id: http://voip.null.ro/svn/yate@4739 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-07 12:40:49 +00:00
paulc 4b2059bee9 Add a default route=ssn in CallingPartyAddress only if it wasn't explicitely set.
git-svn-id: http://voip.null.ro/svn/yate@4736 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-05 14:15:32 +00:00
paulc 50b98993b8 Do not store the SLS of the TCAP dialog, let SCCP add one if TCAP user did not set it.
git-svn-id: http://voip.null.ro/svn/yate@4735 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-05 08:55:56 +00:00
oana 5d3308fa81 Bug fix: don't consider operation code as mandatory parameter while decoding ReturnResult components.
git-svn-id: http://voip.null.ro/svn/yate@4731 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-30 14:07:45 +00:00
oana a74d487a29 Don't transform component error codes into internal error values.
git-svn-id: http://voip.null.ro/svn/yate@4717 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-22 14:54:10 +00:00
oana dcb2e08841 Don't set RemotePC, CalledPartyAddress.ssn or CallingPartyAddress.ssn if not set in configuration.
git-svn-id: http://voip.null.ro/svn/yate@4708 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-16 15:44:13 +00:00
oana 637fafacba Store MTP parameters for addressing. Add them when building a message for SCCP. The default_remote_pointcode configuration now sets RemotePC for MTP3, not the pointcode for CalledPartyAddress.
git-svn-id: http://voip.null.ro/svn/yate@4705 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-16 14:11:09 +00:00
oana 7933116f4f Added ITU TCAP support.
git-svn-id: http://voip.null.ro/svn/yate@4692 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 16:10:05 +00:00
oana c03df0edda Don't check for timed out components when the transaction is in idle state. Add transaction data for transactions with pre-arranged end that have timed out when notifying the user.
git-svn-id: http://voip.null.ro/svn/yate@4690 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 15:11:39 +00:00
oana 44d6cc5a8a Properly initialize transaction mutex. Ensure that transaction data is always protected when accessed.
git-svn-id: http://voip.null.ro/svn/yate@4689 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 14:44:22 +00:00
oana 2c227191ca Bug fix: start component indexing from 1 when requesting the data for rejected/timed out components. Set the count for timed out components.
git-svn-id: http://voip.null.ro/svn/yate@4688 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 14:31:19 +00:00
oana 05ec0eaf94 Always use internal abstract TCAP errors in decoded TCAP messages. Added functions to obtain the protocol error value from TCAP abstract error and vice versa.
git-svn-id: http://voip.null.ro/svn/yate@4686 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 14:18:47 +00:00
oana 1ef288b469 Changed the way addressing parameters are configured and given to SCCP and TCAP. Added possibility to add addressing parameters from call.route.
git-svn-id: http://voip.null.ro/svn/yate@4625 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-20 11:55:58 +00:00
oana 5bafe96ba4 Keep transaction IDs as hex strings (removes uses of htonl).
git-svn-id: http://voip.null.ro/svn/yate@4603 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-14 14:57:07 +00:00
oana b17f75a817 Removed compiler warnings.
git-svn-id: http://voip.null.ro/svn/yate@4600 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-14 10:40:46 +00:00
oana 172dfa58c3 Fixed building the names for address parameters.
git-svn-id: http://voip.null.ro/svn/yate@4598 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-13 11:56:19 +00:00
oana 0e6ef45bd6 Fixed some debug information messages.
git-svn-id: http://voip.null.ro/svn/yate@4597 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-12 14:53:57 +00:00
oana 07cedec934 Added TCAP ANSI support.
git-svn-id: http://voip.null.ro/svn/yate@4594 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-12 12:34:40 +00:00
paulc 14462c3eb4 Cosmetical spell fix.
git-svn-id: http://voip.null.ro/svn/yate@2309 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-07 18:00:39 +00:00
paulc f036500903 Modified libysig to create a DLL, added wanpipe module for Windows.
git-svn-id: http://voip.null.ro/svn/yate@2024 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-11 17:51:32 +00:00
marian e39b1d5739 Renamed library header. Updated sources and makefile to reflect the changes
git-svn-id: http://voip.null.ro/svn/yate@1487 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-26 13:01:04 +00:00
paulc b30c869a4e Directory reorder #2
git-svn-id: http://voip.null.ro/svn/yate@1475 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-15 22:21:43 +00:00