Brekeke PBX Wiki

makeCall

makeCall

 

Permissions:

admin or user

Description:

Places a call between a caller and callee.

 

Parameters:

tenant – tenant name
user – a PBX user extension representing the call owner
from – the caller’s user extension or phone number
to – an array of the callee’s user extensions or phone numbers
type – Strings: “1” or “2”
Type “1” will simultaneously call the “from” number and “to” number and then connect them.
Type “2” will call the “from” number first. When the “from” number picks up, it calls the “to” number then connects the two calls.

 

Returns:

A success message or an error message.

Yes No
Suggest Edit