FreeSWITCH XML SIP User Directory

FreeSWITCH's $FS_ROOT/conf/directory/ содержит учетные записи (т.е., XML-файлы) для всех пользователей (т.е. SIP телефонов), которые могут регистрироваться в FS.

User settings

  <user id="1000" cidr=","> <!--ID is the sip username. CIDR is optional -- if specified, these IPs with automatically auth to this user-->
      <param name="password" value="very_strong_password"/> <!--SIP password-->
      <param name="vm-password" value="1234"/>
    <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-->
  • freeswitch/xml_sipuser_directory.txt
  • Последние изменения: 2015/10/12