==== XML ====
==== PHP ====
function rpcf_add_once_service_new($parent_id, $tariff_id, $service_id, $service_name, $comment, $link_by_default, $cost, $drop_by_group) { //0x2116
if (!$this->connection->urfa_call(0x2116)) {
print "Error calling function ". __FUNCTION__ ."\n";
return FALSE;
}
$packet = $this->connection->getPacket();
$packet->DataSetInt($parent_id);
$packet->DataSetInt($tariff_id);
$packet->DataSetInt($service_id);
$packet->DataSetString($service_name);
$packet->DataSetString($comment);
$packet->DataSetInt($link_by_default);
$packet->DataSetDouble($cost);
$packet->DataSetInt($drop_by_group);
$this->connection->urfa_send_param($packet);
$this->connection->urfa_get_data();
}