What can we improve?

Documentation

(Edit)

VoIP_GetConnection

Requires: IP-Symcon >= 5.2

array VoIP_GetConnection (integer $InstanceID, integer $ConnectionID)

Parameters

InstanceID ID of the device to be switched
ConnectionID ID of the connection to be switched

Returns

Array with the following information

Field Data type Description
ID integer ConnectionID
TimeStamp integer Time stamp of the call
Number string Number with which a connection was established
Direction integer Call direction: 0 = Incoming call, 1 = Outgoing call
Connected boolean Connection status: FALSE = not connected, TRUE = connected
Disconnected boolean Disconnection status: FALSE = not disconnected, TRUE = disconnected

Description

Returns the information of the connection with ID ConnectionID of the VoIP instance with ID InstanceID.

Example

// Returns information of the connection with ID 3.
print_r(VoIP_GetConnection(12345, 3));
 
// Sample output:
/*
Array
(
    [ID] => 3
    [TimeStamp] => 1566915689
    [Number] => 045130500511
    [Data] =>
    [Direction] => 1
    [Connected] => 1
    [Disconnected] =>
)
*/
Deutsche Webseite verfügbar
Go to cart
Any questions?