[Freeswitch-users] record session in fifo

Michael Collins msc at freeswitch.org
Fri Jan 23 09:51:41 PST 2009


These are very specific requirements. FreeSWITCH certainly has the
tools necessary to do it all but it requires some knowledge and skill
on your part. I think you are right to be looking at the event socket
for this. You need some sort of 3PCC - 3rd Party Call Control - which
is most likely going to be a set of scripts that talk to the event
socket, each one doing a specific task, i.e. turning on recording at
the correct point in the call.

This is a big-time serious project. If you don't have much experience
in programming in an environment like this then you would be better
off hiring someone to do the work. I doubt that you will be able to
build something like this simply by asking around.


On Fri, Jan 23, 2009 at 8:45 AM, Tamas Cseke <cstomi.levlist at gmail.com> wrote:
> Hello,
> we would like to distribute calls with fifo and record these sessions
> but we'd like to skip the recording while the caller is waiting.
> (we don't need to record the hold music, just the speech with the fifo
> consumer.)
> I tried
> <action application="set" data="RECORD_ANSWER_REQ=true"/>
> <action application="record_session" data="${callfilename}"/>
> <action application="fifo" data="myfifo in"/>
> but it doesn't work because the channel is answered immediately when the
> caller is pushed into the fifo.
> (I don't know if there exists any other channel flag that could be use here)
> I also tried fifo_record_template.
> but it records the session from the point of view of the consumer's
> session, and after the bridge the recording is stopped.
> we would like to record the whole session into a single file even after
> calltransfers
> moreover we'd like to use some kind of predcitive dialing
> which
> 1, originate a loopback channel via event socket
> 2, loopback-b channel is hunting the dialplan, wich decide routing,
> caller_id, the need for recordings and so forth, and bridge a sofia call
> 3. the record_session is running on the sofia channel with
> bridge_pre_execute magic vars
> 4 loopback-a channel is pushed into the fifo
> 5 a script get the fifo::info via event socket
> 6 originate a call to the consumer with the proper strategy with &fifo
> out application
> 7 sofia channel is bridged to the consumer
> 8 loopback channels die
> after transfers everything is recorded into one file.
> but the problem here is again the unwanted recording in the fifo while
> the caller is waiting
> Could you please advise me any solution, if there is?
> Thank you,
> Tamas
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

More information about the FreeSWITCH-users mailing list