Commit graph

5028 commits

Author SHA1 Message Date
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
marian
fd88ed1260 Properly handle trunk frames without miniframe timestamps.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5344 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-07 15:41:13 +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
marian
3139664df6 Added method used to pop the first XmlElement from a fragment. The element is extracted only if completed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5342 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-22 13:53:51 +00:00
marian
dd477e210c Added helper method used to append a child and release the object if append fails.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5341 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-22 13:49:36 +00:00
marian
8310e084c9 Added helper method used to retrieve the text of an element's child.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5340 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-22 13:41:31 +00:00
marian
1281103f3f Added constructor used to build an XmlElement with a text child.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5339 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-22 13:28:32 +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
e2e010ea1f Added the option to set sctp socket "adaptation" parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5335 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-21 13:59:34 +00:00
paulc
84f8bacd59 Date.now() is a static function, not a member method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5334 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 17:14:51 +00:00
paulc
1a2cfb03dd Show objects stored in sniffed messages' parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5333 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 17:13:09 +00:00
paulc
1848fe201f Added support for calling object methods by variable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5332 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 16:11:38 +00:00
paulc
20b149f704 Added setting to allow DebugFail from Javascript.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5331 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 16:08:25 +00:00
paulc
5cf83a06a5 Check the barrier flag when returning from a Javascript function.
This prevents misinterpreting function values on stack as return address.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5330 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 16:05:55 +00:00
paulc
b0bd59fbbc Fixed boolean evaluation for objects and function objects.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5329 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 16:03:44 +00:00
paulc
d27a157208 Send UDP keepalive even for SIP accounts without registration.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5328 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 15:29:23 +00:00
paulc
cf5a6c5815 No thread - and especially initialization - must wait forever at semaphore.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5327 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 15:29:03 +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
3f794a2f53 Create general listener from 'listener general' section if the section is present in config to mantain compatibility broken in rev. 8084.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5325 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-19 08:50:10 +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
marian
ce58dea406 Fixed bug: remove relay from relays list when uninstalled to avoid keeping an invalid pointer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5321 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-13 11:30:30 +00:00
paulc
7a3445a4ee Use a smarter SIP registration adjustment interval to avoid trouble with some providers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5320 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-09 13:08:30 +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
andrei
83234869ad Added method to check if any parameter in a list starts with a certain prefix.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5318 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-02 13:41:17 +00:00
paulc
62bbf17bfc Fixed handling of automatic REGISTER local address broken by a previous revision.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5317 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-01 15:00:32 +00:00
paulc
cb3efae166 Added reload Javascript command.
Fixed some potential concurrency issues.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5316 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-01 14:58:46 +00:00
paulc
f3ab3dee03 Abandon Javascript message handlers on shutdown since they get destroyed by the engine anyway.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5315 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-01 11:18:35 +00:00
paulc
86f2ad7475 Fixed parsing of code blocks that don't end in semicolon like: { if (...) if (...) { } }
Improved code generation debugging.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5314 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-01 11:18:11 +00:00
paulc
06e3f127f2 Fixed Javascript line counting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5313 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-31 17:11:15 +00:00
paulc
81d8d5458c Fixed calling object member functions.
Fixed handling "this" in constructors.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5312 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-30 09:08:33 +00:00
paulc
eaa99e2eef Improved scripting debugging.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5311 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-30 09:00:43 +00:00
marian
451cf8fa69 Moved listener general config in 'general' section. Allow it to be an udp/tcp/tls listener. Removed 'listener general' section from config.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5310 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-29 15:41:51 +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
ed30258c82 Support for multiplexing both recorded parties into a single file or stream.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5308 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-24 11:18:47 +00:00
paulc
10efd2085e Support appending to raw and .lbc wave files.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5307 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-24 11:17:04 +00:00
paulc
d82fce3915 Worked around a possible endless loop at MGCP library shutdown.
Fixed a one time memory leak.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5306 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-24 11:08:57 +00:00
paulc
3a8c2c6c69 Fixed one-time memory leak.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5305 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-24 11:02:39 +00:00
paulc
95409d49a9 Fixed minimum timeouts in sample config comments.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5304 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-24 09:01:07 +00:00
paulc
e827183b56 Added settings for some H.323 timeouts, some may be too tight by OpenH323 default.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5303 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-24 08:54:56 +00:00
paulc
54e516054f Removed a leftover development change.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5302 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-23 13:59:07 +00:00
paulc
fd8fb75f49 Validate and attempt to fix the Q.931 codes returned by OpenH323.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5301 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-23 13:57:23 +00:00
paulc
852b32a943 Fixed minor one-time memory leak.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5300 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-23 11:12:36 +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