Commit Graph

5052 Commits

Author SHA1 Message Date
paulc 6f6c63f66c Date.now() is a static function, not a member method.
git-svn-id: http://voip.null.ro/svn/yate@5334 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 17:14:51 +00:00
paulc eaa31777ef Show objects stored in sniffed messages' parameters.
git-svn-id: http://voip.null.ro/svn/yate@5333 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 17:13:09 +00:00
paulc 64be401172 Added support for calling object methods by variable.
git-svn-id: http://voip.null.ro/svn/yate@5332 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 16:11:38 +00:00
paulc 581f9ab265 Added setting to allow DebugFail from Javascript.
git-svn-id: http://voip.null.ro/svn/yate@5331 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 16:08:25 +00:00
paulc b1d769ab93 Check the barrier flag when returning from a Javascript function.
This prevents misinterpreting function values on stack as return address.


git-svn-id: http://voip.null.ro/svn/yate@5330 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 16:05:55 +00:00
paulc b92a1a66cb Fixed boolean evaluation for objects and function objects.
git-svn-id: http://voip.null.ro/svn/yate@5329 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 16:03:44 +00:00
paulc 4cdd8136b0 Send UDP keepalive even for SIP accounts without registration.
git-svn-id: http://voip.null.ro/svn/yate@5328 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 15:29:23 +00:00
paulc dd567d57a1 No thread - and especially initialization - must wait forever at semaphore.
git-svn-id: http://voip.null.ro/svn/yate@5327 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 15:29:03 +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 2c20fa2624 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://voip.null.ro/svn/yate@5325 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-19 08:50:10 +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
marian e6d40c50e5 Fixed bug: remove relay from relays list when uninstalled to avoid keeping an invalid pointer.
git-svn-id: http://voip.null.ro/svn/yate@5321 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-13 11:30:30 +00:00
paulc 912d83bf53 Use a smarter SIP registration adjustment interval to avoid trouble with some providers.
git-svn-id: http://voip.null.ro/svn/yate@5320 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-09 13:08:30 +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
andrei c6bb07f87c Added method to check if any parameter in a list starts with a certain prefix.
git-svn-id: http://voip.null.ro/svn/yate@5318 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-02 13:41:17 +00:00
paulc 04f5dd21b3 Fixed handling of automatic REGISTER local address broken by a previous revision.
git-svn-id: http://voip.null.ro/svn/yate@5317 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-01 15:00:32 +00:00
paulc fece1806f6 Added reload Javascript command.
Fixed some potential concurrency issues.


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


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


git-svn-id: http://voip.null.ro/svn/yate@5312 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-30 09:08:33 +00:00
paulc b753adbd7d Improved scripting debugging.
git-svn-id: http://voip.null.ro/svn/yate@5311 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-30 09:00:43 +00:00
marian eed19ce9a7 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://voip.null.ro/svn/yate@5310 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-29 15:41:51 +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 349584635f Support for multiplexing both recorded parties into a single file or stream.
git-svn-id: http://voip.null.ro/svn/yate@5308 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-24 11:18:47 +00:00
paulc fc78cb9ac8 Support appending to raw and .lbc wave files.
git-svn-id: http://voip.null.ro/svn/yate@5307 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-24 11:17:04 +00:00
paulc 592aea3e07 Worked around a possible endless loop at MGCP library shutdown.
Fixed a one time memory leak.


git-svn-id: http://voip.null.ro/svn/yate@5306 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-24 11:08:57 +00:00
paulc da2a85ff1a Fixed one-time memory leak.
git-svn-id: http://voip.null.ro/svn/yate@5305 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-24 11:02:39 +00:00
paulc 58f6cbf2b4 Fixed minimum timeouts in sample config comments.
git-svn-id: http://voip.null.ro/svn/yate@5304 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-24 09:01:07 +00:00
paulc a90496a0f6 Added settings for some H.323 timeouts, some may be too tight by OpenH323 default.
git-svn-id: http://voip.null.ro/svn/yate@5303 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-24 08:54:56 +00:00
paulc ce6247bb2d Removed a leftover development change.
git-svn-id: http://voip.null.ro/svn/yate@5302 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-23 13:59:07 +00:00
paulc 5235d928e0 Validate and attempt to fix the Q.931 codes returned by OpenH323.
git-svn-id: http://voip.null.ro/svn/yate@5301 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-23 13:57:23 +00:00
paulc 7a1236969b Fixed minor one-time memory leak.
git-svn-id: http://voip.null.ro/svn/yate@5300 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-23 11:12:36 +00:00
oana e89c895ecb Fixed bug: properly interpret odd/even indicator in the decoder for phone numbers.
git-svn-id: http://voip.null.ro/svn/yate@5299 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-19 09:24:04 +00:00
marian 0c37007e78 Fixed VC++ conversion warning.
git-svn-id: http://voip.null.ro/svn/yate@5298 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-19 07:37:23 +00:00
marian b15bf51e69 Removed max connections limit.
git-svn-id: http://voip.null.ro/svn/yate@5297 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-19 07:28:59 +00:00
marian 8b2214e69f Multiple database connections can now be configured for a postgres account.
git-svn-id: http://voip.null.ro/svn/yate@5296 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-16 12:57:08 +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
marian d4f26bee65 Check android node when detecting google caps.
git-svn-id: http://voip.null.ro/svn/yate@5293 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-15 08:03:36 +00:00
paulc 7e4b82fd2f Added MAP operation "sendParameters" to capability "Miscellaneous".
git-svn-id: http://voip.null.ro/svn/yate@5292 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-12 15:40:18 +00:00
paulc 696748a278 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://voip.null.ro/svn/yate@5291 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-04 14:04:27 +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
paulc c11eadae97 Added mutex locks around some likely harmless assignments.
git-svn-id: http://voip.null.ro/svn/yate@5289 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-02 13:42:16 +00:00
paulc 42de72603f Allow setting custom headers in SIP (de)registration answers.
git-svn-id: http://voip.null.ro/svn/yate@5288 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-02 13:41:31 +00:00
marian b8e9f19e66 Make sure the user data pointer carried by handled message is a CallEndpoint one.
git-svn-id: http://voip.null.ro/svn/yate@5287 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-01 11:00:30 +00:00
oana 3844b0e241 Don't add a choice parameter to the XML if it's optional and it doesn't have a tag.
git-svn-id: http://voip.null.ro/svn/yate@5286 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-27 14:32:05 +00:00
oana 8acbec4416 Bug fix: acknowledge CONTROL frame types, don't rely on acknowledging the retransmission.
git-svn-id: http://voip.null.ro/svn/yate@5285 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-26 14:10:09 +00:00