Account Table
The Account table contains detail of each Acccount attached to the PBX.
package
au.com.noojee.admin.jpa.dao.entities.Account
To obtain a reference to a handset you would normally present the user with a list of Accounts using the AccountDropListArgField.
During the exec method you then do the following:
Long accountId = getArgAsLong("Account");
Account account = getAccountFromId(accountId);
The resulting Account class provides the following methods.
Method | Arguments | Return Type | Descrption |
---|---|---|---|
getLogin()
| None | String | The username of the account. |
getVoiceMailBox | None | String | The voicemail box associated with this account or an empty string. |