Get AvmOnTelCallList - Gincules/avmtools GitHub Wiki

Get-AvmOnTelCallList

Synopsis

Action: GetCallList
Available on: ✅ FRITZ!Box / đŸšĢ FRITZ!Repeater
Status: ✅
Remote access: ✅
Required rights: â˜Žī¸

Description

This function returns url which leads to an xml formatted file which contains all entries of the call list.

The URL can be extended to limit the number of entries in the XML call list file. E.g. max=42 would limit to 42 calls in the list.

If the parameter is not set or the value is 0 all calls will be inserted into the call list file. The URL can be extended to fetch a limited number of entries using the parameter days. E.g. days=7 would fetch the calls from now until 7 days in the past.

If the parameter is not set or the value is 0 all calls will be inserted into the call list file. The parameter NewCallListURL is empty, if the feature (CallList) is disabled. If the feature is not supported an internal error (820) is returned. In the other case the URL is returned.

Output:

Data type Variable Example
String u urn:dslforum-org:service:X_AVM-DE_OnTel:1
String NewCallListURL https://myfritzaddress12.myfritz.net:12345/tr064/calllist.lua?sid=12ab3cd45ef6g78h

Syntax

Get-AvmOnTelCallList
    [-Insecure]
    [-RemoteAccess]
    [-Url <String>]
    [-Port <Ushort>]
    [-Credential <PSCredential>]

Examples

Example 1

This example describes how to run the command using a valid certificate and remote access.

[PSCredential]$Credential = Import-Clixml -Path "${env:APPDATA}\PScred\avmtools-credential.xml"

$splatParameters = @{
    RemoteAccess = $true
    Url = "https://myfritzaddress12.myfritz.net"
    Port = 443
    Credential = $Credential
}

Get-AvmOnTelCallList @splatParameters

Example 2

This example describes how to run the command using local connection with a valid certificate.

[PSCredential]$Credential = Import-Clixml -Path "${env:APPDATA}\PScred\avmtools-credential.xml"

$splatParameters = @{
    Url = "https://fritz.box"
    Port = 49443
    Credential = $Credential
}

Get-AvmOnTelCallList @splatParameters

IP address can be used instead of DNS name.

[PSCredential]$Credential = Import-Clixml -Path "${env:APPDATA}\PScred\avmtools-credential.xml"

$splatParameters = @{
    Url = "https://192.168.178.1"
    Port = 49443
    Credential = $Credential
}

Get-AvmOnTelCallList @splatParameters

Example 3

This example describes how to run the command using local connection without a valid certificate.

[PSCredential]$Credential = Import-Clixml -Path "${env:APPDATA}\PScred\avmtools-credential.xml"

$splatParameters = @{
    Insecure = $true
    Url = "http://fritz.box"
    Port = 49000
    Credential = $Credential
}

Get-AvmOnTelCallList @splatParameters

IP address can be used instead of DNS name.

[PSCredential]$Credential = Import-Clixml -Path "${env:APPDATA}\PScred\avmtools-credential.xml"

$splatParameters = @{
    Insecure = $true
    Url = "http://192.168.178.1"
    Port = 49000
    Credential = $Credential
}

Get-AvmOnTelCallList @splatParameters
âš ī¸ **GitHub.com Fallback** âš ī¸