Commit graph

4425 commits

Author SHA1 Message Date
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
0b33420051 Made ExpEvaluator::popOne() static and public, it is really a helper method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4737 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-06 15:45:23 +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
2d4bbd1e4c For regular XML elements update their value in existing element rather than always create new one.
To unconditionally create a new element added type NewElement.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4733 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-02 16:59:00 +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
oana
15e89e5fc7 Don't generate payload for components that have no operation code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4730 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-30 14:06:14 +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
marian
d6fd6d4907 Fixed jingle SRTP negotiation and setup.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4727 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-29 15:51:14 +00:00
marian
bde556be12 Destruct the chain from the first translator when fail to build a new translator for the chain. This will avoid destroying a DataConsumer already attached to a source if the current translator is chained.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4726 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-25 12:37:45 +00:00
oana
32e1130a1c Continue encoding of SequenceOf type even if the encoding of one the children fails.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4725 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-25 11:50:54 +00:00
oana
16cd0f24f4 Added setting for printing debug messages when mandatory parameters are missing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4724 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-25 11:35:14 +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
a3037eafd2 Added support for authenticationFailureReport MAP operation. Added some missing operation contexts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4722 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-24 11:13:52 +00:00
oana
1403caa439 Bug fix: set right encoding attribute when decoding octet strings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4721 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-23 16:52:19 +00:00
oana
eec338d80b Bug fix: choice parameters are not optional, fixed it for several operations/errors.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4720 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-23 15:13:55 +00:00
oana
7db38640e2 Properly clean up list of transaction ids-application mappings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4719 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-22 16:15:30 +00:00
oana
8d6236e894 Search errors in error tables, not in operation tables.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4718 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-22 14:56:48 +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
oana
457e2fcd99 Bug fix: remove transaction IDs properly from application lists.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4716 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-22 12:35:12 +00:00
oana
c95592a677 Bug fix: decode properly the parameters for sendAuthenticationInfo-v3 operation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4715 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-21 13:25:26 +00:00
oana
d5a7e3f464 Fixed decoding for universal types while decoding unknown parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4714 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-21 13:21:15 +00:00
paulc
f8ba1cbf62 Added separate setting for UDPTL timeout with a default of 25s.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4713 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-18 13:12:34 +00:00
paulc
a61fcc1723 Forward the SIP audio change information to the peer channel.
Change SIP media format if the peer changed.
This allows switching to T.38 when RTP is proxied.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4712 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-18 13:01:34 +00:00
paulc
f1c62e9d35 Attach TCAP user at initialization if possible, warn if not possible.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4711 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-16 16:43:28 +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
680d877309 Replaced invalid name for nature of global title parameter in Called Party Address also.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4707 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-16 14:43:31 +00:00
oana
5ca43ec236 Replaced invalid name for nature of global title parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4706 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-16 14:28:58 +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
paulc
334f8ff84b When exiting a fork by |exec suppress chan.disconnected and emit instead chan.replaced.
This should fix incorrect interactions with PBX functions.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4703 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-15 18:47:43 +00:00
oana
d74c554341 Unload module properly.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4702 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-15 15:21:02 +00:00
marian
4e0146819b Fixed memory leak.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4701 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-15 14:37:15 +00:00
paulc
0f4f179159 Match partial MGCP endpoint wildcards like prefix*/*
git-svn-id: http://yate.null.ro/svn/yate/trunk@4700 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-15 10:10:32 +00:00
paulc
898ae44a8e Put a proper EOL when dumping raw XML text.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4699 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-14 13:12:00 +00:00
paulc
e97d23166b Added note about the camel_map module not being loaded by default.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4698 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-14 13:10:38 +00:00
oana
2e9b846094 If version and/or encoding attributes are missing from XML declaration, assume the default values.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4697 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-14 12:39:36 +00:00
paulc
6027359a64 Added missing Mutex unlock at unload() time.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4696 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-11 17:58:41 +00:00
paulc
cb9a0ab974 Fixed a range check in enumerated parameter encoding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4695 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-11 17:41:13 +00:00
oana
758cd7f20c Added module which translate MAP/CAMEL protocol data to XML format and vice versa.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4694 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-11 17:12:13 +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