|
[
Permalink
| « Hide
]
Jaroslav Libak added a comment - 2007-03-09 19:07
Also please update the documentation - callrecording is done in flowgraph, therefore after we add such a call to conference it will be stopped. To record conference, recording should be started on 1 call in conference only. When call is removed from conference, recording will stop too, as media connection is destroyed and recreated.
Please, provide patch for documentation too.
This patch updates sipxtapi.h and explains better how conference recording behaves.
I originally also wanted to add new events to sipxtapi to inform user when recording really started and stopped, but this will be supplied in a separate patch later. It has to work right and inform the user that call recording on a call stopped when he for example uses conference join to add the call to conference. So this patch is complete, unless there are objections to documentation level in the source code. Changes to patch, should be done before its check in:
1) Wrap long lines (I saw two lines you're unwrapped) 2) Write documentation to all changes in .h files - new/changed functions, new enum values, etc. We should tend to fully documented code. Then I'll test it, and commit. New patch.diff file with recommended changes.
Patch updated to latest sipXtapi (FullCallRecording.diff).
This patch, with slight modifications to the enum values given to ON_MPRRECORDER_ENABLED and ON_MPRRECORDER_DISABLED has been committed to the main branch of sipXtapi, rev 9772.
http://scm.sipfoundry.org/viewsvn/sipX?view=rev&revision=9772 r9799 has some updated fixes... from my svn commit comment:
"Fix call recording, as initialization was done inside crazy recording defines, but shutdown/destruction was done in all cases, leading to trying to remove a non existant output link from mpCallrecMixer. Now the call recorder exists no matter what defines are present, even without INSERT_RECORDERS and WantRecorders (static int, directly tied to INSERT_RECORDERS) being defined." |
||||||||||||||||||||||||||||||||||||||||||||