feat(voip): make Daftaresoma setup inbound-first and filter calls by line

Drop required from_number for webhook logging, persist CalleeExtension as lineExtension, and add direction/status/line filters on the calls list.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-07 13:58:42 +03:30
co-authored by Cursor
parent abb1a3a18e
commit f36711174e
8 changed files with 176 additions and 42 deletions
+4
View File
@@ -5569,6 +5569,8 @@ export interface VoipCallLogDto {
status: VoipCallStatus | string;
fromNumber: string | null;
toNumber: string | null;
/** خط/داخلی سازمانی که تماس روی آن بوده */
lineExtension: string | null;
personId: string | null;
personName: string | null;
activityId: string | null;
@@ -5595,6 +5597,8 @@ export interface VoipWebhookEvent {
status: VoipCallStatus | string;
from?: string;
to?: string;
/** خط/داخلی سازمان */
lineExtension?: string;
startedAt?: string;
endedAt?: string;
durationSec?: number;