Commit Graph

692 Commits

Author SHA1 Message Date
marian ae034713de Avoid dereferencing NULL pointer if failed to build SCCP CREF MSU.
git-svn-id: http://voip.null.ro/svn/yate@6367 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-12 12:14:33 +00:00
marian bbde14b1f4 Fixed TokenDict arrays not ending with token and value set to 0.
git-svn-id: http://voip.null.ro/svn/yate@6342 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-18 09:46:21 +00:00
marian 803247f900 Fixed bug: lock transaction list mutex during local id generation to avoid duplicates.
git-svn-id: http://voip.null.ro/svn/yate@6330 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-23 10:05:57 +00:00
paulc 8e3d989b0b Fixed maximum MSU size, it's 273 including SIO.
git-svn-id: http://voip.null.ro/svn/yate@6278 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-02 16:11:42 +00:00
paulc 04b2d365ff Allow encoding all variation of A-F address digits in ISUP, SCCP, MAP/CAMEL.
git-svn-id: http://voip.null.ro/svn/yate@6277 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-01 16:59:05 +00:00
andrei f5d88a7027 Force 'String' constructor from 'unsigned int' in decodeCause.
git-svn-id: http://voip.null.ro/svn/yate@6273 acf43c95-373e-0410-b603-e72c3f656dc1
2017-10-09 11:10:33 +00:00
paulc 25ac4c9458 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://voip.null.ro/svn/yate@6265 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-18 12:18:46 +00:00
paulc 277e34b576 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://voip.null.ro/svn/yate@6250 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 13:08:23 +00:00
paulc d02f2087b9 Fixed a GCC 6 build error: C++11 requires a space between literal and string macro.
git-svn-id: http://voip.null.ro/svn/yate@6084 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-20 10:23:35 +00:00
paulc d349f6b7ea Do not overwrite an existing ISUP protocol type, it can be more specific than local knowledge.
git-svn-id: http://voip.null.ro/svn/yate@6070 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-24 15:41:06 +00:00
paulc bb26c1197c Build, install and use a dynamic library for ASN.1 code.
git-svn-id: http://voip.null.ro/svn/yate@5964 acf43c95-373e-0410-b603-e72c3f656dc1
2015-04-01 16:50:56 +00:00
marian 5c12f5654e Make some explicit conversions to silence compiler warnings.
git-svn-id: http://voip.null.ro/svn/yate@5958 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-11 10:41:51 +00:00
marian 6e995924c7 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://voip.null.ro/svn/yate@5940 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-19 10:03:40 +00:00
paulc 669bb07e1f Resolved or silenced a number of compile warnings.
git-svn-id: http://voip.null.ro/svn/yate@5891 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-31 16:30:15 +00:00
paulc d56cecb40e 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://voip.null.ro/svn/yate@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
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
andrei 326bc17ff1 Fixed deadlock.
Update Transport status with reader mutex unlocked.
Unlock SIGAdaptClient mutex before sending a message.


git-svn-id: http://voip.null.ro/svn/yate@5405 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-13 15:08:20 +00:00
oana e9eac89fcf Changed the name of the SCCP parameters for Called/CallingPartyAddress plan and translation type.
git-svn-id: http://voip.null.ro/svn/yate@5401 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-12 11:23:13 +00:00
andrei f8944670c6 Differentiate "No component could process the command" and "The component failed to process the command" in rmanager control output.
git-svn-id: http://voip.null.ro/svn/yate@5396 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-08 15:23:06 +00:00
andrei 0cc1e666a3 Fixed memory leak in SS7Management.
git-svn-id: http://voip.null.ro/svn/yate@5392 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-07 15:57:19 +00:00
andrei 30d9fd6f33 Check if localpointcode parameter is configuread. If not show warning.
git-svn-id: http://voip.null.ro/svn/yate@5379 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-18 16:11:00 +00:00
andrei 24f5124a96 Check if params list is valid before initializing heartbeat params.
git-svn-id: http://voip.null.ro/svn/yate@5374 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-07 10:37:27 +00:00
andrei d38cd4b6a5 Send heartbeat messages to check if a sctp stream is freezed.
git-svn-id: http://voip.null.ro/svn/yate@5361 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-18 12:53:29 +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
andrei bdfed9c001 Bug fixed in sccp local routing.
git-svn-id: http://voip.null.ro/svn/yate@5343 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-03 11:03:00 +00:00
andrei 7bfa1a41b4 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://voip.null.ro/svn/yate@5338 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-22 12:50:16 +00:00
andrei cfef87d65c Do not copy RemotePC parameter from sccp.route message.
Remove sccp message originating pointcode when a local routing is performed.


git-svn-id: http://voip.null.ro/svn/yate@5337 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-22 11:49:55 +00:00
andrei 33ba0e29fc Fixed the way ysig components are initialized.
git-svn-id: http://voip.null.ro/svn/yate@5336 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-22 08:50:51 +00:00
andrei b234e8eaba Added possibility to route sccp messages between sccp components.
git-svn-id: http://voip.null.ro/svn/yate@5326 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 14:03:02 +00:00
marian e4f0102597 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://voip.null.ro/svn/yate@5324 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-15 12:24:41 +00:00
marian 78a0eeaf27 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://voip.null.ro/svn/yate@5323 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-15 11:32:33 +00:00
marian 82088bb1e4 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://voip.null.ro/svn/yate@5322 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-14 15:23:26 +00:00
andrei d13c3efbd8 Added method to resolve signaling subcomponent configuration.
Use the new mehod to allow proper configuration of SCCP, management and GTT.


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


git-svn-id: http://voip.null.ro/svn/yate@5309 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-24 16:44:37 +00:00
paulc 16eb0acca1 Constified a method.
git-svn-id: http://voip.null.ro/svn/yate@5295 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-15 11:53:30 +00:00
paulc 0d0e5f6044 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://voip.null.ro/svn/yate@5294 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-15 11:50:33 +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
andrei 368828dac1 Handle charging isup message.
Added possibility to specify how to handle it from configuration. 


git-svn-id: http://voip.null.ro/svn/yate@5260 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-14 08:51:24 +00:00
paulc c066f8484e Made the new SCCPUser documentation work with both doxygen and kdoc.
git-svn-id: http://voip.null.ro/svn/yate@5259 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-13 17:50:14 +00:00
andrei ecb1e57c28 Improved SCCPUser methods documentation.
git-svn-id: http://voip.null.ro/svn/yate@5258 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-13 15:36:59 +00:00
andrei 391310d6f5 Properly initialize wait_oos timer.
git-svn-id: http://voip.null.ro/svn/yate@5257 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-13 10:05:18 +00:00
paulc 91342343ae 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://voip.null.ro/svn/yate@5190 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-11 11:15:59 +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
andrei c7a178c7f9 Filter sccp address parameters returned by gt.route message.
git-svn-id: http://voip.null.ro/svn/yate@5169 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-02 09:54:04 +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 dc9659903e 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://voip.null.ro/svn/yate@5164 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-29 14:00:52 +00:00
paulc 28197516ea Added encoding and decoding for (Original) Called IN Number.
Added just parameter names for UID indicators.


git-svn-id: http://voip.null.ro/svn/yate@5155 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-27 12:43:42 +00:00