All I am passing into the script is the recording file name. I tried using the system command right after the bridge command but before a hangup command. Thusly, <action application="bridge" data="${enum_auto_route}"/> <action application="system" data="/root/procrecording.sh $${base_dir}/recordings/12-26-11_10_23_55555555_444444444_1.wav"/> <action application="hangup"/> The problem I am seeing is that sometimes this script gets run and sometimes it does not. I think it has to do maybe with which end hangs up the phone. But I cannot seem to nail it down just yet... -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael S Collins I'm pretty sure that this is doable. Could you give us a hint as to what arguments you want to send? For example, do you have one or more channel variables you'd like to pass to the shell script? -MC