Commit Graph

62 Commits

Author SHA1 Message Date
marian 353f7e696d Rollback accidentally commited files in previous commit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6137 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-15 10:45:40 +00:00
marian 4590f53dc7 Documented tcp idle/keeplive intervals.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6136 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-15 10:35:31 +00:00
andrei 11f9a6c4d2 Removed unnecessary debug messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5823 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-17 07:40:37 +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
marian 4e8e318e3d Added extra config and message parameter used to start CDR ring timer when processing a call.progress message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5662 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-10 12:03:38 +00:00
paulc 7c39b31458 Fixed warnings - mostly conversions - exposed by Visual C++ compiler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5614 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-07 11:24:10 +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
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
andrei 1cbe7df586 Avoid declaring variables with the same name.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5272 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 11:12:50 +00:00
andrei 9a6586e49b Fixed Visual C compile error.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5269 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 10:25:40 +00:00
andrei 5adc97d095 Added the option to disable call cdr updates.
Added the option to send call cdr status.
Added the option to format call time.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5262 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-14 15:12:16 +00:00
paulc bf57830c7f Added possibility to track message progress through handlers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5107 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-12 23:47:01 +00:00
paulc 22a7a05cc9 Use YSTRING in cdr builder to benefit from speedup on supported systems.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4643 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-10 18:41:11 +00:00
paulc 0fb67ff5d3 When building the CDR no longer set ringtime from start of call if no Ringing was received.
A Progress with Early Media is considered Ringing for CDR purposes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4642 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-10 18:26:27 +00:00
paulc 3954d96b85 Update the status of the peer of a ringing or answered channel in CDR.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4270 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-06 16:28:04 +00:00
paulc cd74991a12 Report the BillId in the cdrbuild status, the Peer cannot be reported reliably.
Made the call.cdr message broadcast so it cannot be stopped accidentally.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3430 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-15 12:32:07 +00:00
paulc 1415cfc1f4 Implemented TAB-completion for status cdrbuild, fixed format description (was lacking the Peer component).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3429 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-14 18:08:05 +00:00
paulc de974962ac Added a YNOCOPY macro that declares private inaccessible assignment operator and copy constructor to prevent using the compiler generated ones.
Fixed a bug exposed by this change.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3375 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 15:46:06 +00:00
paulc 1992d83a3c Print the count of forcibly finalized records before doing it as it may take a long time to complete.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2825 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-07 21:22:33 +00:00
paulc 14cac40348 Try to use "targetid" if "peerid" is missing or empty when updating the CDR of the peer call leg.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2668 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-31 19:14:39 +00:00
paulc 0b0f5cc469 Added "cdrtrack" and "cdrcreate" to the forbidden parameters list since they are processed internally.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2644 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 17:59:37 +00:00
paulc 3ede8c9d0f Added parameter "cdrcreate" to prevent creation of new CDR records but allow updating existing ones.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2642 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 17:30:08 +00:00
paulc 212aef34a5 Guard hungup channels for a while to reduce problems with chan.hangup arriving before other channel messages.
Added a warning when detecting conditions that can cause billing errors.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2626 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-12 17:24:41 +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 b1bd216420 Warn if CDR records were finalized by engine shutdown.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2407 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-19 15:15:51 +00:00
paulc 59df54943a The handler for chan.hangup is inserted at a low priority.
Increased the warning level if an unmatched cha.hangup is detected.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2398 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-05 21:31:50 +00:00
paulc a38eb3b0a4 Complain louder if cdrbuilder sees an unmatched chan.hangup messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2363 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-24 18:41:05 +00:00
paulc dcebcf2a4c Changed where the chan.hangup destroys the CDR record.
Added extra locking for the CDR list.
Made the cdrbuild messages more uniform.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2305 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-06 16:06:40 +00:00
paulc 5b325215a4 Added duration of call to cdrbuild status report.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1980 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-10 17:37:46 +00:00
paulc eb789e7b36 Added call.update handler so CDR stored variables can be updated.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1906 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 11:47:50 +00:00
paulc 491a69e765 Solved some locking issues. New cdrid and runid parameters that uniquely
identify a CDR entry.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1430 acf43c95-373e-0410-b603-e72c3f656dc1
2007-08-23 09:09:42 +00:00
paulc b7cf26eee1 Call time remains constant across messages so it can be used as a key.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1429 acf43c95-373e-0410-b603-e72c3f656dc1
2007-08-23 08:55:49 +00:00
paulc 00199f7a82 New parameters "cdrwrite" allows skipping writing of CDR records while still
tracking the channels.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1373 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-28 17:12:52 +00:00
paulc 41ffd6018f Added capability to finalize a CDR entry with a call.drop message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1314 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-12 15:01:12 +00:00
paulc 93719a4fcc Character mode telnet server allows for interactive line edit.
Support for line completion on TAB key.
The Windows telnet client should be happy with line endings.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1076 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-17 20:40:01 +00:00
paulc 458dd32fbe Added almost uniform debug details in all Module derived classes.
Implemented "status overview" in all modules.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1055 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-26 09:54:11 +00:00
paulc 645773ef77 Customizable parameters in CDR builder and CDR file writer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@838 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-05 14:25:44 +00:00
paulc cda2d9f1c2 Updated copyright and FSF address.
git-svn-id: http://yate.null.ro/svn/yate/trunk@815 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 15:08:43 +00:00
paulc 4a292bd06b Moved all classes in all modules in anonymous namespaces.
Added RTLD_GLOBAL dlopen()ing so symbols exported by libraries loaded by
modules will be available.


git-svn-id: http://yate.null.ro/svn/yate/trunk@813 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 14:53:18 +00:00
paulc be257bb756 Added more workarounds for RADIUS accounting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@719 acf43c95-373e-0410-b603-e72c3f656dc1
2006-03-23 03:23:23 +00:00
paulc c44947b6a1 Added RADIUS client module.
Applied various related and unrelated changes and fixes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@714 acf43c95-373e-0410-b603-e72c3f656dc1
2006-03-22 18:22:34 +00:00
paulc 565162def1 Added support to track line usage count in register.
git-svn-id: http://yate.null.ro/svn/yate/trunk@575 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-10 13:22:30 +00:00
paulc c478390a2f Caller, called and address are updated only if empty.
Ringing and answered update only the times in the peer channel.


git-svn-id: http://yate.null.ro/svn/yate/trunk@568 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-08 12:11:55 +00:00
paulc 394fc6e834 Separated scripts from modules directory.
git-svn-id: http://yate.null.ro/svn/yate/trunk@563 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-07 03:09:23 +00:00
paulc d8c52bc7bc Added common pre-answer timeout in class Channel.
Fixed bugs in disconnecting wave sources.
Added option settings for external modules.


git-svn-id: http://yate.null.ro/svn/yate/trunk@559 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-04 19:30:47 +00:00
paulc 0de5e0f4cd Fixed a bug in parsing message time from external modules.
Better time display in message sniffer.


git-svn-id: http://yate.null.ro/svn/yate/trunk@556 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-02 04:10:15 +00:00
paulc 9b0a4adf0c Fixed IAX, H.323, ISDN and CDR to include caller/called and time in msec.
Fixed a bug in H.323 connection cleanup.
Some patches for FreeBSD compatibility.


git-svn-id: http://yate.null.ro/svn/yate/trunk@553 acf43c95-373e-0410-b603-e72c3f656dc1
2005-10-30 04:03:25 +00:00
paulc 41c180c01e Fixed return of query values and cdr building
git-svn-id: http://yate.null.ro/svn/yate/trunk@506 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-09 16:43:34 +00:00
paulc c7a1508bdc *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@395 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-08 15:46:22 +00:00
paulc 0333c4d99a *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@394 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-08 15:30:48 +00:00