Variable presence data cols
About
You can customize the fields in FreeSWITCH's internal channels table by using the global variable presence_data_cols
Use : to separate the column names in presence_data_cols
You must define the fields in the channels table first:
Click here to expand Table of Contents
ALTER TABLE channels ADD COLUMN accountcode VARCHAR(256)
ALTER TABLE channels ADD COLUMN domain_name VARCHAR(256)
<X-PRE-PROCESS cmd="set" data="presence_data_cols=accountcode:domain_name"/>