mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +00:00
FB_CALLLIST: new attribute "expire-calls-after" to automatically delete call entries after a certain time frame; ordering of attributes in commandref
git-svn-id: https://svn.fhem.de/fhem/trunk@11010 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
381e768000
commit
a0deab1d5d
@ -1,5 +1,8 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- feature: FB_CALLLIST: new attribute "expire-calls-after" to automatically
|
||||
delete call entries after a certain time frame. See commandref
|
||||
for details and syntax.
|
||||
- feature: FB_CALLLIST: new reading "numberOfCalls" which shows the number
|
||||
of shown call entries.
|
||||
- bugfix: 00_SIGNALduino: updated firmware to 3.2.0-hf1
|
||||
|
@ -44,6 +44,7 @@ FB_CALLLIST_Initialize($)
|
||||
$hash->{RenameFn} = "FB_CALLLIST_Rename";
|
||||
$hash->{DeleteFn} = "FB_CALLLIST_Delete";
|
||||
$hash->{AttrFn} = "FB_CALLLIST_Attr";
|
||||
$hash->{UndefFn} = "FB_CALLLIST_Undef";
|
||||
$hash->{AttrList} = "number-of-calls:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 ".
|
||||
"internal-number-filter ".
|
||||
"icon-mapping ".
|
||||
@ -61,6 +62,7 @@ FB_CALLLIST_Initialize($)
|
||||
"number-cmd ".
|
||||
"disabledForIntervals ".
|
||||
"do_not_notify:0,1 ".
|
||||
"expire-calls-after ".
|
||||
"no-heading:0,1 ".
|
||||
"no-table-header:0,1 ".
|
||||
$readingFnAttributes;
|
||||
@ -201,7 +203,14 @@ sub FB_CALLLIST_Attr($@)
|
||||
{
|
||||
return "invalid external mapping table: $value";
|
||||
}
|
||||
}
|
||||
}
|
||||
elsif($attrib eq "expire-calls-after")
|
||||
{
|
||||
if($value !~ /^\s*\d+(?:\.\d+)?(?:\s+(?:minute|hour|day|month|year)s?)?\s*$/i)
|
||||
{
|
||||
return "not a valid time frame value. See commandref for the correct syntax.";
|
||||
}
|
||||
}
|
||||
}
|
||||
elsif($cmd eq "del")
|
||||
{
|
||||
@ -275,6 +284,15 @@ sub FB_CALLLIST_Rename($$)
|
||||
return undef;
|
||||
}
|
||||
|
||||
#####################################
|
||||
# If device is deleted or rereadcfg is executed
|
||||
sub FB_CALLLIST_Undef($$)
|
||||
{
|
||||
my ($hash, $name) = @_;
|
||||
|
||||
RemoveInternalTimer($name, "FB_CALLLIST_deleteExpiredCalls");
|
||||
}
|
||||
|
||||
#####################################
|
||||
# NotifyFn is trigger upon changes on FB_CALLMONITOR device. Imports the call data into call list
|
||||
sub FB_CALLLIST_Notify($$)
|
||||
@ -390,6 +408,7 @@ sub FB_CALLLIST_Notify($$)
|
||||
if($event eq "disconnect" )
|
||||
{
|
||||
$data->{call_duration} = ReadingsVal($fb, "call_duration", undef);
|
||||
$data->{finished} = gettimeofday();
|
||||
|
||||
if($data->{last_event} =~ /^call|ring$/)
|
||||
{
|
||||
@ -439,8 +458,8 @@ sub FB_CALLLIST_cleanupList($)
|
||||
my ($hash) = @_;
|
||||
|
||||
my $name = $hash->{NAME};
|
||||
my $limit = int(AttrVal($hash->{NAME}, "number-of-calls", 5));
|
||||
my $listtype = AttrVal($hash->{NAME}, "list-type", "all");
|
||||
my $limit = int(AttrVal($name, "number-of-calls", 5));
|
||||
my $listtype = AttrVal($name, "list-type", "all");
|
||||
my $count = 0;
|
||||
my $index;
|
||||
|
||||
@ -479,7 +498,9 @@ sub FB_CALLLIST_cleanupList($)
|
||||
{
|
||||
Log3 $name, 5, "FB_CALLLIST ($name) - deleting old call $index";
|
||||
delete($hash->{helper}{DATA}{$index}) if(exists($hash->{helper}{DATA}{$index}));
|
||||
}
|
||||
}
|
||||
|
||||
FB_CALLLIST_deleteExpiredCalls($hash);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -487,6 +508,93 @@ sub FB_CALLLIST_cleanupList($)
|
||||
}
|
||||
}
|
||||
|
||||
#####################################
|
||||
# check if calls are expired and delete them
|
||||
sub FB_CALLLIST_deleteExpiredCalls($;$)
|
||||
{
|
||||
my ($hash, $inform) = @_;
|
||||
|
||||
if(ref($hash) ne "HASH")
|
||||
{
|
||||
($hash, $inform) = ($defs{$hash}, 1);
|
||||
}
|
||||
|
||||
my $name = $hash->{NAME};
|
||||
my $expireCallSeconds = AttrVal($name, "expire-calls-after", 0);
|
||||
|
||||
RemoveInternalTimer($name, "FB_CALLLIST_deleteExpiredCalls");
|
||||
|
||||
if($expireCallSeconds !~ /^\d+(?:\.\d+)?$/)
|
||||
{
|
||||
if($expireCallSeconds =~ /^\s*(\d+(?:\.\d+)?)\s+minutes?\s*$/i)
|
||||
{
|
||||
$expireCallSeconds = $1 * 60;
|
||||
}
|
||||
elsif($expireCallSeconds =~ /^\s*(\d+(?:\.\d+)?)\s+hours?\s*$/i)
|
||||
{
|
||||
$expireCallSeconds = $1 * 3600;
|
||||
}
|
||||
elsif($expireCallSeconds =~ /^\s*(\d+(?:\.\d+)?)\s+days?\s*$/i)
|
||||
{
|
||||
$expireCallSeconds = $1 * 86400;
|
||||
}
|
||||
elsif($expireCallSeconds =~ /^\s*(\d+(?:\.\d+)?)\s+weeks?\s*$/i)
|
||||
{
|
||||
$expireCallSeconds = $1 * 86400 * 7;
|
||||
}
|
||||
elsif($expireCallSeconds =~ /^\s*(\d+(?:\.\d+)?)\s+months?\s*$/i)
|
||||
{
|
||||
$expireCallSeconds = $1 * 86400 * 30;
|
||||
}
|
||||
elsif($expireCallSeconds =~ /^\s*(\d+(?:\.\d+)?)\s+year?\s*$/i)
|
||||
{
|
||||
$expireCallSeconds = $1 * 86400 * 356;
|
||||
}
|
||||
else
|
||||
{
|
||||
$expireCallSeconds = 0;
|
||||
}
|
||||
}
|
||||
|
||||
# delete expired calls if activated
|
||||
if($expireCallSeconds =~ /^\d+(?:\.\d+)?$/ and $expireCallSeconds > 0)
|
||||
{
|
||||
my @list = grep { !($hash->{helper}{DATA}{$_}{running_call}) and ((exists($hash->{helper}{DATA}{$_}{finished}) ? $hash->{helper}{DATA}{$_}{finished} : $_) < (gettimeofday - $expireCallSeconds)) } keys %{$hash->{helper}{DATA}};
|
||||
|
||||
if(@list)
|
||||
{
|
||||
# delete the collected list of expired calls
|
||||
foreach my $index (@list)
|
||||
{
|
||||
Log3 $name, 5, "FB_CALLLIST ($name) - deleting expired call $index";
|
||||
delete($hash->{helper}{DATA}{$index}) if(exists($hash->{helper}{DATA}{$index}));
|
||||
}
|
||||
}
|
||||
|
||||
my ($oldest) = sort {$b <=> $a} map {(exists($hash->{helper}{DATA}{$_}{finished}) ? $hash->{helper}{DATA}{$_}{finished} : $_) } grep { !$hash->{helper}{DATA}{$_}{running_call} } keys %{$hash->{helper}{DATA}};
|
||||
|
||||
if(defined($oldest))
|
||||
{
|
||||
my $diff = $expireCallSeconds - (gettimeofday() - $oldest);
|
||||
|
||||
if($diff > 0)
|
||||
{
|
||||
Log3 $name, 4, "FB_CALLLIST ($name) - oldest call $oldest expires in $diff seconds, scheduling timer...";
|
||||
InternalTimer(gettimeofday()+$diff+1, "FB_CALLLIST_deleteExpiredCalls", $name);
|
||||
}
|
||||
}
|
||||
|
||||
if($inform)
|
||||
{
|
||||
# Inform all FHEMWEB clients
|
||||
FB_CALLLIST_updateFhemWebClients($hash);
|
||||
|
||||
# save current list state to file/configDB
|
||||
FB_CALLLIST_saveList($hash);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#####################################
|
||||
# returns the icon depending on icon mapping
|
||||
sub FB_CALLLIST_returnIcon($$$)
|
||||
@ -1095,12 +1203,38 @@ sub FB_CALLLIST_returnTableHeader($)
|
||||
<b>Attributes</b><br><br>
|
||||
<ul>
|
||||
<li><a href="#do_not_notify">do_not_notify</a></li>
|
||||
<li><a href="#readingFnAttributes">readingFnAttributes</a></li><br>
|
||||
<li><a href="#readingFnAttributes">readingFnAttributes</a></li>
|
||||
|
||||
<br>
|
||||
|
||||
<li><a name="FB_CALLLIST_answMachine-is-missed-call">answMachine-is-missed-call</a> 0,1</li>
|
||||
If activated, a incoming call, which is answered by an answering machine, will be treated as a missed call. This is only relevant if <a href="#FB_CALLLIST_list-type">list-type</a> is set to "missed-call".
|
||||
<br><br>
|
||||
Possible values: 0 => disabled, 1 => enabled (answering machine calls will be treated as "missed call").<br>
|
||||
Default Value is 0 (disabled)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_connection-mapping">connection-mapping</a> <hash></li>
|
||||
Defines a custom mapping of connection names to custom values. The mapping is performed in a hash table.<br><br>
|
||||
e.g.<br>
|
||||
<ul>
|
||||
<code>attr <name> connection-mapping {'DECT_1' => 'Mobile Kitchen', 'FON1' => 'Fax'}</code>
|
||||
</ul><br>
|
||||
The mapped name will be displayed in the table instead of the original value from FB_CALLMONITOR.
|
||||
<br><br>
|
||||
Default Value: <i>empty</i> (no mapping is performed)
|
||||
<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_create-readings">create-readings</a> 0,1</li>
|
||||
If enabled, for all visible calls in the list, readings and events will be created. It is recommended to set the attribute <a href="#event-on-change-reading">event-on-change-reading</a> to <code>.*</code> (all readings), to reduce the amount of generated readings for certain call events.<br><br>
|
||||
Possible values: 0 => no readings will be created, 1 => readings and events will be created.<br>
|
||||
Default Value is 0 (no readings will be created)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_disable">disable</a> 0,1</li>
|
||||
Optional attribute to disable the call list update. When disabled, call events will be processed and the list wouldn't be updated accordingly.
|
||||
<br><br>
|
||||
Possible values: 0 => FB_CALLLIST is activated, 1 => FB_CALLLIST is deactivated.<br>
|
||||
Default Value is 0 (activated)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_disabledForIntervals">disabledForIntervals</a> HH:MM-HH:MM HH:MM-HH-MM...</li>
|
||||
Optional attribute to disable the call list update during a specific time interval. The attribute contains a space separated list of HH:MM tupels.
|
||||
If the current time is between any of these time specifications, the callist will be disabled and no longer updated.
|
||||
@ -1108,48 +1242,31 @@ sub FB_CALLLIST_returnTableHeader($)
|
||||
<br><br>To specify an interval spawning midnight, you have to specify two intervals, e.g.:
|
||||
<pre>23:00-24:00 00:00-01:00</pre>
|
||||
Default Value is <i>empty</i> (no intervals defined, calllist is always active)<br><br>
|
||||
<li><a name="FB_CALLLIST_create-readings">create-readings</a> 0,1</li>
|
||||
If enabled, for all visible calls in the list, readings and events will be created. It is recommended to set the attribute <a href="#event-on-change-reading">event-on-change-reading</a> to <code>.*</code> (all readings), to reduce the amount of generated readings for certain call events.<br><br>
|
||||
Possible values: 0 => no readings will be created, 1 => readings and events will be created.<br>
|
||||
Default Value is 0 (no readings will be created)<br><br>
|
||||
<li><a name="FB_CALLLIST_answMachine-is-missed-call">answMachine-is-missed-call</a> 0,1</li>
|
||||
If activated, a incoming call, which is answered by an answering machine, will be treated as a missed call. This is only relevant if <a href="#FB_CALLLIST_list-type">list-type</a> is set to "missed-call".
|
||||
<br><br>
|
||||
Possible values: 0 => disabled, 1 => enabled (answering machine calls will be treated as "missed call").<br>
|
||||
Default Value is 0 (disabled)<br><br>
|
||||
<li><a name="FB_CALLLIST_number-of-calls">number-of-calls</a> 1..20</li>
|
||||
Defines the maximum number of displayed call entries in the list.<br><br>
|
||||
Default Value is 5 calls<br><br>
|
||||
<li><a name="FB_CALLLIST_list-type">list-type</a> all,incoming,outgoing,missed-calls,completed,active</li>
|
||||
Defines what type of calls should be displayed in the list.<br><br>
|
||||
Default Value is "all"<br><br>
|
||||
<li><a name="FB_CALLLIST_list-order">list-order</a> descending,ascending</li>
|
||||
Defines whether the newest call should be on top of the list (descending) or on the bottom of the list (ascending).<br><br>
|
||||
Default Value is descending (first call at top of the list)<br><br>
|
||||
<li><a name="FB_CALLLIST_internal-number-filter">internal-number-filter</a> <hash></li>
|
||||
This attribute accepts a list of comma seperated internal numbers for
|
||||
filtering incoming or outgoing calls by a specific list of internal numbers
|
||||
or a hash for filtering and mapping numbers to text.<br>
|
||||
<br>
|
||||
e.g.<br>
|
||||
|
||||
<li><a name="FB_CALLLIST_expire-calls-after">expire-calls-after</a> <time frame></li>
|
||||
Optional attribute to automatically delete finished calls which are older than a given time frame. If a finished call is older than this time frame, it will be deleted from the list.
|
||||
<br><br>A time frame can be specified as follows:
|
||||
<ul>
|
||||
<code>attr <name> internal-number-filter 304050,304060<br><br>
|
||||
attr <name> internal-number-filter {'304050' => 'business', '304060' => 'private'}</code>
|
||||
<li>as minutes: <code>1 minute</code> or <code>30 minutes</code></li>
|
||||
<li>as hours: <code>1 hour</code> or <code>12 hours</code></li>
|
||||
<li>as days: <code>1 day</code> or <code>5 days</code></li>
|
||||
<li>as months: <code>1 month</code> or <code>6 months</code> (in this case one month is equal to 30 days)</li>
|
||||
<li>as years: <code>1 year</code> or <code>2 years</code> (in this case one year is equal to 365 days)</li>
|
||||
</ul>
|
||||
<br><b>Important:</b> Depending on your provider, the internal number can contain a location area code.
|
||||
The internal-number-filter must contain the same number as it is displayed in the call list.
|
||||
This can be with or without location area code depending on your provider.
|
||||
<br><br>
|
||||
If this attribute is set, only the configured internal numbers will be shown in the list. All calls which are not taken via the configured internal numbers, were not be shown in the call list.
|
||||
<br><br>
|
||||
Default Value: <i>empty</i> (all internal numbers should be used, no exclusions and no mapping is performed)
|
||||
<br><br>
|
||||
<br>
|
||||
<b>IMPORTANT:</b> In this case, the ending time of each call is checked, not the beginning time.<br><br>
|
||||
|
||||
If no unit is given, the given number ist interpreted as seconds. Float values can also be used (e.g. <code>0.5 day</code>).
|
||||
The value <code>0</code> means no expiry of calls, so no calls will be deleted because of expiry.<br><br>
|
||||
Default Value is 0 (no calls will be deleted because of expiry)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_external-mapping">external-mapping</a> <hash></li>
|
||||
Defines a custom mapping of external connection values (reading: external_connection) to custom values. The mapping is performed in a hash table.<br><br>
|
||||
e.g.<br>
|
||||
<ul>
|
||||
<code>attr <name> external-mapping {'ISDN' => 'Fixed Network', 'SIP0' => 'Operator A', 'SIP1' => 'Operator B'}</code>
|
||||
</ul><br>
|
||||
</ul><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_icon-mapping">icon-mapping</a> <hash></li>
|
||||
Defines a custom mapping of call states to custom icons. The mapping is performed in a hash table.<br><br>
|
||||
e.g.<br>
|
||||
@ -1172,18 +1289,74 @@ sub FB_CALLLIST_returnTableHeader($)
|
||||
<li><b>incoming.tam</b> => phone_answering@blue</li>
|
||||
</ul>
|
||||
<br><br>
|
||||
Default Value: <i>empty</i> (no mapping is performed)
|
||||
<br><br>
|
||||
<li><a name="FB_CALLLIST_connection-mapping">connection-mapping</a> <hash></li>
|
||||
Defines a custom mapping of connection names to custom values. The mapping is performed in a hash table.<br><br>
|
||||
Default Value: <i>empty</i> (no mapping is performed)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_internal-number-filter">internal-number-filter</a> <hash></li>
|
||||
This attribute accepts a list of comma seperated internal numbers for
|
||||
filtering incoming or outgoing calls by a specific list of internal numbers
|
||||
or a hash for filtering and mapping numbers to text.<br>
|
||||
<br>
|
||||
e.g.<br>
|
||||
<ul>
|
||||
<code>attr <name> connection-mapping {'DECT_1' => 'Mobile Kitchen', 'FON1' => 'Fax'}</code>
|
||||
</ul><br>
|
||||
The mapped name will be displayed in the table instead of the original value from FB_CALLMONITOR.
|
||||
<code>attr <name> internal-number-filter 304050,304060<br><br>
|
||||
attr <name> internal-number-filter {'304050' => 'business', '304060' => 'private'}</code>
|
||||
</ul>
|
||||
<br><b>Important:</b> Depending on your provider, the internal number can contain a location area code.
|
||||
The internal-number-filter must contain the same number as it is displayed in the call list.
|
||||
This can be with or without location area code depending on your provider.
|
||||
<br><br>
|
||||
Default Value: <i>empty</i> (no mapping is performed)
|
||||
If this attribute is set, only the configured internal numbers will be shown in the list. All calls which are not taken via the configured internal numbers, were not be shown in the call list.
|
||||
<br><br>
|
||||
Default Value: <i>empty</i> (all internal numbers should be used, no exclusions and no mapping is performed)
|
||||
<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_language">language</a> en,de</li>
|
||||
Defines the language of the table header, some keywords and the timestamp format. You need to have the selected locale installed and available in your operating system.<br><br>
|
||||
Possible values: en => English , de => German<br>
|
||||
Default Value is en (English)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_list-type">list-type</a> all,incoming,outgoing,missed-calls,completed,active</li>
|
||||
Defines what type of calls should be displayed in the list.<br><br>
|
||||
Default Value is "all"<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_list-order">list-order</a> descending,ascending</li>
|
||||
Defines whether the newest call should be on top of the list (descending) or on the bottom of the list (ascending).<br><br>
|
||||
Default Value is descending (first call at top of the list)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_no-heading">no-heading</a> 0,1</li>
|
||||
If activated the headline with a link to the detail page of the current definition will be hidden.<br><br>
|
||||
Possible values: 0 => the heading line will be shown , 1 => the heading line will not be shown<br>
|
||||
Default Value is 0 (the heading line will be shown)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_no-table-header">no-table-header</a> 0,1</li>
|
||||
If activated the table header containing the name of each column for the current definition will be hidden.<br><br>
|
||||
Possible values: 0 => the table header will be shown , 1 => the table header will not be shown<br>
|
||||
Default Value is 0 (the table header will be shown)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_number-cmd">number-cmd</a> <command></li>
|
||||
Can be set, to execute a specific FHEM command, when clicking on a number in the list. The value can be any valid FHEM command or Perl code (in curly brackets: { ... } ).
|
||||
The placeholder <code>$NUMBER</code> will be replaced with the current external number of each row.
|
||||
<br><br>
|
||||
This can be used for example to initiate a call to this number.
|
||||
e.g.:<br><br>
|
||||
<ul>
|
||||
<li><code>set FRITZBOX call $NUMBER</code></li>
|
||||
<li><code>{dialNumber("$NUMBER")}</code></li>
|
||||
</ul>
|
||||
<br>
|
||||
If not set, no link will be shown in the list.<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_number-of-calls">number-of-calls</a> 1..20</li>
|
||||
Defines the maximum number of displayed call entries in the list.<br><br>
|
||||
Default Value is 5 calls<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_show-icons">show-icons</a> 0,1</li>
|
||||
Normally the call state is shown with icons (used from the openautomation icon set).
|
||||
You need to have openautomation in your iconpath attribute of your appropriate FHEMWEB definition to use this icons.
|
||||
If you don't want to use icons you can deactivate them with this attribute.<br><br>
|
||||
Possible values: 0 => no icons , 1 => use icons<br>
|
||||
Default Value is 1 (use icons)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_time-format-string">time-format-string</a> <string></li>
|
||||
Defines a format string which should be used to format the timestamp values.
|
||||
It contains several placeholders for different elements of a date/time.
|
||||
@ -1202,28 +1375,7 @@ sub FB_CALLLIST_returnTableHeader($)
|
||||
Please consult the manpage of <code>strftime()</code> or the documentation of your perl interpreter to find out more.
|
||||
<br><br>
|
||||
Default value is "%a, %d %b %Y %H:%M:%S" ( = "Sun, 07 Jun 2015 12:50:09")<br><br>
|
||||
<li><a name="FB_CALLLIST_language">language</a> en,de</li>
|
||||
Defines the language of the table header, some keywords and the timestamp format. You need to have the selected locale installed and available in your operating system.<br><br>
|
||||
Possible values: en => English , de => German<br>
|
||||
Default Value is en (English)<br><br>
|
||||
<li><a name="FB_CALLLIST_number-cmd">number-cmd</a> <command></li>
|
||||
Can be set, to execute a specific FHEM command, when clicking on a number in the list. The value can be any valid FHEM command or Perl code (in curly brackets: { ... } ).
|
||||
The placeholder <code>$NUMBER</code> will be replaced with the current external number of each row.
|
||||
<br><br>
|
||||
This can be used for example to initiate a call to this number.
|
||||
e.g.:<br><br>
|
||||
<ul>
|
||||
<li><code>set FRITZBOX call $NUMBER</code></li>
|
||||
<li><code>{dialNumber("$NUMBER")}</code></li>
|
||||
</ul>
|
||||
<br>
|
||||
If not set, no link will be shown in the list.<br><br>
|
||||
<li><a name="FB_CALLLIST_show-icons">show-icons</a> 0,1</li>
|
||||
Normally the call state is shown with icons (used from the openautomation icon set).
|
||||
You need to have openautomation in your iconpath attribute of your appropriate FHEMWEB definition to use this icons.
|
||||
If you don't want to use icons you can deactivate them with this attribute.<br><br>
|
||||
Possible values: 0 => no icons , 1 => use icons<br>
|
||||
Default Value is 1 (use icons)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_visible-columns">visible-columns</a> row,state,timestamp,name,number,internal,external,connection,duration</li>
|
||||
Defines the visible columns, as well as the order in which these columns are displayed in the call list (from left to right).
|
||||
Not all columns must be displayed, you can select only a subset of columns which will be displayed.
|
||||
@ -1233,15 +1385,7 @@ sub FB_CALLLIST_returnTableHeader($)
|
||||
<br><br>
|
||||
Possible values: a combination of <code>row,state,timestamp,name,number,internal,external,connection,duration</code><br>
|
||||
Default Value is "row,state,timestamp,name,number,internal,external,connection,duration" (show all columns)<br><br>
|
||||
<li><a name="FB_CALLLIST_no-heading">no-heading</a> 0,1</li>
|
||||
If activated the headline with a link to the detail page of the current definition will be hidden.<br><br>
|
||||
Possible values: 0 => the heading line will be shown , 1 => the heading line will not be shown<br>
|
||||
Default Value is 0 (the heading line will be shown)<br><br>
|
||||
<li><a name="FB_CALLLIST_no-table-header">no-table-header</a> 0,1</li>
|
||||
If activated the table header containing the name of each column for the current definition will be hidden.<br><br>
|
||||
Possible values: 0 => the table header will be shown , 1 => the table header will not be shown<br>
|
||||
Default Value is 0 (the table header will be shown)<br><br>
|
||||
</ul>
|
||||
</ul>
|
||||
<br>
|
||||
<a name="FB_CALLLIST_events"></a>
|
||||
<b>Generated Events:</b><br><br>
|
||||
@ -1311,74 +1455,22 @@ sub FB_CALLLIST_returnTableHeader($)
|
||||
<b>Attributes</b><br><br>
|
||||
<ul>
|
||||
<li><a href="#do_not_notify">do_not_notify</a></li>
|
||||
<li><a href="#readingFnAttributes">readingFnAttributes</a></li><br>
|
||||
<li><a name="FB_CALLLIST_disable">disable</a> 0,1</li>
|
||||
Optionales Attribut zur Deaktivierung der Anrufliste. Es werden dann keine Anruf-Events mehr verarbeitet und die Liste nicht weiter aktualisiert.
|
||||
<br><br>
|
||||
Mögliche Werte: 0 => Anrufliste ist aktiv, 1 => Anrufliste ist deaktiviert.<br>
|
||||
Standardwert ist 0 (aktiv)<br><br>
|
||||
<li><a name="FB_CALLLIST_disabledForIntervals">disabledForIntervals</a> HH:MM-HH:MM HH:MM-HH-MM...</li>
|
||||
Optionales Attribut zur Deaktivierung der Anrufliste innerhalb von bestimmten Zeitintervallen.
|
||||
Das Argument ist eine Leerzeichen-getrennte Liste von Minuszeichen-getrennten HH:MM Paaren (Stunde : Minute).
|
||||
Falls die aktuelle Uhrzeit zwischen diese Werte fällt, dann wird die Ausführung, wie bei <a href="#FB_CALLLIST_disable">disable</a>, ausgesetzt.
|
||||
Statt HH:MM kann man auch HH oder HH:MM:SS angeben.<br><br>
|
||||
Um einen Intervall um Mitternacht zu spezifizieren, muss man zwei einzelne Intervalle angeben, z.Bsp.:
|
||||
<pre>23:00-24:00 00:00-01:00</pre>
|
||||
Standardwert ist <i>nicht gesetzt</i> (dauerhaft aktiv)<br><br>
|
||||
<li><a name="FB_CALLLIST_create-readings">create-readings</a> 0,1</li>
|
||||
Sofern aktiviert, werden für alle sichtbaren Anrufe in der Liste entsprechende Readings und Events erzeugt.
|
||||
Es wird empfohlen das Attribut <a href="#event-on-change-reading">event-on-change-reading</a> auf den Wert <code>.*</code> zu stellen um die hohe Anzahl an Events in bestimmten Fällen zu minimieren.<br><br>
|
||||
Mögliche Werte: 0 => keine Readings erstellen, 1 => Readings und Events werden erzeugt.<br>
|
||||
Standardwert ist 0 (keine Readings erstellen)<br><br>
|
||||
<li><a href="#readingFnAttributes">readingFnAttributes</a></li>
|
||||
|
||||
<br>
|
||||
|
||||
<li><a name="FB_CALLLIST_answMachine-is-missed-call">answMachine-is-missed-call</a> 0,1</li>
|
||||
Sofern aktiviert, werden Anrufe, welche durch einen internen Anrufbeantworter beantwortet werden, als "verpasster Anruf" gewertet. Diese Funktionalität ist nur relevant, wenn <a href="#FB_CALLLIST_list-type">list-type</a> auf "missed-call" gesetzt ist.
|
||||
<br><br>
|
||||
Mögliche Werte: 0 => deaktiviert, 1 => aktiviert (Anrufbeantworter gilt als "verpasster Anruf").<br>
|
||||
Standardwert ist 0 (deaktiviert)<br><br>
|
||||
<li><a name="FB_CALLLIST_number-of-calls">number-of-calls</a> 1..20</li>
|
||||
Setzt die maximale Anzahl an Einträgen in der Anrufliste. Sollte die Anrufliste voll sein, wird das älteste Gespräch gelöscht.<br><br>
|
||||
Standardwert sind 5 Einträge<br><br>
|
||||
<li><a name="FB_CALLLIST_list-type">list-type</a> all,incoming,outgoing,missed-calls,completed,active</li>
|
||||
Ist dieses Attribut gesetzt, werden nur bestimmte Typen von Anrufen in der Liste angezeigt:<br><br>
|
||||
<ul>
|
||||
<li><code>all</code> - Alle Anrufe werden angezeigt</li>
|
||||
<li><code>incoming</code> - Alle eingehenden Anrufe werden angezeigt (aktive und abgeschlossene)</li>
|
||||
<li><code>outgoing</code> - Alle ausgehenden Anrufe werden angezeigt (aktive und abgeschlossene)</li>
|
||||
<li><code>missed-calls</code> - Alle eingehenden, verpassten Anrufe werden angezeigt.</li>
|
||||
<li><code>completed</code> - Alle abgeschlossenen Anrufe werden angezeigt (eingehend und ausgehend)</li>
|
||||
<li><code>active</code> - Alle aktuell laufenden Anrufe werden angezeigt (eingehend und ausgehend)</li>
|
||||
</ul><br>
|
||||
Standardwert ist "all" (alle Anrufe anzeigen)<br><br>
|
||||
<li><a name="FB_CALLLIST_list-order">list-order</a> descending,ascending</li>
|
||||
Gibt an ob der neueste Anruf in der ersten Zeile (aufsteigend => descending) oder in der letzten Zeile (absteigend => ascending) in der Liste angezeigt werden soll. Dementsprechend rollt die Liste dann nach oben oder unten durch.<br><br>
|
||||
Standardwert ist "descending" (absteigend, neuester Anruf in der ersten Zeile)<br><br>
|
||||
<li><a name="FB_CALLLIST_internal-number-filter">internal-number-filter</a> <hash></li>
|
||||
Dieses Attribut ermöglicht das Filtern der angezeigten Anrufe auf bestimmte interne Rufnummern sowie das Zuordnen von Namen zu den internen Rufnummern.<br><br>
|
||||
Es ist möglich eine kommaseparierte Liste an internen Rufnummern anzugeben oder eine Hash-Tabelle in der man den internen Rufnummern eine eigene Bezeichnung zuweist.
|
||||
<br>
|
||||
<br>
|
||||
z.B.<br>
|
||||
<ul>
|
||||
<code>attr <name> internal-number-filter 304050,304060<br><br>
|
||||
attr <name> internal-number-filter {'304050' => 'geschftl.', '304060' => 'privat'}</code>
|
||||
</ul>
|
||||
<br>
|
||||
<b>Wichtig:</b> Je nach Telefonanbieter kann der Wert die Ortsvorwahl enthalten. Die Rufnummer muss genauso angegeben werden, wie sie ohne eine Zuordnung in der Anrufliste auftaucht.<br><br>
|
||||
Wenn dieses Attribut gesetzt ist, werden nur die eingestellten Rufnummern in der Liste angezeigt.
|
||||
<br><br>
|
||||
Standardwert ist <i>nicht gesetzt</i> (alle internen Rufnummern werden angezeigt)
|
||||
<br>
|
||||
<br>
|
||||
<li><a name="FB_CALLLIST_external-mapping">external-mapping</a> <hash></li>
|
||||
Definiert eine eigene Zuordnung der externen Anschlussbezeichnung (Reading: external_connection) zu eigenen Bezeichnungen. Die Zuordnung erfolgt über eine Hash-Struktur.<br><br>
|
||||
z.B.<br>
|
||||
<ul>
|
||||
<code>attr <name> external-mapping {'ISDN' => 'Festnetz', 'SIP0' => 'Anbieter A', 'SIP1' => 'Anbieter B'}</code>
|
||||
</ul><br>
|
||||
Die jeweils zugeordnete Bezeichnung wird in der Anrufliste dann entsprechend angezeigt anstatt des originalen Werten von FB_CALLMONITOR.
|
||||
<br><br>
|
||||
Standardwert ist <i>nicht gesetzt</i> (Keine Zuordnung, es werden die Originalwerte verwendet)
|
||||
<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_create-readings">create-readings</a> 0,1</li>
|
||||
Sofern aktiviert, werden für alle sichtbaren Anrufe in der Liste entsprechende Readings und Events erzeugt.
|
||||
Es wird empfohlen das Attribut <a href="#event-on-change-reading">event-on-change-reading</a> auf den Wert <code>.*</code> zu stellen um die hohe Anzahl an Events in bestimmten Fällen zu minimieren.<br><br>
|
||||
Mögliche Werte: 0 => keine Readings erstellen, 1 => Readings und Events werden erzeugt.<br>
|
||||
Standardwert ist 0 (keine Readings erstellen)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_connection-mapping">connection-mapping</a> <hash></li>
|
||||
Definiert eine eigene Zuordnung der Endgeräte (Reading: internal_connection) zu eigenen Bezeichnungen. Die Zuordnung erfolgt über eine Hash-Struktur.<br><br>
|
||||
z.B.<br>
|
||||
@ -1389,6 +1481,51 @@ sub FB_CALLLIST_returnTableHeader($)
|
||||
<br><br>
|
||||
Standardwert ist <i>nicht gesetzt</i> (Keine Zuordnung, es werden die Originalwerte verwendet)
|
||||
<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_disable">disable</a> 0,1</li>
|
||||
Optionales Attribut zur Deaktivierung der Anrufliste. Es werden dann keine Anruf-Events mehr verarbeitet und die Liste nicht weiter aktualisiert.
|
||||
<br><br>
|
||||
Mögliche Werte: 0 => Anrufliste ist aktiv, 1 => Anrufliste ist deaktiviert.<br>
|
||||
Standardwert ist 0 (aktiv)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_disabledForIntervals">disabledForIntervals</a> HH:MM-HH:MM HH:MM-HH-MM...</li>
|
||||
Optionales Attribut zur Deaktivierung der Anrufliste innerhalb von bestimmten Zeitintervallen.
|
||||
Das Argument ist eine Leerzeichen-getrennte Liste von Minuszeichen-getrennten HH:MM Paaren (Stunde : Minute).
|
||||
Falls die aktuelle Uhrzeit zwischen diese Werte fällt, dann wird die Ausführung, wie bei <a href="#FB_CALLLIST_disable">disable</a>, ausgesetzt.
|
||||
Statt HH:MM kann man auch HH oder HH:MM:SS angeben.<br><br>
|
||||
Um einen Intervall um Mitternacht zu spezifizieren, muss man zwei einzelne Intervalle angeben, z.Bsp.:
|
||||
<pre>23:00-24:00 00:00-01:00</pre>
|
||||
Standardwert ist <i>nicht gesetzt</i> (dauerhaft aktiv)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_expire-calls-after">expire-calls-after</a> <Zeitfenster></li>
|
||||
Optionales Attribut um beendete Anrufe nach einem angegeben Zeitfenster automatisch aus der Anrufliste zu löschen.
|
||||
Sobald ein beendetes Gespräch älter ist als das angegebene Zeitfenster, wird es automatisch aus der Liste entfernt.
|
||||
<br><br>Ein Zeitfenster kann wie folgt angegeben werden:
|
||||
<ul>
|
||||
<li>als Minuten: <code>1 minute</code> oder <code>30 minutes</code></li>
|
||||
<li>als Stunden: <code>1 hour</code> oder <code>12 hours</code></li>
|
||||
<li>als Tage: <code>1 day</code> oder <code>5 days</code></li>
|
||||
<li>als Monate: <code>1 month</code> oder <code>6 months</code> (ein Monat entspricht hierbei 30 Tagen month is here equal to 30 days)</li>
|
||||
<li>als Jahr: <code>1 year</code> oder <code>2 years</code> (ein Jahr entspricht hierbei 365 Tagen)</li>
|
||||
</ul>
|
||||
<br>
|
||||
<b>WICHTIG:</b> Es wird hierbei der Endezeitpunkt eines Gesprächs betrachtet, nicht der Beginn des Gesprächs.<br><br>
|
||||
|
||||
Wenn keine Einheit angegeben ist, wird die angegebene Zahl als Sekunden interpretiert. Es können auch Fliesskommazahlen mit einem Punkt als Kommastelle angegeben werden (z.B. <code>0.5 day</code>).
|
||||
Der Wert <code>0</code> bedeutet, das keine Gespräche nach einem gewissen Zeitfenster gelöscht werden.<br><br>
|
||||
Standardwert ist 0 (keine Gespräche werden nach einem Zeitfenster gelöscht)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_external-mapping">external-mapping</a> <hash></li>
|
||||
Definiert eine eigene Zuordnung der externen Anschlussbezeichnung (Reading: external_connection) zu eigenen Bezeichnungen. Die Zuordnung erfolgt über eine Hash-Struktur.<br><br>
|
||||
z.B.<br>
|
||||
<ul>
|
||||
<code>attr <name> external-mapping {'ISDN' => 'Festnetz', 'SIP0' => 'Anbieter A', 'SIP1' => 'Anbieter B'}</code>
|
||||
</ul><br>
|
||||
Die jeweils zugeordnete Bezeichnung wird in der Anrufliste dann entsprechend angezeigt anstatt des originalen Werten von FB_CALLMONITOR.
|
||||
<br><br>
|
||||
Standardwert ist <i>nicht gesetzt</i> (Keine Zuordnung, es werden die Originalwerte verwendet)
|
||||
<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_icon-mapping">icon-mapping</a> <hash></li>
|
||||
Definiert eine eigene Zuordnung eines Anrufstatus zu einem Icon. Die Zuordnung erfolgt über eine Hash-Struktur.<br><br>
|
||||
z.B.<br>
|
||||
@ -1412,6 +1549,72 @@ sub FB_CALLLIST_returnTableHeader($)
|
||||
<br><br>
|
||||
Standardwert ist <i>nicht gesetzt</i> (Keine Zuordnung, es werden die Standard-Icons verwendet, sofern Icons akitivert sind)
|
||||
<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_internal-number-filter">internal-number-filter</a> <hash></li>
|
||||
Dieses Attribut ermöglicht das Filtern der angezeigten Anrufe auf bestimmte interne Rufnummern sowie das Zuordnen von Namen zu den internen Rufnummern.<br><br>
|
||||
Es ist möglich eine kommaseparierte Liste an internen Rufnummern anzugeben oder eine Hash-Tabelle in der man den internen Rufnummern eine eigene Bezeichnung zuweist.
|
||||
<br>
|
||||
<br>
|
||||
z.B.<br>
|
||||
<ul>
|
||||
<code>attr <name> internal-number-filter 304050,304060<br><br>
|
||||
attr <name> internal-number-filter {'304050' => 'geschftl.', '304060' => 'privat'}</code>
|
||||
</ul>
|
||||
<br>
|
||||
<b>Wichtig:</b> Je nach Telefonanbieter kann der Wert die Ortsvorwahl enthalten. Die Rufnummer muss genauso angegeben werden, wie sie ohne eine Zuordnung in der Anrufliste auftaucht.<br><br>
|
||||
Wenn dieses Attribut gesetzt ist, werden nur die eingestellten Rufnummern in der Liste angezeigt.
|
||||
<br><br>
|
||||
Standardwert ist <i>nicht gesetzt</i> (alle internen Rufnummern werden angezeigt)
|
||||
<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_list-order">list-order</a> descending,ascending</li>
|
||||
Gibt an ob der neueste Anruf in der ersten Zeile (aufsteigend => descending) oder in der letzten Zeile (absteigend => ascending) in der Liste angezeigt werden soll. Dementsprechend rollt die Liste dann nach oben oder unten durch.<br><br>
|
||||
Standardwert ist "descending" (absteigend, neuester Anruf in der ersten Zeile)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_list-type">list-type</a> all,incoming,outgoing,missed-calls,completed,active</li>
|
||||
Ist dieses Attribut gesetzt, werden nur bestimmte Typen von Anrufen in der Liste angezeigt:<br><br>
|
||||
<ul>
|
||||
<li><code>all</code> - Alle Anrufe werden angezeigt</li>
|
||||
<li><code>incoming</code> - Alle eingehenden Anrufe werden angezeigt (aktive und abgeschlossene)</li>
|
||||
<li><code>outgoing</code> - Alle ausgehenden Anrufe werden angezeigt (aktive und abgeschlossene)</li>
|
||||
<li><code>missed-calls</code> - Alle eingehenden, verpassten Anrufe werden angezeigt.</li>
|
||||
<li><code>completed</code> - Alle abgeschlossenen Anrufe werden angezeigt (eingehend und ausgehend)</li>
|
||||
<li><code>active</code> - Alle aktuell laufenden Anrufe werden angezeigt (eingehend und ausgehend)</li>
|
||||
</ul><br>
|
||||
Standardwert ist "all" (alle Anrufe anzeigen)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_no-heading">no-heading</a> 0,1</li>
|
||||
Sofern aktiviert, wird die Überschriftenzeile ausserhalb der Liste inkl. Link auf die Detail-Seite der aktuellen Definition ausgeblendet.<br><br>
|
||||
Mögliche Werte: 0 => Überschriftenzeile wird angezeigt , 1 => Überschriftenzeile wird ausgeblendet<br>
|
||||
Standardwert ist 1 (Überschriftenzeile wird angezeigt)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_no-table-header">no-table-header</a> 0,1</li>
|
||||
Sofern aktiviert, wird die Kopfzeile der Tabelle für die aktuelle Definition ausgeblendet.<br><br>
|
||||
Mögliche Werte: 0 => Kopfzeile wird angezeigt , 1 => Kopfzeile wird ausgeblendet<br>
|
||||
Standardwert ist 1 (Kopfzeile wird angezeigt)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_number-cmd">number-cmd</a> <Befehl></li>
|
||||
Kann gesetzt werden, um ein FHEM-Befehl oder Perl-Code (in geschweiften Klammern: { ... } ) auszuführen, wenn man auf eine Rufnummer in der Anrufliste klickt.
|
||||
Der Platzhalter <code>$NUMBER</code> wird dabei mit der entsprechenden Rufnummer der jeweiligen Zeile ersetzt.
|
||||
<br><br>
|
||||
Damit kann man beispielsweise einen Rückruf starten.
|
||||
e.g.:<br><br>
|
||||
<ul>
|
||||
<li><code>set FRITZBOX call $NUMBER</code></li>
|
||||
<li><code>{dialNumber("$NUMBER")}</code></li>
|
||||
</ul>
|
||||
<br>
|
||||
Sofern nicht gesetzt, wird kein Link angezeigt.<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_number-of-calls">number-of-calls</a> 1..20</li>
|
||||
Setzt die maximale Anzahl an Einträgen in der Anrufliste. Sollte die Anrufliste voll sein, wird das älteste Gespräch gelöscht.<br><br>
|
||||
Standardwert sind 5 Einträge<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_show-icons">show-icons</a> 0,1</li>
|
||||
Im Normalfall wird der Status eines jeden Anrufs mit einem Icon angezeigt. Dazu muss das openautomation Icon-Set im iconpath-Attribut der entsprechenden FHEMWEB Instanz konfiguriert sein. Sollte man keine Icons wünschen, so kann man diese hiermit abschalten. Der Status wird dann mittels Textzeichen dargestellt.<br><br>
|
||||
Mögliche Werte: 0 => keine Icons , 1 => benutze Icons<br>
|
||||
Standardwert ist 1 (benutze Icons)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_time-format-string">time-format-string</a> <string></li>
|
||||
Definiert einen Formatierungs-String welcher benutzt wird um die Zeitangaben in der Anrufliste nach eigenen Wünschen anzupassen. Es stehen hier eine ganze Reihe an Platzhaltern zur Verfügung um die einzelnen Elemente einer Datums-/Zeitangabe einzeln zu setzen. Die möglichen Werte sind alle Standard POSIX strftime() Platzhalter. Gängige Platzhalter sind:<br><br>
|
||||
<ul>
|
||||
@ -1431,22 +1634,7 @@ sub FB_CALLLIST_returnTableHeader($)
|
||||
Definiert die Sprache in der die Anrufliste angezeigt werden soll (Tabellenkopf, Datum). Die entsprechende Sprache muss auch im Betriebssystem installiert und unterstützt werden.<br><br>
|
||||
Mögliche Werte: en => Englisch , de => Deutsch<br>
|
||||
Standardwert ist en (Englisch)<br><br>
|
||||
<li><a name="FB_CALLLIST_number-cmd">number-cmd</a> <Befehl></li>
|
||||
Kann gesetzt werden, um ein FHEM-Befehl oder Perl-Code (in geschweiften Klammern: { ... } ) auszuführen, wenn man auf eine Rufnummer in der Anrufliste klickt.
|
||||
Der Platzhalter <code>$NUMBER</code> wird dabei mit der entsprechenden Rufnummer der jeweiligen Zeile ersetzt.
|
||||
<br><br>
|
||||
Damit kann man beispielsweise einen Rückruf starten.
|
||||
e.g.:<br><br>
|
||||
<ul>
|
||||
<li><code>set FRITZBOX call $NUMBER</code></li>
|
||||
<li><code>{dialNumber("$NUMBER")}</code></li>
|
||||
</ul>
|
||||
<br>
|
||||
Sofern nicht gesetzt, wird kein Link angezeigt.<br><br>
|
||||
<li><a name="FB_CALLLIST_show-icons">show-icons</a> 0,1</li>
|
||||
Im Normalfall wird der Status eines jeden Anrufs mit einem Icon angezeigt. Dazu muss das openautomation Icon-Set im iconpath-Attribut der entsprechenden FHEMWEB Instanz konfiguriert sein. Sollte man keine Icons wünschen, so kann man diese hiermit abschalten. Der Status wird dann mittels Textzeichen dargestellt.<br><br>
|
||||
Mögliche Werte: 0 => keine Icons , 1 => benutze Icons<br>
|
||||
Standardwert ist 1 (benutze Icons)<br><br>
|
||||
|
||||
<li><a name="FB_CALLLIST_visible-columns">visible-columns</a> row,state,timestamp,name,number,internal,external,connection,duration</li>
|
||||
Legt fest, welche Spalten in welcher Reihenfolge (von links nach rechts) in der Anrufliste angezeigt werden sollen.
|
||||
Es müssen nicht alle verfügbaren Spalten angezeigt werden.
|
||||
@ -1457,15 +1645,7 @@ sub FB_CALLLIST_returnTableHeader($)
|
||||
<br><br>
|
||||
Mögliche Werte: Eine Kombination der folgenden Werte in der gewünschten Reihenfolge: <code>row,state,timestamp,name,number,internal,external,connection,duration</code><br>
|
||||
Standardwert ist "row,state,timestamp,name,number,internal,external,connection,duration" (Anzeige aller Spalten)<br><br>
|
||||
<li><a name="FB_CALLLIST_no-heading">no-heading</a> 0,1</li>
|
||||
Sofern aktiviert, wird die Überschriftenzeile ausserhalb der Liste inkl. Link auf die Detail-Seite der aktuellen Definition ausgeblendet.<br><br>
|
||||
Mögliche Werte: 0 => Überschriftenzeile wird angezeigt , 1 => Überschriftenzeile wird ausgeblendet<br>
|
||||
Standardwert ist 1 (Überschriftenzeile wird angezeigt)<br><br>
|
||||
<li><a name="FB_CALLLIST_no-table-header">no-table-header</a> 0,1</li>
|
||||
Sofern aktiviert, wird die Kopfzeile der Tabelle für die aktuelle Definition ausgeblendet.<br><br>
|
||||
Mögliche Werte: 0 => Kopfzeile wird angezeigt , 1 => Kopfzeile wird ausgeblendet<br>
|
||||
Standardwert ist 1 (Kopfzeile wird angezeigt)<br><br>
|
||||
</ul>
|
||||
</ul>
|
||||
<br>
|
||||
<a name="FB_CALLLIST_events"></a>
|
||||
<b>Generierte Events:</b><br><br>
|
||||
|
Loading…
x
Reference in New Issue
Block a user