Commit Graph

693 Commits

Author SHA1 Message Date
paulc 885ed0b8ae Be systemmatic in adding the Param_ prefix to unknown parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6503 acf43c95-373e-0410-b603-e72c3f656dc1
2021-07-06 11:54:01 +00:00
marian 65f216303b Avoid dereferencing NULL pointer if failed to build SCCP CREF MSU.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6367 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-12 12:14:33 +00:00
marian 279f2ae6fe Fixed TokenDict arrays not ending with token and value set to 0.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6342 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-18 09:46:21 +00:00
marian 8038fbe8e4 Fixed bug: lock transaction list mutex during local id generation to avoid duplicates.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6330 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-23 10:05:57 +00:00
paulc 8d9f34b9db Fixed maximum MSU size, it's 273 including SIO.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6278 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-02 16:11:42 +00:00
paulc 03a41bb9ee Allow encoding all variation of A-F address digits in ISUP, SCCP, MAP/CAMEL.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6277 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-01 16:59:05 +00:00
andrei b4763094c5 Force 'String' constructor from 'unsigned int' in decodeCause.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6273 acf43c95-373e-0410-b603-e72c3f656dc1
2017-10-09 11:10:33 +00:00
paulc d60c0d2b34 Added support for basic processing of China and Japan ISUP versions in SIP-T.
National specific messages are not decoded, just ITU compatibility.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6265 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-18 12:18:46 +00:00
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
paulc 3aeb6687d5 Fixed a GCC 6 build error: C++11 requires a space between literal and string macro.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6084 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-20 10:23:35 +00:00
paulc 0a03513e64 Do not overwrite an existing ISUP protocol type, it can be more specific than local knowledge.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6070 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-24 15:41:06 +00:00
paulc 4ed1377aa6 Build, install and use a dynamic library for ASN.1 code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5964 acf43c95-373e-0410-b603-e72c3f656dc1
2015-04-01 16:50:56 +00:00
marian b3bf7d962b Make some explicit conversions to silence compiler warnings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5958 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-11 10:41:51 +00:00
marian b548a08f27 Avoid possible deadlocks when the call controller signal termination to an ISUP call: the call may be already locked trying to send a message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5940 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-19 10:03:40 +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 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
oana 2eec34228f Update transaction state before sending a message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5415 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-26 11:11:07 +00:00
andrei 74583799a7 Fixed deadlock.
Update Transport status with reader mutex unlocked.
Unlock SIGAdaptClient mutex before sending a message.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5405 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-13 15:08:20 +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
andrei 2a08c45703 Differentiate "No component could process the command" and "The component failed to process the command" in rmanager control output.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5396 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-08 15:23:06 +00:00
andrei 7892479547 Fixed memory leak in SS7Management.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5392 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-07 15:57:19 +00:00
andrei 82f7d02567 Check if localpointcode parameter is configuread. If not show warning.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5379 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-18 16:11:00 +00:00
andrei 4477357ea9 Check if params list is valid before initializing heartbeat params.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5374 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-07 10:37:27 +00:00
andrei baddd5ad5d Send heartbeat messages to check if a sctp stream is freezed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5361 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-18 12:53:29 +00:00
oana f40f35cfc1 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://yate.null.ro/svn/yate/trunk@5356 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 15:52:03 +00:00
oana 7bec0d63cd When there is no user to accept an incoming transaction, respond with an U_Abort message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5355 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 15:03:54 +00:00
oana dc43fcdca6 Encode components in the order they are received, not reversed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5351 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 13:59:38 +00:00
andrei 8137d40d31 Bug fixed in sccp local routing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5343 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-03 11:03:00 +00:00
andrei 7d449a804e Fixed bugs in sigtransport.
Notify sigtran when a new sctp connection has been established.
Set custom names to transport thread and transport mutex for debugging.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5338 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-22 12:50:16 +00:00
andrei 7f62a2c8fc Do not copy RemotePC parameter from sccp.route message.
Remove sccp message originating pointcode when a local routing is performed.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5337 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-22 11:49:55 +00:00
andrei 3dc84f2907 Fixed the way ysig components are initialized.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5336 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-22 08:50:51 +00:00
andrei 2acf2f37fa Added possibility to route sccp messages between sccp components.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5326 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 14:03:02 +00:00
marian 49cea42bed Fixed bug: when processing CGA/CUA check GroupSupervisionTypeIndicator when searching the pending list to avoid ignoring the response when we have duplicate CGB/CGU with different type indicator and receive response to second one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5324 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-15 12:24:41 +00:00
marian aab6f9cc37 Check pending (un)block messages for valid circuits when timed out. Fixed bug: remove conflicting CGB/CGU only if GroupSupervisionTypeIndicator is the same.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5323 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-15 11:32:33 +00:00
marian 5baf162253 Avoid sending group (un)block messages with single circuit in range, try to pick another circuit in the same span and add it to circuits map with bit set to 0 (not handled). Added control 'circuitevent' available when built for debug used to generate alarm/no alarm events for circuits.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5322 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-14 15:23:26 +00:00
andrei 4f22d8e929 Added method to resolve signaling subcomponent configuration.
Use the new mehod to allow proper configuration of SCCP, management and GTT.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5319 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-02 13:44:30 +00:00
paulc f6822a90b2 Fixed naming of GTT components.
Added SCCP and GTT name to the sccp.route message.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5309 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-24 16:44:37 +00:00
paulc efea91143a Constified a method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5295 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-15 11:53:30 +00:00
paulc 0a09fb7e63 Honor the requested ISDN circuit code if possible before trying other circuits.
Added the possibility of setting the Channel Exclusive flag from configuration or routing.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5294 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-15 11:50:33 +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
andrei 900e263138 Handle charging isup message.
Added possibility to specify how to handle it from configuration. 


git-svn-id: http://yate.null.ro/svn/yate/trunk@5260 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-14 08:51:24 +00:00
paulc f2cdd4b39b Made the new SCCPUser documentation work with both doxygen and kdoc.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5259 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-13 17:50:14 +00:00
andrei 8a17864fab Improved SCCPUser methods documentation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5258 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-13 15:36:59 +00:00
andrei 206710225e Properly initialize wait_oos timer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5257 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-13 10:05:18 +00:00
paulc dcb21aa3b1 Added support for mapping repeated ISUP parameters to Yate messages.
The names are ParamName, ParamName.1, ParamName.2 and so on.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5190 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-11 11:15:59 +00:00
oana a369fb1dc3 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://yate.null.ro/svn/yate/trunk@5176 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-03 12:40:25 +00:00
andrei 415f207799 Filter sccp address parameters returned by gt.route message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5169 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-02 09:54:04 +00:00
oana 7aca5a2450 Show a warning and drop the encoding of a component when a mandatory parameter is misssing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5166 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-29 15:34:01 +00:00
andrei 36ad5bea74 Added configuration file to set default values for sctp parameters.
Show debug message if the sctp parameters values are not reliable for m2pa.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5164 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-29 14:00:52 +00:00