You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can use the snippet below to determine the voicemail context set for an extension
$extension = '103';
$extens = core_users_list();
$vmcontext = ext2vmcontext($extens,$extension);
// function ext2vmcontext accepts the array output from core_users_list() and an extension number// then returns the voicemail context set for that extensionfunctionext2vmcontext($array, $ext)
{
foreach($arrayas$key => $count)
{
if ( $count['0'] == $ext )
return$count['2'];
}
returnfalse;
}
The text was updated successfully, but these errors were encountered:
Can use the snippet below to determine the voicemail context set for an extension
The text was updated successfully, but these errors were encountered: