FreeSWITCH XML SIP User Directory
FreeSWITCH's $FS_ROOT/conf/directory/ содержит учетные записи (т.е., XML-файлы) для всех пользователей (т.е. SIP телефонов), которые могут регистрироваться в FS.
User settings
<include> <user id="1000" cidr="192.168.1.111/32,10.0.0.0/8"> <!--ID is the sip username. CIDR is optional -- if specified, these IPs with automatically auth to this user--> <params> <param name="password" value="very_strong_password"/> <!--SIP password--> <param name="vm-password" value="1234"/> </params> <variables><!--these variable are accessible in the channel--> <variable name="accountcode" value="1000"/> <!--Use this in your dialplan for authorization and limits. Also, cdr_csv can use it for separate CDR files--> <variable name="user_context" value="default"/> <!--magic variable: specifies the context--> <variable name="effective_caller_id_name" value="Extension 1000"/><!--magic variable: used for outbound caller ID name--> <variable name="effective_caller_id_number" value="1000"/><!--magic variable: used for outbound caller ID name/number--> </variables> </user> </include>