Jump to content

Question about DirectAdmin API Calls by built-in Module


prodiac

Recommended Posts

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

Link to comment
Share on other sites

  • 1 month later...
I am also having this issue. Have you contacted support about it yet; if so have you gotten a resolution?

 

Yes I did, and they implemented new functions in to the DirectAdmin server module. You'll need to obtain the modified version of this module from WHMCS.

 

In the module settings for the packages, it has a drop down menu to select from the 3 IP options.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated