We are working on setting up WHMCS to work with our DirectAdmin servers, and I've run in to a huge problem. We assign a static IP to all Resellers. So in the package, I have it set to not allow sharing of the server IP.
When we create the reseller accounts through DA, we select the option that says "Shared, Reseller's IP".
Looking at the API manual located at http://www.directadmin.com/api/, I see this function:
CMD_ACCOUNT_RESELLER
In it, it has a call for the IP of the new account. There are 3 options:
--
ip shared, sharedreseller or assign. If shared, domain will use the server's main ip. assign will use one of the reseller's ips. sharedreseller will set the resellers ip to shared and assign the reseller to it.
--
The DirectAdmin module for WHMCS seems to use the 'shared' option by default, and I see absolutely no way to switch this so it would use the 'sharedreseller' option.
Is there a way to do this? Is this something that can be easily implemented? I believe it would just be a simple syntax change in the module code, unfortunately since its encrypted I can't read it to do so