Commit Graph

5015 Commits

Author SHA1 Message Date
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
marian c0d8b62a47 Fixed VC++ conversion warning.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5298 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-19 07:37:23 +00:00
marian 82eed34f8d Removed max connections limit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5297 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-19 07:28:59 +00:00
marian d11a3736a0 Multiple database connections can now be configured for a postgres account.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5296 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-16 12:57:08 +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
marian 33b682764b Check android node when detecting google caps.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5293 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-15 08:03:36 +00:00
paulc 9faf0bbaba Added MAP operation "sendParameters" to capability "Miscellaneous".
git-svn-id: http://yate.null.ro/svn/yate/trunk@5292 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-12 15:40:18 +00:00
paulc b168ffc1f7 Try to search for ptlib-config in yet another place where it may be lurking.
Thanks to Vasily Redkin for finding it on Debian.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5291 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-04 14:04:27 +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
paulc cb0d669c39 Added mutex locks around some likely harmless assignments.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5289 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-02 13:42:16 +00:00
paulc adcdd500a9 Allow setting custom headers in SIP (de)registration answers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5288 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-02 13:41:31 +00:00
marian 94b6e06060 Make sure the user data pointer carried by handled message is a CallEndpoint one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5287 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-01 11:00:30 +00:00
oana 5da6b7f7cc Don't add a choice parameter to the XML if it's optional and it doesn't have a tag.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5286 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-27 14:32:05 +00:00