Commit Graph

96 Commits

Author SHA1 Message Date
paulc c4c9e994f0 Renamed DebugGoOn to DebugCrit so it better matches its purpose.
Swapped order of DebugCall and DebugNote so DebugCall is less visible.
Changed default debug level to DebugNote.
Modified a few inadequate uses of DebugCrit.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6250 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 13:08:23 +00:00
marian 31e5fa31e6 Chain tcap user enabler in plugin.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6246 acf43c95-373e-0410-b603-e72c3f656dc1
2017-07-06 07:53:25 +00:00
paulc 86ea2d8f3d Renamed csi-Active to csiActive to maintain uniform naming.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6028 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-31 12:41:58 +00:00
paulc 11a02cf913 Resolved or silenced a number of compile warnings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5891 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-31 16:30:15 +00:00
paulc 9a2cfd0d24 Fixed copyright notice which had a different structure and was altered by script.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5756 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 12:29:16 +00:00
paulc 37a72e4bc1 Added copyright notices to sources and scripts missing them.
Updated copyright notices for 2014.
Fixed end of lines in many files.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc cf5d0fd71a Changed license terms in each source file to reference an external file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
paulc 423eaa30e5 Fixed a few copy/paste errors that inserted a terminal space.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5430 acf43c95-373e-0410-b603-e72c3f656dc1
2013-03-28 17:03:58 +00:00
paulc e61e44d334 Added remaining errors for MAPv3 UMTS V9.4.0
Constified a few error related parameter tables.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5429 acf43c95-373e-0410-b603-e72c3f656dc1
2013-03-28 17:00:45 +00:00
oana ed310dafa3 Properly check for attributes according to component type when encoding a component.
Warn when mandatory parameters are missing.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5425 acf43c95-373e-0410-b603-e72c3f656dc1
2013-03-21 12:42:01 +00:00
oana f3a7c8f061 Warn about failing to encode hexified string.
Do not encode the element into the ASN.1 payload if the encoding of the hexified string fails.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5424 acf43c95-373e-0410-b603-e72c3f656dc1
2013-03-21 12:36:15 +00:00
oana e85a43ed1d Bug fix: do proper sorting of applications based on their load.
Protect access to an application's current transaction count.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5414 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-25 15:38:25 +00:00
oana dffe7fd9fc Changed the name of the SCCP parameters for Called/CallingPartyAddress plan and translation type.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5401 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-12 11:23:13 +00:00
paulc 7bc64d7eff MAP parameter ageOfLocationInformation is optional.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5373 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-07 08:34:49 +00:00
paulc 24df5c8bda Added support for the provideSubscriberInfo MAP operation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5372 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-28 12:50:50 +00:00
oana f025d7553b If when writing data on the application socket the select call fails, do not try again, but return immediately.
On application thread cleanup, release the application mutex immediately after setting the pointer to the socket to null.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5360 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-14 14:46:19 +00:00
oana 44110083f3 Added operation class information to MAP and CAMEL operation definitions.
Send to an application the operation class information when receiving an operation code.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5357 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 16:21:15 +00:00
oana 94293edf87 For ISUP digits, decode digit 0xe as E instead of ?.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5354 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 14:40:45 +00:00
oana bc8b9b0031 Added debug messages for when an operation does not match given context.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5353 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 14:30:10 +00:00
oana 85256df578 Don't ever accept an operation for which we don't have a definition or for which we don't have an associated capability.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5352 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 14:04:25 +00:00
oana 7fb46844e5 Print error message from application with debug, not ddebug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5350 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 13:22:30 +00:00
oana 2ab7b0e594 Use YSTRING for retrieving values from conf file where it wasn't already used.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5349 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 13:16:36 +00:00
oana 2f3d148c59 Bug fix: when trying to encode raw, if a parameter definition is present, first check that it isn't the definition of the empty parameter which finishes the table definitions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5348 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 13:06:44 +00:00
oana 1bbe851af5 Associate application contexts with tables of operations.
Use the table associated with the application context when searching for an operation definition.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5347 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 12:56:35 +00:00
oana 782a1b2e95 Added StringList class. Use it to improve searching for operations and capabilities.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5346 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 12:47:38 +00:00
oana 502c9e68cd Added check for definition mismatch when ASN type is SET OF, but the definition indicates a primitive type.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5345 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 12:36:42 +00:00
oana 02b8ea2011 Fixed bug: properly interpret odd/even indicator in the decoder for phone numbers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5299 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-19 09:24:04 +00:00
paulc 9faf0bbaba Added MAP operation "sendParameters" to capability "Miscellaneous".
git-svn-id: http://yate.null.ro/svn/yate/trunk@5292 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-12 15:40:18 +00:00
oana d8fe81ac8f Notify SCCP about subsystem management status changes for TCAP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5290 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-02 14:33:43 +00:00
oana 5da6b7f7cc Don't add a choice parameter to the XML if it's optional and it doesn't have a tag.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5286 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-27 14:32:05 +00:00
oana a29dd63251 Added support for the reportSM-DeliveryState MAP operation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5280 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-24 13:42:29 +00:00
marian ec380ed341 Added parameter lists used to encode/decode MAP sendParameters request and response.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5268 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-18 15:31:26 +00:00
oana 3ff7ace2f6 Bug fix: moved the verifying of a pointer that was causing the dropping of L_CANCEL component messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5183 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-06 11:42:29 +00:00
oana 38292cf31c Added option of matching capabilities according to application context. Decode operation according to application context. Keep application context stored for the whole transaction duration.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5165 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-29 15:22:55 +00:00
oana b2ff26d993 Handle ASN.1 specification of length in the indefinite form.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5048 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-08 08:42:59 +00:00
oana 8cd7d633de Translate from XML to parameter list undefined SCCP parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5037 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-03 15:15:21 +00:00
oana e4d0a818b9 Bug fix: properly translate dialog PDU information such as result and result-source-diagnostic.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5029 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-27 15:39:36 +00:00
oana 21e02366ec Added debug information for when the TCAP user refuses to handle a transaction.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5004 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-10 14:53:08 +00:00
paulc b8f0736968 Set the UTF-8 encoding for vi compatible editors.
This file holds embedded UTF-8 characters that must be preserved.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5002 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-07 08:52:56 +00:00
marian c903b92d06 Convert to signed when using the unary operator '-' on unsigned variables. Fixed VC warnings. Fixed debug message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4897 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 16:44:33 +00:00
paulc c6b929a82d Convert the TCAP protocol version to and from XML.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4814 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-20 11:13:03 +00:00
paulc e72abfa1e2 Fixed table termination of MAP and CAMEL application contexts and MAP dialogs.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4799 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-06 13:31:44 +00:00
oana 9b4079210e Bug fix: don't reuse context variable for MAP dialog reference.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4788 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-21 12:25:48 +00:00
oana 4c2cc618cc Added decoders and encoders for MAP Dialogue information.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4787 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-21 11:11:16 +00:00
oana a7d9ff232b Added ISDN mobile numbering plan to definitions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4786 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-20 16:33:33 +00:00
oana e725c1163f Fixed some definitions mismatches between the defined tags and types of the parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4785 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-20 16:29:59 +00:00
oana a7ef65401a Added a debug message for cases of mismatching between constructor type and the tags defined for them.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4784 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-20 16:25:39 +00:00
paulc 074464e7c2 Added SMS forwarding operations.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4783 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-20 16:15:22 +00:00
paulc 70fb6b9d27 Added the missing inverted exclamation mark.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4779 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-19 20:26:52 +00:00
paulc 7e33e6b652 Suppress a CR at the end of a GSM 7-bit string if the message exactly fit in octets, most likely it was added as padding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4778 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-19 19:53:59 +00:00