Copyright 2010-2017 Obihai Technology, Inc.
109
-
Next Page
Display the next page of results
The Search option can be disabled by setting the
SPn Service
–
Network Directory Setup
::
EnableSearch
to
false
.
In that case the
Search
soft key is replaced with the
Refresh
soft key which simply reloads the results from the URL.
Other PBX Platforms
A service provider can host a Group directory similar to the format used in BroadWorks on the network. The URL to
access this directory is configured in the parameter:
SPn Service
–
Network Directory Setup
::
URL
. For example:
URL
= https://mypbx.com/group-dir.php?user=jsmith
The returned document should be an XML (properly escaped) as shown in the example below:
<?
xml
version
=
'
1.0
'
encoding
=
'
utf-8
'
?>
<
Group
>
<
startIndex
>
1
</
startIndex
>
<
numberOfRecords
>
2
</
numberOfRecords
>
<
totalAvailableRecords
>
2
</
totalAvailableRecords
>
<
groupDirectory
>
<
directoryDetails
>
<
name
>
Samuel Samson
</
name
>
<
firstName
>
Samuel
</
firstName
>
<
lastName
>
Samson
</
lastName
>
<
userId
>
ssamson
</
userId
>
<
number
>
14089991234
</
number
>
<
extension
>
104
</
extension
>
<
department
>
Marketing
</
department
>
<
groupId
>
Management
</
groupId
>
<
impId
>
</
impId
>
<
additionalDetails
>
<
emailAddress
>
</
emailAddress
>
<
mobile
>
14089998899
</
mobile
>
</
additionalDetails
>
</
directoryDetails
>
<
directoryDetails
>
<
name
>
John J. Smith
</
name
>
<
firstName
>
John
</
firstName
>
<
lastName
>
Smith
</
lastName
>
<
userId
>
john
</
userId
>
<
number
>
14087771123
</
number
>
<
extension
>
103
</
extension
>
<
department
>
Sales
</
department
>
<
groupId
>
Staff
</
groupId
>
<
impId
>
</
impId
>
<
additionalDetails
>
<
emailAddress
>
</
emailAddress
>
<
mobile
>
16509991802
</
mobile
>
</
additionalDetails
>
</
directoryDetails
>
</
groupDirectory
>
</
Group
>
In addition the following optional URL parameters can be appended to the URL:
-
results
Number of results to return by the server. This is merely a suggestion to the server which may return
a different number of results. The phone will not reject the result if the number of results returned is different
from the request and will make a best effort to display all the available results
-
start
The 1-based index of the first result to return by the server; the implied start index is 1 if not specified