@voicenter-team/opensips-js 1.0.93 → 1.0.94

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,7 @@ export type ChangeVolumeEventType = {
17
17
  }
18
18
 
19
19
  export type readyListener = (value: boolean) => void
20
+ export type connectionListener = (value: boolean) => void
20
21
  export type changeActiveCallsListener = (event: { [key: string]: ICall }) => void
21
22
  export type changeActiveMessagesListener = (event: { [key: string]: IMessage }) => void
22
23
  export type TestEventListener = (event: { test: string }) => void
@@ -48,6 +49,7 @@ export type memberHangupListener = (event: object) => void
48
49
 
49
50
  export interface OpenSIPSEventMap extends UAEventMap {
50
51
  ready: readyListener
52
+ connection: connectionListener
51
53
  changeActiveCalls: changeActiveCallsListener
52
54
  changeActiveMessages: changeActiveMessagesListener
53
55
  callConfirmed: TestEventListener