touchpoint

In addition to terminal devices, all personnel, places, and things connected to the network should also be considered.

View Details

resource

Understand best practices, explore innovative solutions, and establish connections with other partners throughout the Baker community.

×

touchpoint

touchpoint

In addition to terminal devices, all personnel, places, and things connected to the network should also be considered.

Learn more

resource

resource

Understand best practices, explore innovative solutions, and establish connections with other partners throughout the Baker community.

Contact Us
How to Configure Device Parameters with the HTTP API?

    Introduction

    Overview

    This guide explains how to configure device parameters through the HTTP API, including SIP server settings, SIP account registration details, DSS key parameters, and other device options. The device acts as the HTTP server, while the client sends specific HTTP requests to apply configuration changes, as shown in the diagram below.

HTTP API connection architecture

    In this example, Postman is used to simulate HTTP requests sent to the device.

    Applicable Models

    All currently available phone models from our product line.

    Prerequisites

    ① One BHP-SOS11V intercom device, upgraded to the latest released firmware version and connected to a PoE switch.
② One configuration PC with Postman installed, connected to the same switch, with normal network communication confirmed.

    Phone and PC Connection Diagram

Phone and PC connection diagram

    Using Postman to Simulate HTTP Requests

    Download and Install Postman

    Download Postman from:
https://www.postman.com/downloads/
Then follow the installation instructions to complete the setup.

    Configure Postman

    Click FileNew, then select HTTP Request.

Configuring Postman

    In the new request window, select the POST method and enter the device HTTP URL in the following format:

http://ip/xmlservice

    Note that the URL is case-sensitive. Replace ip with the actual device IP address, as shown below.

Configuring the HTTP POST URL

    Then configure the required HTTP request parameters:

    Authentication method: Basic Auth
Header: Content-Type: xml/text

Configuring HTTP authentication and headers

    Configure the HTTP Request Body

    Click Body, select raw, then enter the XML content in the message body. A sample format is shown below.

Entering the XML body content

    The structure is as follows:


This is the XML declaration header and is required in every request.



This defines the XML command structure. The cmd attribute can be either get to retrieve current parameters or set to write new parameters.

sip.
This specifies the actual configuration item. In this example, the request retrieves SIP line-related parameters from the device.

    In real use, the following section must be adjusted according to the actual parameter you want to query or configure:


sip.

    How to Get the Supported Parameter List

    Different models may support different HTTP API parameters. You can use either of the following methods to obtain the supported parameter list for a specific device.

Method 1: In the device WEB interface, go to SystemSystem Configuration, then export the nc-type configuration file.

Exporting the nc configuration file from the system configuration page

    You can right-click to save the file, or left-click to view the configuration directly. Common parameters are listed in the next section.

Method 2: Some models do not provide the nc configuration file link directly in the web interface. In that case, you can enter the corresponding URL in the browser address bar to retrieve the nc configuration file manually.

Getting the nc configuration file from the browser

    Note: This method may take longer to respond.

    Common Parameters

    This section lists several common parameters for reference. More parameters may be added in future updates.

    SIP Line Parameters

    Example SIP line parameters (from the i30 access control device):

sip.line.1.PhoneNumber = 112
sip.line.1.DisplayName = 112
sip.line.1.SipName =
sip.line.1.RegAddr = 172.18.1.45
sip.line.1.RegPort = 2066
sip.line.1.RegUser = 112
sip.line.1.RegPswd = abc123
sip.line.1.RegTTL = 3600
sip.line.1.RegEnabled = 0

sip.line.1. indicates that these parameters belong to SIP line 1.

PhoneNumber corresponds to the phone number field in the web interface.
DisplayName corresponds to the display name.
RegAddr is the SIP proxy server address.
RegPort is the SIP proxy server port.
RegUser is the authentication username, usually the same as the phone number.
RegPswd is the password.
RegTTL is the registration expiry time, with a default value of 3600 seconds.
RegEnabled defines whether the line is enabled: 0 means disabled, 1 means enabled.

    DSS Key Parameters

    Example DSS key parameters for the i30:

dss.page.1.key.1.Type=1
dss.page.1.key.1.Value=125@1/f
dss.page.1.key.1.Title=

    It is recommended to configure the DSS key in the web interface first, then use the HTTP API with the get command to read back the corresponding parameter values and confirm the exact mapping.

Type=1 indicates that the DSS key type is Hotkey for devices such as the i30 or i12. For other models, verify the actual type value using the recommended method above.

Value=125@1/f means:
125 = destination number
@1 = line 1
/f = sub-type: speed dial

    Network Parameters

    Example network parameters for devices such as the i30 and i12:

net.WANMode=DHCP
net.static.IP=172.18.8.7
net.static.SubnetMask=255.255.255.0
net.static.Gateway=172.18.8.1
net.static.PrimaryDNS=202.96.134.133
net.static.SecondaryDNS=202.96.128.86
net.static.DomainName=
net.dhcp.Enabled=1

WANMode indicates the network mode, which can be DHCP or static. This parameter cannot be written directly with the set command. It changes automatically according to the value of dhcp.Enabled.

static.IP is the static IP address. It is effective only when the device is in static mode. In DHCP mode, the get command can still be used to retrieve the current IP address.
static.SubnetMask is the subnet mask.
static.Gateway is the default gateway.
static.PrimaryDNS is the primary DNS server.
static.SecondaryDNS is the secondary DNS server.
dhcp.Enabled defines whether DHCP is enabled: 1 means DHCP mode is active, while 0 means static IP mode is used.

    Volume Parameters

    Example volume parameters for the BHP-SOS11V:

phone.volume.HandFreeVol=9
phone.volume.HandFreeRingVol=3
phone.volume.HandFreeToneVol=3

phone.volume.HandFreeVol is the speakerphone volume. The range is 1-9, where 9 is the highest volume.
phone.volume.HandFreeRingVol is the ringtone volume for incoming calls. The range is 1-9, where 9 is the highest volume.
phone.volume.HandFreeToneVol is the tone volume for prompt tones such as alerts and notification sounds. The range is 1-9, where 9 is the highest volume.

    System Information Parameters

    System information parameters are read-only, which means they can only be queried with the get command.

    Example:

info.

    This parameter returns all system information. If you only need a specific item, extend the parameter path to the next node level.

    For example, to retrieve the device MAC address:

info.dev.mac

catalogue
Professional industrial communication manufacturer, providing high reliability communication guarantee!
Cooperation Consultation
customer service Phone
We use cookie to improve your online experience. By continuing to browse this website, you agree to our use of cookie.

Cookies

This Cookie Policy explains how we use cookies and similar technologies when you access or use our website and related services. Please read this Policy together with our Terms and Conditions and Privacy Policy so that you understand how we collect, use, and protect information.

By continuing to access or use our Services, you acknowledge that cookies and similar technologies may be used as described in this Policy, subject to applicable law and your available choices.

Updates to This Cookie Policy

We may revise this Cookie Policy from time to time to reflect changes in legal requirements, technology, or our business practices. When we make updates, the revised version will be posted on this page and will become effective from the date of publication unless otherwise required by law.

Where required, we will provide additional notice or request your consent before applying material changes that affect your rights or choices.

What Are Cookies?

Cookies are small text files placed on your device when you visit a website or interact with certain online content. They help websites recognize your browser or device, remember your preferences, support essential functionality, and improve the overall user experience.

In this Cookie Policy, the term “cookies” also includes similar technologies such as pixels, tags, web beacons, and other tracking tools that perform comparable functions.

Why We Use Cookies

We use cookies to help our website function properly, remember user preferences, enhance website performance, understand how visitors interact with our pages, and support security, analytics, and marketing activities where permitted by law.

We use cookies to keep our website functional, secure, efficient, and more relevant to your browsing experience.

Categories of Cookies We Use

Strictly Necessary Cookies

These cookies are essential for the operation of the website and cannot be disabled in our systems where they are required to provide the service you request. They are typically set in response to actions such as setting privacy preferences, signing in, or submitting forms.

Without these cookies, certain parts of the website may not function correctly.

Functional Cookies

Functional cookies enable enhanced features and personalization, such as remembering your preferences, language settings, or previously selected options. These cookies may be set by us or by third-party providers whose services are integrated into our website.

If you disable these cookies, some services or features may not work as intended.

Performance and Analytics Cookies

These cookies help us understand how visitors use our website by collecting information such as traffic sources, page visits, navigation behavior, and general interaction patterns. In many cases, this information is aggregated and does not directly identify individual users.

We use this information to improve website performance, usability, and content relevance.

Targeting and Advertising Cookies

These cookies may be placed by our advertising or marketing partners to help deliver more relevant ads and measure the effectiveness of campaigns. They may use information about your browsing activity across different websites and services to build a profile of your interests.

These cookies generally do not store directly identifying personal information, but they may identify your browser or device.

First-Party and Third-Party Cookies

Some cookies are set directly by our website and are referred to as first-party cookies. Other cookies are set by third-party services, such as analytics providers, embedded content providers, or advertising partners, and are referred to as third-party cookies.

Third-party providers may use their own cookies in accordance with their own privacy and cookie policies.

Information Collected Through Cookies

Depending on the type of cookie used, the information collected may include browser type, device type, IP address, referring website, pages viewed, time spent on pages, clickstream behavior, and general usage patterns.

This information helps us maintain the website, improve performance, enhance security, and provide a better user experience.

Your Cookie Choices

You can control or disable cookies through your browser settings and, where available, through our cookie consent or preference management tools. Depending on your location, you may also have the right to accept or reject certain categories of cookies, especially those used for analytics, personalization, or advertising purposes.

Please note that blocking or deleting certain cookies may affect the availability, functionality, or performance of some parts of the website.

Restricting cookies may limit certain features and reduce the quality of your experience on the website.

Cookies in Mobile Applications

Where our mobile applications use cookie-like technologies, they are generally limited to those required for core functionality, security, and service delivery. Disabling these essential technologies may affect the normal operation of the application.

We do not use essential mobile application cookies to store unnecessary personal information.

How to Manage Cookies

Most web browsers allow you to manage cookies through browser settings. You can usually choose to block, delete, or receive alerts before cookies are stored. Because browser controls vary, please refer to your browser provider’s support documentation for details on how to manage cookie settings.

Contact Us

If you have any questions about this Cookie Policy or our use of cookies and similar technologies, please contact us at support@becke.cc .