An IP telephony event. The system uses this data to display notifications about a call to associated users.
async function VoipParseWebhookRequest(request: FetchRequest): Promise<VoipWebhookParseResult> { const data = JSON.parse(request.body); return { event: { event: VoipWebhookEvent.NotifyStart, direction: VoipCallDirection.In, dstPhone: data.dstPhone, srcPhone: data.srcPhone, disposition: VoipCallDisposition.Unknown, }; }; }
Call direction.
Call outcome.
Number being called
Number that is calling
Telephony event
An IP telephony event. The system uses this data to display notifications about a call to associated users.
async function VoipParseWebhookRequest(request: FetchRequest): Promise<VoipWebhookParseResult> { const data = JSON.parse(request.body); return { event: { event: VoipWebhookEvent.NotifyStart, direction: VoipCallDirection.In, dstPhone: data.dstPhone, srcPhone: data.srcPhone, disposition: VoipCallDisposition.Unknown, }; }; }