You can use an api_hangup_hook to call system and do two sox commands:
sox infile.wav outfile.left.wav remix 1
sox infile.wav outfile.right.wav remix 2
-MC
Thanks for the reply...
In the path we are specifying the path where the recorded file should be
stored, here we are only specifying a single wav file path then how two
files will get recorded one as inbound and one as outbound??
--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Recording-channels-input-and-output-voice-in-two-separate-files-tp7588582p7588607.html
Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org