Customizing The Sample Code For One Customer; Customizing The Sample Code For Multiple Customers; Figure 4-12. Information For The Sql Database Script - Bay Networks Voice Gateway Installation Manual

Nortel voice gateway software: installation guide
Table of Contents

Advertisement

Indented lines indicate that they should be attached to the line above it.
DELETE FROM webphone_t WHERE password = '6?IA--_J?JNE@`+JRD3F1[XRTE8J:O."'
DELETE FROM customer_t WHERE alias = 'TEST'
DELETE FROM customer_account_t WHERE pin = '0'
DELETE FROM account_t where creditCardNum=''
INSERT INTO customer_t VALUES(0, 'Test0', '0', 'TEST', '0@netspeak.com', '1 Software Drive', (null), 'Software City', 'Florida', 'United States',
'90245', '1-800-NET-SPEAK', 1-800-FAX-NETS', 'NetSpeak Corporation', 0, 'Aug 19 1997 7:10PM', 'TestCase1', 'Pers_NoCPS', 'Software
City', 'Florida', 'UNITED STATES', 'NETSPEAK CORPORATION')
INSERT INTO webphone_t VALUES(0, 23, 3, 4401, 0, 0, 1, 'Aug 7 1997 7:53PM', 2, -306, '6?IA--_J?JNE@`+JRD3F1[XRTE8J:O."' , 'Jan 1 1900
12:00AM', '0.0.0.0', 0, 0, 536936447, 0, 1, 0, 0, 0, 4294967287, 1, (null), (null), 'labinfonet1.engineering.netspeak.com', 0, 0, 0)
INSERT INTO customer_account_t VALUES(0, 0, '552103', '552103')
INSERT INTO account_t VALUES(0, 0, 1, '552103', 10000, 0, 0, 0, '', '', 0, 0)
Figure 4-12.
Information for the SQL Database Script
The above code enters sample information for the customer. Before you run the
query, you need to edit the code so that it reflects the customer ID and PIN
number you wish each person to have. The four lines beginning with
represent one customer. There are several data variables in the code.

Customizing the Sample Code for One Customer

Locate the third line of code that begins with
1.
Find the two identical numbers in apostrophes.
2.
The first of the two numbers is the Customer Account Number, and the
second is the Customer PIN. You can change those two numbers to whatever
you want them to be. Don't worry about the other information yet. You will
edit the customer information later.
Change the
3.
number.
Change the
4.

Customizing the Sample Code for Multiple Customers

Perform the procedure to customize the sample code for one customer.
1.
See
Copy the four lines beginning with
2.
sample code.
303143-A Rev. 00
Customer Account Number
Customer PIN
Customizing the Sample Code for One
Installing the Gateway Routing Manager
INSERT INTO
variable to the appropriate
variable to the appropriate number.
Customer.
INSERT INTO
INSERT INTO
.
, and paste them after the
4-15

Advertisement

Table of Contents
loading

Table of Contents