Duplicate Incoming Channel Into Two Outgoing Channels
Hi!
I have strange requirement: a incoming call should be duplicated to two outgoing calls (to two voice recorders). On the incoming channel we only receive RTP, on the two outgoing channel we only send RTP.
I thought of:
incoming call
-> originate: make outgoing call to recorder 1 and put the channel into a confBridge
-> originate: make outgoing call to recorder 2 and put the channel into the same confBridge
-> put the incoming channel into the same confBridge (as Admin, terminate conference when admin leaves)
To optimize the conference processing I would configure the outgoing channels to “listen only”. This should lower CPU usage.
Of course I need also some extra logic to periodically check if the outgoing channels still exists and if not, recreate the outgoing channels.
Is somebody aware of a nicer solution for the problem?
Thanks Klaus
4 thoughts on - Duplicate Incoming Channel Into Two Outgoing Channels
What do you mean with “voice recorders”? Voice mail, if nobody answers, or do want to monitor calls?
jg
I mean voice recording (just like a voice box does), but the recorder is not Asterisk, but a dedicated VoIP recorder.
regards Klaus
Wouldn’t it make more sense to handle this by just monitoring the calls and doing everything else with normal data processing?
jg
Basically yes, but the whole idea is a workaround to fix issues in legacy systems.
klaus