@@ -40,11 +40,13 @@ interface IProxyMethods {
40
40
sendDTMF : SipConnector [ 'sendDTMF' ] ;
41
41
hangUp : SipConnector [ 'hangUp' ] ;
42
42
declineToIncomingCall : SipConnector [ 'declineToIncomingCall' ] ;
43
- isConfigured : SipConnector [ 'isConfigured' ] ;
44
43
sendChannels : SipConnector [ 'sendChannels' ] ;
45
44
checkTelephony : SipConnector [ 'checkTelephony' ] ;
46
45
waitChannels : SipConnector [ 'waitChannels' ] ;
46
+ ping : SipConnector [ 'ping' ] ;
47
47
connection : SipConnector [ 'connection' ] ;
48
+ isConfigured : SipConnector [ 'isConfigured' ] ;
49
+ isRegistered : SipConnector [ 'isRegistered' ] ;
48
50
}
49
51
50
52
const proxyMethods = new Set < keyof IProxyMethods > ( [
@@ -61,11 +63,13 @@ const proxyMethods = new Set<keyof IProxyMethods>([
61
63
'sendDTMF' ,
62
64
'hangUp' ,
63
65
'declineToIncomingCall' ,
64
- 'isConfigured' ,
65
66
'sendChannels' ,
66
67
'checkTelephony' ,
67
68
'waitChannels' ,
69
+ 'ping' ,
68
70
'connection' ,
71
+ 'isConfigured' ,
72
+ 'isRegistered' ,
69
73
] ) ;
70
74
71
75
class SipConnectorFacade implements IProxyMethods {
@@ -114,9 +118,6 @@ class SipConnectorFacade implements IProxyMethods {
114
118
// @ts -expect-error: proxy method
115
119
public declineToIncomingCall : IProxyMethods [ 'declineToIncomingCall' ] ;
116
120
117
- // @ts -expect-error: proxy method
118
- public isConfigured : IProxyMethods [ 'isConfigured' ] ;
119
-
120
121
// @ts -expect-error: proxy method
121
122
public sendChannels : IProxyMethods [ 'sendChannels' ] ;
122
123
@@ -126,9 +127,18 @@ class SipConnectorFacade implements IProxyMethods {
126
127
// @ts -expect-error: proxy method
127
128
public waitChannels : IProxyMethods [ 'waitChannels' ] ;
128
129
130
+ // @ts -expect-error: proxy method
131
+ public ping : IProxyMethods [ 'ping' ] ;
132
+
129
133
// proxy method
130
134
public connection : IProxyMethods [ 'connection' ] ;
131
135
136
+ // @ts -expect-error: proxy method
137
+ public isConfigured : IProxyMethods [ 'isConfigured' ] ;
138
+
139
+ // @ts -expect-error: proxy method
140
+ public isRegistered : IProxyMethods [ 'isRegistered' ] ;
141
+
132
142
public constructor (
133
143
sipConnector : SipConnector ,
134
144
{
0 commit comments