
Grandstream Networks, Inc.
GXV31xx XML GUI Customization Guide
Page
9 of 28
www.grandstream.com
Last Updated: 7/2011
These three lines in menu.xml allow users to configure Accounts using the specified configuration file (e.g.
acct.xml). This includes configuring the following: Account SIP server, SIP user ID, Authenticate ID,
Authenticate password and etc. It also defines settings such as whether the account is active, locking the
account or reordering the accounts.
Refer to the account configuration file (acc.xml) below:
<acct-config>
<account
lock
=
"1"
>
<index>
1
</index>
<active>
1
</active>
<pos>
1
</pos>
<name>
Account 2
</name>
<server>
192.168.1.20
</server>
<outbound-proxy></outbound-proxy>
<auth-id>
9090
</auth-id>
<auth-pwd>
9090
</auth-pwd>
<user-id>
9090
</user-id>
<display-name>
9090
</display-name>
</account>
<account
lock
=
"1"
>
<index>
2
</index>
<active>
1
</active>
<pos>
2
</pos>
<name>
Account 1
</name>
<server>
192.168.1.20
</server>
<outbound-proxy></outbound-proxy>
<auth-id>
8080
</auth-id>
<auth-pwd>
8080
</auth-pwd>
<user-id>
8080
</user-id>
<display-name>
8080
</display-name>
</account>
<account
lock
=
"1"
>
<index>
3
</index>
<active>
1
</active>
<pos>
3
</pos>
<name>
Account 3
</name>
<server>
192.168.1.20
</server>
<outbound-proxy></outbound-proxy>
<auth-id>
7070
</auth-id>
<auth-pwd>
7070
</auth-pwd>
<user-id>
7070
</user-id>
<display-name>
7070
</display-name>
</account>
</acct-config>
The elements and attributes are described below:
z
<acct-config>: Account configuration element
z
<account>: Account element. It has lock attribute.
lock: Valid values are 0 or 1. 1- Account settings are locked and cannot be changed by the
user, 0- Account settings are not locked and can be changed by the user. Default value is 0.
z
<index>: Actual account index, where the accounts has not been re-ordered. Valid values are from 1
to 3.
z
<active>: Specifies whether the configuration is active or not. Valid values are 0 or 1. 1- Active, 0-
Inactive.
z
<pos>: Account position index. Allows the reordering of accounts, such as moving Account 1 to
Account 3. Valid values are from 1 to 3.