-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathdebug.js
23 lines (19 loc) · 1.32 KB
/
debug.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
var testContacts = [
{ status: 'online', name: 'sip js 1', uri: 'sip:[email protected]' },
{ status: 'online', name: 'sip js 2', uri: 'sip:[email protected]' },
{ status: 'online', name: 'Joe Doe 1', uri: 'sip:[email protected]' },
{ status: 'online', name: 'Joe Doe 2', uri: 'sip:[email protected]' },
{ status: 'offline', name: 'Joe Doe 3', uri: 'sip:[email protected]' },
{ status: 'away', name: 'Joe Doe 4', uri: 'sip:[email protected]' },
{ status: 'busy', name: 'Joe Doe 5', uri: 'sip:[email protected]' },
{ status: 'online', name: 'Joe Doe 6', uri: 'sip:[email protected]' },
{ status: 'online', name: 'Joe Doe 7', uri: 'sip:[email protected]' }];
var testMessages = [
{ sender: 'sip:[email protected]', time: new Date(), text: 'Hi, how are you?'},
{ sender: 'sip:[email protected]', time: new Date(), text: 'Message text #2'},
{ sender: 'sip:[email protected]', time: new Date(), text: 'Very long message text should be here, but I can not dream long text. What is wrong with my fantasy?'},
{ sender: 'sip:[email protected]', time: new Date(), text: 'Íà ðóññêîì ÿçûêå!'}];
//saveJsonedObject('com.officesip.contacts', testContacts);
//saveJsonedObject('com.officesip.messages', testMessages);
//localStorage.clear();
//localStorage.removeItem('com.officesip.quicks');