Professional Documents
Culture Documents
Copyright Aarenet AG., Niederwangen, Switzerland. Copying of this document or parts of it is prohibited.
Table of Contents:
1
1.1
1.2
Audience ....................................................................................................................................... 3
1.3
1.4
1.5
Feedbacks ..................................................................................................................................... 4
2.1
2.1.1
2.1.2
2.1.3
2.1.4
2.2
2.3
2.4
2.4.1
2.4.2
2.4.3
2.4.4
2.5
2.5.1
2.5.2
2.5.3
2.5.4
2.6
2.6.1
2.6.2
2.6.3
2.6.4
2.7
2.7.1
2.7.2
2.7.3
2.7.4
2.8
2.8.1
2.8.2
2.8.3
2.8.4
2.9
2.10
2.11
2.12
2.13
2.14
Copyright Aarenet AG
2/52
1.1
The document describes the operational configuration of the Aarenet VoIP Switch via the DAML interface of
the DataAccessCenter.
1.2
Audience
Application developers who program 3rd-party applications that configures the Aarenet VoIP
Switch.
Copyright Aarenet AG
3/52
1.3
Document Conventions
Note:
Warning:
Warnings to situations which may cause danger of injury, device damage or data
loss.
Warnings to situations which may cause interruptions of the telephony service for
the subscriber.
C
V
1.4
Configuration:
Tip to a configuration situation which is not intuitively recognizable.
Version:
Tip to a situation which is dependent of the Aarenet VoIP System software version.
This documentation and PC applications can be obtained by means of e-mail from the Aarenet support or the
Aarenet download site:
support@aarenet.com
http://www.aarenet.com/downloads
1.5
Feedbacks
Comments, suggestions, error messages can be reported via e-mail to Aarenet support:
support@aarenet.com
Copyright Aarenet AG
4/52
2.1
2.1.1
Overview
The DataAccessCenter DAC is a HTTP/HTTPS based interface which allows 3rd-party applications to access the operational data of the Aarenet VoIP Switch. It is predestined therefore for the binding of a CRM
system of the operator to the Aarenet VoIP Switch.
The DataAccessCenter DAC offers with the DAML interface (Data Access Markup Language DAML) an API
to access and to configure operational data of the Aarenet VoIP Switch.
The following features distinguish the DataAccessCenter:
The DAML interface allows the configuration of all parameters of the VoIP Switch.
For the immediate use DAML-Formats are prepared for managing of account, phone numbers
and other often used features.
If required, customized in- and output formats can be created with XLST. To provide e.g. read
out CDR data in a HTML-formatted file.
2.1.2
For the following operative parameters are prepared DAML-Formats ready. These DAML-Formats are described in this document in detail:
DAML-Format "Account":
For the creation and treatment of customers account
DAML-Format "Address"
For the creation and treatment of public and internal phone numbers in customer accounts and
vPBX
DAML-Format "Group":
For the creation and treatment of vPBX
Other DAML-Formats can be enabled in arrangement with the Aarenet project manager or support. These
DAML-Formats aren't described in this document:
Routing Tables:
For the creation and treatment of Routing tables
Price Lists:
For the creation and treatment of price-lists
Copyright Aarenet AG
5/52
2.1.3
By means of DAML-Queries special configured operational data can be interrogated. The following DAMLQueries are described in detail in this document:
Account:
Query of all account names
Connection list:
Query of the CDR of the last N connections of a phone number
Rule Set:
Query of the available Rule Set
Announcements:
Query of the announcements which are associated to a phone number.
Further DAML-Queries can be created in arrangement with the Aarenet project manager or support.
2.1.4
2.1.4.1
XML-Formatting
The DAML documents are XML1 formatted documents. Remarks for the production of a DAML document:
The basic rules of the XML standards are valid, version XML 1.0
If XML elements are not provided during the creation of an instance, the default value of the
VoIP Switch is considered.
2.1.4.2
XSLT-Converting
The aim of XLST consists in the fact that the command and response formats from and toward a CRM application remain stable. Therefore, it is a goal that only those parameters are visible which are treated.
With XLST a XML document can be converted into another XML document. With the DAML interface it is
possible to treat incoming XML documents, e.g. from a CRM application, with defined XLST commands, before they are processed as DAML formats. Vice versa outgoing XML documents can be reworked with defined XLST commands and the result sent to the CRM application.
XLST conversions must be developed and checked in corporation with the Aarenet
engineering.
Copyright Aarenet AG
6/52
2.2
To grant an external application access to the operational data via DataAccessCenter an authorization at
component level must be set up:
1.
2.
Group-based Authorization:
Defines to which groups the external application has access.
3.
4.
Edit permissions:
Defines which editing permissions (create, read, write, delete of data records) the external application has.
5.
N
2.3
For the DataAccessCenter the URL must have the following form:
DAML Access:
https://<IP_ADDRESS_FQDN>:8447/dataaccesscenter
Example:
https://192.168.1.1:8447/dataaccesscenter
https://dac.provider.com:8447/dataaccesscenter
Element:
Value Range:
Description:
<IP_ADDRESS_F
QDN>
String:
IP Address
FQDN
Copyright Aarenet AG
7/52
2.4
2.4.1
HTTP-DIGEST Authentication
Prior the transfer of data an application has to use the HTTP-Digest authentication before it can use the assigned DAML-format.
2.4.2
The application must transmit its instructions with a HTTP-POST-Request toward the DataAccessCenter. By
the use of the directive POST big data volumes can be transmitted in the HTTP body. Moreover, they are not
visible in the URL.
2.4.2.1
The command what the DAML interface has to do with the transmitted data is transferred in a XML formatted
DAML-directive:
DAML-Document:
<daml command="DAML_DIRECTIVE" >
. . .
</daml>
Example:
<daml command="read">
<account>
<accountName>acc0001</accountName>
</account>
</daml>
Element:
Value Range:
Description:
DAML_DIRECTIV
E
Selection List:
write
read
delete
DAML Directive
Mandatory configuration!
write:
The given data should be written. This directive creates or modifies instances.
Read:
The given data should be read and delivered.
delete:
The given data should be deleted.
2.4.3
DAMl-Queris permit the queries of data which cannot be determined with usual DAML-Directives, e.g. connections list.
DAML-Queries are executed with HTTP GET Requests.
Copyright Aarenet AG
8/52
DAML-Query:
https://<IP_ADDRESS_FQDN>:8447/dataaccesscenter/daml?query=DAML_QUERY_NAME
Example:
https://dac.provider.com:8447/dataaccesscenter/daml?query=emergencyLocations
2.4.4
After the data were successfully transmitted and treated, the response code 200 OK is returned.
In the case of an error a code "4xx <ERROR_DESCRIPTION>" or "5xx <ERROR_DESCRIPTION>" is returned, e.g., "500 Internal Server Error".
If the cause of the problem is not deductive from the error message, the error situation can be examined
from the information in the log file of the component DataAccessCenter.
2.5
DAML-Format: Account
2.5.1
Introduction
create an account
delete an account
modify an account
read an account
The SIP addresses (phone numbers) which are associated with the account are treated with the DAMLformat "Address" (see chapter 2.6).
2.5.2
Mandatory is the XML field <accountName> which identifies the account unambiguously.
Example:
<account>
<accountName>an-acc-0001</accountName>
Copyright Aarenet AG
9/52
<tenant>Aarenet</tenant>
. . .
</account>
2.5.3
2.5.3.1
Create an Account
DAML-Document:
All available Parameter for Account see: Chapter 2.5.4
<daml command="write" >
<account>
<accountName>ACC_NAME</accountName>
<tenant>ACC_TENANT</tenant>
<info>ACC_INFO</info>
<username>ACC_SIP_USERNAME</username>
<password>ACC_SIP_PASSWORD</password>
<maxChannels>ACC_CHANNEL</maxChannels>
<emergencyLocation>ACC_LOCATION</emergencyLocation>
<routingTable>ACC_ROUTINGTABLE</routingTable>
<ruleset>ACC_RULSET</ruleset>
<pricelist>ACC_PRICELIST</pricelist>
<sendAoc>ACC_AOC</sendAoc>
<sysAccountTopStop>
<type>TOPSTOP_USER_TYPE</type>
<valueMax>TOPSTOP_MAX</valueMax>
<alarmLevel>TOPSTOP_ALARM_LEVEL</alarmLevel>
<alarmEmail>TOPSTOP_EMAIL</alarmEmail>
<valueCurrent>TOPSTOP_CURRENT_VALUE</valueCurrent>
</sysAccountTopStop>
<validAfter>ACC_VALID_AFTER</validAfter>
<validUntil>ACC_VALID_UNTIL</validUntil>
<specialArrangement>ACC_SPECIAL_ARRAGEMENT</specialArrangement>
<alarmOnExpiry>ACC_ALARM_ON_EXPIRY</alarmOnExpiry>
<useMediaServer>ACC_USE_MEDIA_SERVER</useMediaServer>
<maliciousCallerId>ACC_MCID</maliciousCallerId>
<accountAdmin>
<username>ACC_SUBSC_USERNAME</username>
<password>ACC_SUBSC_PASSWORD</password>
<language>ACC_SUBSC_LANGUAGE</language>
</accountAdmin>
<callForward>
<name>CF_NAME</name>
<type>CF_TYPE</type>
<priority>CF_PRIORITY</priority>
<delay>CF_DELAY</delay>
<destPattern>CF_DESTINATION_PATTERN</destPattern>
<sourcePattern>CF_SOURCE_PATTERN</sourcePattern>
<sourcePresentationPattern>CF_SOURCE_PRES_PATTERN</sourcePresentationPattern>
<destReplace>CF_DESTINATION_REPLACE</destReplace>
<timePattern>CF_TIME_PATTERN</timePattern>
<propagateBusy>CF_PROPAGATE_BUSY</propagateBusy>
Copyright Aarenet AG
10/52
<parallelCall>CF_PARALLEL_CALL</parallelCall>
<alwaysRing>CF_ALWAYS_RING</alwaysRing>
<lastDiversion>CF_LAST_DIVERSION</lastDiversion>
</callForward>
</account>
</daml>
<!--GN0355 Kniz-->
<routingTable>Route to PSTN</routingTable>
<ruleset>Subscriber</ruleset>
<ruleset>Block : 09xx</ruleset>
<pricelist>Standard Pricelist</pricelist>
<sendAoc>true</sendAoc>
<sysAccountTopStop>
<type>SYS</type>
<valueMax>100.00</valueMax>
<alarmLevel>0.7</alarmLevel>
<alarmEmail>support@aarenet.com</alarmEmail>
</sysAccountTopStop>
<validAfter>2013-04-14T10:29:00</validAfter>
<validUntil/>
<specialArrangement>false</specialArrangement>
<alarmOnExpiry>false</alarmOnExpiry>
<useMediaServer>false</useMediaServer>
<maliciousCallerId>false</maliciousCallerId>
<accountAdmin>
<username>acc-21</username>
<password>acc-21-password</password>
<language>en</language>
</accountAdmin>
</account>
</daml>
2.5.3.2
DAML-Document:
<daml command="write" >
<account>
<accountName>ACC_NAME</accountName>
. . .
All available Parameter for Account see: Chapter 2.5.3.5
. . .
</account>
</daml>
Copyright Aarenet AG
11/52
2.5.3.3
Read an Account
DAML-Document:
<daml command="read">
<account>
<accountName>ACC_NAME</accountName>
</account>
</daml>
Example:
<daml command="read">
<account>
<accountName>an-acc-0021</accountName>
</account>
</daml>
2.5.3.4
Delete an Account
DAML-Document:
<daml command="delete">
<account>
<accountName>ACC_NAME</accountName>
</account>
</daml>
Example:
<daml command="delete">
<account>
<accountName>an-acc-0021</accountName>
</account>
</daml>
Copyright Aarenet AG
12/52
2.5.3.5
Special Cases
If within an account a TopStop has to be deleted all other configured TopStops of this account
must be deleted too.
2.5.4
2.5.4.1
XML Field:
Value Range:
Description:
<accountName>
ACC_NAME
</accountName
>
String:
Account
Name
<tenant>
ACC_TENANT
</tenant>
String:
Void
Mandant
<info>
ACC_INFO
</info>
String:
Void
Information
Any information
<username>
ACC_SIP_USERN
AME
</username>
String:
SIP User
Void (Default):
Information:
Arbitrary string; max. 128 characters
Mandatory configuration!
The SIP user name must be unique!
SIP User:
Arbitrary string; max. 32 characters
<password>
ACC_SIP_PASSW
ORD
</password>
String:
SIP Password
SIP password
Mandatory configuration!
SIP Password:
Arbitrary string; max. 32 characters
<maxChannels>
ACC_CHANNEL
</maxChannels
>
Number:
Void
Number of
Channel
Copyright Aarenet AG
13/52
XML Field:
Value Range:
Description:
Number of Channel:
Value Range:
0 :no channels
>=1 : Exact number of channels
<emergencyLoc
ation>
ACC_LOCATION
</emergencyLo
cation>
Selection List:
Void
Ort
A configured emergency location of the defined emergency call regions can be selected.
The emergence location must be already configures in the emergency call configuration of the VoIP Switch!
Void (Default):
The system-wide default emergency location is
used.
Ort:
Defined emergency location; max. 64 characters
2.5.4.2
XML Field:
Value Range:
Description:
<routingTable
>
ACC_ROUTINGTA
BLE
</routingTabl
e>
Selection List:
Routing
Table
<ruleset>
. . .
</ruleset>
<ruleset>
ACC_RULSET
</ruleset>
<pricelist>
ACC_PRICELIST
</pricelist>
Selection List:
Void
Price List
Copyright Aarenet AG
14/52
XML Field:
Value Range:
Description:
<sendAoc>
ACC_AOC
</sendAoc>
Boolean:
false
true
2.5.4.3
XML Field:
Value Range:
Description:
<validAfter>
ACC_VALID_AFT
ER
</validAfter>
Date/Time:
Void
Account
Valid From
<validUntil>
ACC_VALID_UNT
IL
</validUntil>
Date/Time:
Void
Account
Valid Until
<specialArran
gement>
ACC_SPECIAL_A
RRAGEMENT
</specialArra
ngement>
Boolean:
false
true
Copyright Aarenet AG
15/52
XML Field:
Value Range:
Description:
false (Default):
The feature is not activated.
true:
The feature is activated.
<alarmOnExpir
y>
ACC_ALARM_ON_
EXPIRY
</alarmOnExpi
ry>
Boolean:
false
true
<useMediaServ
er>
ACC_USE_MEDIA
_SERVER
</useMediaSer
ver>
Boolean:
false
true
<maliciousCal
lerId>
ACC_MCID
</maliciousCa
llerId>
Boolean:
false
true
Is the feature Use always Media Server activated then all media
streams will be routed via a MediaServer of the Aarenet VoIP
Switch
false (Default):
The feature is not activated.
true:
The feature is activated.
Is the feature Force Call ID (MCID) activated then the CLIP of all
incoming anonymous calls to this account is reactivated (CLIR
CLIP), if possible
According to the juridical situation of a country this feature may
not or only used restrictedly! The prescribed legal action has to
be observed!
false (Default):
The feature is not activated.
true:
The feature is activated.
<accountAdmin
>
. . .
</accountAdmi
n>
<username>
ACC_SUBSC_USE
RNAME
</username>
For the customer account operator the operative access to the account and its addresses is unlocked.
They will be enabled to do limited operative configurations via:
AdminCenter
SubscriberCenter
String:
Void
Account
User
<password>
ACC_SUBSC_PAS
SWORD
</password>
String:
Void
Account
Password
Copyright Aarenet AG
16/52
XML Field:
Value Range:
Description:
Arbitrary string; max. 128 characters
<language>ACC
_SUBSC_LANGUA
GE</language>
2.5.4.4
Selection List:
en
de
XML Field:
Value Range:
<sysAccountTo
pStop>
. . .
</sysAccountT
opStop>
<type>
TOPSTOP_USER
</type>
Description:
Any number of TopStop can be associated with an account.
The XML field <sysAccountTopStop> can be defined n times
within an account container therefore.
Selection List:
SYS
ACC
ADD
<valueMax>
TOPSTOP_MAX
</valueMax>
Decimal Number:
Void
TopStop
Maximum
Value
Defines the charging limit per month for the account. It may not be
exceeded by the charging sum of all connections of this account.
At the beginning of each month the charging limit is reset.
An email is generated if the charging limit is reached and an email
address is defined.
Void (Default):
No charging limit is superviced
TopStop Maximum Value:
Maximal charging limit
Value Range: >= 0.00
Copyright Aarenet AG
17/52
XML Field:
Value Range:
Description:
<alarmLevel>
TOPSTOP_ALARM
_LEVEL
</alarmLevel>
Decimal Number:
Void
TopStop
Alarm Level
<alarmEmail>
TOPSTOP_EMAIL
</alarmEmail>
<valueCurrent
>
TOPSTOP_CURRE
NT_VALUE
</valueCurren
t>
2.5.4.5
String:
Void
Email
Adresse
Decimal Number:
TopStop
Current
Value
Void (Default):
No email will be sent.
Email address:
At overrun of the level and the charging limit an email is sent; max. 64 characters.
XML Field:
Value Range:
<accountAttri
bute>
. . .
</accountAttr
ibute>
<name>
ACC_ATTRIBUTE
_NAME
</name>
Description:
Any number of attributes can be assigned to an account.
The XML field <accountAttribute> can be defined n times within an account container therefore.
String:
Attribute
Name
Copyright Aarenet AG
18/52
XML Field:
Value Range:
Description:
<value>
ACC_ATTRIBUTE
_VALUE
</value>
String:
Attribute
Value
Beliebige Information.
Attribute Value:
Any information; max. 256 characters.
2.6
DAML-Format: Address
2.6.1
Introduction
create an address
delete an address
modify an address
read an address
2.6.2
Mandatory is the XML field is <account> which identifies the account unambiguously.
Mandatory is the XML field is <number> which identifies the address (phone number) unambiguously.
Example:
<address>
<number>0123456789</number>
<account>an-acc-0001</account>
. . .
</address>
Copyright Aarenet AG
19/52
2.6.3
2.6.3.1
Create an Address
DAML-Document:
All available Parameter for Address see: Chapter 2.6.4
<daml command="write" >
<address>
<number>ADD_NUMBER</number>
<account>ACC_NAME</account>
<domain>ADD_DOMAIN</domain>
<displayName>ADD_DISP_NAME</displayName>
<showClip>ADD_SHOW_CLIP</showClip>
<hideClip>ADD_HIDE_CLIP</hideClip>
<language>ADD_LANGUAGE</language>
<mainNumber>ADD_MAIN_NUMBER</mainNumber>
<registersViaMainNumber>ADD_REG_VIA_MAIN</registersViaMainNumber>
<baseNumber>ADD_BASE_NUMBER</baseNumber>
<preferredNumber>ADD_PREF_NUMBER</preferredNumber>
<validAfter>ADD_VALID_AFTER</validAfter>
<validUntil>ADD_VALID_UNTIL</validUntil>
<portoutNumber>ADD_PORT_OUT_NUMBER<portoutNumber/>
<singleLocation>ADD_SINGLE_REGISTRATION</singleLocation>
<balancedRouting>ADD_BALANCED_ROUTING</balancedRouting>
<disabled>ADD_DISABLED_ADDRESS</disabled>
<blocked>ADD_OUTGOING_BLOCKED</blocked>
<noOfferOnBusy>ADD_NO_OFFER_ON_BUSY</noOfferOnBusy>
<signalingOnly>ADD_SIGNALING_ONLY</signalingOnly>
<cfu>ADD_CFU_SHORT</cfu>
<cfb>ADD_CFB_SHORT</cfb>
<cfnr>ADD_CFNR_SHORT</cfnr>
<cfo>ADD_CFO_SHORT</cfo>
<cff>ADD_CFF_SHORT</cff>
<dnd>ADD_DND</dnd>
<rrn>ADD_RRN</rrn>
<addressAdmin>
<username>ADD_SUBSC_USERNAME</username>
<password>ADD_SUBSC_PASSWORD</password>
<language>ADD_SUBSC_LANGUAGE</language>
</addressAdmin>
<messageBox>
<pin>ADD_VM_PIN</pin>
<email>ADD_VM_EMAIL</email>
<autoAuthentication>ADD_VM_AUTO_AUTH</autoAuthentication>
<blocked>ADD_VM_BLOCK</blocked>
<signalNewMessage>ADD_VM_SIG_NEW_MESSAGE</signalNewMessage>
<subscribedMwiOnly>ADD_VM_MWI_ONLY</subscribedMwiOnly>
<language>ADD_VM_LANGUAGE</language>
<skipMessageMenu>ADD_VM_SKIP_MESSAGE_MENU</skipMessageMenu>
Copyright Aarenet AG
20/52
</messageBox>
<pbx>VPBX_PBX_GROUP</pbx>
<groupMember>VPBX_MEMBER_OF_GROUP</groupMember>
<privateNumber>VPBX_PRIVATE_ADD</privateNumber>
<publicClip>VPBX_PUBLIC_CLIP</publicClip>
<queueLen>VPBX_QUEUE_LENGTH</queueLen>
n-mal
<monitorGroup>VPBX_MONITOR_GROUP</monitorGroup>
<presenceGroup>VPBX_PRESENCE_GROUP</presenceGroup>
<messageGroup>VPBX_MESSAGE_GROUP</messageGroup>
<mgcpProfile>ADD_MGCP_PROFILE</mgcpProfile>
<endpointName>ADD_MGCP_ENDPOINT</endpointName>
<callWaiting>ADD_MGCP_CALL_WAIT</callWaiting>
<callHold>ADD_MGCP_CALL_HOLD</callHold>
<sysAddressTopStop>
<type>TOPSTOP_USER_TYPE</type>
<valueMax>TOPSTOP_MAX</valueMax>
<alarmLevel>TOPSTOP_ALARM_LEVEL</alarmLevel>
<alarmEmail>TOPSTOP_EMAIL</alarmEmail>
<valueCurrent>TOPSTOP_CURRENT_VALUE</valueCurrent>
</sysAddressTopStop>
<location>
<userAgent>ADD_REG_USER_AGENT</userAgent>
<receivedAddress>ADD_REG_IP_ADDRESS</receivedAddress>
<q>ADD_REG_Q_VALUE</q>
<behindNat>ADD_REG_BEHIND_NAT</behindNat>
</location>
</address>
</daml>
2.6.3.2
DAML-Document:
<daml command="write" >
<address>
<number>ADD_NUMBER</number>
<account>ACC_NAME</account>
. . .
All available Parameter for Address see: Chapter 2.6.4
. . .
</address>
</daml>
Copyright Aarenet AG
21/52
2.6.3.3
Read an Address
DAML-Document:
<daml command="read" >
<address>
<number>ADD_NUMBER</number>
<account>ACC_NAME</account>
</address>
</daml>
Example:
<daml command="read" >
<address>
<number>0123456789</number>
<account>an-acc-0021</account>
</address>
</daml>
2.6.3.4
Delete an Address
DAML-Document:
<daml command="delete" >
<address>
<number>ADD_NUMBER</number>
<account>ACC_NAME</account>
</address>
</daml>
Example:
<daml command="delete" >
<address>
Copyright Aarenet AG
22/52
<number>0123456789</number>
<account>an-acc-0021</account>
</address>
</daml>
2.6.3.5
Special Cases
If within an address a TopStop has to be deleted all other configured TopStops of this account
must be deleted too.
Werden die XML Fields folgender vereinfachter Anrufweiterleitungen gelscht oder modifiziert,
so werden die Anrufverteilungen des mit der Adresse assozierten Account gelscht:
If the XML field of the following simplified call forwardings is deleted or modified, then all call distributions of the account which is associated with this address are deleted:
<cfu>ADD_CFU_SHORT</cfu>
<cfb>ADD_CFB_SHORT</cfb>
<cfnr>ADD_CFNR_SHORT</cfnr>
<cfo>ADD_CFO_SHORT</cfo>
<cff>ADD_CFF_SHORT</cff>
Furthermore required call forwardings and call distributions must be written again.
2.6.4
2.6.4.1
XML Field:
Value Range:
Description:
<account>
ACC_NAME
</account>
String:
Account
Name
<number>
ADD_NUMBER
</number>
String:
SIP Number
Mandatory configuration!
Void (Default):
Invalid configuration
SIP Number:
Arbitrary string; max. 50 characters
Copyright Aarenet AG
23/52
XML Field:
Value Range:
Description:
<domain>
ADD_DOMAIN
</domain>
String:
Void
IP Address
FQDN
Void (Default):
IP Address:
Arbitrary string; max. 128 characters
FQDN:
Arbitrary string; max. 128 characters
<displayName>
ADD_DISP_NAME
</displayName
>
String:
Void
Display
Name
Boolean:
true
false
<hideClip>
ADD_HIDE_CLIP
</hideClip>
Boolean:
true
false
These two parameters determine whether and how the CLIP of the
calling is modified by the Aarenet VoIP Switch.
ADD_SHOW_CLIP: false (Default)
ADD_HIDE_CLIP: false (Default)
CLIP will not be changed
ADD_SHOW_CLIP: true
ADD_HIDE_CLIP: false
CLIP will be always shown permanent CLIP
ADD_SHOW_CLIP: false
ADD_HIDE_CLIP: true
CLIP will be never shown permanent CLIR
ADD_SHOW_CLIP: true
ADD_HIDE_CLIP: true
Invalid, the result is undefined!
<language>
ADD_LANGUAGE
</language>
<mainNumber>
ADD_MAIN_NUMB
ER
</mainNumber>
Selection List:
de
en
fr
it
Defines the used language for inband information, which are played
by the Aarenet VoIP Switch, e.g. The subscriber is not wanted to
be disturbed at the moment
Boolean:
true
false
de:
en:
fr:
it:
German
English
France
Italian
If a CPE registers the main number with the correct SIP Credentials
at the account, then the main number and all other numbers
Copyright Aarenet AG
24/52
XML Field:
Value Range:
Description:
which are selected with registered via main number are automatically registered.
Per account there can be only one main number!
false (Default):
The number must be registered by a CPE.
true:
The number must be registered by a CPE. Also
all numbers of the account with
ADD_REG_VIA_MAIN are automatically registered.
<registersVia
MainNumber>
ADD_REG_VIA_M
AIN
</registersVi
aMainNumber>
Boolean:
true
false
<baseNumber>
ADD_BASE_NUMB
ER
</baseNumber>
Boolean:
true
false
012345
Regexp: 012345.*
Boolean:
true
false
Copyright Aarenet AG
25/52
2.6.4.2
XML Field:
Value Range:
Description:
<validAfter>
ADD_VALID_AFT
ER
</validAfter>
Date/Time:
Void
Address
Valid From
Void (Default):
The number is active.
Address Valid From:
The number is active starting at Date/Time.
Text-Format:
The format conforms to the XML standardxmlDateTime Data Type:
yyyy-MM-dd'T'HH:mm:ss
Example: 2013-04-14T10:29:00
<validUntil>
ADD_VALID_UNT
IL
</validUntil>
Date/Time:
Void
Address
Valid Until
<portoutNumbe
r>
ADD_PORT_OUT_
NUMBER
<portoutNumbe
r/>
String:
Void
Port Out
Number
When ADD_PORT_OUT_NUMBER is defined and the number deactivated with Date/Time ADD_VALID_UNTIL then the Aarenet VoIP
Switch will redirect an incoming call toward this number back into
the PSTN.
According the settings of the ServiceCenter component this
ADD_PORT_OUT_NUMBER is part of a rewriting rule which is applied to the destination number before the call is redirected toward the PSTN.
In Switzerland the NPRN of the new provider is set
Example:
Void (Default):
Port Out Number:
Arbitrary string; max. 50 characters
<singleLocati
on>
ADD_SINGLE_RE
Boolean:
true
false
Copyright Aarenet AG
26/52
XML Field:
Value Range:
GISTRATION
</singleLocat
ion>
Description:
Several CPE can register on the number.
false:
Only one CPE is allowed to register on the
number.
<balancedRout
ing>
ADD_BALANCED_
ROUTING
</balancedRou
ting>
Boolean:
true
false
<disabled>
ADD_DISABLED_
ADDRESS
</disabled>
Boolean:
true
false
When the CPE provides with the registration a Q value then incoming connections are routed to that CPE which has delivered the biggest q value.
false (Default):
The Q value delivered by the CPE is not considered.
true:
The Q value delivered by the CPE is considered.
The number is disabled for incoming and outgoing connections.
This number cannot be created a second time on this Aarenet VoIP
Switch.
This feature can be used for a reservation of a number.
false (Default):
The number is not disabled.
true:
The number is disabled.
<blocked>
ADD_OUTGOING_
BLOCKED
</blocked>
Boolean:
true
false
<noOfferOnBus
y>
ADD_NO_OFFER_
ON_BUSY
</noOfferOnBu
sy>
Boolean:
true
false
<signalingOnl
y>
ADD_SIGNALING
_ONLY
</signalingOn
ly>
Boolean:
true
false
<cfu>
ADD_CFU_SHORT
</cfu>
String:
CF Destination
Number
The number cannot start outgoing connections. Incoming connection to this number are routed normally.
false (Default):
The number is not disabled for outgoing connections.
true:
The number is disabled for outgoing connections.
When the number is in an active connection then newly incoming
connections are not offered.
false (Default):
Incoming calls are always offered.
true:
If a connection is active no new incoming
connections are offered.
The number can be used only for outgoing connections.
Incoming connections to this number are rerouted toward the PSTN
false (Default):
The number can handle incoming and outgoing
connections.
true:
The number can handle only outgoing connections.
Configures a general Unconditional Call Forwarding CFU to the
redirection destination.
This call forwarding is valid for all phone numbers of the account.
Copyright Aarenet AG
27/52
XML Field:
Value Range:
Description:
It is automatically configured with the default DAML priority for Call
Forwarding.
For complex call forwarding see chapter 2.7
Follow the special procedure by modifying or deleting of this redirection, see chapter 2.6.3.5
CF Destination Number:
Arbitrary string; max. 50 characters
<cfb>
ADD_CFB_SHORT
</cfb>
String:
CF Destination
Number
<cfnr>
ADD_CFNR_SHOR
T
</cfnr>
String:
CF Destination
Number
<cfo>
ADD_CFO_SHORT
</cfo>
String:
CF Destination
Number
<cff>
ADD_CFF_SHORT
</cff>
String:
CF Destination
Number
Configures a general Call Forwarding Fall Back CFFto the redirection destination.
This call forwarding is valid for all phone numbers of the account.
It is automatically configured with the default DAML priority for Call
Forwarding Fall Back CFF.
For complex call forwarding see chapter 2.7
Follow the special procedure by modifying or deleting of this redirection, see chapter 2.6.3.5.
CF Destination Number:
Arbitrary string; max. 50 characters
Copyright Aarenet AG
28/52
XML Field:
Value Range:
Description:
<dnd>
ADD_DND
</dnd>
Boolean:
true
false
<rrn>
ADD_RRN
</rrn>
Boolean:
true
false
<addressAdmin
>
. . .
<addressAdmin
>
<username>
ADD_SUBSC_USE
RNAME
</username>
AdminCenter
SubscriberCenter
iPhoneCenter
String:
Void
Subscriber
Username
<password>
ADD_SUBSC_PAS
SWORD
</password>
String:
Void
Subscriber
Password
<language>
ADD_SUBSC_LAN
GUAGE
</language>
Selection List:
en
de
2.6.4.3
Void (Default):
No Access
Subscriber Password:
Arbitrary string; max. 128 characters
en (Default):
Englisch.
de:
German.
XML Field:
Value Range:
<messageBox>
. . .
</messageBox>
<pin>
ADD_VM_PIN
</pin>
Description:
Per address VoiceMailBox can be associated and configured.
Digit:
Void
PIN
Copyright Aarenet AG
29/52
XML Field:
Value Range:
Description:
No PIN defined
PIN:
Defined PIN; max. 128 characters
<email>
ADD_VM_EMAIL
</email>
String:
Void
EmailAdresse
<autoAuthenti
cation>
ADD_VM_AUTO_A
UTH
</autoAuthent
ication>
Selection List:
false
true
Defines whether the PIN is needed by an access from the telephone with the own number.
<blocked>
ADD_VM_BLOCK
</blocked>
String:
no
Blocked
Minutes
Void (Default):
No email will be sent.
Email address:
The email address to which new message should
be sent; max. 64 characters.
false (Default:
The PIN is needed for the access to the
VoiceMailBox.
true:
The PIN is not needed for the access to the
VoiceMailBox.
States, if the VoiceMailBox is blocked and how long it is blocked.
The value can be only read out!
no:
If no is returned then the VoiceMailBox is
not blocked.
Blocked Minutes:
Remaining duration of the blocking in minutes
<signalNewMes
sage>
ADD_VM_SIG_NE
W_MESSAGE
</signalNewMe
ssage>
Selection List:
true
false
<subscribedMw
iOnly>
ADD_VM_MWI_ON
LY
</subscribedM
wiOnly>
Selection List:
true
false
<language>
ADD_VM_LANGUA
GE
</language>
Selection List:
de
en
fr
it
German
English
Copyright Aarenet AG
30/52
XML Field:
Value Range:
Description:
Fr:
it:
<skipMessageM
enu>
ADD_VM_SKIP_M
ESSAGE_MENU
</skipMessage
Menu>
2.6.4.4
Selection List:
true
false
French
Italian
XML Field:
Value Range:
Description:
<pbx>
Selection List:
Void
vPBX Group
The name of the group which defines the vPBX. The address will
become a member of this vPBX group
VPBX_PBX_GROU
P
</pbx>
<groupMember>
. . .
</groupMember
>
<groupMember>
VPBX_MEMBER_O
F_GROUP
</groupMember
>
Selection List:
Void
Group Member
<privateNumber
>
VPBX_PRIVATE_
ADD
Boolean:
true
false
false (Default):
It is a public number.
true:
It is a vPBX private number.
</privateNumber
>
<publicClip>
VPBX_PUBLIC_C
LIP
</publicClip>
String:
CLIP Number
Defines the public identity of this private number for outgoing connections toward the PSTN. The assigned public number will be
used as CLIP and must be from the public number range of the
vPBX.
This parameter is valid only with private numbers.
If no public number is configured as a public identity, then no
outgoing connections from this private number toward the PSTN
Copyright Aarenet AG
31/52
XML Field:
Value Range:
Description:
are possible!
Void (Default):
CLIP Number:
An already defined public number of this
vPBX; max. 50 characters
<queueLen>
VPBX_QUEUE_LE
NGTH
</queueLen>
Number:
Void
Call Queue
<monitorGroup>
VPBX_MONITOR_
GROUP
</monitorGroup
>
Selection List:
Void
Monitor
Group
Name of the group whose members are allowed to subscribe for the
Monitor information of this internal number ("monitoring).
Monitor information are visible in this group and related superior
groups.
The group must be already created in the system of the Aarenet
VoIP Switch!
Void (Default):
Monitor Group:
The name of a configured group; max. 64 characters.
<presenceGrou
p>
VPBX_PRESENCE
_GROUP
</presenceGrou
p>
Selection List:
Void
Presence
Group
Name of the group whose members are allowed to subscribe for the
Presence information of this internal number.
Presence information are visible in this group and related superior
groups.
The group must be already created in the system of the Aarenet
VoIP Switch!
Void (Default):
Presence Group:
The name of a configured group; max. 64 characters.
<messageGroup
>
VPBX_MESSAGE_
GROUP
</messageGrou
p>
Selection List:
Void
Message
Group
Name der Gruppe, deren Mitgliedern erlaubt ist sich fr den Message Dienst dieser internen Nummer anzumelden.
Name of the group whose members are allowed to subscribe for the
Message Service of this internal number.
Message information are visible in this group and related superior
groups.
Copyright Aarenet AG
32/52
XML Field:
Value Range:
Description:
The group must be already created in the system of the Aarenet
VoIP Switch!
Void (Default):
Message Group:
The name of a configured group; max. 64 characters.
2.6.4.5
Element:
Value Range:
Description:
<mgcpProfile>
ADD_MGCP_PROF
ILE
</mgcpProfile
>
Selection List:
Void
MGCP Profile
<endpointName
>
ADD_MGCP_ENDP
OINT
</endpointNam
e>
String:
Void
MGCP Endpoint Name
Example:
First FXS-Port of MGCP MTA:
0@0024d1aecd5a
Second FXS-Port of the MGCP MTA:
1@0024d1aecd5a
Void (Default):
No connections possible.
MGCP Endpoint Name:
Unequivocal identification of the MGCP MTA;
max. 64 characters.
<callWaiting>
Boolean:
Copyright Aarenet AG
33/52
Element:
Value Range:
Description:
ADD_MGCP_CALL
_WAIT
</callWaiting
>
true
false
<callHold>
ADD_MGCP_CALL
_HOLD
</callHold>
Boolean:
true
false
2.6.4.6
false (Default):
Incoming calls in busy state are not signaled.
true:
Incoming calls in busy state are signaled.
When the MGCP MTA is able to put an active connection to hold
then this feature can be activated.
false (Default):
Connections cannot be set on hold.
true:
Connections can set on hold.
Element:
Value Range:
<sysAddressTo
pStop>
. . .
</sysAddressT
opStop>
Description:
Any Number of TopStop can be associated with an address.
The XML field <sysAddressTopStop> can be defined n times
within an address container therefore
2.6.4.7
Element:
Value Range:
<location>
. . .
</location>
<userAgent>
ADD_REG_USER_
AGENT
</userAgent>
Description:
Per registered CPE one Location container is delivered.
The registration information is delivered by the Aarenet VoIP Switch
while reading out the address parameters.
String:
Void
CPE Type
<receivedAddr
ess>
ADD_REG_IP_AD
DRESS
</receivedAdd
ress>
String:
IP Address
<q>
ADD_REG_Q_VAL
UE
Number:
Void
Q-Value
Copyright Aarenet AG
34/52
Element:
Value Range:
</q>
Description:
ADD_BALANCED_ROUTING is active.
The higher a q-value the higher the probability that a CPE receives a call.
If is the q-value 0, the CPE receives only calls if no other CPE is
registered.
Void:
No q value registered
Q-Value:
Registered weighting of the CPE,
Value rank: 0 - 1000.
<behindNat>
true
</behindNat>
Boolean:
true
false
2.7
2.7.1
Introduction
This DAML-format allows the treatment of Call Distribution and Call Forwarding.
As an example the vPBX can serve. With an incoming call on a public vPBX phone number this call can be
forwarded toward different internal phone numbers.
It allows to:
2.7.2
Copyright Aarenet AG
35/52
Mandatory is the XML field <account> which identifies the account unambiguously.
Mandatory is the XML field is <name> which identifies the call forward element unambiguously.
CallForward-Container:
<callForward>
<name>CF_NAME</name>
<account>ACC_NAME</account>
. . .
</callForward>
Example:
<callForward>
<name>MessageBox</name>
<account>an-acc-0001</account>
. . .
</callForward>
2.7.3
Create, Modify, Read and Delete of a Call Distribution & Call Forwarding
2.7.3.1
DAML-Document:
All available Parameter for Call Distribution & Call Forwarding see: Chapter 2.7.3.5
<daml command="write" >
<callForward>
<name>CF_NAME</name>
<account>ACC_NAME</account>
<type>CF_TYPE</type>
<priority>CF_PRIORITY</priority>
<delay>CF_DELAY</delay>
<destPattern>CF_DESTINATION_PATTERN</destPattern>
<sourcePattern>CF_SOURCE_PATTERN</sourcePattern>
<sourcePresentationPattern>CF_SOURCE_PRES_PATTERN</sourcePresentationPattern>
<destReplace>CF_DESTINATION_REPLACE</destReplace>
<timePattern>CF_TIME_PATTERN</timePattern>
<propagateBusy>CF_PROPAGATE_BUSY</propagateBusy>
<parallelCall>CF_PARALLEL_CALL</parallelCall>
<alwaysRing>CF_ALWAYS_RING</alwaysRing>
<lastDiversion>CF_LAST_DIVERSION</lastDiversion>
</callForward>
</daml>
Example 1: Call Forwarding toward the answering machine of the internal number 1001
<daml command="write" >
<callForward>
<name>MessageBox</name>
<account>an-acc-0021</account>
Copyright Aarenet AG
36/52
<type>DIST</type>
<priority>10</priority>
<delay>10</delay>
<destPattern>1001</destPattern>
<sourcePattern/>
<sourcePresentationPattern/>
<destReplace>0861001</destReplace>
<timePattern>!12345@0800-1200/1300-1700</timePattern>
<propagateBusy>false</propagateBusy>
<parallelCall>false</parallelCall>
<alwaysRing>false</alwaysRing>
<lastDiversion>true</lastDiversion>
</callForward>
</daml>
Example 2: Unconditional Call Forwarding when the CLIP of the incoming phone number begins
with 0027.
<daml command="write" >
<callForward>
<name>CFU Russia</name>
<account>an-acc-0021</account>
<type>CFU</type>
<priority>10</priority>
<destPattern/>
<sourcePattern>0027.*<sourcePattern/>
<sourcePresentationPattern/>
<timePattern/>
<destReplace>0123456789</destReplace>
</callForward>
</daml>
2.7.3.2
DAML-Document:
<daml command="write" >
<callForward>
<name>CF_NAME</name>
<account>ACC_NAME</account>
. . .
All available Parameter for Call Distribution & Call Forwarding see: Chapter
2.7.3.5
. . .
</callForward>
</daml>
Copyright Aarenet AG
37/52
</callForward>
</daml>
2.7.3.3
DAML-Document:
<daml command="read" >
<callForward>
<name>CF_NAME</name>
<account>ACC_NAME</account>
</callForward>
</daml>
Example:
<daml command="read" >
<callForward>
<name>MessageBox</name>
<account>an-acc-0021</account>
</callForward>
</daml>
2.7.3.4
DAML-Document:
<daml command="delete" >
<callForward>
<name>CF_NAME</name>
<account>ACC_NAME</account>
</callForward>
</daml>
Example:
<daml command="delete" >
<callForward>
<name>MessageBox</name>
<account>an-acc-0021</account>
</callForward>
</daml>
Copyright Aarenet AG
38/52
2.7.3.5
Special Cases
There are side effects on Call Distribution elements of an account when simplified Call Forwardings in the Address container are modified or deleted. For details see chapter 2.6.3.5
2.7.4
2.7.4.1
XML Fields of the Call Distribution & Call Forwarding Account Parameter
XML Field:
Value Range:
Description:
<name>
CF_NAME
</name>
String:
Call Forward Name
<account>
ACC_NAME
</account>
String:
Account
Name
<type>
CF_TYPE
</type>
Selection List:
CFU
CFF
CFB
CFR
CFNR
CFO
DIST
<priority>
CF_PRIORITY
Number:
Call For-
Forward Rejected
forward when the call is rejected.
Forward No Replay
forward when no response of the called
Forking
forking toward an additional destination
Distribution
distribution element of the account.
With several active call distribution rules of the account, this parameter determines the priority of the processing of the rule.
Copyright Aarenet AG
39/52
XML Field:
</priority>
Value Range:
ward Priority
Description:
The smaller the number, the higher is the priority.
Mandatory configuration!
Void (Default):
Invalid configuration
Call Forward Priority:
Priority of the call distribution element.
<delay>
CF_DELAY
</delay>
Number:
Distribution Delay
Defines the absolute distribution delay of this call distribution element measured to the beginning of the call distribution of the call.
It is considered only with the type "DIST: Call Distribution"!
Distribution Delay:
Delay in seconds
<destPattern>
CF_DESTINATIO
N_PATTERN
</destPattern
>
String:
SIP Address Pattern
Defines the search pattern how the SIP address of the called party
is examined. If the pattern matches then the distribution rule is applied.
If CF_SOURCE_PATTERN and/or CF_SOURCE_PRES_PATTERN are defined, then a logical AND must be true that the redirection rule is
applied.
SIP Address Pattern:
The address pattern can contain the SIP display, the phone number and a domain.
The address parts are separated by @ and
can contain Regex; max. 128 characters.
Text-Format:
[<SIP-DISPLAY>@][<SIP_NUMBER>][@<SIP_DOMAIN>]
String:
SIP Address Pattern
Defines the search pattern how the SIP address of the calling party
is examined. If the pattern matches then the distribution rule is applied.
If CF_DESTINATION_PATTERN and/or CF_SOURCE_PRES_PATTERN are
defined, then a logical AND must be true that the redirection rule
is applied.
SIP Address Pattern:
The address pattern can contain the SIP display, the phone number and a domain.
Copyright Aarenet AG
40/52
XML Field:
Value Range:
Description:
The address parts are separated by @ and
can contain Regex; max. 128 characters.
Text-Format:
[<SIP-DISPLAY>@][<SIP_NUMBER>][@<SIP_DOMAIN>]
Selection List:
UNDEFINED
SHOW
HIDE
<destReplace>
CF_DESTINATIO
N_REPLACE
</destReplace
>
String:
SIP Address Pattern
Defines how the new SIP destination address is rewritten when all
searching patterns match.
SIP Address Pattern:
The address pattern can contain the SIP display, the phone number and a domain.
The address parts are separated by @ and
can contain Regex; max. 128 characters.
Text-Format:
[<SIP-DISPLAY>@][<SIP_NUMBER>][@<SIP_DOMAIN>]
Examples, see above at CF_DESTINATION_PATTERN
<timePattern>
CF_TIME_PATTE
RN
</timePattern
>
String:
Void
Time Pattern
Copyright Aarenet AG
41/52
XML Field:
Value Range:
Description:
Example 1:
Monday till Friday of from 08:00 to 12:00 and
13:00 to 17:00 (working hours):
12345@0800-1200/1300-1700
Example 2:
Beyond the working hours (see above):
!12345@0800-1200/1300-1700
Example 3:
On the weekend (the whole day):
67@
Example 4:
Every day from 08:00 to 12:00:
0800-1200
Example 5:
Every Friday after 17:00:
5@1700-2400
<propagateBus
y>
CF_PROPAGATE_
BUSY
</propagateBu
sy>
Boolean:
false
true
Defines that when this call distribution element is reached and the
destination number is busy that back to the calling party busy is
signaled. All other active call distribution elements of this call will be
stopped.
It is considered only with the type "DIST: Call Distribution"!
false (Default):
Busy will not be signaled.
true:
Busy will be signaled.
<parallelCall
>
CF_PARALLEL_C
ALL
</parallelCal
l>
Boolean:
false
true
<alwaysRing>
CF_ALWAYS_RIN
G
</alwaysRing>
Boolean:
false
true
Defines that when this call distribution element is reached, the preceding call distribution elements will remain active.
It is considered only with the type "DIST: Call Distribution"!
false (Default):
The preceding call distribution elements will
not remain active.
true:
The preceding call distribution elements will
not remain active.
Defines that when this call distribution element is reached, toward
the calling party alerting is signaled in any case (even when no terminal rings).
It is considered only with the type "DIST: Call Distribution"!
false (Default):
The calling party is alerting signaled when a
terminal rings.
true:
The calling party is always alerting signaled.
<lastDiversio
Boolean:
Copyright Aarenet AG
42/52
XML Field:
Value Range:
Description:
n>
CF_LAST_DIVER
SION
</lastDiversi
on>
false
true
2.8
DAML-Format: Group
2.8.1
Introduction
This DAML-format allows the treatment of groups. Groups control the availability and visibility of resources
within the VoIP Switch.
As an example can serve the vPBX. Its public and internal phone numbers are assigned to a vPBX group.
It allows to:
create a group
delete a group
modify a group
read a group
2.8.2
Mandatory is the XML field is <name> which identifies the group unambiguously.
Group-Container:
<group>
<name>GROUP_NAME</name>
. . .
</group>
Example:
<group>
<name>customer-vpbx-123</name>
. . .
</group>
Copyright Aarenet AG
43/52
2.8.3
2.8.3.1
DAML-Document:
All available Parameter for Group see: Chapter 2.8.4
<daml command="write" >
<group>
<name>GROUP_NAME</name>
<tenant>GROUP_TENANT</tenant>
</group>
</daml>
2.8.3.2
DAML-Document:
All available Parameter for Group see: Chapter 2.8.4
<daml command="write" >
<group>
<name>GROUP_NAME</name>
. . .
All available Parameter for Group see: Chapter 2.8.4
. . .
<tenant>GROUP_TENANT</tenant>
</group>
</daml>
2.8.3.3
Read a Group
DAML-Document:
<daml command="read" >
<group>
<name>GROUP_NAME</name>
</group>
</daml>
Copyright Aarenet AG
44/52
2.8.3.4
Delete a Group
DAML-Document:
<daml command="delete" >
<group>
<name>GROUP_NAME</name>
</group>
</daml>
Example:
<daml command="delete" >
<group>
<name>customer-vpbx-123</name>
</group>
</daml>
2.8.4
2.8.4.1
XML Field:
Value Range:
Description:
<name>
GROUP_NAME
</name>
String:
Void
Group
<tenant>
String:
Void
Mandant
GROUP_TENANT
</tenant>
Void (Default):
Group:
Name of the group; max. 64 characters
Copyright Aarenet AG
45/52
2.9
This Query requests the names of all emergency locations which are configured in this Aarenet VoIP Switch.
DAML-Query:
https://<IP_ADDRESS_FQDN>:8447/dataaccesscenter/daml?
query=QUERY_ALL_EMERGENCY_LOCATION
Example:
https://dac.provider.com:8447/dataaccesscenter/daml?query=emergencyLocations
DAML-Response:
<daml status="ok">
<emergencyLocation>EMERGENCY_LOACTION</emergencyLocation>
. . .
</daml>
Example:
<daml status="ok">
<emergencyLocation>GN0001
<emergencyLocation>GN0002
<emergencyLocation>GN0003
<emergencyLocation>GN0004
</daml>
Aeugst am Albis</emergencyLocation>
Affoltern am Albis</emergencyLocation>
Bonstetten</emergencyLocation>
Hausen am Albis</emergencyLocation>
XML Field:
Value Range:
Description:
QUERY_ALL_EME
RGENCY_LOCATI
ON
String:
<emergencyLoc
ation>
EMERGENCY_LOA
CTION
</emergencyLo
cation>
String:
Emergency
Location
2.10
emergencyLoca
tions
This Query requests the names of all ruleset which are configured in this Aarenet VoIP Switch.
DAML-Query:
https://<IP_ADDRESS_FQDN>:8447/dataaccesscenter/daml?
query=QUERY_RULESET_NAME
Example:
https://dac.provider.com:8447/dataaccesscenter/daml?query=ruleset
DAML-Response:
<daml status="ok">
<ruleset>RULESET_NAME</ruleset>
Copyright Aarenet AG
46/52
. . .
</daml>
Example:
<daml status="ok">
<ruleset>Subscriber</ruleset>
<ruleset>Signal: 2 Digit Signaling</ruleset>
<ruleset>Signal: 3 Digit Signaling</ruleset>
<ruleset>Signal: 4 Digit Signaling</ruleset>
<ruleset>Block International Calls</ruleset>
<ruleset>Block National Mobile Calls</ruleset>
<ruleset>Block Satellite Calls</ruleset>
</daml>
XML Field:
Value Range:
Description:
QUERY_RULESET
_NAME
String:
<ruleset>
RULESET_NAME
</ruleset>
String:
Ruleset
ruleset
2.11
This Query requests the names of all accounts which are configured in this Aarenet VoIP Switch.
DAML-Query:
https://<IP_ADDRESS_FQDN>:8447/dataaccesscenter/daml?
query=QUERY_ALL_ACCOUNT_NAME
Example:
https://dac.provider.com:8447/dataaccesscenter/daml?query=account
DAML-Response:
<daml status="ok">
<account>ACCOUNT_NAME</account>
. . .
</daml>
Example:
<daml status="ok">
<account>acc5267.2237.6643</account>
<account>acc5267.4732.7245</account>
<account>acc5267.8227.3926</account>
<account>acc5267.1127.7489</account>
</daml>
XML Field:
Value Range:
Description:
QUERY_ALL_ACC
OUNT_NAME
String:
account
Copyright Aarenet AG
47/52
XML Field:
Value Range:
Description:
<account>
ACC_NAME
</account
String:
Account
Name
2.12
Account Name:
Name of an account; max. 32 characters
Example:
https://dac.provider.com:8447/dataaccesscenter/daml?
query=announcements&account=aarenet21&number=21
DAML-Response:
<daml status="ok">
<message>
<id>ANNONCEMENT_ID</id>
<duration>ANNONCEMENT_DURATION</duration>
<name>ANNONCEMENT _NAME</name>
</message
. . .
</daml>
Example:
<daml status="ok">
<message>
<id>179</id>
<duration>16325</duration>
<name>Brozeiten</name>
</message>
</daml>
XML Field:
Value Range:
Description:
QUERY_ANNOUNC
EMENT
String:
QUERY_ACCOUNT
String:
Account
Name
String:
Number
QUERY_NUMBER
announcements
Announcement Name:
Name of an account; max. 32 characters
Number:
Number or SIP address; max. 50 characters
<name>
String:
48/52
XML Field:
Value Range:
ANNONCEMENT_N
AME
</name>
Announcement Name
<id>
ANNONCEMENT_I
D
</id>
String:
ID
<duration>
ANNONCEMENT_D
URATION
</duration>
Number:
Duration
2.13
Description:
Announcement Name:
Name of an announcement; max.
Unambiguous identification of an announcement
ID:
Arbitrary string
Duration of an announcement
Duration:
Duration in milliseconds
This query requests the identifications of all meassage of an addresss VoiceMail box.
DAML-Query:
https://<IP_ADDRESS_FQDN>:8447/dataaccesscenter/daml?
query=QUERY_MESSAGES&account=QUERY_ACCOUNT&number=QUERY_NUMBER
Example:
https://dac.provider.com:8447/dataaccesscenter/daml?
query=voiceMessages&account=aarenet21&number=21
DAML-Response:
<daml status="ok">
<message>
<id>MESSAGE_ID</id>
<timeStart>MESSAGE_DATE_TIME</timeStart>
<timePlayed>MESSAGE_PLAYED</timePlayed>
<duration>MESSAGE_DURATION</duration>
<number>MESSAGE_NUMBER</number>
<name>MESSAGE_NAME</name>
<saved>MESSAGE_SAVED</saved>
</message>
. . .
</daml>
Example:
<daml status="ok">
<message>
<id>179</id>
<timeStart>2013-05-24T15:53:13</timeStart>
<timePlayed>never</timePlayed>
<duration>14315</duration>
<number>22</number>
<name>Berta</name>
<saved>false</saved>
</message>
</daml>
Copyright Aarenet AG
49/52
XML Field:
Value Range:
Description:
QUERY_MESSAGE
String:
voiceMessages
QUERY_ACCOUNT
QUERY_NUMBER
String:
Account
Name
String:
Number
Announcement Name:
Name of an account; max. 32 characters
Number:
Number or SIP address; max. 50 characters
<id>
MESSAGE_ID
</id>
String:
ID
<timeStart>
MESSAGE_DATE_
TIME
</timeStart>
Date/Time:
Message
Recorded
<timePlayed>
MESSAGE_PLAYE
D
</timePlayed>
Date/Time:
never
Message
Played
<duration>
MESSAGE_DURAT
ION
</duration>
Number:
Duration
<number>
MESSAGE_NUMBE
R
</number>
String:
Number
<name>
MESSAGE_NAME
</name>
String:
Name
<saved>
MESSAGE_SAVED
</saved>
Boolean:
true
false
Duration of an announcement
Duration:
Duration in milliseconds
Telephony number of the calling side.
Number:
Arbitrary string
Name of the calling side who is included in the SIP-Header "From".
Name:
Arbitrary string
Indicates whether the message was marked by the subscriber for a
longer retention.
Copyright Aarenet AG
50/52
XML Field:
Value Range:
Description:
true:
The message is kept longer.
false:
The message is not kept longer.
2.14
This query requests a list of the last n connections and connection attempts of a phone number.
This DAML query delivers the raw data of a connection. It is the job of the CRM application to transform these data into the desired form and representation.
DAML-Query:
https://<IP_ADDRESS_FQDN>:8447/dataaccesscenter/daml?
query=QUERY_CALLS&account=QUERY_ACCOUNT&number=QUERY_NUMBER&entries=QUERY_ENTRY
Example:
https://dac.provider.com:8447/dataaccesscenter/daml?
query=calls&account=aarenet21&number=21&entries=10
DAML-Response:
<daml status="ok">
<call>
<time>CALL_START</time>
<duration>CALL_DURATION</duration>
<direction>CALL_DIRECTION</direction>
<number>CALL_PEER_NUMBER</number>
<charge>CALL_CHARGE</charge>
</call>
. . .
</daml>
Example:
<daml status="ok">
<call>
<time>2013-05-24T14:55:13</time>
<duration>12527</duration>
<direction>out</direction>
<number>0123456789</number>
<charge>0.10</charge>
</call>
<call>
<time>2013-05-24T10:20:38</time>
<duration>0</duration>
<direction>in</direction>
<number>0987654321</number>
</call>
</daml>
XML Field:
Value Range:
Description:
QUERY_CALLS
String:
Query directive to request the last connections and connection attempts of a telephone number.
calls
Copyright Aarenet AG
51/52
XML Field:
Value Range:
Description:
QUERY_ACCOUNT
String:
Account
Name
String:
Number
QUERY_NUMBER
Announcement Name:
Name of an account; max. 32 characters
Number:
Number or SIP address; max. 50 characters
QUERY_ENTRY
<time>
CALL_START
</time>
Number:
Number of
Calls
Date/Time:
Call Start
Number of Calls:
>= 0
Call Start:
The call started at date/time
Text-Format:
yyyy-MM-dd'T'HH:mm:ss
Example: 2013-04-14T10:29:00
<duration>
CALL_DURATION
</duration>
Number:
Duration
<direction>
CALL_DIRECTIO
N
</direction>
Selection List:
in
out
<number>
CALL_PEER_NUM
BER
</number>
String:
Peer Number
<charge>
CALL_CHARGE
</charge>
Decimal Number:
Charge
Copyright Aarenet AG
52/52