Has any one tried doing exec_msg with an awk command. I want to the line below using the exec_msg command. I basically want to extract the caller's id (from $SIP_HF_CONTACT variable). uid=`echo $SIP_HF_CONTACT | awk -F : '{print $2}' | awk -F @ '{print($1)}' ;` Thanks & Regards, Binu V B Trikon Electronics Pvt Ltd