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, 
    })); 
} 

Hierarchy

  • VoipMember

Properties

id

id: string

User ID (can be an internal number or SIPID).

label

label: string

Display name (login)