Commit Graph

2404 Commits

Author SHA1 Message Date
oana 6f6932de07 Fixed XML constructor from string.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5386 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-28 10:57:41 +00:00
paulc eb77136d44 Log a warning if the target context of a jump or include is missing.
Added @ prefixed versions to suppress the warning if needed.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5385 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-25 16:39:42 +00:00
andrei 0810cee7a5 Added trap for unexpected restart.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5384 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-25 15:42:52 +00:00
paulc 598981ef54 Added module that creates a combined CDR of all legs of a call.
Modified cdrfile and register to be able to write combined CDR.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5382 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-25 11:45:58 +00:00
paulc c918cda556 Feature: Send CDR status immediately after answer.
Feature: Can disable periodic status updates but still send one on answer.
Bugfix: CDR status messages are sent for inbound call leg too.
Bugfix: extraneous answer events must not cause a status interval timer restart.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5377 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-16 13:18:28 +00:00
marian ac2d54e471 Added configurable parameter (defaults to disabled) used to offer only plain password authentication on c2s streams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5376 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-08 12:30:38 +00:00
andrei 56f2c60bc8 Extended socket connect exponential backoff for the case when the gateway accepts the connection and it close it immediately.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5375 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-07 12:18:52 +00:00
paulc 7bc64d7eff MAP parameter ageOfLocationInformation is optional.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5373 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-07 08:34:49 +00:00
paulc 24df5c8bda Added support for the provideSubscriberInfo MAP operation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5372 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-28 12:50:50 +00:00
marian 0aa4da0e71 Fixed bug: check engine pointer before using it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5367 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-21 10:34:20 +00:00
paulc aa90a97779 Added XML support in Javascript.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5366 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-21 10:21:16 +00:00
marian 5a3e68901b Process transaction in sender's thread when synchronously sending a command to avoid blocking the engine private process thread.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5364 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-18 15:32:20 +00:00
marian 8fc215b989 Added control command used to send RSIP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5362 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-18 15:01:07 +00:00
oana f025d7553b If when writing data on the application socket the select call fails, do not try again, but return immediately.
On application thread cleanup, release the application mutex immediately after setting the pointer to the socket to null.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5360 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-14 14:46:19 +00:00
marian 0db06d7034 Fixed bug: always look for transport candidates in session accept.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5359 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-14 08:52:22 +00:00
marian 173bd0aff3 A fax channel can now copy parameters from handled call.execute in sent call.route/call.execute.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5358 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-12 09:38:18 +00:00
oana 44110083f3 Added operation class information to MAP and CAMEL operation definitions.
Send to an application the operation class information when receiving an operation code.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5357 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 16:21:15 +00:00
oana 94293edf87 For ISUP digits, decode digit 0xe as E instead of ?.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5354 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 14:40:45 +00:00
oana bc8b9b0031 Added debug messages for when an operation does not match given context.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5353 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 14:30:10 +00:00
oana 85256df578 Don't ever accept an operation for which we don't have a definition or for which we don't have an associated capability.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5352 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 14:04:25 +00:00
oana 7fb46844e5 Print error message from application with debug, not ddebug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5350 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 13:22:30 +00:00
oana 2ab7b0e594 Use YSTRING for retrieving values from conf file where it wasn't already used.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5349 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 13:16:36 +00:00
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
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 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 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 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
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
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
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 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 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