Skip to main content


Created by Ryan Harris, last modified on 2018.02.08


string 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 field in the channels table first:

ALTER TABLE channels ADD COLUMN accountcode VARCHAR(256)


In conf/vars.xml:

<X-PRE-PROCESS cmd="set" data="presence_data_cols=accountcode:domain_name"/>