mirror of
https://dev.azure.com/globalhealthx/EMR/_git/helix-engage
synced 2026-04-11 18:28:15 +00:00
feat: add JsSIP SIP client and useSipPhone hook for Ozonetel softphone integration
This commit is contained in:
11
src/types/sip.ts
Normal file
11
src/types/sip.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export type SIPConfig = {
|
||||
displayName: string;
|
||||
uri: string;
|
||||
password: string;
|
||||
wsServer: string;
|
||||
stunServers: string;
|
||||
};
|
||||
|
||||
export type ConnectionStatus = 'disconnected' | 'connecting' | 'connected' | 'registered' | 'error';
|
||||
|
||||
export type CallState = 'idle' | 'ringing-in' | 'ringing-out' | 'active' | 'ended' | 'failed';
|
||||
Reference in New Issue
Block a user