mirror of
https://dev.azure.com/globalhealthx/EMR/_git/helix-engage
synced 2026-04-12 02:38:15 +00:00
fix: session reset after call end, add reject/decline for incoming calls, extract caller ID from SIP headers (P-Asserted-Identity, Remote-Party-ID)
This commit is contained in:
@@ -92,6 +92,7 @@ export const CallWidget = () => {
|
||||
isOnHold,
|
||||
callDuration,
|
||||
answer,
|
||||
reject,
|
||||
hangup,
|
||||
toggleMute,
|
||||
toggleHold,
|
||||
@@ -171,7 +172,7 @@ export const CallWidget = () => {
|
||||
<Button size="md" color="primary" iconLeading={Phone01} onClick={answer}>
|
||||
Answer
|
||||
</Button>
|
||||
<Button size="md" color="primary-destructive" iconLeading={PhoneX} onClick={hangup}>
|
||||
<Button size="md" color="primary-destructive" iconLeading={PhoneX} onClick={reject}>
|
||||
Decline
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user