Handset Table
The handset table contains detail of each (SIP) handset attached to the PBX.
package
au.com.asteriskit.sma.jpa.dao.entities.SipBuddy
To obtain a reference to a handset you would normally present the user with a list of Handsets using the HandsetDropListArgField.
During the exec method you then do the following:
Long handsetId = getArgAsLong("Handset);
Handset handset = getHandsetFromId(handsetId);
The resulting System class provides the following methods.
Method | Arguments | Return Type | Descrption |
---|---|---|---|
getName()
| None | String | The handsets extension no. |
getVoiceMailBox | None | String | The voicemail box associated with this handset or an empty string. |