Documentation
VoIP_GetData
Require: IP-Symcon >= 5.2
string VoIP_GetData (int $InstanceID, int $ConnectionID)
Parameters
InstanceID | ID of the device to be switched |
ConnectionID | ID of the connection to be switched |
Returns
Content of the connection data as a string
Description
Returns the content of the data of the connection with ID ConnectionID of the VoIP instance with ID InstanceID.
Example
// Returns the content of the data of the connection with ID 3.
VoIP_SetData(12345, 3, "Hello World");
print_r(VoIP_GetData(12345, 3));
// Sample output
/*
Hello World
*/