Commit Graph

5067 Commits

Author SHA1 Message Date
paulc ff4d4d0581 Fixed some copy/paste problems in PBX sample configuration.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5388 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-28 17:09:40 +00:00
paulc d843048807 Added better PBX sample configuration matching the one in FreeSentral.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5387 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-28 16:57:58 +00:00
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
andrei 658acd87c3 Do not report error if empty text children or comments are found after the document root element is finished.
Added method to get the first child of an XmlElement.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5383 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-25 14:42:33 +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 164a1df870 Perform top level name resolution only on JS call contexts on stack.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5381 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-23 15:24:06 +00:00
oana f7a0ef30ae FixedArray.join() and Array.pop() implementations. Replaced incorrect use of toString().
git-svn-id: http://yate.null.ro/svn/yate/trunk@5380 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-21 11:03:06 +00:00
andrei 82f7d02567 Check if localpointcode parameter is configuread. If not show warning.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5379 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-18 16:11:00 +00:00
marian 6cbd5615a7 Fixed bug: avoid infinite loop when adding a new stream to a stream set.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5378 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-17 13:42:00 +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
andrei 4477357ea9 Check if params list is valid before initializing heartbeat params.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5374 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-07 10:37:27 +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
paulc 25769c3a30 Bumped version to 4.3.1 development.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5371 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-21 15:47:52 +00:00
paulc 676b079892 Fixed Javascript build with XML under Windows.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5369 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-21 14:58:41 +00:00
paulc e8f371ab5f Bumped version to 4.3.0 release.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5368 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-21 14:17:35 +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
oana e17c2f1950 Properly encode bitstrings with no values set.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5365 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-20 14:47:04 +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 a5857bd1d8 Added MGCPTransaction flag used to instruct the engine to process it in the private process worker. Handle it when getting events from transactions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5363 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-18 15:27:47 +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
andrei baddd5ad5d Send heartbeat messages to check if a sctp stream is freezed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5361 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-18 12:53:29 +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 f40f35cfc1 Keep operation code and type for components.
When sending to the TCAP user a Result/ReturnError/L_Cancel send operation code and type also.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5356 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 15:52:03 +00:00
oana 7bec0d63cd When there is no user to accept an incoming transaction, respond with an U_Abort message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5355 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 15:03:54 +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 dc43fcdca6 Encode components in the order they are received, not reversed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5351 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-11 13:59:38 +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
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