Commit graph

197 commits

Author SHA1 Message Date
paulc
a9a4088db4 Fixed ISDN PRI circuit allocation bugs introduced by Rev. 2505 (BRI support).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2913 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 21:38:16 +00:00
paulc
a38ca1916d Added some extra messages related to circuit allocation when compiled for debugging.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2912 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 21:35:50 +00:00
marian
3618caab4f Fixed NAI dictionary string.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2870 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-19 09:08:31 +00:00
paulc
55325b0ee3 Reduce mutex contention by unlocking the ISUP controller while sending a MSU downstream in a few places.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2852 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-22 11:58:30 +00:00
paulc
2f23277a38 Added missing documentation generating comment for a parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2815 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 10:12:43 +00:00
andrei
46e4363b26 Appended configuration parameters when building SignallingCircuitSpan
git-svn-id: http://yate.null.ro/svn/yate/trunk@2814 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 08:34:14 +00:00
paulc
5d8ff98ac0 Copy configuration subparameters to the child components.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2812 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-31 14:43:22 +00:00
paulc
6738d7bce0 Added configuration parameter "autostart" so MTP2, MTP3 and Cisco SLT may be inhibited at startup.
Fixed the way Cisco SLT notifies the MTP3 about alignment status changes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2810 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-26 15:58:50 +00:00
paulc
ed4762b3f7 Fixed the component name matching in control operations.
Implemented control of MTP3 with notification to Layer 4 about operational changes caused by management inhibiting.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2807 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-25 21:07:34 +00:00
paulc
c41229b2a4 Circuit parameters can be set from a NamedList attached to the "circuit_parameters" parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2803 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-24 11:56:27 +00:00
paulc
192bb438fe Added methods to get a boolean or integer parameter of a circuit.
Added const method to get a const span from a circuit.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2802 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-24 11:54:54 +00:00
paulc
b25e9349fd Fixed entering the proving period.
Fixed synchronization of FIB.
Added a T2 timer - just a mild warning, Yate keeps trying.
Added several abnormality generation controls for making tests.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2784 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-11 21:57:56 +00:00
paulc
e8647298c3 Fixed the location where the User Part type and cause are written in an UPU.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2783 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-11 15:45:48 +00:00
paulc
aefe3765e9 Added methods to get and set at once multiple parameters of a circuit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2780 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-07 09:46:55 +00:00
paulc
19ba50d617 Made processing of a circuit event take ownership over the event to be certain who needs to destroy it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2774 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 15:52:18 +00:00
marian
00f88238bb Added capability to forward circuit events upwards to signalling module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2772 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 12:52:13 +00:00
paulc
cf8adabc1d Implemented basic control operation for SS7 Layer 2.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2771 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 10:51:50 +00:00
paulc
20710f4fa9 Decode generically known but unhandled ISUP messages that have only optional parameters.
Build a list of unhandled message parameters.
Decode MCID request and response parameter flags.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2739 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-26 14:40:10 +00:00
paulc
d31c7b4076 Fixed thread names for the MGCP library and Signalling engine too.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2734 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 15:01:10 +00:00
paulc
27ec0b5013 Added method to add a compact circuit range to an existing range.
In ysigchan status a suffix of /* or /all shows the state of all circuits of the trunk.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2712 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 10:38:32 +00:00
paulc
ca829d943a Made some dangerous constructors explicit, fix potential problems exposed by this.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2705 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-12 15:15:36 +00:00
paulc
bbf88687c2 Allow disabling sending of ISUP circuit group requests.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2692 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-09 13:18:46 +00:00
paulc
8c0c29f738 Fixed path to test executable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2683 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 14:01:44 +00:00
paulc
55df1c3620 Correctly provide a format string as we cannot guarantee the string content is printf safe.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2682 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 14:01:17 +00:00
paulc
6ad1605ad6 Reserve $LIBS and @LIBS@ for the system libraries that can be passed to
the configure script.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2678 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 19:17:54 +00:00
paulc
2c03a9624d Use the system detected CFLAGS instead of hardcoding -O2
git-svn-id: http://yate.null.ro/svn/yate/trunk@2673 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 16:06:14 +00:00
paulc
ac2afc3a99 Detect the proper threading library where pthread_mutexattr_settype is
located.
Look for regcomp only when not using internal regexp.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2672 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 15:42:34 +00:00
paulc
0aa90824b3 Call txPacket instead of transmitPacket so outbound MTP2 messages are written to dump.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2671 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 13:31:29 +00:00
paulc
c069997056 Link the libraries using the C++ linker so it properly links against libstdc++ and compiler support.
Not required on ELF systems as libyate.so would pull in the required libraries but was confusing and could cause problems on other platforms.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2667 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-31 18:58:25 +00:00
paulc
cdb6350c70 Enable the SS7 L1 interface after being configured.
Slow down LSSU generation on FISU reception when unaligned as we'll flood the buffer since maximum FISU rate is greater than LSSU.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2661 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 17:52:27 +00:00
paulc
a4a9588bdc Moved all point code settings to SS7ISUP so the type of point code is known and numeric (packed) values can be used.
Changed channellock to milliseconds to improve resolution.
Documented channellock and userparttest parameters.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2660 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 17:18:50 +00:00
paulc
07b79fa32d Allow using numeric (packed) point codes if their type is known.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2659 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 16:09:16 +00:00
paulc
0a6be5b4d1 Major rewrite of signalling components creation and configuration.
The creation of subcomponents is offloaded to each component to allow for proper building of the component stack.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2650 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-26 13:43:24 +00:00
paulc
9b44b809ea Changed EOL style to native.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2624 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-12 13:02:50 +00:00
paulc
9cae20ecd2 Made CPE number filter act as prefix, not exact match. Documented.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2609 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 07:27:06 +00:00
paulc
26e024a696 Added type info methods to AnalogLineGroup and SignallingCircuitGroup.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2568 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-09 09:54:26 +00:00
paulc
21dd9e693e Reimplemented SS7MTP2::getObject so both SS7Layer2 and SignallingReceiver can be reached.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2519 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-10 11:26:50 +00:00
paulc
e306e2aadd Added a missing parameter to documentation generating comments.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2506 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 18:56:47 +00:00
paulc
05b717e0b9 ISDN BRI support, most Andrei's (andrei@null.ro) work.
Fixes and new features throughout the signalling engine.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2505 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 18:51:30 +00:00
paulc
660c478797 Fixed the structure of Q.850 cause codes with diagnostic information attached.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2493 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-23 21:19:01 +00:00
paulc
335d0d57a0 If end user is indicated as known in received ACM interpret it as progress or ringing indication.
Added generic mechanism to set protocol specific parameters in messages.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2484 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-18 17:01:48 +00:00
paulc
9b292f5868 Fixed some warnings and genuine bugs exposed by newer gcc.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2447 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-20 12:27:53 +00:00
paulc
6663c0bb7f Removed spurious 2nd parameter of YSIGFACTORY2 macro.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2392 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-04 19:36:47 +00:00
paulc
101f72cddd Accept a comma separated list of links to try to send the call.
Detect early a congestion or network failure and attempt next link.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2368 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-26 15:20:15 +00:00
paulc
53bbe3065e Moved network transport layer from SIGTRAN into a separate abstract class.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2355 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-19 16:15:07 +00:00
paulc
135daf0093 Made component removal message identifiable between the 2 methods.
A lock is taken earlier when a component's engine is to be checked.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2354 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-19 14:44:49 +00:00
paulc
4c2136553a Do not send repeatedly LSSU when MTP2 goes out of service.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2350 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-18 18:55:48 +00:00
paulc
30f29df371 Cosmetic: fixed typo in comments and debug messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2335 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-12 16:48:31 +00:00
paulc
9ae794b803 Removed unnecessary ISDN layer 2 locks in monitor methods called from layer 2.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2334 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-12 16:41:24 +00:00
paulc
a6344310ce Send data and link state from ISDN Layer 2 to Layer 3 withou holding locks.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2333 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-12 14:44:20 +00:00