Commit Graph

639 Commits

Author SHA1 Message Date
andrei 6e67b6361e Added TDM API detection in configure.in.
Removed unused include files from tdmcard module.


git-svn-id: http://voip.null.ro/svn/yate@5685 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-31 12:41:17 +00:00
andrei 62ac9491ca Updated TDM driver to work with wanpipe 7.0.5.
git-svn-id: http://voip.null.ro/svn/yate@5684 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-30 08:43:17 +00:00
marian 18ae05c63c Added post dial delay timeout in outgoing channel started from 'maxpdd' routing parameter. It stops when status is called with 'ringing', 'progressing' or 'answered'.
git-svn-id: http://voip.null.ro/svn/yate@5666 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-11 12:46:20 +00:00
paulc 959dafed80 Prevent the monitoring module from handling all monitor.query at priority 100.
git-svn-id: http://voip.null.ro/svn/yate@5649 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 13:01:44 +00:00
paulc 90112ddece Use returned string of monitor.query message if "value" parameter is not set.
Removed an unnecessary string copy.


git-svn-id: http://voip.null.ro/svn/yate@5648 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 12:57:08 +00:00
paulc da947b7370 Make the SVN revision accessible to engine, rmanager, SNMP.
git-svn-id: http://voip.null.ro/svn/yate@5639 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-03 16:10:18 +00:00
paulc 35345b0104 Fixed SNMP Counter64 implementation.
git-svn-id: http://voip.null.ro/svn/yate@5624 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-14 08:39:08 +00:00
marian 868f2c5cf3 Moved msg.execute route type config parameter to separate section. Made it configurable for call.execute also. Drop global mutex lock when done using global data.
git-svn-id: http://voip.null.ro/svn/yate@5622 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 11:19:23 +00:00
marian 73e27b0e58 Add a configurable route_type parameter if missing when late routing a msg.execute message.
git-svn-id: http://voip.null.ro/svn/yate@5621 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 10:10:33 +00:00
marian 2ab24ed2e2 Changed im.execute relay id. Removed im.route message relay. Route chat using call.route message.
git-svn-id: http://voip.null.ro/svn/yate@5618 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 07:54:00 +00:00
paulc c572fbbce3 Fixed warnings - mostly conversions - exposed by Visual C++ compiler.
git-svn-id: http://voip.null.ro/svn/yate@5614 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-07 11:24:10 +00:00
paulc 18e10bfd69 Changed license terms in each source file to reference an external file.
git-svn-id: http://voip.null.ro/svn/yate@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
marian 73bb976de9 Initialize all CallMonitor data members.
git-svn-id: http://voip.null.ro/svn/yate@5603 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 13:48:45 +00:00
oana 89974c646d Emit a user.authfail message when authentification for a SNMP request fails.
git-svn-id: http://voip.null.ro/svn/yate@5602 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 13:24:22 +00:00
paulc a19f534767 Added unHexify version that automatically detects separator presence.
git-svn-id: http://voip.null.ro/svn/yate@5596 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-01 14:52:52 +00:00
paulc 6071cb7777 MIB type usage fixes, use Gauge32 instead of Counter32 for values that do not roll-over.
git-svn-id: http://voip.null.ro/svn/yate@5592 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-31 12:23:56 +00:00
paulc 28d69900c8 Fixed order of declarations in the genericAlarm notification.
Renamed leaf moduleInfo to moduleExtra to fix a duplicate name.


git-svn-id: http://voip.null.ro/svn/yate@5589 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-29 12:51:30 +00:00
paulc 655d4a34fe Cleaned up and simplified the direction QoS monitoring code.
git-svn-id: http://voip.null.ro/svn/yate@5579 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-09 12:05:46 +00:00
paulc 99a7cc1f21 Add alarmText (if provided) to the new style specificAlarm trap.
git-svn-id: http://voip.null.ro/svn/yate@5578 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-09 11:57:59 +00:00
paulc f0434cf4d3 Send trap sysUpTimeInstance with 1/100 s resolution.
git-svn-id: http://voip.null.ro/svn/yate@5577 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-09 11:42:10 +00:00
paulc f964a7922d Moved all trap variables to a common specificAlarm trap OID.
Edited the MIB so genericAlarm and specificAlarm use the NOTIFICATION-TYPE macro.


git-svn-id: http://voip.null.ro/svn/yate@5574 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 14:46:19 +00:00
paulc cc07622946 Check for disabled traps when placed in a specific alarm too.
Don't send the trap if all its parameters were disabled.


git-svn-id: http://voip.null.ro/svn/yate@5573 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 14:40:15 +00:00
paulc b39d2c4d71 Synchronized parameters CPU modules, fixes a bug introduced by Rev. 5396
Simplified logic and cleaned up code.


git-svn-id: http://voip.null.ro/svn/yate@5572 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 14:38:13 +00:00
paulc 22dcf9f53e Use Alarm() in places that could prevent normal operation.
This allows sending SNMP traps when parts of the service become non-operational.


git-svn-id: http://voip.null.ro/svn/yate@5569 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 12:21:26 +00:00
paulc d170440805 Send alarms from the SNMP module.
Disable trap sending on SNMP service shutdown caused by socket error.


git-svn-id: http://voip.null.ro/svn/yate@5568 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 11:38:23 +00:00
paulc 67e0e4ce66 Sent the unexpectedRestart trap only if the child was terminated by a signal.
git-svn-id: http://voip.null.ro/svn/yate@5566 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 08:10:40 +00:00
paulc 88f2588285 Added support for hooking into Alarm() and sending SNMP genericAlarm traps.
git-svn-id: http://voip.null.ro/svn/yate@5562 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-05 12:48:19 +00:00
paulc fd1ef45888 Support for sending traps with an arbitrary number of variables.
More flexible handling of the monitor.notify message parameters.


git-svn-id: http://voip.null.ro/svn/yate@5560 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-05 12:42:32 +00:00
paulc 4b277b12f9 Fixed the OID included in traps to no longer held a .0 suffix.
Fixed a memory leak that occured when failing to send a misconfigured trap.


git-svn-id: http://voip.null.ro/svn/yate@5558 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-05 09:50:29 +00:00
andrei dd67de4b42 Fixed regfile user count output on status overview.
Fixes bug #0000341.


git-svn-id: http://voip.null.ro/svn/yate@5488 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-25 10:18:01 +00:00
paulc 7c8b2d4c38 Added a shared static list of Atom strings and an YATOM macro.
This speeds up signifficantly the Yate RTTI on compilers that HAVE_BLOCK_RETURN.
Made the String comparison operator inline to shave off a few cycles.
Fast handle the comparison in identity case.


git-svn-id: http://voip.null.ro/svn/yate@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
oana 0f0f0eb0e8 Added support for obtaining YATE's uptime and run ID through SNMP requests.
git-svn-id: http://voip.null.ro/svn/yate@5426 acf43c95-373e-0410-b603-e72c3f656dc1
2013-03-21 16:36:09 +00:00
andrei 3debad4934 Bug fixed. Show the correct number of registered users on status command output.
git-svn-id: http://voip.null.ro/svn/yate@5418 acf43c95-373e-0410-b603-e72c3f656dc1
2013-03-15 11:18:52 +00:00
andrei 326bc17ff1 Fixed deadlock.
Update Transport status with reader mutex unlocked.
Unlock SIGAdaptClient mutex before sending a message.


git-svn-id: http://voip.null.ro/svn/yate@5405 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-13 15:08:20 +00:00
andrei f8944670c6 Differentiate "No component could process the command" and "The component failed to process the command" in rmanager control output.
git-svn-id: http://voip.null.ro/svn/yate@5396 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-08 15:23:06 +00:00
andrei 269ad3f190 Added trap for unexpected restart.
git-svn-id: http://voip.null.ro/svn/yate@5384 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-25 15:42:52 +00:00
paulc 5c94610625 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://voip.null.ro/svn/yate@5382 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-25 11:45:58 +00:00
andrei 51f1f3f0f6 Extended socket connect exponential backoff for the case when the gateway accepts the connection and it close it immediately.
git-svn-id: http://voip.null.ro/svn/yate@5375 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-07 12:18:52 +00:00
marian e3b3ab13fe Fixed bug: check engine pointer before using it.
git-svn-id: http://voip.null.ro/svn/yate@5367 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-21 10:34:20 +00:00
marian 6017a54f70 Process transaction in sender's thread when synchronously sending a command to avoid blocking the engine private process thread.
git-svn-id: http://voip.null.ro/svn/yate@5364 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-18 15:32:20 +00:00
marian ce102abc30 Added control command used to send RSIP.
git-svn-id: http://voip.null.ro/svn/yate@5362 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-18 15:01:07 +00:00
andrei 7bfa1a41b4 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://voip.null.ro/svn/yate@5338 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-22 12:50:16 +00:00
andrei 33ba0e29fc Fixed the way ysig components are initialized.
git-svn-id: http://voip.null.ro/svn/yate@5336 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-22 08:50:51 +00:00
andrei f4dc6960c3 Added the option to set sctp socket "adaptation" parameter.
git-svn-id: http://voip.null.ro/svn/yate@5335 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-21 13:59:34 +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
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 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
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