I
I
Ivan2015-07-31 17:32:15
Telephony
Ivan, 2015-07-31 17:32:15

How to properly store user xml files in a separate folder?

Good evening, I encountered the following problem when placing users in a separate folder.
It is necessary that users are here. home/user/conf/users/
To do this, in the settings conf/directory/default.xmlI do this

<group name="test">
        <users>
          <X-PRE-PROCESS cmd="include" data="home/user/conf/users/*.xml"/>
        </users>
 </group>

When I try to login with the created user, I get the following error
[WARNING] sofia_reg.c:2827 Can't find user  from yyy.yyy.yyy.yyy
You must define a domain called 'xxx.xxx.xxx.xx' in your directory and add a user with the id="user-3" attribute
and you must configure your device to use the proper domain in it's authentication credentials.

And if you create a folder inside the directory/ directory and write the path to it in conf/directory/default.xml, then everything works.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2015-08-01
@rostel

fs_cli> reloadxml
99% will show that the directory is not found or there is no access

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question