Question

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. 5162867094@domain.com I would like to create a account with 10 number characters with some password.

  • Auto Register without creating a new XML file.
  • Number will be 5162867094 like this. (10 digit numbers)
  • It would be better if I can put password for each account.

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

Was it helpful?

Solution

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 :)

OTHER TIPS

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')

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top