Jake
Jake

Reputation: 1223

FreeSwitch SIP user auto creation issue

FreeSwitch 1.2 have default users 1000-1019 with 1234 password. If I want to make a new user, I need to create a XML file for 1 user. I cannot create XML files for each users.

Here is one of SIP address. [email protected] I would like to create a account with 10 number characters with some password.

How can I make above Dialplan using few XML codes? Thank you.

Upvotes: 1

Views: 1060

Answers (2)

user1278519
user1278519

Reputation: 891

In addition to the mod_xml_curl suggestion -- or doing the same with lua - I have just one thing to tell you:

You don't need one FILE per user. You can list multiple users in the same XML file (followed by a 'reloadxml')

Upvotes: 1

Stanislav Sinyagin
Stanislav Sinyagin

Reputation: 1961

you already got the recommendation to use mod_xml_curl in another stackexchange question. You just need to read the mod_xml_curl documentation again :)

Upvotes: 2

Related Questions