Commit Graph

53 Commits

Author SHA1 Message Date
paulc c4c9e994f0 Renamed DebugGoOn to DebugCrit so it better matches its purpose.
Swapped order of DebugCall and DebugNote so DebugCall is less visible.
Changed default debug level to DebugNote.
Modified a few inadequate uses of DebugCrit.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6250 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 13:08:23 +00:00
paulc fa60c8629a Count circuit alocated objects in the plugin creating them.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5781 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-19 11:43:04 +00:00
paulc 37a72e4bc1 Added copyright notices to sources and scripts missing them.
Updated copyright notices for 2014.
Fixed end of lines in many files.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc cf5d0fd71a Changed license terms in each source file to reference an external file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
andrei 2a08c45703 Differentiate "No component could process the command" and "The component failed to process the command" in rmanager control output.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5396 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-08 15:23:06 +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
paulc 11206e5e57 Added default type in SignallingComponent constructor.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5099 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-07 10:27:45 +00:00
paulc dc3b24b664 Wait longer in the wanpipe signaling socket select.
This reduces the CPU usage for ISDN and MTP2.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5095 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-06 22:57:55 +00:00
paulc 78c3b146a0 Added hardware DTMF detection for the new Sangoma API.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5094 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-06 22:29:02 +00:00
paulc 2001ca59f3 Detect and compile with the new aft_core wanpipe API.
Code is experimental, currently DTMF detection is not supported!


git-svn-id: http://yate.null.ro/svn/yate/trunk@4967 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-16 17:00:11 +00:00
paulc 7bbc8eb963 Avoid compile warnings on really old wanpipe
git-svn-id: http://yate.null.ro/svn/yate/trunk@4580 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-30 10:17:35 +00:00
paulc 9e8e92eae0 Allow overriding the controller's starting circuit number.
For MGCP allow overriding offset, increment and start per span in template.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4331 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-20 18:16:19 +00:00
oana cda9ed670f Added SNMP support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3776 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-03 16:27:30 +00:00
paulc 06b326577d Fixed a delete / delete[] mismatch spotted using valgrind.
Should be just a cosmetic change on all known platforms.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3707 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-11 14:04:36 +00:00
marian 79131ef5d8 Fixed deadlock that occurs when circuits from different wanpipe voice spans were connected to each other.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3449 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-19 10:52:39 +00:00
paulc 2492d316de Set the default Wanpipe TDM circuit idle code according to the default G.711 law.
Added ability to set the circuit number as idle code, helps in identifying problems.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3414 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-02 11:14:42 +00:00
paulc 155c2c669c Use a message to support special TDM connection modes not implemented internally.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3237 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 17:32:21 +00:00
paulc b22c44b3d6 Fixed a debug mode warning.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3200 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-16 14:11:40 +00:00
andrei e8a73fee97 Allow configuration of components from message.
Configuration of ysigchan is saved to file


git-svn-id: http://yate.null.ro/svn/yate/trunk@3056 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 13:13:44 +00:00
marian 155d75ed09 Use configuration section name as default debug name for a span.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2977 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-03 11:25:10 +00:00
paulc 9ff8e40004 By default ignore ABORT and OVERRUN error bits as they likely are not related to current packet.
Report error bits only if they change.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2908 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 18:59:56 +00:00
paulc 8520218d2d Added flags to data forwarded through DataNodes.
The amount of consumed data is returned to the source.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2745 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-02 09:24:33 +00:00
paulc 5499650213 Changed thread names to be uniform and easily readable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2733 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 14:48:26 +00:00
paulc 61629e34f8 Allow to configure (and better defaults) the increment in circuit numbers caused by each span.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2693 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-09 15:34:51 +00:00
paulc 0a6be5b4d1 Major rewrite of signalling components creation and configuration.
The creation of subcomponents is offloaded to each component to allow for proper building of the component stack.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2650 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-26 13:43:24 +00:00
paulc 0343acc958 Find installed Wanpipe headers if available, let tdmcard compile if found.
The Linux kernel headers are only used as fallback for wpcard.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2619 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-08 16:03:59 +00:00
paulc c669a24f90 Added mutex names to most Yate modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2613 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 14:06:39 +00:00
paulc 0d6d444e7a Removed leftover unused member, the Fifo class is now derived from Mutex.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2601 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-28 12:02:59 +00:00
paulc 9ca562885d Made the samples loop inner to the circuit loop so the consumer's fifo can be locked once per channel, not per sample. Fixes performance hit issues.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2600 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-28 11:33:54 +00:00
paulc 6663c0bb7f Removed spurious 2nd parameter of YSIGFACTORY2 macro.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2392 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-04 19:36:47 +00:00
paulc 78578ae395 Made HWEC support compile when wanpipe >= 3.3.10
git-svn-id: http://yate.null.ro/svn/yate/trunk@2360 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-24 12:21:45 +00:00
paulc c8193f1b02 Compile with the new HWEC API if wanec_iface_api.h file is present.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2359 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-24 12:04:03 +00:00
paulc 8838a63395 Circuits are kept referenced by WpSpan, not only by group.
Thread-safed span cleanup code.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2356 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-19 18:28:53 +00:00
paulc 2835daf949 Changed cleanup code to avoid a potential crash on shutdown.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2353 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-19 12:25:23 +00:00
paulc 20e3143383 Implemented properly the call to enable FISU/LSSU autorepeat.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2351 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-18 18:58:09 +00:00
paulc 14830eb0ba Got rid of a memory leak on each received packet.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2349 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-18 14:06:06 +00:00
paulc 9c9216f9fe Made SignallingComponent derive from RefObject to simplify coding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2318 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-10 18:04:29 +00:00
paulc 021e26099b Implemented signalling packet repeat if not supported by the driver.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2293 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-29 13:31:58 +00:00
paulc 4b7d1775fd Reworded the warning message about the HW echo canceller API.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2251 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-06 13:11:18 +00:00
marian 7ce3725b50 Call setup() to install basic module message handlers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2170 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-25 14:12:24 +00:00
marian 3f05227917 Fixed span channel map build.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1833 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-24 07:43:51 +00:00
paulc cd5aaeed10 Disable echo canceller support if invalid API is detected when compiling.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1784 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-15 14:27:13 +00:00
marian 0420d24f2f Fixed echo canceller/dtmf detect setup.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1783 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-14 16:55:34 +00:00
marian 83bd3b401e Fixed Wanpipe echo canceller availability check.
Implemented link status detection in Wanpipe module.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1782 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-14 16:13:28 +00:00
marian d6d5d8f905 Implemented offset to be added to circuit codes on creation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1771 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-12 16:46:51 +00:00
marian 7363199d75 Print created circuits on span creation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1769 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-12 16:19:04 +00:00
marian 14dd4f6df8 Changed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1693 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-28 14:03:46 +00:00
marian 357067432e Changed some debug messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1674 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-25 16:46:23 +00:00
marian 5a9dc83f4f Fixed debug parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1528 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-10 16:15:05 +00:00
marian 0b0e3e8f4a Added echo cancel and tone detector setup.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1511 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-30 16:30:37 +00:00