Commit Graph

946 Commits

Author SHA1 Message Date
paulc 6eee4dd672 Encode and decode the non-standard digit 14 as letter E in ISUP and SCCP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4845 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-07 12:35:49 +00:00
andrei beb1cd1225 Added posibility to set maximum data size that can be transported on a specific route.
Improved SCCP segmentation process. The SCCP now detects the maximum amount of data that can fit in a SCCP  message.
Implemented SCCP message change procedures.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4828 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-31 11:50:30 +00:00
andrei c736a1e35f Reassamble SCCP messages before performing GTT.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4827 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-31 10:08:16 +00:00
paulc e04ffe33fc Made the ioPacketsLost() method available in RTP session.
Flag the data following one or more missing packets.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4824 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-30 16:50:10 +00:00
andrei 2b37f4bcaa Bugs Fixed in SCCP management!
Stop all subsystem status tests if the attached network is not operational.
Do not stop subsystem status test routine if we received UPU with other cause than Unequipped.
Update remote SCCP's state when local MTP has finished to restart.
Process SS7Route Unknown state.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4822 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-30 15:22:32 +00:00
paulc 5505d3bca9 Added extra method to check if any MSU transfer is configured, even if silent.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4816 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-23 16:07:18 +00:00
paulc 14ee7eaa8b 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://yate.null.ro/svn/yate/trunk@4815 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-20 12:27:47 +00:00
paulc d838b29343 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://yate.null.ro/svn/yate/trunk@4813 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-20 11:12:30 +00:00
andrei 094878ac14 Bug Fixed! Modified the pointers to mandatory variable and optional parameters from LUDT messages to be on 2 bytes instead of one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4810 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-19 13:37:20 +00:00
paulc 9f40447093 Added iLBC license granted by Google.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4809 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-18 14:41:40 +00:00
marian 60102b4db6 Don't quote the qop and nc parameters in Authorization response. Patch suggested by billsimon in Mantis issue #285.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4807 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-17 16:26:46 +00:00
andrei 7e6727abf8 Fixed M2PA abort alignment t2 timeout bug.
Increased abort alignment debug level.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4806 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-17 13:04:30 +00:00
andrei 129d2d6401 Memory leak fixed.
Do not copy data when creating sccp data segments.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4800 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-06 13:41:51 +00:00
marian 9efa390989 Fixed bug: always produce the same xml text regardless the way data is pushed into sax parser (sequentially or full). Added method to finalize incomplete xml text after pushing all data to sax parser. Added debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4798 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-06 10:05:05 +00:00
andrei 9b83538a2b Set default values in SCCP::initialize to the previews configured ones, to avoid value reset if they are missing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4795 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-05 11:22:29 +00:00
paulc df818f4d26 Added helper method to check if an XmlParent has any children.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4765 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-15 15:55:59 +00:00
paulc f249687be8 Added E.xxx aliases for some numbering plans.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4752 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-13 09:53:55 +00:00
marian a9d2c66492 Fixed incorrect identities/features ordering when building capabilities hash.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4751 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-12 11:37:06 +00:00
paulc 885a2d2b1f Do not change call state or generate event on EXM receive, just start T9 timer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4750 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-08 17:41:57 +00:00
oana 5534a29691 When updating a transaction also update the endNow parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4746 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-08 14:38:06 +00:00
paulc bca5cd0861 Added handling for ANSI-only EXM (Exit Message) similar to ACM.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4745 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-08 14:37:14 +00:00
paulc 2b1893d442 Automatically turn on overlapped sending if called number is longer than maximum.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4744 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-08 14:01:47 +00:00
paulc 967138525f Added possibility to set a default HopCounter in TCAP.
Accelerated TCAP by storing preconstructed Strings for comparations.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4742 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-07 20:32:40 +00:00
oana 9eebe0d220 Derived TCAPUser from SignallingComponent. Removed tcap.request message handler from ysigchan, use relay instead. Removed multiple inheritance of SigTcapUser class.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4741 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-07 16:24:34 +00:00
paulc e4e59f6a68 Fixed reassembly of fragmented SCCP messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4740 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-07 14:58:45 +00:00
paulc d4c2f0020c Fixed a printf-style format in DEBUG compile.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4739 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-07 12:40:49 +00:00
paulc b805b1ebcf Changed the MTP3 logic to auto-activate a link that is accidentally inactive on MSU reception.
Added MTP3 troubleshooting parameter "inhibit" to manually control link inhibit flags.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4738 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-06 17:49:24 +00:00
paulc 79150dfa9c Add a default route=ssn in CallingPartyAddress only if it wasn't explicitely set.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4736 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-05 14:15:32 +00:00
paulc 7849a222dd Do not store the SLS of the TCAP dialog, let SCCP add one if TCAP user did not set it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4735 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-05 08:55:56 +00:00
paulc 223a857084 Always use the SLS from the routing label in the SCCP User part.
Create a random SLS for class 0 messages and when missing for class 1 (sequenced).


git-svn-id: http://yate.null.ro/svn/yate/trunk@4734 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-05 08:54:24 +00:00
paulc f33aa3c761 Fixed a forever loop that sometimes blocked SS7 management on reception of LUN.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4732 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-30 19:14:04 +00:00
oana e68f51d550 Bug fix: don't consider operation code as mandatory parameter while decoding ReturnResult components.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4731 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-30 14:07:45 +00:00
andrei 74d3f5b8b9 Use XUDT message to transmit segmented data if we do not support LUDT.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4729 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-30 10:58:56 +00:00
marian 761e7536dc Added missing reason to session dictionary.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4728 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-30 08:29:07 +00:00
andrei e095bcb661 Logic bug fixed!
Do not modify RemotePC if a GT was translated for a local SCCP user.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4723 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-24 12:53:33 +00:00
oana 52170894e1 Don't transform component error codes into internal error values.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4717 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-22 14:54:10 +00:00
andrei 42288dafec Bug Fixed!
Set odd/even flag properly in nature of address octet.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4710 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-16 16:37:04 +00:00
andrei 080d295fae Check if we have a valid pointcode before routing a sccp message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4709 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-16 16:01:28 +00:00
oana 1ef723142d Don't set RemotePC, CalledPartyAddress.ssn or CallingPartyAddress.ssn if not set in configuration.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4708 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-16 15:44:13 +00:00
oana e7509a3e95 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://yate.null.ro/svn/yate/trunk@4705 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-16 14:11:09 +00:00
andrei ce5b7cc10c Bug fixed!
Cast message data pointer to unsigned char* to avoid integer wrong value assigning.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4704 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-16 10:55:18 +00:00
marian 33ec93996d Fixed instruction and declaration parse. Added/changed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4693 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-11 16:03:07 +00:00
oana a234148c37 Added ITU TCAP support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4692 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 16:10:05 +00:00
oana a916040db3 Prettify TCAP classes : add empty line between method definitions in TCAP classes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4691 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 15:27:44 +00:00
oana 42429ec0c3 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://yate.null.ro/svn/yate/trunk@4690 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 15:11:39 +00:00
oana 7fa1108122 Properly initialize transaction mutex. Ensure that transaction data is always protected when accessed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4689 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 14:44:22 +00:00
oana 56c018216d 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://yate.null.ro/svn/yate/trunk@4688 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 14:31:19 +00:00
oana e2ba6f72c8 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://yate.null.ro/svn/yate/trunk@4686 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 14:18:47 +00:00
marian 861a947eee Fixed parameter retrieval from postponed stream termination.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4674 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-04 08:30:21 +00:00
oana fe6841f7ea Added class for encoding and decoding ASN.1 tags.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4668 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-01 08:49:08 +00:00