title: Use of CHANNEL function instead of CDR function in asterisk 13
body: <p>I am using Asterisk 13 and facing this warning :</p>
  
  <p>WARNING[10303] func_cdr.c: Using the CDR function to set 'accountcode' is deprecated. Please use the CHANNEL function instead.</p>
  
  <p>Anyone please guide how can I use CHANNEL function to set 'accountcode'?</p>
  
  <p>Many thanks.</p>