A simple PHP script to self singup a demo domain. Originally demoed as an example during the netsapiens user group meeting in March 2016
There are basically two files, a splash screen with mostly just HTML and logic file. All branding is reused styles from the netsapiens portal. The main changes needed are in the defines in the top of adddomain.php and any branding. also need to have an available DID in the reseller if you want it to allocate a DID as part of the process. Overall the script shows many API Examples including domain creation, user creation, device creation, phone number management, answer rules creation and dial plan setup.