@ondewo/sip-client-nodejs 3.1.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,21 +13,27 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = Function('return this')();
16
+ var global = (function() {
17
+ if (this) { return this; }
18
+ if (typeof window !== 'undefined') { return window; }
19
+ if (typeof global !== 'undefined') { return global; }
20
+ if (typeof self !== 'undefined') { return self; }
21
+ return Function('return this')();
22
+ }.call(null));
17
23
 
18
24
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
19
25
  goog.object.extend(proto, google_protobuf_empty_pb);
20
26
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
21
27
  goog.object.extend(proto, google_protobuf_timestamp_pb);
22
- goog.exportSymbol('proto.ondewo.sip.EndCallRequest', null, global);
23
- goog.exportSymbol('proto.ondewo.sip.PlayWavFilesRequest', null, global);
24
- goog.exportSymbol('proto.ondewo.sip.RegisterAccountRequest', null, global);
28
+ goog.exportSymbol('proto.ondewo.sip.SipEndCallRequest', null, global);
29
+ goog.exportSymbol('proto.ondewo.sip.SipPlayWavFilesRequest', null, global);
30
+ goog.exportSymbol('proto.ondewo.sip.SipRegisterAccountRequest', null, global);
31
+ goog.exportSymbol('proto.ondewo.sip.SipStartCallRequest', null, global);
32
+ goog.exportSymbol('proto.ondewo.sip.SipStartSessionRequest', null, global);
25
33
  goog.exportSymbol('proto.ondewo.sip.SipStatus', null, global);
26
34
  goog.exportSymbol('proto.ondewo.sip.SipStatus.StatusType', null, global);
27
35
  goog.exportSymbol('proto.ondewo.sip.SipStatusHistoryResponse', null, global);
28
- goog.exportSymbol('proto.ondewo.sip.StartCallRequest', null, global);
29
- goog.exportSymbol('proto.ondewo.sip.StartSessionRequest', null, global);
30
- goog.exportSymbol('proto.ondewo.sip.TransferCallRequest', null, global);
36
+ goog.exportSymbol('proto.ondewo.sip.SipTransferCallRequest', null, global);
31
37
  /**
32
38
  * Generated by JsPbCodeGenerator.
33
39
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -38,16 +44,16 @@ goog.exportSymbol('proto.ondewo.sip.TransferCallRequest', null, global);
38
44
  * @extends {jspb.Message}
39
45
  * @constructor
40
46
  */
41
- proto.ondewo.sip.EndCallRequest = function(opt_data) {
47
+ proto.ondewo.sip.SipEndCallRequest = function(opt_data) {
42
48
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
43
49
  };
44
- goog.inherits(proto.ondewo.sip.EndCallRequest, jspb.Message);
50
+ goog.inherits(proto.ondewo.sip.SipEndCallRequest, jspb.Message);
45
51
  if (goog.DEBUG && !COMPILED) {
46
52
  /**
47
53
  * @public
48
54
  * @override
49
55
  */
50
- proto.ondewo.sip.EndCallRequest.displayName = 'proto.ondewo.sip.EndCallRequest';
56
+ proto.ondewo.sip.SipEndCallRequest.displayName = 'proto.ondewo.sip.SipEndCallRequest';
51
57
  }
52
58
  /**
53
59
  * Generated by JsPbCodeGenerator.
@@ -59,16 +65,16 @@ if (goog.DEBUG && !COMPILED) {
59
65
  * @extends {jspb.Message}
60
66
  * @constructor
61
67
  */
62
- proto.ondewo.sip.StartCallRequest = function(opt_data) {
68
+ proto.ondewo.sip.SipStartCallRequest = function(opt_data) {
63
69
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
64
70
  };
65
- goog.inherits(proto.ondewo.sip.StartCallRequest, jspb.Message);
71
+ goog.inherits(proto.ondewo.sip.SipStartCallRequest, jspb.Message);
66
72
  if (goog.DEBUG && !COMPILED) {
67
73
  /**
68
74
  * @public
69
75
  * @override
70
76
  */
71
- proto.ondewo.sip.StartCallRequest.displayName = 'proto.ondewo.sip.StartCallRequest';
77
+ proto.ondewo.sip.SipStartCallRequest.displayName = 'proto.ondewo.sip.SipStartCallRequest';
72
78
  }
73
79
  /**
74
80
  * Generated by JsPbCodeGenerator.
@@ -80,16 +86,16 @@ if (goog.DEBUG && !COMPILED) {
80
86
  * @extends {jspb.Message}
81
87
  * @constructor
82
88
  */
83
- proto.ondewo.sip.RegisterAccountRequest = function(opt_data) {
89
+ proto.ondewo.sip.SipRegisterAccountRequest = function(opt_data) {
84
90
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
85
91
  };
86
- goog.inherits(proto.ondewo.sip.RegisterAccountRequest, jspb.Message);
92
+ goog.inherits(proto.ondewo.sip.SipRegisterAccountRequest, jspb.Message);
87
93
  if (goog.DEBUG && !COMPILED) {
88
94
  /**
89
95
  * @public
90
96
  * @override
91
97
  */
92
- proto.ondewo.sip.RegisterAccountRequest.displayName = 'proto.ondewo.sip.RegisterAccountRequest';
98
+ proto.ondewo.sip.SipRegisterAccountRequest.displayName = 'proto.ondewo.sip.SipRegisterAccountRequest';
93
99
  }
94
100
  /**
95
101
  * Generated by JsPbCodeGenerator.
@@ -101,16 +107,16 @@ if (goog.DEBUG && !COMPILED) {
101
107
  * @extends {jspb.Message}
102
108
  * @constructor
103
109
  */
104
- proto.ondewo.sip.StartSessionRequest = function(opt_data) {
110
+ proto.ondewo.sip.SipStartSessionRequest = function(opt_data) {
105
111
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
106
112
  };
107
- goog.inherits(proto.ondewo.sip.StartSessionRequest, jspb.Message);
113
+ goog.inherits(proto.ondewo.sip.SipStartSessionRequest, jspb.Message);
108
114
  if (goog.DEBUG && !COMPILED) {
109
115
  /**
110
116
  * @public
111
117
  * @override
112
118
  */
113
- proto.ondewo.sip.StartSessionRequest.displayName = 'proto.ondewo.sip.StartSessionRequest';
119
+ proto.ondewo.sip.SipStartSessionRequest.displayName = 'proto.ondewo.sip.SipStartSessionRequest';
114
120
  }
115
121
  /**
116
122
  * Generated by JsPbCodeGenerator.
@@ -122,16 +128,16 @@ if (goog.DEBUG && !COMPILED) {
122
128
  * @extends {jspb.Message}
123
129
  * @constructor
124
130
  */
125
- proto.ondewo.sip.TransferCallRequest = function(opt_data) {
131
+ proto.ondewo.sip.SipTransferCallRequest = function(opt_data) {
126
132
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
127
133
  };
128
- goog.inherits(proto.ondewo.sip.TransferCallRequest, jspb.Message);
134
+ goog.inherits(proto.ondewo.sip.SipTransferCallRequest, jspb.Message);
129
135
  if (goog.DEBUG && !COMPILED) {
130
136
  /**
131
137
  * @public
132
138
  * @override
133
139
  */
134
- proto.ondewo.sip.TransferCallRequest.displayName = 'proto.ondewo.sip.TransferCallRequest';
140
+ proto.ondewo.sip.SipTransferCallRequest.displayName = 'proto.ondewo.sip.SipTransferCallRequest';
135
141
  }
136
142
  /**
137
143
  * Generated by JsPbCodeGenerator.
@@ -185,16 +191,16 @@ if (goog.DEBUG && !COMPILED) {
185
191
  * @extends {jspb.Message}
186
192
  * @constructor
187
193
  */
188
- proto.ondewo.sip.PlayWavFilesRequest = function(opt_data) {
189
- jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.sip.PlayWavFilesRequest.repeatedFields_, null);
194
+ proto.ondewo.sip.SipPlayWavFilesRequest = function(opt_data) {
195
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.sip.SipPlayWavFilesRequest.repeatedFields_, null);
190
196
  };
191
- goog.inherits(proto.ondewo.sip.PlayWavFilesRequest, jspb.Message);
197
+ goog.inherits(proto.ondewo.sip.SipPlayWavFilesRequest, jspb.Message);
192
198
  if (goog.DEBUG && !COMPILED) {
193
199
  /**
194
200
  * @public
195
201
  * @override
196
202
  */
197
- proto.ondewo.sip.PlayWavFilesRequest.displayName = 'proto.ondewo.sip.PlayWavFilesRequest';
203
+ proto.ondewo.sip.SipPlayWavFilesRequest.displayName = 'proto.ondewo.sip.SipPlayWavFilesRequest';
198
204
  }
199
205
 
200
206
 
@@ -212,8 +218,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
212
218
  * http://goto/soy-param-migration
213
219
  * @return {!Object}
214
220
  */
215
- proto.ondewo.sip.EndCallRequest.prototype.toObject = function(opt_includeInstance) {
216
- return proto.ondewo.sip.EndCallRequest.toObject(opt_includeInstance, this);
221
+ proto.ondewo.sip.SipEndCallRequest.prototype.toObject = function(opt_includeInstance) {
222
+ return proto.ondewo.sip.SipEndCallRequest.toObject(opt_includeInstance, this);
217
223
  };
218
224
 
219
225
 
@@ -222,11 +228,11 @@ proto.ondewo.sip.EndCallRequest.prototype.toObject = function(opt_includeInstanc
222
228
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
223
229
  * the JSPB instance for transitional soy proto support:
224
230
  * http://goto/soy-param-migration
225
- * @param {!proto.ondewo.sip.EndCallRequest} msg The msg instance to transform.
231
+ * @param {!proto.ondewo.sip.SipEndCallRequest} msg The msg instance to transform.
226
232
  * @return {!Object}
227
233
  * @suppress {unusedLocalVariables} f is only used for nested messages
228
234
  */
229
- proto.ondewo.sip.EndCallRequest.toObject = function(includeInstance, msg) {
235
+ proto.ondewo.sip.SipEndCallRequest.toObject = function(includeInstance, msg) {
230
236
  var f, obj = {
231
237
  hardHangup: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
232
238
  };
@@ -242,23 +248,23 @@ proto.ondewo.sip.EndCallRequest.toObject = function(includeInstance, msg) {
242
248
  /**
243
249
  * Deserializes binary data (in protobuf wire format).
244
250
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
245
- * @return {!proto.ondewo.sip.EndCallRequest}
251
+ * @return {!proto.ondewo.sip.SipEndCallRequest}
246
252
  */
247
- proto.ondewo.sip.EndCallRequest.deserializeBinary = function(bytes) {
253
+ proto.ondewo.sip.SipEndCallRequest.deserializeBinary = function(bytes) {
248
254
  var reader = new jspb.BinaryReader(bytes);
249
- var msg = new proto.ondewo.sip.EndCallRequest;
250
- return proto.ondewo.sip.EndCallRequest.deserializeBinaryFromReader(msg, reader);
255
+ var msg = new proto.ondewo.sip.SipEndCallRequest;
256
+ return proto.ondewo.sip.SipEndCallRequest.deserializeBinaryFromReader(msg, reader);
251
257
  };
252
258
 
253
259
 
254
260
  /**
255
261
  * Deserializes binary data (in protobuf wire format) from the
256
262
  * given reader into the given message object.
257
- * @param {!proto.ondewo.sip.EndCallRequest} msg The message object to deserialize into.
263
+ * @param {!proto.ondewo.sip.SipEndCallRequest} msg The message object to deserialize into.
258
264
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
259
- * @return {!proto.ondewo.sip.EndCallRequest}
265
+ * @return {!proto.ondewo.sip.SipEndCallRequest}
260
266
  */
261
- proto.ondewo.sip.EndCallRequest.deserializeBinaryFromReader = function(msg, reader) {
267
+ proto.ondewo.sip.SipEndCallRequest.deserializeBinaryFromReader = function(msg, reader) {
262
268
  while (reader.nextField()) {
263
269
  if (reader.isEndGroup()) {
264
270
  break;
@@ -282,9 +288,9 @@ proto.ondewo.sip.EndCallRequest.deserializeBinaryFromReader = function(msg, read
282
288
  * Serializes the message to binary data (in protobuf wire format).
283
289
  * @return {!Uint8Array}
284
290
  */
285
- proto.ondewo.sip.EndCallRequest.prototype.serializeBinary = function() {
291
+ proto.ondewo.sip.SipEndCallRequest.prototype.serializeBinary = function() {
286
292
  var writer = new jspb.BinaryWriter();
287
- proto.ondewo.sip.EndCallRequest.serializeBinaryToWriter(this, writer);
293
+ proto.ondewo.sip.SipEndCallRequest.serializeBinaryToWriter(this, writer);
288
294
  return writer.getResultBuffer();
289
295
  };
290
296
 
@@ -292,11 +298,11 @@ proto.ondewo.sip.EndCallRequest.prototype.serializeBinary = function() {
292
298
  /**
293
299
  * Serializes the given message to binary data (in protobuf wire
294
300
  * format), writing to the given BinaryWriter.
295
- * @param {!proto.ondewo.sip.EndCallRequest} message
301
+ * @param {!proto.ondewo.sip.SipEndCallRequest} message
296
302
  * @param {!jspb.BinaryWriter} writer
297
303
  * @suppress {unusedLocalVariables} f is only used for nested messages
298
304
  */
299
- proto.ondewo.sip.EndCallRequest.serializeBinaryToWriter = function(message, writer) {
305
+ proto.ondewo.sip.SipEndCallRequest.serializeBinaryToWriter = function(message, writer) {
300
306
  var f = undefined;
301
307
  f = message.getHardHangup();
302
308
  if (f) {
@@ -312,16 +318,16 @@ proto.ondewo.sip.EndCallRequest.serializeBinaryToWriter = function(message, writ
312
318
  * optional bool hard_hangup = 1;
313
319
  * @return {boolean}
314
320
  */
315
- proto.ondewo.sip.EndCallRequest.prototype.getHardHangup = function() {
321
+ proto.ondewo.sip.SipEndCallRequest.prototype.getHardHangup = function() {
316
322
  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
317
323
  };
318
324
 
319
325
 
320
326
  /**
321
327
  * @param {boolean} value
322
- * @return {!proto.ondewo.sip.EndCallRequest} returns this
328
+ * @return {!proto.ondewo.sip.SipEndCallRequest} returns this
323
329
  */
324
- proto.ondewo.sip.EndCallRequest.prototype.setHardHangup = function(value) {
330
+ proto.ondewo.sip.SipEndCallRequest.prototype.setHardHangup = function(value) {
325
331
  return jspb.Message.setProto3BooleanField(this, 1, value);
326
332
  };
327
333
 
@@ -342,8 +348,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
342
348
  * http://goto/soy-param-migration
343
349
  * @return {!Object}
344
350
  */
345
- proto.ondewo.sip.StartCallRequest.prototype.toObject = function(opt_includeInstance) {
346
- return proto.ondewo.sip.StartCallRequest.toObject(opt_includeInstance, this);
351
+ proto.ondewo.sip.SipStartCallRequest.prototype.toObject = function(opt_includeInstance) {
352
+ return proto.ondewo.sip.SipStartCallRequest.toObject(opt_includeInstance, this);
347
353
  };
348
354
 
349
355
 
@@ -352,11 +358,11 @@ proto.ondewo.sip.StartCallRequest.prototype.toObject = function(opt_includeInsta
352
358
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
353
359
  * the JSPB instance for transitional soy proto support:
354
360
  * http://goto/soy-param-migration
355
- * @param {!proto.ondewo.sip.StartCallRequest} msg The msg instance to transform.
361
+ * @param {!proto.ondewo.sip.SipStartCallRequest} msg The msg instance to transform.
356
362
  * @return {!Object}
357
363
  * @suppress {unusedLocalVariables} f is only used for nested messages
358
364
  */
359
- proto.ondewo.sip.StartCallRequest.toObject = function(includeInstance, msg) {
365
+ proto.ondewo.sip.SipStartCallRequest.toObject = function(includeInstance, msg) {
360
366
  var f, obj = {
361
367
  calleeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
362
368
  headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : []
@@ -373,23 +379,23 @@ proto.ondewo.sip.StartCallRequest.toObject = function(includeInstance, msg) {
373
379
  /**
374
380
  * Deserializes binary data (in protobuf wire format).
375
381
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
376
- * @return {!proto.ondewo.sip.StartCallRequest}
382
+ * @return {!proto.ondewo.sip.SipStartCallRequest}
377
383
  */
378
- proto.ondewo.sip.StartCallRequest.deserializeBinary = function(bytes) {
384
+ proto.ondewo.sip.SipStartCallRequest.deserializeBinary = function(bytes) {
379
385
  var reader = new jspb.BinaryReader(bytes);
380
- var msg = new proto.ondewo.sip.StartCallRequest;
381
- return proto.ondewo.sip.StartCallRequest.deserializeBinaryFromReader(msg, reader);
386
+ var msg = new proto.ondewo.sip.SipStartCallRequest;
387
+ return proto.ondewo.sip.SipStartCallRequest.deserializeBinaryFromReader(msg, reader);
382
388
  };
383
389
 
384
390
 
385
391
  /**
386
392
  * Deserializes binary data (in protobuf wire format) from the
387
393
  * given reader into the given message object.
388
- * @param {!proto.ondewo.sip.StartCallRequest} msg The message object to deserialize into.
394
+ * @param {!proto.ondewo.sip.SipStartCallRequest} msg The message object to deserialize into.
389
395
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
390
- * @return {!proto.ondewo.sip.StartCallRequest}
396
+ * @return {!proto.ondewo.sip.SipStartCallRequest}
391
397
  */
392
- proto.ondewo.sip.StartCallRequest.deserializeBinaryFromReader = function(msg, reader) {
398
+ proto.ondewo.sip.SipStartCallRequest.deserializeBinaryFromReader = function(msg, reader) {
393
399
  while (reader.nextField()) {
394
400
  if (reader.isEndGroup()) {
395
401
  break;
@@ -419,9 +425,9 @@ proto.ondewo.sip.StartCallRequest.deserializeBinaryFromReader = function(msg, re
419
425
  * Serializes the message to binary data (in protobuf wire format).
420
426
  * @return {!Uint8Array}
421
427
  */
422
- proto.ondewo.sip.StartCallRequest.prototype.serializeBinary = function() {
428
+ proto.ondewo.sip.SipStartCallRequest.prototype.serializeBinary = function() {
423
429
  var writer = new jspb.BinaryWriter();
424
- proto.ondewo.sip.StartCallRequest.serializeBinaryToWriter(this, writer);
430
+ proto.ondewo.sip.SipStartCallRequest.serializeBinaryToWriter(this, writer);
425
431
  return writer.getResultBuffer();
426
432
  };
427
433
 
@@ -429,11 +435,11 @@ proto.ondewo.sip.StartCallRequest.prototype.serializeBinary = function() {
429
435
  /**
430
436
  * Serializes the given message to binary data (in protobuf wire
431
437
  * format), writing to the given BinaryWriter.
432
- * @param {!proto.ondewo.sip.StartCallRequest} message
438
+ * @param {!proto.ondewo.sip.SipStartCallRequest} message
433
439
  * @param {!jspb.BinaryWriter} writer
434
440
  * @suppress {unusedLocalVariables} f is only used for nested messages
435
441
  */
436
- proto.ondewo.sip.StartCallRequest.serializeBinaryToWriter = function(message, writer) {
442
+ proto.ondewo.sip.SipStartCallRequest.serializeBinaryToWriter = function(message, writer) {
437
443
  var f = undefined;
438
444
  f = message.getCalleeId();
439
445
  if (f.length > 0) {
@@ -453,16 +459,16 @@ proto.ondewo.sip.StartCallRequest.serializeBinaryToWriter = function(message, wr
453
459
  * optional string callee_id = 1;
454
460
  * @return {string}
455
461
  */
456
- proto.ondewo.sip.StartCallRequest.prototype.getCalleeId = function() {
462
+ proto.ondewo.sip.SipStartCallRequest.prototype.getCalleeId = function() {
457
463
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
458
464
  };
459
465
 
460
466
 
461
467
  /**
462
468
  * @param {string} value
463
- * @return {!proto.ondewo.sip.StartCallRequest} returns this
469
+ * @return {!proto.ondewo.sip.SipStartCallRequest} returns this
464
470
  */
465
- proto.ondewo.sip.StartCallRequest.prototype.setCalleeId = function(value) {
471
+ proto.ondewo.sip.SipStartCallRequest.prototype.setCalleeId = function(value) {
466
472
  return jspb.Message.setProto3StringField(this, 1, value);
467
473
  };
468
474
 
@@ -473,7 +479,7 @@ proto.ondewo.sip.StartCallRequest.prototype.setCalleeId = function(value) {
473
479
  * empty, instead returning `undefined`
474
480
  * @return {!jspb.Map<string,string>}
475
481
  */
476
- proto.ondewo.sip.StartCallRequest.prototype.getHeadersMap = function(opt_noLazyCreate) {
482
+ proto.ondewo.sip.SipStartCallRequest.prototype.getHeadersMap = function(opt_noLazyCreate) {
477
483
  return /** @type {!jspb.Map<string,string>} */ (
478
484
  jspb.Message.getMapField(this, 2, opt_noLazyCreate,
479
485
  null));
@@ -482,9 +488,9 @@ proto.ondewo.sip.StartCallRequest.prototype.getHeadersMap = function(opt_noLazyC
482
488
 
483
489
  /**
484
490
  * Clears values from the map. The map will be non-null.
485
- * @return {!proto.ondewo.sip.StartCallRequest} returns this
491
+ * @return {!proto.ondewo.sip.SipStartCallRequest} returns this
486
492
  */
487
- proto.ondewo.sip.StartCallRequest.prototype.clearHeadersMap = function() {
493
+ proto.ondewo.sip.SipStartCallRequest.prototype.clearHeadersMap = function() {
488
494
  this.getHeadersMap().clear();
489
495
  return this;};
490
496
 
@@ -505,8 +511,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
505
511
  * http://goto/soy-param-migration
506
512
  * @return {!Object}
507
513
  */
508
- proto.ondewo.sip.RegisterAccountRequest.prototype.toObject = function(opt_includeInstance) {
509
- return proto.ondewo.sip.RegisterAccountRequest.toObject(opt_includeInstance, this);
514
+ proto.ondewo.sip.SipRegisterAccountRequest.prototype.toObject = function(opt_includeInstance) {
515
+ return proto.ondewo.sip.SipRegisterAccountRequest.toObject(opt_includeInstance, this);
510
516
  };
511
517
 
512
518
 
@@ -515,14 +521,16 @@ proto.ondewo.sip.RegisterAccountRequest.prototype.toObject = function(opt_includ
515
521
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
516
522
  * the JSPB instance for transitional soy proto support:
517
523
  * http://goto/soy-param-migration
518
- * @param {!proto.ondewo.sip.RegisterAccountRequest} msg The msg instance to transform.
524
+ * @param {!proto.ondewo.sip.SipRegisterAccountRequest} msg The msg instance to transform.
519
525
  * @return {!Object}
520
526
  * @suppress {unusedLocalVariables} f is only used for nested messages
521
527
  */
522
- proto.ondewo.sip.RegisterAccountRequest.toObject = function(includeInstance, msg) {
528
+ proto.ondewo.sip.SipRegisterAccountRequest.toObject = function(includeInstance, msg) {
523
529
  var f, obj = {
524
530
  accountName: jspb.Message.getFieldWithDefault(msg, 1, ""),
525
- password: jspb.Message.getFieldWithDefault(msg, 2, "")
531
+ password: jspb.Message.getFieldWithDefault(msg, 2, ""),
532
+ authUsername: jspb.Message.getFieldWithDefault(msg, 3, ""),
533
+ outboundProxy: jspb.Message.getFieldWithDefault(msg, 4, "")
526
534
  };
527
535
 
528
536
  if (includeInstance) {
@@ -536,23 +544,23 @@ proto.ondewo.sip.RegisterAccountRequest.toObject = function(includeInstance, msg
536
544
  /**
537
545
  * Deserializes binary data (in protobuf wire format).
538
546
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
539
- * @return {!proto.ondewo.sip.RegisterAccountRequest}
547
+ * @return {!proto.ondewo.sip.SipRegisterAccountRequest}
540
548
  */
541
- proto.ondewo.sip.RegisterAccountRequest.deserializeBinary = function(bytes) {
549
+ proto.ondewo.sip.SipRegisterAccountRequest.deserializeBinary = function(bytes) {
542
550
  var reader = new jspb.BinaryReader(bytes);
543
- var msg = new proto.ondewo.sip.RegisterAccountRequest;
544
- return proto.ondewo.sip.RegisterAccountRequest.deserializeBinaryFromReader(msg, reader);
551
+ var msg = new proto.ondewo.sip.SipRegisterAccountRequest;
552
+ return proto.ondewo.sip.SipRegisterAccountRequest.deserializeBinaryFromReader(msg, reader);
545
553
  };
546
554
 
547
555
 
548
556
  /**
549
557
  * Deserializes binary data (in protobuf wire format) from the
550
558
  * given reader into the given message object.
551
- * @param {!proto.ondewo.sip.RegisterAccountRequest} msg The message object to deserialize into.
559
+ * @param {!proto.ondewo.sip.SipRegisterAccountRequest} msg The message object to deserialize into.
552
560
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
553
- * @return {!proto.ondewo.sip.RegisterAccountRequest}
561
+ * @return {!proto.ondewo.sip.SipRegisterAccountRequest}
554
562
  */
555
- proto.ondewo.sip.RegisterAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
563
+ proto.ondewo.sip.SipRegisterAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
556
564
  while (reader.nextField()) {
557
565
  if (reader.isEndGroup()) {
558
566
  break;
@@ -567,6 +575,14 @@ proto.ondewo.sip.RegisterAccountRequest.deserializeBinaryFromReader = function(m
567
575
  var value = /** @type {string} */ (reader.readString());
568
576
  msg.setPassword(value);
569
577
  break;
578
+ case 3:
579
+ var value = /** @type {string} */ (reader.readString());
580
+ msg.setAuthUsername(value);
581
+ break;
582
+ case 4:
583
+ var value = /** @type {string} */ (reader.readString());
584
+ msg.setOutboundProxy(value);
585
+ break;
570
586
  default:
571
587
  reader.skipField();
572
588
  break;
@@ -580,9 +596,9 @@ proto.ondewo.sip.RegisterAccountRequest.deserializeBinaryFromReader = function(m
580
596
  * Serializes the message to binary data (in protobuf wire format).
581
597
  * @return {!Uint8Array}
582
598
  */
583
- proto.ondewo.sip.RegisterAccountRequest.prototype.serializeBinary = function() {
599
+ proto.ondewo.sip.SipRegisterAccountRequest.prototype.serializeBinary = function() {
584
600
  var writer = new jspb.BinaryWriter();
585
- proto.ondewo.sip.RegisterAccountRequest.serializeBinaryToWriter(this, writer);
601
+ proto.ondewo.sip.SipRegisterAccountRequest.serializeBinaryToWriter(this, writer);
586
602
  return writer.getResultBuffer();
587
603
  };
588
604
 
@@ -590,11 +606,11 @@ proto.ondewo.sip.RegisterAccountRequest.prototype.serializeBinary = function() {
590
606
  /**
591
607
  * Serializes the given message to binary data (in protobuf wire
592
608
  * format), writing to the given BinaryWriter.
593
- * @param {!proto.ondewo.sip.RegisterAccountRequest} message
609
+ * @param {!proto.ondewo.sip.SipRegisterAccountRequest} message
594
610
  * @param {!jspb.BinaryWriter} writer
595
611
  * @suppress {unusedLocalVariables} f is only used for nested messages
596
612
  */
597
- proto.ondewo.sip.RegisterAccountRequest.serializeBinaryToWriter = function(message, writer) {
613
+ proto.ondewo.sip.SipRegisterAccountRequest.serializeBinaryToWriter = function(message, writer) {
598
614
  var f = undefined;
599
615
  f = message.getAccountName();
600
616
  if (f.length > 0) {
@@ -610,6 +626,20 @@ proto.ondewo.sip.RegisterAccountRequest.serializeBinaryToWriter = function(messa
610
626
  f
611
627
  );
612
628
  }
629
+ f = message.getAuthUsername();
630
+ if (f.length > 0) {
631
+ writer.writeString(
632
+ 3,
633
+ f
634
+ );
635
+ }
636
+ f = message.getOutboundProxy();
637
+ if (f.length > 0) {
638
+ writer.writeString(
639
+ 4,
640
+ f
641
+ );
642
+ }
613
643
  };
614
644
 
615
645
 
@@ -617,16 +647,16 @@ proto.ondewo.sip.RegisterAccountRequest.serializeBinaryToWriter = function(messa
617
647
  * optional string account_name = 1;
618
648
  * @return {string}
619
649
  */
620
- proto.ondewo.sip.RegisterAccountRequest.prototype.getAccountName = function() {
650
+ proto.ondewo.sip.SipRegisterAccountRequest.prototype.getAccountName = function() {
621
651
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
622
652
  };
623
653
 
624
654
 
625
655
  /**
626
656
  * @param {string} value
627
- * @return {!proto.ondewo.sip.RegisterAccountRequest} returns this
657
+ * @return {!proto.ondewo.sip.SipRegisterAccountRequest} returns this
628
658
  */
629
- proto.ondewo.sip.RegisterAccountRequest.prototype.setAccountName = function(value) {
659
+ proto.ondewo.sip.SipRegisterAccountRequest.prototype.setAccountName = function(value) {
630
660
  return jspb.Message.setProto3StringField(this, 1, value);
631
661
  };
632
662
 
@@ -635,20 +665,56 @@ proto.ondewo.sip.RegisterAccountRequest.prototype.setAccountName = function(valu
635
665
  * optional string password = 2;
636
666
  * @return {string}
637
667
  */
638
- proto.ondewo.sip.RegisterAccountRequest.prototype.getPassword = function() {
668
+ proto.ondewo.sip.SipRegisterAccountRequest.prototype.getPassword = function() {
639
669
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
640
670
  };
641
671
 
642
672
 
643
673
  /**
644
674
  * @param {string} value
645
- * @return {!proto.ondewo.sip.RegisterAccountRequest} returns this
675
+ * @return {!proto.ondewo.sip.SipRegisterAccountRequest} returns this
646
676
  */
647
- proto.ondewo.sip.RegisterAccountRequest.prototype.setPassword = function(value) {
677
+ proto.ondewo.sip.SipRegisterAccountRequest.prototype.setPassword = function(value) {
648
678
  return jspb.Message.setProto3StringField(this, 2, value);
649
679
  };
650
680
 
651
681
 
682
+ /**
683
+ * optional string auth_username = 3;
684
+ * @return {string}
685
+ */
686
+ proto.ondewo.sip.SipRegisterAccountRequest.prototype.getAuthUsername = function() {
687
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
688
+ };
689
+
690
+
691
+ /**
692
+ * @param {string} value
693
+ * @return {!proto.ondewo.sip.SipRegisterAccountRequest} returns this
694
+ */
695
+ proto.ondewo.sip.SipRegisterAccountRequest.prototype.setAuthUsername = function(value) {
696
+ return jspb.Message.setProto3StringField(this, 3, value);
697
+ };
698
+
699
+
700
+ /**
701
+ * optional string outbound_proxy = 4;
702
+ * @return {string}
703
+ */
704
+ proto.ondewo.sip.SipRegisterAccountRequest.prototype.getOutboundProxy = function() {
705
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
706
+ };
707
+
708
+
709
+ /**
710
+ * @param {string} value
711
+ * @return {!proto.ondewo.sip.SipRegisterAccountRequest} returns this
712
+ */
713
+ proto.ondewo.sip.SipRegisterAccountRequest.prototype.setOutboundProxy = function(value) {
714
+ return jspb.Message.setProto3StringField(this, 4, value);
715
+ };
716
+
717
+
652
718
 
653
719
 
654
720
 
@@ -665,8 +731,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
665
731
  * http://goto/soy-param-migration
666
732
  * @return {!Object}
667
733
  */
668
- proto.ondewo.sip.StartSessionRequest.prototype.toObject = function(opt_includeInstance) {
669
- return proto.ondewo.sip.StartSessionRequest.toObject(opt_includeInstance, this);
734
+ proto.ondewo.sip.SipStartSessionRequest.prototype.toObject = function(opt_includeInstance) {
735
+ return proto.ondewo.sip.SipStartSessionRequest.toObject(opt_includeInstance, this);
670
736
  };
671
737
 
672
738
 
@@ -675,11 +741,11 @@ proto.ondewo.sip.StartSessionRequest.prototype.toObject = function(opt_includeIn
675
741
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
676
742
  * the JSPB instance for transitional soy proto support:
677
743
  * http://goto/soy-param-migration
678
- * @param {!proto.ondewo.sip.StartSessionRequest} msg The msg instance to transform.
744
+ * @param {!proto.ondewo.sip.SipStartSessionRequest} msg The msg instance to transform.
679
745
  * @return {!Object}
680
746
  * @suppress {unusedLocalVariables} f is only used for nested messages
681
747
  */
682
- proto.ondewo.sip.StartSessionRequest.toObject = function(includeInstance, msg) {
748
+ proto.ondewo.sip.SipStartSessionRequest.toObject = function(includeInstance, msg) {
683
749
  var f, obj = {
684
750
  accountName: jspb.Message.getFieldWithDefault(msg, 1, ""),
685
751
  autoAnswerInterval: jspb.Message.getFieldWithDefault(msg, 2, 0)
@@ -696,23 +762,23 @@ proto.ondewo.sip.StartSessionRequest.toObject = function(includeInstance, msg) {
696
762
  /**
697
763
  * Deserializes binary data (in protobuf wire format).
698
764
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
699
- * @return {!proto.ondewo.sip.StartSessionRequest}
765
+ * @return {!proto.ondewo.sip.SipStartSessionRequest}
700
766
  */
701
- proto.ondewo.sip.StartSessionRequest.deserializeBinary = function(bytes) {
767
+ proto.ondewo.sip.SipStartSessionRequest.deserializeBinary = function(bytes) {
702
768
  var reader = new jspb.BinaryReader(bytes);
703
- var msg = new proto.ondewo.sip.StartSessionRequest;
704
- return proto.ondewo.sip.StartSessionRequest.deserializeBinaryFromReader(msg, reader);
769
+ var msg = new proto.ondewo.sip.SipStartSessionRequest;
770
+ return proto.ondewo.sip.SipStartSessionRequest.deserializeBinaryFromReader(msg, reader);
705
771
  };
706
772
 
707
773
 
708
774
  /**
709
775
  * Deserializes binary data (in protobuf wire format) from the
710
776
  * given reader into the given message object.
711
- * @param {!proto.ondewo.sip.StartSessionRequest} msg The message object to deserialize into.
777
+ * @param {!proto.ondewo.sip.SipStartSessionRequest} msg The message object to deserialize into.
712
778
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
713
- * @return {!proto.ondewo.sip.StartSessionRequest}
779
+ * @return {!proto.ondewo.sip.SipStartSessionRequest}
714
780
  */
715
- proto.ondewo.sip.StartSessionRequest.deserializeBinaryFromReader = function(msg, reader) {
781
+ proto.ondewo.sip.SipStartSessionRequest.deserializeBinaryFromReader = function(msg, reader) {
716
782
  while (reader.nextField()) {
717
783
  if (reader.isEndGroup()) {
718
784
  break;
@@ -740,9 +806,9 @@ proto.ondewo.sip.StartSessionRequest.deserializeBinaryFromReader = function(msg,
740
806
  * Serializes the message to binary data (in protobuf wire format).
741
807
  * @return {!Uint8Array}
742
808
  */
743
- proto.ondewo.sip.StartSessionRequest.prototype.serializeBinary = function() {
809
+ proto.ondewo.sip.SipStartSessionRequest.prototype.serializeBinary = function() {
744
810
  var writer = new jspb.BinaryWriter();
745
- proto.ondewo.sip.StartSessionRequest.serializeBinaryToWriter(this, writer);
811
+ proto.ondewo.sip.SipStartSessionRequest.serializeBinaryToWriter(this, writer);
746
812
  return writer.getResultBuffer();
747
813
  };
748
814
 
@@ -750,11 +816,11 @@ proto.ondewo.sip.StartSessionRequest.prototype.serializeBinary = function() {
750
816
  /**
751
817
  * Serializes the given message to binary data (in protobuf wire
752
818
  * format), writing to the given BinaryWriter.
753
- * @param {!proto.ondewo.sip.StartSessionRequest} message
819
+ * @param {!proto.ondewo.sip.SipStartSessionRequest} message
754
820
  * @param {!jspb.BinaryWriter} writer
755
821
  * @suppress {unusedLocalVariables} f is only used for nested messages
756
822
  */
757
- proto.ondewo.sip.StartSessionRequest.serializeBinaryToWriter = function(message, writer) {
823
+ proto.ondewo.sip.SipStartSessionRequest.serializeBinaryToWriter = function(message, writer) {
758
824
  var f = undefined;
759
825
  f = message.getAccountName();
760
826
  if (f.length > 0) {
@@ -777,16 +843,16 @@ proto.ondewo.sip.StartSessionRequest.serializeBinaryToWriter = function(message,
777
843
  * optional string account_name = 1;
778
844
  * @return {string}
779
845
  */
780
- proto.ondewo.sip.StartSessionRequest.prototype.getAccountName = function() {
846
+ proto.ondewo.sip.SipStartSessionRequest.prototype.getAccountName = function() {
781
847
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
782
848
  };
783
849
 
784
850
 
785
851
  /**
786
852
  * @param {string} value
787
- * @return {!proto.ondewo.sip.StartSessionRequest} returns this
853
+ * @return {!proto.ondewo.sip.SipStartSessionRequest} returns this
788
854
  */
789
- proto.ondewo.sip.StartSessionRequest.prototype.setAccountName = function(value) {
855
+ proto.ondewo.sip.SipStartSessionRequest.prototype.setAccountName = function(value) {
790
856
  return jspb.Message.setProto3StringField(this, 1, value);
791
857
  };
792
858
 
@@ -795,16 +861,16 @@ proto.ondewo.sip.StartSessionRequest.prototype.setAccountName = function(value)
795
861
  * optional int32 auto_answer_interval = 2;
796
862
  * @return {number}
797
863
  */
798
- proto.ondewo.sip.StartSessionRequest.prototype.getAutoAnswerInterval = function() {
864
+ proto.ondewo.sip.SipStartSessionRequest.prototype.getAutoAnswerInterval = function() {
799
865
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
800
866
  };
801
867
 
802
868
 
803
869
  /**
804
870
  * @param {number} value
805
- * @return {!proto.ondewo.sip.StartSessionRequest} returns this
871
+ * @return {!proto.ondewo.sip.SipStartSessionRequest} returns this
806
872
  */
807
- proto.ondewo.sip.StartSessionRequest.prototype.setAutoAnswerInterval = function(value) {
873
+ proto.ondewo.sip.SipStartSessionRequest.prototype.setAutoAnswerInterval = function(value) {
808
874
  return jspb.Message.setProto3IntField(this, 2, value);
809
875
  };
810
876
 
@@ -825,8 +891,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
825
891
  * http://goto/soy-param-migration
826
892
  * @return {!Object}
827
893
  */
828
- proto.ondewo.sip.TransferCallRequest.prototype.toObject = function(opt_includeInstance) {
829
- return proto.ondewo.sip.TransferCallRequest.toObject(opt_includeInstance, this);
894
+ proto.ondewo.sip.SipTransferCallRequest.prototype.toObject = function(opt_includeInstance) {
895
+ return proto.ondewo.sip.SipTransferCallRequest.toObject(opt_includeInstance, this);
830
896
  };
831
897
 
832
898
 
@@ -835,11 +901,11 @@ proto.ondewo.sip.TransferCallRequest.prototype.toObject = function(opt_includeIn
835
901
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
836
902
  * the JSPB instance for transitional soy proto support:
837
903
  * http://goto/soy-param-migration
838
- * @param {!proto.ondewo.sip.TransferCallRequest} msg The msg instance to transform.
904
+ * @param {!proto.ondewo.sip.SipTransferCallRequest} msg The msg instance to transform.
839
905
  * @return {!Object}
840
906
  * @suppress {unusedLocalVariables} f is only used for nested messages
841
907
  */
842
- proto.ondewo.sip.TransferCallRequest.toObject = function(includeInstance, msg) {
908
+ proto.ondewo.sip.SipTransferCallRequest.toObject = function(includeInstance, msg) {
843
909
  var f, obj = {
844
910
  transferId: jspb.Message.getFieldWithDefault(msg, 1, ""),
845
911
  headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : []
@@ -856,23 +922,23 @@ proto.ondewo.sip.TransferCallRequest.toObject = function(includeInstance, msg) {
856
922
  /**
857
923
  * Deserializes binary data (in protobuf wire format).
858
924
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
859
- * @return {!proto.ondewo.sip.TransferCallRequest}
925
+ * @return {!proto.ondewo.sip.SipTransferCallRequest}
860
926
  */
861
- proto.ondewo.sip.TransferCallRequest.deserializeBinary = function(bytes) {
927
+ proto.ondewo.sip.SipTransferCallRequest.deserializeBinary = function(bytes) {
862
928
  var reader = new jspb.BinaryReader(bytes);
863
- var msg = new proto.ondewo.sip.TransferCallRequest;
864
- return proto.ondewo.sip.TransferCallRequest.deserializeBinaryFromReader(msg, reader);
929
+ var msg = new proto.ondewo.sip.SipTransferCallRequest;
930
+ return proto.ondewo.sip.SipTransferCallRequest.deserializeBinaryFromReader(msg, reader);
865
931
  };
866
932
 
867
933
 
868
934
  /**
869
935
  * Deserializes binary data (in protobuf wire format) from the
870
936
  * given reader into the given message object.
871
- * @param {!proto.ondewo.sip.TransferCallRequest} msg The message object to deserialize into.
937
+ * @param {!proto.ondewo.sip.SipTransferCallRequest} msg The message object to deserialize into.
872
938
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
873
- * @return {!proto.ondewo.sip.TransferCallRequest}
939
+ * @return {!proto.ondewo.sip.SipTransferCallRequest}
874
940
  */
875
- proto.ondewo.sip.TransferCallRequest.deserializeBinaryFromReader = function(msg, reader) {
941
+ proto.ondewo.sip.SipTransferCallRequest.deserializeBinaryFromReader = function(msg, reader) {
876
942
  while (reader.nextField()) {
877
943
  if (reader.isEndGroup()) {
878
944
  break;
@@ -902,9 +968,9 @@ proto.ondewo.sip.TransferCallRequest.deserializeBinaryFromReader = function(msg,
902
968
  * Serializes the message to binary data (in protobuf wire format).
903
969
  * @return {!Uint8Array}
904
970
  */
905
- proto.ondewo.sip.TransferCallRequest.prototype.serializeBinary = function() {
971
+ proto.ondewo.sip.SipTransferCallRequest.prototype.serializeBinary = function() {
906
972
  var writer = new jspb.BinaryWriter();
907
- proto.ondewo.sip.TransferCallRequest.serializeBinaryToWriter(this, writer);
973
+ proto.ondewo.sip.SipTransferCallRequest.serializeBinaryToWriter(this, writer);
908
974
  return writer.getResultBuffer();
909
975
  };
910
976
 
@@ -912,11 +978,11 @@ proto.ondewo.sip.TransferCallRequest.prototype.serializeBinary = function() {
912
978
  /**
913
979
  * Serializes the given message to binary data (in protobuf wire
914
980
  * format), writing to the given BinaryWriter.
915
- * @param {!proto.ondewo.sip.TransferCallRequest} message
981
+ * @param {!proto.ondewo.sip.SipTransferCallRequest} message
916
982
  * @param {!jspb.BinaryWriter} writer
917
983
  * @suppress {unusedLocalVariables} f is only used for nested messages
918
984
  */
919
- proto.ondewo.sip.TransferCallRequest.serializeBinaryToWriter = function(message, writer) {
985
+ proto.ondewo.sip.SipTransferCallRequest.serializeBinaryToWriter = function(message, writer) {
920
986
  var f = undefined;
921
987
  f = message.getTransferId();
922
988
  if (f.length > 0) {
@@ -936,16 +1002,16 @@ proto.ondewo.sip.TransferCallRequest.serializeBinaryToWriter = function(message,
936
1002
  * optional string transfer_id = 1;
937
1003
  * @return {string}
938
1004
  */
939
- proto.ondewo.sip.TransferCallRequest.prototype.getTransferId = function() {
1005
+ proto.ondewo.sip.SipTransferCallRequest.prototype.getTransferId = function() {
940
1006
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
941
1007
  };
942
1008
 
943
1009
 
944
1010
  /**
945
1011
  * @param {string} value
946
- * @return {!proto.ondewo.sip.TransferCallRequest} returns this
1012
+ * @return {!proto.ondewo.sip.SipTransferCallRequest} returns this
947
1013
  */
948
- proto.ondewo.sip.TransferCallRequest.prototype.setTransferId = function(value) {
1014
+ proto.ondewo.sip.SipTransferCallRequest.prototype.setTransferId = function(value) {
949
1015
  return jspb.Message.setProto3StringField(this, 1, value);
950
1016
  };
951
1017
 
@@ -956,7 +1022,7 @@ proto.ondewo.sip.TransferCallRequest.prototype.setTransferId = function(value) {
956
1022
  * empty, instead returning `undefined`
957
1023
  * @return {!jspb.Map<string,string>}
958
1024
  */
959
- proto.ondewo.sip.TransferCallRequest.prototype.getHeadersMap = function(opt_noLazyCreate) {
1025
+ proto.ondewo.sip.SipTransferCallRequest.prototype.getHeadersMap = function(opt_noLazyCreate) {
960
1026
  return /** @type {!jspb.Map<string,string>} */ (
961
1027
  jspb.Message.getMapField(this, 2, opt_noLazyCreate,
962
1028
  null));
@@ -965,9 +1031,9 @@ proto.ondewo.sip.TransferCallRequest.prototype.getHeadersMap = function(opt_noLa
965
1031
 
966
1032
  /**
967
1033
  * Clears values from the map. The map will be non-null.
968
- * @return {!proto.ondewo.sip.TransferCallRequest} returns this
1034
+ * @return {!proto.ondewo.sip.SipTransferCallRequest} returns this
969
1035
  */
970
- proto.ondewo.sip.TransferCallRequest.prototype.clearHeadersMap = function() {
1036
+ proto.ondewo.sip.SipTransferCallRequest.prototype.clearHeadersMap = function() {
971
1037
  this.getHeadersMap().clear();
972
1038
  return this;};
973
1039
 
@@ -1009,7 +1075,10 @@ proto.ondewo.sip.SipStatus.toObject = function(includeInstance, msg) {
1009
1075
  statusType: jspb.Message.getFieldWithDefault(msg, 3, 0),
1010
1076
  calleeId: jspb.Message.getFieldWithDefault(msg, 4, ""),
1011
1077
  transferCallId: jspb.Message.getFieldWithDefault(msg, 5, ""),
1012
- headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : []
1078
+ headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : [],
1079
+ description: jspb.Message.getFieldWithDefault(msg, 7, ""),
1080
+ exceptionName: jspb.Message.getFieldWithDefault(msg, 8, ""),
1081
+ exceptionTraceback: jspb.Message.getFieldWithDefault(msg, 9, "")
1013
1082
  };
1014
1083
 
1015
1084
  if (includeInstance) {
@@ -1073,6 +1142,18 @@ proto.ondewo.sip.SipStatus.deserializeBinaryFromReader = function(msg, reader) {
1073
1142
  jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
1074
1143
  });
1075
1144
  break;
1145
+ case 7:
1146
+ var value = /** @type {string} */ (reader.readString());
1147
+ msg.setDescription(value);
1148
+ break;
1149
+ case 8:
1150
+ var value = /** @type {string} */ (reader.readString());
1151
+ msg.setExceptionName(value);
1152
+ break;
1153
+ case 9:
1154
+ var value = /** @type {string} */ (reader.readString());
1155
+ msg.setExceptionTraceback(value);
1156
+ break;
1076
1157
  default:
1077
1158
  reader.skipField();
1078
1159
  break;
@@ -1142,6 +1223,27 @@ proto.ondewo.sip.SipStatus.serializeBinaryToWriter = function(message, writer) {
1142
1223
  if (f && f.getLength() > 0) {
1143
1224
  f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
1144
1225
  }
1226
+ f = message.getDescription();
1227
+ if (f.length > 0) {
1228
+ writer.writeString(
1229
+ 7,
1230
+ f
1231
+ );
1232
+ }
1233
+ f = message.getExceptionName();
1234
+ if (f.length > 0) {
1235
+ writer.writeString(
1236
+ 8,
1237
+ f
1238
+ );
1239
+ }
1240
+ f = message.getExceptionTraceback();
1241
+ if (f.length > 0) {
1242
+ writer.writeString(
1243
+ 9,
1244
+ f
1245
+ );
1246
+ }
1145
1247
  };
1146
1248
 
1147
1249
 
@@ -1162,7 +1264,15 @@ proto.ondewo.sip.SipStatus.StatusType = {
1162
1264
  INCOMING_CALL_FAILED: 10,
1163
1265
  OUTGOING_CALL_FAILED: 11,
1164
1266
  INCOMING_CALL_FINISHED: 12,
1165
- OUTGOING_CALL_FINISHED: 13
1267
+ OUTGOING_CALL_FINISHED: 13,
1268
+ SESSION_REGISTRATION_FAILED: 14,
1269
+ SESSION_STARTED: 15,
1270
+ SESSION_ENDED: 16,
1271
+ TRANSFER_CALL_FAILED: 17,
1272
+ MICROPHONE_MUTED: 18,
1273
+ MICROPHONE_UNMUTED: 19,
1274
+ MICROPHONE_WAV_FILES_PLAYED: 20,
1275
+ NO_ONGOING_CALL: 21
1166
1276
  };
1167
1277
 
1168
1278
  /**
@@ -1296,6 +1406,60 @@ proto.ondewo.sip.SipStatus.prototype.clearHeadersMap = function() {
1296
1406
  return this;};
1297
1407
 
1298
1408
 
1409
+ /**
1410
+ * optional string description = 7;
1411
+ * @return {string}
1412
+ */
1413
+ proto.ondewo.sip.SipStatus.prototype.getDescription = function() {
1414
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
1415
+ };
1416
+
1417
+
1418
+ /**
1419
+ * @param {string} value
1420
+ * @return {!proto.ondewo.sip.SipStatus} returns this
1421
+ */
1422
+ proto.ondewo.sip.SipStatus.prototype.setDescription = function(value) {
1423
+ return jspb.Message.setProto3StringField(this, 7, value);
1424
+ };
1425
+
1426
+
1427
+ /**
1428
+ * optional string exception_name = 8;
1429
+ * @return {string}
1430
+ */
1431
+ proto.ondewo.sip.SipStatus.prototype.getExceptionName = function() {
1432
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
1433
+ };
1434
+
1435
+
1436
+ /**
1437
+ * @param {string} value
1438
+ * @return {!proto.ondewo.sip.SipStatus} returns this
1439
+ */
1440
+ proto.ondewo.sip.SipStatus.prototype.setExceptionName = function(value) {
1441
+ return jspb.Message.setProto3StringField(this, 8, value);
1442
+ };
1443
+
1444
+
1445
+ /**
1446
+ * optional string exception_traceback = 9;
1447
+ * @return {string}
1448
+ */
1449
+ proto.ondewo.sip.SipStatus.prototype.getExceptionTraceback = function() {
1450
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
1451
+ };
1452
+
1453
+
1454
+ /**
1455
+ * @param {string} value
1456
+ * @return {!proto.ondewo.sip.SipStatus} returns this
1457
+ */
1458
+ proto.ondewo.sip.SipStatus.prototype.setExceptionTraceback = function(value) {
1459
+ return jspb.Message.setProto3StringField(this, 9, value);
1460
+ };
1461
+
1462
+
1299
1463
 
1300
1464
  /**
1301
1465
  * List of repeated fields within this message type.
@@ -1462,7 +1626,7 @@ proto.ondewo.sip.SipStatusHistoryResponse.prototype.clearStatusHistoryList = fun
1462
1626
  * @private {!Array<number>}
1463
1627
  * @const
1464
1628
  */
1465
- proto.ondewo.sip.PlayWavFilesRequest.repeatedFields_ = [1];
1629
+ proto.ondewo.sip.SipPlayWavFilesRequest.repeatedFields_ = [1];
1466
1630
 
1467
1631
 
1468
1632
 
@@ -1479,8 +1643,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
1479
1643
  * http://goto/soy-param-migration
1480
1644
  * @return {!Object}
1481
1645
  */
1482
- proto.ondewo.sip.PlayWavFilesRequest.prototype.toObject = function(opt_includeInstance) {
1483
- return proto.ondewo.sip.PlayWavFilesRequest.toObject(opt_includeInstance, this);
1646
+ proto.ondewo.sip.SipPlayWavFilesRequest.prototype.toObject = function(opt_includeInstance) {
1647
+ return proto.ondewo.sip.SipPlayWavFilesRequest.toObject(opt_includeInstance, this);
1484
1648
  };
1485
1649
 
1486
1650
 
@@ -1489,11 +1653,11 @@ proto.ondewo.sip.PlayWavFilesRequest.prototype.toObject = function(opt_includeIn
1489
1653
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1490
1654
  * the JSPB instance for transitional soy proto support:
1491
1655
  * http://goto/soy-param-migration
1492
- * @param {!proto.ondewo.sip.PlayWavFilesRequest} msg The msg instance to transform.
1656
+ * @param {!proto.ondewo.sip.SipPlayWavFilesRequest} msg The msg instance to transform.
1493
1657
  * @return {!Object}
1494
1658
  * @suppress {unusedLocalVariables} f is only used for nested messages
1495
1659
  */
1496
- proto.ondewo.sip.PlayWavFilesRequest.toObject = function(includeInstance, msg) {
1660
+ proto.ondewo.sip.SipPlayWavFilesRequest.toObject = function(includeInstance, msg) {
1497
1661
  var f, obj = {
1498
1662
  wavFilesList: msg.getWavFilesList_asB64()
1499
1663
  };
@@ -1509,23 +1673,23 @@ proto.ondewo.sip.PlayWavFilesRequest.toObject = function(includeInstance, msg) {
1509
1673
  /**
1510
1674
  * Deserializes binary data (in protobuf wire format).
1511
1675
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1512
- * @return {!proto.ondewo.sip.PlayWavFilesRequest}
1676
+ * @return {!proto.ondewo.sip.SipPlayWavFilesRequest}
1513
1677
  */
1514
- proto.ondewo.sip.PlayWavFilesRequest.deserializeBinary = function(bytes) {
1678
+ proto.ondewo.sip.SipPlayWavFilesRequest.deserializeBinary = function(bytes) {
1515
1679
  var reader = new jspb.BinaryReader(bytes);
1516
- var msg = new proto.ondewo.sip.PlayWavFilesRequest;
1517
- return proto.ondewo.sip.PlayWavFilesRequest.deserializeBinaryFromReader(msg, reader);
1680
+ var msg = new proto.ondewo.sip.SipPlayWavFilesRequest;
1681
+ return proto.ondewo.sip.SipPlayWavFilesRequest.deserializeBinaryFromReader(msg, reader);
1518
1682
  };
1519
1683
 
1520
1684
 
1521
1685
  /**
1522
1686
  * Deserializes binary data (in protobuf wire format) from the
1523
1687
  * given reader into the given message object.
1524
- * @param {!proto.ondewo.sip.PlayWavFilesRequest} msg The message object to deserialize into.
1688
+ * @param {!proto.ondewo.sip.SipPlayWavFilesRequest} msg The message object to deserialize into.
1525
1689
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1526
- * @return {!proto.ondewo.sip.PlayWavFilesRequest}
1690
+ * @return {!proto.ondewo.sip.SipPlayWavFilesRequest}
1527
1691
  */
1528
- proto.ondewo.sip.PlayWavFilesRequest.deserializeBinaryFromReader = function(msg, reader) {
1692
+ proto.ondewo.sip.SipPlayWavFilesRequest.deserializeBinaryFromReader = function(msg, reader) {
1529
1693
  while (reader.nextField()) {
1530
1694
  if (reader.isEndGroup()) {
1531
1695
  break;
@@ -1549,9 +1713,9 @@ proto.ondewo.sip.PlayWavFilesRequest.deserializeBinaryFromReader = function(msg,
1549
1713
  * Serializes the message to binary data (in protobuf wire format).
1550
1714
  * @return {!Uint8Array}
1551
1715
  */
1552
- proto.ondewo.sip.PlayWavFilesRequest.prototype.serializeBinary = function() {
1716
+ proto.ondewo.sip.SipPlayWavFilesRequest.prototype.serializeBinary = function() {
1553
1717
  var writer = new jspb.BinaryWriter();
1554
- proto.ondewo.sip.PlayWavFilesRequest.serializeBinaryToWriter(this, writer);
1718
+ proto.ondewo.sip.SipPlayWavFilesRequest.serializeBinaryToWriter(this, writer);
1555
1719
  return writer.getResultBuffer();
1556
1720
  };
1557
1721
 
@@ -1559,11 +1723,11 @@ proto.ondewo.sip.PlayWavFilesRequest.prototype.serializeBinary = function() {
1559
1723
  /**
1560
1724
  * Serializes the given message to binary data (in protobuf wire
1561
1725
  * format), writing to the given BinaryWriter.
1562
- * @param {!proto.ondewo.sip.PlayWavFilesRequest} message
1726
+ * @param {!proto.ondewo.sip.SipPlayWavFilesRequest} message
1563
1727
  * @param {!jspb.BinaryWriter} writer
1564
1728
  * @suppress {unusedLocalVariables} f is only used for nested messages
1565
1729
  */
1566
- proto.ondewo.sip.PlayWavFilesRequest.serializeBinaryToWriter = function(message, writer) {
1730
+ proto.ondewo.sip.SipPlayWavFilesRequest.serializeBinaryToWriter = function(message, writer) {
1567
1731
  var f = undefined;
1568
1732
  f = message.getWavFilesList_asU8();
1569
1733
  if (f.length > 0) {
@@ -1579,7 +1743,7 @@ proto.ondewo.sip.PlayWavFilesRequest.serializeBinaryToWriter = function(message,
1579
1743
  * repeated bytes wav_files = 1;
1580
1744
  * @return {!(Array<!Uint8Array>|Array<string>)}
1581
1745
  */
1582
- proto.ondewo.sip.PlayWavFilesRequest.prototype.getWavFilesList = function() {
1746
+ proto.ondewo.sip.SipPlayWavFilesRequest.prototype.getWavFilesList = function() {
1583
1747
  return /** @type {!(Array<!Uint8Array>|Array<string>)} */ (jspb.Message.getRepeatedField(this, 1));
1584
1748
  };
1585
1749
 
@@ -1589,7 +1753,7 @@ proto.ondewo.sip.PlayWavFilesRequest.prototype.getWavFilesList = function() {
1589
1753
  * This is a type-conversion wrapper around `getWavFilesList()`
1590
1754
  * @return {!Array<string>}
1591
1755
  */
1592
- proto.ondewo.sip.PlayWavFilesRequest.prototype.getWavFilesList_asB64 = function() {
1756
+ proto.ondewo.sip.SipPlayWavFilesRequest.prototype.getWavFilesList_asB64 = function() {
1593
1757
  return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
1594
1758
  this.getWavFilesList()));
1595
1759
  };
@@ -1602,7 +1766,7 @@ proto.ondewo.sip.PlayWavFilesRequest.prototype.getWavFilesList_asB64 = function(
1602
1766
  * This is a type-conversion wrapper around `getWavFilesList()`
1603
1767
  * @return {!Array<!Uint8Array>}
1604
1768
  */
1605
- proto.ondewo.sip.PlayWavFilesRequest.prototype.getWavFilesList_asU8 = function() {
1769
+ proto.ondewo.sip.SipPlayWavFilesRequest.prototype.getWavFilesList_asU8 = function() {
1606
1770
  return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
1607
1771
  this.getWavFilesList()));
1608
1772
  };
@@ -1610,9 +1774,9 @@ proto.ondewo.sip.PlayWavFilesRequest.prototype.getWavFilesList_asU8 = function()
1610
1774
 
1611
1775
  /**
1612
1776
  * @param {!(Array<!Uint8Array>|Array<string>)} value
1613
- * @return {!proto.ondewo.sip.PlayWavFilesRequest} returns this
1777
+ * @return {!proto.ondewo.sip.SipPlayWavFilesRequest} returns this
1614
1778
  */
1615
- proto.ondewo.sip.PlayWavFilesRequest.prototype.setWavFilesList = function(value) {
1779
+ proto.ondewo.sip.SipPlayWavFilesRequest.prototype.setWavFilesList = function(value) {
1616
1780
  return jspb.Message.setField(this, 1, value || []);
1617
1781
  };
1618
1782
 
@@ -1620,18 +1784,18 @@ proto.ondewo.sip.PlayWavFilesRequest.prototype.setWavFilesList = function(value)
1620
1784
  /**
1621
1785
  * @param {!(string|Uint8Array)} value
1622
1786
  * @param {number=} opt_index
1623
- * @return {!proto.ondewo.sip.PlayWavFilesRequest} returns this
1787
+ * @return {!proto.ondewo.sip.SipPlayWavFilesRequest} returns this
1624
1788
  */
1625
- proto.ondewo.sip.PlayWavFilesRequest.prototype.addWavFiles = function(value, opt_index) {
1789
+ proto.ondewo.sip.SipPlayWavFilesRequest.prototype.addWavFiles = function(value, opt_index) {
1626
1790
  return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1627
1791
  };
1628
1792
 
1629
1793
 
1630
1794
  /**
1631
1795
  * Clears the list making it empty but non-null.
1632
- * @return {!proto.ondewo.sip.PlayWavFilesRequest} returns this
1796
+ * @return {!proto.ondewo.sip.SipPlayWavFilesRequest} returns this
1633
1797
  */
1634
- proto.ondewo.sip.PlayWavFilesRequest.prototype.clearWavFilesList = function() {
1798
+ proto.ondewo.sip.SipPlayWavFilesRequest.prototype.clearWavFilesList = function() {
1635
1799
  return this.setWavFilesList([]);
1636
1800
  };
1637
1801