Hi,i'm writing some dialplan parts that get executed on execute_on_answer. In this dialplan that get executed i need to make a directory to handle recordings for record_session and my folder structure is:
USER/YEAR/MONTH/HOUR-MINUTE-SECOND-CALLER_NUMBER.wav
------<action application="system" data="mkdir -p $${base_dir}/recordings/${sip_from_user}/${strftime(%Y)}/${strftime(%m)}/" /> <action application="bind_meta_app" data="1 a s record_session::$${base_dir}/recordings/${sip_from_user}/${strftime(%Y)}/${strftime(%m)}/${strftime(%H_%M_%S)}-${caller_id_number}.wav" />
------ The call flow is:Call from external -> IVR -> Transfer to Group -> Execute on Answer -> system/bind_meta_app
Pratically, i need the number (or better the user) that answered the call: what variable should i check?
I tried with sip_from_user, callee_id_number and some other. Thank for your help, Best Regards, Daniele
<<attachment: info.vcf>>
_______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
