This object provides information about a user on the IP telephony provider’s side. This interface is used in the VoipGetMembers function that returns a list of an IP telephony users.
VoipGetMembers
async function VoipGetMembers(): Promise<VoipMember[]> { // Getting users of the IP telephony provider const response = await fetch('https://example.com/ voip-users'); interface VoipUser { name: string; ext: string; } const voipUsers = <VoipUser[]> (await response.json()); return voipUsers.map(user => ({ id: user.ext, label: user.name, })); }
User ID (can be an internal number or SIPID).
Display name (login)
Telephony user
This object provides information about a user on the IP telephony provider’s side. This interface is used in the
VoipGetMembers
function that returns a list of an IP telephony users.async function VoipGetMembers(): Promise<VoipMember[]> { // Getting users of the IP telephony provider const response = await fetch('https://example.com/ voip-users'); interface VoipUser { name: string; ext: string; } const voipUsers = <VoipUser[]> (await response.json()); return voipUsers.map(user => ({ id: user.ext, label: user.name, })); }