Defines standard actions for modifying active voice calls, such as muting or hanging up. Use this when integrating with the Vonage Voice API.
// Source: https://github.com/Vonage/vonage-php-sdk-core | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
<?php
declare(strict_types=1);
namespace Vonage\Voice;
/**
* Collection of actions that can be used to modify a call
*/
class CallAction
{
public const EARMUFF = 'earmuff';
public const HANGUP = 'hangup';
public const MUTE = 'mute';
public const UNEARMUFF = 'unearmuff';
public const UNMUTE = 'unmute';
}
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key