d i f f   - - g i t   a / . e n v . e x a m p l e   b / . e n v . e x a m p l e 
 
 i n d e x   9 2 e 7 d 1 e . . 1 e 9 9 0 5 2   1 0 0 6 4 4 
 
 - - -   a / . e n v . e x a m p l e 
 
 + + +   b / . e n v . e x a m p l e 
 
 @ @   - 3 6 , 6   + 3 6 , 8   @ @   A I _ A P I _ B A S E = 
 
   A I _ A P I _ K E Y = 
 
   A I _ M O D E L = s t u b - t e l e g r a m - a s s i s t a n t 
 
   A I _ T I M E O U T _ S E C O N D S = 2 0 
 
 + A I _ C U S T O M E R _ P E R S O N A _ M O D E = o p e r a t o r _ h u m a n l i k e 
 
 + A I _ D I S C L O S U R E _ M O D E = h i d d e n 
 
   A I _ T E L E G R A M _ E N A B L E D = 0 
 
   A I _ T E L E G R A M _ A L W A Y S _ R E P L Y = 0 
 
   A I _ T E L E G R A M _ M A X _ C O N T E X T _ M E S S A G E S = 2 0 
 
 @ @   - 4 8 , 6   + 5 0 , 7   @ @   A I _ W H A T S A P P _ M A X _ K B _ R E S U L T S = 3 
 
   A I _ W H A T S A P P _ C O N F I D E N C E _ H A N D O F F _ T H R E S H O L D = 0 . 6 5 
 
   A I _ V O I C E _ R U N T I M E _ S E R V I C E _ U R L = h t t p : / / l o c a l h o s t : 8 0 1 8 
 
   A I _ V O I C E _ E N A B L E D = 0 
 
 + A I _ V O I C E _ P O L I C Y _ M O D E = l l m _ g u a r d e d 
 
   A I _ V O I C E _ Q U E U E _ C O N F I G _ J S O N = { } 
 
   A I _ V O I C E _ A S R _ P R O V I D E R = o p e n a i 
 
   A I _ V O I C E _ T T S _ P R O V I D E R = o p e n a i 
 
 d i f f   - - g i t   a / . e n v . p r o d u c t i o n . t e m p l a t e   b / . e n v . p r o d u c t i o n . t e m p l a t e 
 
 i n d e x   b 6 5 f 6 0 d . . 7 f 3 2 9 3 4   1 0 0 6 4 4 
 
 - - -   a / . e n v . p r o d u c t i o n . t e m p l a t e 
 
 + + +   b / . e n v . p r o d u c t i o n . t e m p l a t e 
 
 @ @   - 3 2 , 6   + 3 2 , 8   @ @   A I _ A P I _ B A S E = h t t p s : / / < l l m - h o s t > / v 1 
 
   A I _ A P I _ K E Y = < l l m - a p i - k e y > 
 
   A I _ M O D E L = < l l m - m o d e l > 
 
   A I _ T I M E O U T _ S E C O N D S = 2 0 
 
 + A I _ C U S T O M E R _ P E R S O N A _ M O D E = o p e r a t o r _ h u m a n l i k e 
 
 + A I _ D I S C L O S U R E _ M O D E = h i d d e n 
 
   A I _ T E L E G R A M _ E N A B L E D = 0 
 
   A I _ T E L E G R A M _ A L W A Y S _ R E P L Y = 0 
 
   A I _ T E L E G R A M _ M A X _ C O N T E X T _ M E S S A G E S = 2 0 
 
 @ @   - 4 3 , 6   + 4 5 , 7   @ @   A I _ W H A T S A P P _ M A X _ C O N T E X T _ M E S S A G E S = 2 0 
 
   A I _ W H A T S A P P _ M A X _ K B _ R E S U L T S = 3 
 
   A I _ W H A T S A P P _ C O N F I D E N C E _ H A N D O F F _ T H R E S H O L D = 0 . 6 5 
 
   A I _ V O I C E _ E N A B L E D = 0 
 
 + A I _ V O I C E _ P O L I C Y _ M O D E = l l m _ g u a r d e d 
 
   A I _ V O I C E _ Q U E U E _ C O N F I G _ J S O N = { " v o i c e _ l a b _ a i " : { " m o d e " : " a i _ f i r s t " , " a g e n t _ p r o f i l e " : " v o i c e _ s u p p o r t " , " h a n d o f f _ q u e u e _ c o d e " : " v o i c e _ l a b " , " l a n g u a g e " : " r u " } } 
 
   A I _ V O I C E _ A S R _ P R O V I D E R = o p e n a i 
 
   A I _ V O I C E _ T T S _ P R O V I D E R = o p e n a i 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / . g i t i g n o r e   b / d o c s / a c c e p t a n c e / . g i t i g n o r e 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   1 2 b d 8 1 9 . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / . g i t i g n o r e 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 4   + 0 , 0   @ @ 
 
 - t r a c k 9 / [ 0 - 9 ] * / 
 
 - t r a c k 9 _ 1 / [ 0 - 9 ] * / 
 
 - t r a c k 1 0 / [ 0 - 9 ] * / 
 
 - t r a c k 1 1 / [ 0 - 9 ] * / 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 1 0 / R E A D M E . m d   b / d o c s / a c c e p t a n c e / t r a c k 1 0 / R E A D M E . m d 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   b 6 e 8 8 4 0 . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 1 0 / R E A D M E . m d 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 1 3   + 0 , 0   @ @ 
 
 - #   T r a c k   1 0   A c c e p t a n c e   E v i d e n c e 
 
 - 
 
 - S t o r e   T r a c k   1 0   r e l i a b i l i t y   e v i d e n c e   p e r   r u n : 
 
 - 
 
 - -   ` d o c s / a c c e p t a n c e / t r a c k 1 0 / < t i m e s t a m p > / . . . ` 
 
 - 
 
 - R e c o m m e n d e d   c o n t e n t s : 
 
 - -   ` v o i c e - l a t e n c y - l a t e s t . j s o n ` 
 
 - -   ` c o m m a n d - o u t p u t . t x t ` 
 
 - -   ` t r a c k 1 0 - a c c e p t a n c e . m d ` 
 
 - 
 
 - R e f e r e n c e   r u n b o o k : 
 
 - -   ` d o c s / r u n b o o k s / t r a c k 1 0 - l i v e - v o i c e - r e l i a b i l i t y . m d ` 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 1 0 / t r a c k 1 0 - a c c e p t a n c e . m d   b / d o c s / a c c e p t a n c e / t r a c k 1 0 / t r a c k 1 0 - a c c e p t a n c e . m d 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   3 9 6 a 8 9 f . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 1 0 / t r a c k 1 0 - a c c e p t a n c e . m d 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 4 1   + 0 , 0   @ @ 
 
 - #   T r a c k   1 0   A c c e p t a n c e   ( L a t e s t ) 
 
 - 
 
 - # #   E n v i r o n m e n t 
 
 - 
 
 - -   D a t e :   ` 2 0 2 6 - 0 3 - 0 5 ` 
 
 - -   G a t e w a y   U R L :   ` h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 8 0 ` 
 
 - -   D a t a b a s e   U R L   ( m a s k e d ) :   ` s q l i t e : / / / . d a t a _ l o c a l / m v p _ c c . d b ` 
 
 - -   E v i d e n c e   f o l d e r :   ` d o c s / a c c e p t a n c e / t r a c k 1 0 / 2 0 2 6 0 3 0 5 _ 1 6 3 3 3 0 ` 
 
 - 
 
 - # #   V a l i d a t i o n   c o m m a n d 
 
 - 
 
 - ` ` ` p o w e r s h e l l 
 
 - p y t h o n   s c r i p t s \ t r a c k 1 0 _ v o i c e _ l a t e n c y _ r e p o r t . p y   ` 
 
 -     - - d a t a b a s e - u r l   s q l i t e : / / / . d a t a _ l o c a l / m v p _ c c . d b   ` 
 
 -     - - s i n c e - m i n u t e s   9 0   ` 
 
 -     - - b r e a c h - m o d e   d i r e c t   ` 
 
 -     - - j s o n - o u t   d o c s / a c c e p t a n c e / t r a c k 1 0 / 2 0 2 6 0 3 0 5 _ 1 6 3 3 3 0 / v o i c e - l a t e n c y - l a t e s t . j s o n 
 
 - ` ` ` 
 
 - 
 
 - # #   R e s u l t   s u m m a r y 
 
 - 
 
 - -   t o t a l   c a l l s :   ` 1 0 ` 
 
 - -   a c t i v e _ n o _ e n d :   ` 0 ` 
 
 - -   e n d e d _ n o _ r e c o r d i n g _ u p l o a d :   ` 0 ` 
 
 - -   e n d e d _ d i r e c t _ c a l l s :   ` 4 ` 
 
 - -   e n d e d _ r e c o n c i l e d _ c a l l s :   ` 6 ` 
 
 - -   p 9 5   s t a r t e d - > e n d e d :   ` 1 6 8 6 . 3 5 s ` 
 
 - -   p 9 5   e n d e d - > r e c o r d i n g   u p l o a d :   ` 4 5 5 . 2 5 s ` 
 
 - -   p 9 5   d i r e c t   s t a r t e d - > e n d e d :   ` 3 3 . 0 s ` 
 
 - -   p 9 5   d i r e c t   e n d e d - > r e c o r d i n g   u p l o a d :   ` 2 . 8 5 s ` 
 
 - 
 
 - # #   D e c i s i o n 
 
 - 
 
 - -   [ x ]   G O   ( w i t h   e x c e p t i o n ) 
 
 - -   [   ]   N O - G O 
 
 - 
 
 - # #   N o t e s 
 
 - 
 
 - -   D i r e c t   p a t h   r e m a i n s   s t a b l e   ( ` a c t i v e _ n o _ e n d = 0 ` ,   ` e n d e d _ n o _ r e c o r d i n g _ u p l o a d = 0 ` ) . 
 
 - -   T h r e s h o l d   e x c e p t i o n   r e c o r d e d :   d i r e c t   ` s t a r t e d - > e n d e d `   i s   ` 3 3 s `   v s   t a r g e t   ` 3 0 s ` . 
 
 - -   D e t a i l e d   r u n :   ` d o c s / a c c e p t a n c e / t r a c k 1 0 / 2 0 2 6 0 3 0 5 _ 1 6 3 3 3 0 / t r a c k 1 0 - a c c e p t a n c e . m d ` 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 1 1 / R E A D M E . m d   b / d o c s / a c c e p t a n c e / t r a c k 1 1 / R E A D M E . m d 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   0 8 6 2 f 7 6 . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 1 1 / R E A D M E . m d 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 1 5   + 0 , 0   @ @ 
 
 - #   T r a c k   1 1   A c c e p t a n c e   E v i d e n c e 
 
 - 
 
 - S t a b l e   s u m m a r y : 
 
 - 
 
 - -   [ t r a c k 1 1 - a c c e p t a n c e . m d ] ( / e : / Z h a n / d o c s / a c c e p t a n c e / t r a c k 1 1 / t r a c k 1 1 - a c c e p t a n c e . m d ) 
 
 - 
 
 - S t o r e   T r a c k   1 1   Q A   e v i d e n c e   p e r   r u n : 
 
 - 
 
 - -   ` d o c s / a c c e p t a n c e / t r a c k 1 1 / < t i m e s t a m p > / t r a c k 1 1 - a c c e p t a n c e . m d ` 
 
 - -   ` d o c s / a c c e p t a n c e / t r a c k 1 1 / < t i m e s t a m p > / o p e r a t o r - l i v e - c a l l s . j s o n ` 
 
 - -   ` d o c s / a c c e p t a n c e / t r a c k 1 1 / < t i m e s t a m p > / b r i d g e - a c t i o n s . j s o n ` 
 
 - -   ` d o c s / a c c e p t a n c e / t r a c k 1 1 / < t i m e s t a m p > / p l a y b a c k - p r o o f . j s o n ` 
 
 - 
 
 - R e f e r e n c e   r u n b o o k : 
 
 - -   ` d o c s / r u n b o o k s / t r a c k 1 1 - l i v e - o p e r a t o r - c a l l - c o n t r o l . m d ` 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 1 1 / t r a c k 1 1 - a c c e p t a n c e . m d   b / d o c s / a c c e p t a n c e / t r a c k 1 1 / t r a c k 1 1 - a c c e p t a n c e . m d 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   7 a d 1 4 0 1 . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 1 1 / t r a c k 1 1 - a c c e p t a n c e . m d 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 3 5   + 0 , 0   @ @ 
 
 - #   T r a c k   1 1   A c c e p t a n c e   ( L a t e s t ) 
 
 - 
 
 - # #   E n v i r o n m e n t 
 
 - 
 
 - -   D a t e :   ` 2 0 2 6 - 0 3 - 0 7 ` 
 
 - -   B a s e   U R L :   ` h t t p : / / l o c a l h o s t : 8 0 8 0 ` 
 
 - -   D a t a b a s e   U R L   ( m a s k e d ) :   ` s q l i t e : / / / . d a t a _ l o c a l / m v p _ c c . d b ` 
 
 - -   E v i d e n c e   p a c k a g e :   [ 2 0 2 6 0 3 0 7 _ 1 0 4 7 4 8 ] ( / e : / Z h a n / d o c s / a c c e p t a n c e / t r a c k 1 1 / 2 0 2 6 0 3 0 7 _ 1 0 4 7 4 8 ) 
 
 - 
 
 - # #   E x e c u t e d   s c e n a r i o 
 
 - 
 
 - 1 .   O p e r a t o r   r e c e i v e d   a   l i v e   i n b o u n d   c a l l   i n   ` / o p e r a t o r ` . 
 
 - 2 .   O p e r a t o r   c l a i m e d   t h e   c a l l . 
 
 - 3 .   O p e r a t o r   c o m p l e t e d   a   r e a l   h a n g u p   p a t h   a n d   r e c o r d i n g   p l a y b a c k   w a s   v a l i d a t e d . 
 
 - 4 .   O p e r a t o r   c o m p l e t e d   a   b l i n d   t r a n s f e r   f l o w   f r o m   t h e   l i v e - c a l l   b l o c k . 
 
 - 
 
 - # #   V a l i d a t i o n   s u m m a r y 
 
 - 
 
 - -   l i v e   i n b o u n d   v i s i b i l i t y :   ` y e s ` 
 
 - -   c l a i m   p e r s i s t e d :   ` y e s ` 
 
 - -   h a n g u p   p e r s i s t e d :   ` y e s ` 
 
 - -   t r a n s f e r   p e r s i s t e d :   ` y e s ` 
 
 - -   ` c a l l . c o n n e c t e d `   p r e s e n t :   ` y e s ` 
 
 - -   ` c a l l . t r a n s f e r r e d `   p r e s e n t :   ` y e s ` 
 
 - -   r e c o r d i n g   p l a y b a c k :   ` P A S S ` 
 
 - 
 
 - # #   R e s u l t 
 
 - 
 
 - -   G O   /   N O - G O :   ` G O ` 
 
 - -   T r a c k   1 1   s t a t u s :   ` A c c e p t e d ` 
 
 - 
 
 - # #   N o t e s 
 
 - 
 
 - -   D e t a i l e d   p a c k a g e :   ` d o c s / a c c e p t a n c e / t r a c k 1 1 / 2 0 2 6 0 3 0 7 _ 1 0 4 7 4 8 / t r a c k 1 1 - a c c e p t a n c e . m d ` 
 
 - -   T r a c k   1 1   k e e p s   b r o w s e r   U I   c o n t r o l   a n d   e x t e r n a l   s o f t p h o n e   m e d i a   a s   t h e   a c c e p t e d   b a s e l i n e . 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 1 1 / t r a c k 1 1 - a c c e p t a n c e . t e m p l a t e . m d   b / d o c s / a c c e p t a n c e / t r a c k 1 1 / t r a c k 1 1 - a c c e p t a n c e . t e m p l a t e . m d 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   a 4 4 d 5 b c . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 1 1 / t r a c k 1 1 - a c c e p t a n c e . t e m p l a t e . m d 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 4 1   + 0 , 0   @ @ 
 
 - #   T r a c k   1 1   A c c e p t a n c e   -   < t i m e s t a m p > 
 
 - 
 
 - # #   E n v i r o n m e n t 
 
 - 
 
 - -   B a s e   U R L :   ` < g a t e w a y _ b a s e _ u r l > ` 
 
 - -   D a t a b a s e :   ` < d a t a b a s e _ u r l > ` 
 
 - -   A s t e r i s k   V M :   ` < a s t e r i s k _ h o s t > ` 
 
 - -   O p e r a t o r   a c c o u n t :   ` < o p e r a t o r _ u s e r > ` 
 
 - -   O p e r a t o r   e x t e n s i o n :   ` < o p e r a t o r _ e x t e n s i o n > ` 
 
 - 
 
 - # #   E x e c u t e d   s c e n a r i o 
 
 - 
 
 - 1 .   C a l l e r   ` 1 0 0 1 `   c a l l e d   ` 7 0 0 0 ` . 
 
 - 2 .   O p e r a t o r   o p e n e d   ` / o p e r a t o r `   - >   ` h%&h%U%h%%d%h%a%  h%V%h%%h%[%h%\%h%Q%h%U%` . 
 
 - 3 .   O p e r a t o r   c l i c k e d   ` h%/d%h%U%h%\%d%d%d%  h%%  d%h%%h%%h%[%d%d%` . 
 
 - 4 .   V o i c e   c o n v e r s a t i o n   i n   ` M i c r o S I P / Z o i p e r `   w a s   c o n f i r m e d . 
 
 - 5 .   O p e r a t o r   e x e c u t e d   o n e   o r   b o t h   a c t i o n s : 
 
 -       -   [   ]   ` h%'h%%h%%h%a%d%d%h%U%d%d%` 
 
 -       -   [   ]   ` h%/h%a%d%h%a%h%$%h%%d%d%`   ( b l i n d   t r a n s f e r ) 
 
 - 6 .   R e c o r d i n g   w a s   c h e c k e d   i n   ` / s u p e r v i s o r ` . 
 
 - 
 
 - # #   A P I   a n d   D B   e v i d e n c e 
 
 - 
 
 - -   L i v e   c a l l   l i s t   s a v e d :   ` o p e r a t o r - l i v e - c a l l s . j s o n ` 
 
 - -   A c t i o n   l o g   s a v e d :   ` b r i d g e - a c t i o n s . j s o n ` 
 
 - -   P l a y b a c k   p r o o f   s a v e d :   ` p l a y b a c k - p r o o f . j s o n ` 
 
 - 
 
 - # #   M a n d a t o r y   c h e c k s 
 
 - 
 
 - -   [   ]   ` c a l l . s t a r t e d `   e x i s t s   ( ` p a y l o a d . s o u r c e = a s t e r i s k ` ) 
 
 - -   [   ]   ` c a l l . c o n n e c t e d `   e x i s t s 
 
 - -   [   ]   ` c a l l . e n d e d `   e x i s t s 
 
 - -   [   ]   ` r e c o r d i n g . r e a d y `   e x i s t s 
 
 - -   [   ]   o p t i o n a l   ` c a l l . t r a n s f e r r e d `   e x i s t s   w h e n   t r a n s f e r   p a t h   w a s   t e s t e d 
 
 - -   [   ]   n o   u n r e s o l v e d   f a i l e d   c a l l - c o n t r o l   a c t i o n s   i n   t h e   a c c e p t a n c e   w i n d o w 
 
 - 
 
 - # #   D e c i s i o n 
 
 - 
 
 - -   G O   /   N O - G O :   ` < d e c i s i o n > ` 
 
 - -   N o t e s : 
 
 -     -   ` < n o t e s > ` 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / b r i d g e - a c t i o n s . j s o n   b / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / b r i d g e - a c t i o n s . j s o n 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   3 2 8 9 c 9 8 . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / b r i d g e - a c t i o n s . j s o n 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 2 7   + 0 , 0   @ @ 
 
 - { 
 
 -     " l a t e s t _ c a l l " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " , 
 
 -     " l a t e s t _ c a l l _ a c t i o n s " :   [ ] , 
 
 -     " r e f e r e n c e _ r e c e n t _ o k _ a c t i o n s " :   [ 
 
 -         { 
 
 -             " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " , 
 
 -             " a c t i o n _ t y p e " :   " h a n g u p " , 
 
 -             " a c t o r _ u s e r " :   " o p e r a t o r " , 
 
 -             " r e s u l t _ s t a t u s " :   " o k " , 
 
 -             " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 4 2 + 0 0 : 0 0 " 
 
 -         } , 
 
 -         { 
 
 -             " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " , 
 
 -             " a c t i o n _ t y p e " :   " c l a i m " , 
 
 -             " a c t o r _ u s e r " :   " o p e r a t o r " , 
 
 -             " r e s u l t _ s t a t u s " :   " o k " , 
 
 -             " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 1 6 + 0 0 : 0 0 " 
 
 -         } , 
 
 -         { 
 
 -             " c a l l _ i d " :   " 1 7 7 2 8 7 6 3 8 0 . 9 3 " , 
 
 -             " a c t i o n _ t y p e " :   " h a n g u p " , 
 
 -             " a c t o r _ u s e r " :   " o p e r a t o r " , 
 
 -             " r e s u l t _ s t a t u s " :   " o k " , 
 
 -             " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 4 0 : 0 2 + 0 0 : 0 0 " 
 
 -         } 
 
 -     ] 
 
 - } 
 
 \   N o   n e w l i n e   a t   e n d   o f   f i l e 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / o p e r a t o r - l i v e - c a l l s - e m p t y . j s o n   b / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / o p e r a t o r - l i v e - c a l l s - e m p t y . j s o n 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   0 6 3 7 a 0 8 . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / o p e r a t o r - l i v e - c a l l s - e m p t y . j s o n 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1   + 0 , 0   @ @ 
 
 - [ ] 
 
 \   N o   n e w l i n e   a t   e n d   o f   f i l e 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / o p e r a t o r - l i v e - c a l l s . j s o n   b / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / o p e r a t o r - l i v e - c a l l s . j s o n 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   1 6 5 1 7 d 8 . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / o p e r a t o r - l i v e - c a l l s . j s o n 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 2 5   + 0 , 0   @ @ 
 
 - [ 
 
 -     { 
 
 -         " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " , 
 
 -         " c a l l e r _ n a m e " :   " 1 0 0 1 " , 
 
 -         " c a l l e r _ n u m b e r " :   " 1 0 0 1 " , 
 
 -         " c h a n n e l _ n a m e " :   " P J S I P / 2 0 0 1 - 0 0 0 0 0 0 4 7 " , 
 
 -         " c l a i m e d _ a t " :   n u l l , 
 
 -         " c l a i m e d _ b y _ u s e r " :   n u l l , 
 
 -         " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 5 + 0 0 : 0 0 " , 
 
 -         " e n d e d _ a t " :   n u l l , 
 
 -         " h a n g u p _ c a u s e " :   " u n k n o w n " , 
 
 -         " h a s _ r e c o r d i n g " :   f a l s e , 
 
 -         " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " , 
 
 -         " l a s t _ t r a n s i t i o n _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 2 6 + 0 0 : 0 0 " , 
 
 -         " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " , 
 
 -         " q u e u e _ c o d e " :   " v o i c e _ l a b " , 
 
 -         " q u e u e _ i d " :   " q u e _ 2 3 f b 0 a d 0 7 c " , 
 
 -         " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 1 + 0 0 : 0 0 " , 
 
 -         " s t a t u s " :   " a c t i v e " , 
 
 -         " t e l e p h o n y _ s t a t u s " :   " c o n n e c t e d " , 
 
 -         " t e r m i n a l _ a c t i o n " :   n u l l , 
 
 -         " t e r m i n a l _ t a r g e t " :   n u l l , 
 
 -         " u p d a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 2 6 + 0 0 : 0 0 " 
 
 -     } 
 
 - ] 
 
 \   N o   n e w l i n e   a t   e n d   o f   f i l e 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / o p e r a t o r - r e c e n t - c a l l s . j s o n   b / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / o p e r a t o r - r e c e n t - c a l l s . j s o n 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   0 6 3 7 a 0 8 . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / o p e r a t o r - r e c e n t - c a l l s . j s o n 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1   + 0 , 0   @ @ 
 
 - [ ] 
 
 \   N o   n e w l i n e   a t   e n d   o f   f i l e 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / p l a y b a c k - p r o o f . j s o n   b / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / p l a y b a c k - p r o o f . j s o n 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   9 d 4 8 b f 9 . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / p l a y b a c k - p r o o f . j s o n 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 1 0   + 0 , 0   @ @ 
 
 - { 
 
 -     " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " , 
 
 -     " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " , 
 
 -     " r e c o r d i n g _ i d " :   " r e c _ 7 3 3 e f 3 2 3 b 1 " , 
 
 -     " u r l " :   " h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 8 0 / p r o x y / r e c o r d i n g / r e c o r d i n g s / r e c _ 7 3 3 e f 3 2 3 b 1 / c o n t e n t ? d i s p o s i t i o n = i n l i n e " , 
 
 -     " s t a t u s _ c o d e " :   2 0 0 , 
 
 -     " c o n t e n t _ t y p e " :   " a u d i o / w a v " , 
 
 -     " c o n t e n t _ l e n g t h " :   4 5 7 3 2 4 , 
 
 -     " f i l e _ n a m e " :   " 2 0 2 6 0 3 0 7 - 1 6 1 3 0 0 - 1 7 7 2 8 8 1 9 7 9 . 1 0 8 . w a v " 
 
 - } 
 
 \   N o   n e w l i n e   a t   e n d   o f   f i l e 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / t r a c k 1 2 - a c c e p t a n c e . m d   b / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / t r a c k 1 2 - a c c e p t a n c e . m d 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   b 5 2 6 8 1 b . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / t r a c k 1 2 - a c c e p t a n c e . m d 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 7 5   + 0 , 0   @ @ 
 
 - #   T r a c k   1 2   A c c e p t a n c e   -   2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 
 
 - 
 
 - # #   E n v i r o n m e n t 
 
 - 
 
 - -   B a s e   U R L :   ` h t t p : / / l o c a l h o s t : 8 0 8 0 ` 
 
 - -   D a t a b a s e :   ` s q l i t e : / / / . / . d a t a _ l o c a l / m v p _ c c . d b ` 
 
 - -   A s t e r i s k   h o s t :   ` 9 2 . 3 8 . 4 8 . 1 6 6 ` 
 
 - -   O p e r a t o r   u s e r :   ` o p e r a t o r ` 
 
 - -   O p e r a t o r   e x t e n s i o n :   ` 2 0 0 1 ` 
 
 - 
 
 - # #   A c c e p t a n c e   B a s i s 
 
 - 
 
 - T r a c k   1 2   i s   a   U X / s t a t e   h a r d e n i n g   l a y e r   o n   t o p   o f   a c c e p t e d   T r a c k   1 1 .     
 
 - T h i s   p a c k a g e   c l o s e s   t h e   T r a c k   1 2   d e l t a   a n d   k e e p s   T r a c k   1 1   c o n t r o l - p a t h   p r o o f   a s   t h e   i n h e r i t e d   b a s e l i n e . 
 
 - 
 
 - R e f e r e n c e   c o n t r o l - p a t h   p a c k a g e : 
 
 - -   [ t r a c k 1 1 - a c c e p t a n c e . m d ] ( / e : / Z h a n / d o c s / a c c e p t a n c e / t r a c k 1 1 / 2 0 2 6 0 3 0 7 _ 1 0 4 7 4 8 / t r a c k 1 1 - a c c e p t a n c e . m d ) 
 
 - 
 
 - T r a c k   1 2   d e l t a   c a l l : 
 
 - -   ` c a l l _ i d   =   1 7 7 2 8 8 1 9 7 9 . 1 0 8 ` 
 
 - -   ` i n t e r a c t i o n _ i d   =   i n t _ 0 3 4 9 7 9 6 d 1 e ` 
 
 - -   ` r e c o r d i n g _ i d   =   r e c _ 7 3 3 e f 3 2 3 b 1 ` 
 
 - 
 
 - # #   E x e c u t e d   S c e n a r i o s 
 
 - 
 
 - -   [ x ]   H a p p y   p a t h   i n h e r i t e d   f r o m   a c c e p t e d   T r a c k   1 1   p a c k a g e 
 
 - -   [ x ]   T r a n s f e r   p a t h   i n h e r i t e d   f r o m   a c c e p t e d   T r a c k   1 1   p a c k a g e 
 
 - -   [ x ]   P a s s i v e   p a t h :   a n s w e r   i n   S I P ,   n o   b r o w s e r   a c t i o n ,   c a l l   r e m a i n s   i n   ` l i v e - c a l l s `   u n t i l   r e a l   h a n g u p 
 
 - -   [ x ]   N o - f a k e - c a r d s   p a t h :   ` h%&h%U%h%%d%h%a%  h%V%h%%h%[%h%\%h%Q%h%U%`   u s e s   b r i d g e   d a t a   o n l y   a n d   d o e s   n o t   s h o w   ` i n t e r a c t i o n : i n t _ * ` 
 
 - 
 
 - # #   D e l t a   E v i d e n c e 
 
 - 
 
 - -   A c t i v e   l i v e   c a l l   s n a p s h o t :   [ o p e r a t o r - l i v e - c a l l s . j s o n ] ( / e : / Z h a n / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / o p e r a t o r - l i v e - c a l l s . j s o n ) 
 
 - -   R e c e n t   c a l l   s n a p s h o t :   [ o p e r a t o r - r e c e n t - c a l l s . j s o n ] ( / e : / Z h a n / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / o p e r a t o r - r e c e n t - c a l l s . j s o n ) 
 
 - -   E m p t y   l i v e   s n a p s h o t   a f t e r   c a l l   e n d :   [ o p e r a t o r - l i v e - c a l l s - e m p t y . j s o n ] ( / e : / Z h a n / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / o p e r a t o r - l i v e - c a l l s - e m p t y . j s o n ) 
 
 - -   A c t i o n   l o g   s u m m a r y :   [ b r i d g e - a c t i o n s . j s o n ] ( / e : / Z h a n / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / b r i d g e - a c t i o n s . j s o n ) 
 
 - -   P l a y b a c k   p r o o f :   [ p l a y b a c k - p r o o f . j s o n ] ( / e : / Z h a n / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / p l a y b a c k - p r o o f . j s o n ) 
 
 - -   L i v e   m o n i t o r   t r a c e :   [ t r a c k 1 2 - m o n i t o r . l o g ] ( / e : / Z h a n / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / t r a c k 1 2 - m o n i t o r . l o g ) 
 
 - 
 
 - # #   W h a t   T h e   M o n i t o r   P r o v e d 
 
 - 
 
 - F o r   c a l l   ` 1 7 7 2 8 8 1 9 7 9 . 1 0 8 ` : 
 
 - 
 
 - 1 .   A t   ` 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 1 + 0 0 : 0 0 `   t h e   c a l l   e n t e r e d   ` / a s t e r i s k / l i v e - c a l l s `   a s : 
 
 -       -   ` s t a t u s   =   a c t i v e ` 
 
 -       -   ` t e l e p h o n y _ s t a t u s   =   r i n g i n g ` 
 
 - 2 .   A t   ` 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 5 + 0 0 : 0 0 `   i t   s t a y e d   i n   ` / a s t e r i s k / l i v e - c a l l s `   a n d   m o v e d   t o : 
 
 -       -   ` t e l e p h o n y _ s t a t u s   =   c o n n e c t e d ` 
 
 -       -   ` o p e r a t o r _ e x t e n s i o n   =   2 0 0 1 ` 
 
 - 3 .   A t   ` 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 2 6 + 0 0 : 0 0 `   a   s y n t h e t i c   r e c o n c i l e d   ` c a l l . e n d e d `   w a s   e m i t t e d ,   b u t   t h e   c a l l   s t i l l   r e m a i n e d   i n   ` / a s t e r i s k / l i v e - c a l l s ` . 
 
 - 4 .   O n l y   a t   t h e   r e a l   f i n a l   h a n g u p   ( ` 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 3 0 + 0 0 : 0 0 ` )   t h e   c a l l   l e f t   ` / a s t e r i s k / l i v e - c a l l s `   a n d   m o v e d   t o   ` / a s t e r i s k / r e c e n t - c a l l s ` . 
 
 - 5 .   ` r e c o r d i n g . r e a d y `   w a s   e m i t t e d   a n d   t h e   r e c o r d i n g   w a s   i m p o r t e d   s u c c e s s f u l l y . 
 
 - 
 
 - T h i s   c l o s e s   t h e   e a r l i e r   d e f e c t   w h e r e   t h e   c a r d   c o u l d   d i s a p p e a r   f r o m   t h e   o p e r a t o r   f l o w   o n   t h e   r e c o n c i l e d   s e r v i c e   e v e n t   i n s t e a d   o f   t h e   r e a l   f i n a l   h a n g u p . 
 
 - 
 
 - # #   M a n d a t o r y   C h e c k s 
 
 - 
 
 - -   [ x ]   ` G E T   / p r o x y / a s t e r i s k - b r i d g e / a s t e r i s k / l i v e - c a l l s `   r e t u r n s   o n l y   a c t i v e   c a l l s 
 
 - -   [ x ]   ` G E T   / p r o x y / a s t e r i s k - b r i d g e / a s t e r i s k / r e c e n t - c a l l s `   r e t u r n s   o n l y   r e c e n t   e n d e d   c a l l s 
 
 - -   [ x ]   p a s s i v e   S I P   a n s w e r   d o e s   n o t   f o r c e   t h e   c a r d   o u t   o f   ` h% h%Q%d%h%U%h%%h%\%d%h%a%  h%V%h%%h%[%h%\%h%Q%h%U%`   b e f o r e   r e a l   h a n g u p 
 
 - -   [ x ]   f i n a l   h a n g u p   m o v e s   t h e   c a r d   t o   ` h%2h%[%h%W%d%h%Q%h%[%  d%d%h%[%  h%V%h%%h%%h%a%d%d%d%!h%\%h%\%d%h%a%` 
 
 - -   [ x ]   n o   ` i n t e r a c t i o n : i n t _ * `   f a l l b a c k   c a r d s   a r e   u s e d   f o r   ` h%&h%U%h%%d%h%a%  h%V%h%%h%[%h%\%h%Q%h%U%` 
 
 - -   [ x ]   r e c o r d i n g   i s   a v a i l a b l e   f o r   t h e   m o n i t o r e d   c a l l 
 
 - -   [ x ]   T r a c k   1 1   ` c l a i m   /   h a n g u p   /   b l i n d - t r a n s f e r `   c o n t r o l   p a t h   r e m a i n s   c o v e r e d   b y   t h e   a c c e p t e d   T r a c k   1 1   p a c k a g e 
 
 - 
 
 - # #   N o t e s 
 
 - 
 
 - -   T h e   i n i t i a l   r u n t i m e   r e g r e s s i o n   a f t e r   a   l o c a l   r e s t a r t   w a s   c a u s e d   b y   ` s c r i p t s / l o c a l _ s t a c k . p y `   n o t   l o a d i n g   ` . e n v . p r o d u c t i o n ` ;   t h i s   i s   f i x e d   a n d   t h e   l a u n c h e r   n o w   a u t o - l o a d s   ` . e n v . p r o d u c t i o n ` ,   ` . e n v . l o c a l ` ,   a n d   ` . e n v ` . 
 
 - -   T h e   c u r r e n t   p a s s i v e - p a t h   m o n i t o r e d   c a l l   e n d e d   w i t h o u t   b r o w s e r   a c t i o n s ,   s o   ` b r i d g e - a c t i o n s . j s o n `   c o n t a i n s   n o   a c t i o n   r o w s   f o r   ` 1 7 7 2 8 8 1 9 7 9 . 1 0 8 ` .   T h i s   i s   e x p e c t e d   f o r   t h e   p a s s i v e - p a t h   c h e c k . 
 
 - -   C o n t r o l - p a t h   a c t i o n s   ( ` c l a i m ` ,   ` h a n g u p ` ,   ` b l i n d - t r a n s f e r ` )   r e m a i n   v a l i d a t e d   b y   t h e   a c c e p t e d   T r a c k   1 1   p a c k a g e   a n d   w e r e   n o t   r e d e f i n e d   b y   T r a c k   1 2 . 
 
 - 
 
 - # #   D e c i s i o n 
 
 - 
 
 - -   G O   /   N O - G O :   ` G O ` 
 
 - -   T r a c k   1 2   s t a t u s :   ` A c c e p t e d ` 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / t r a c k 1 2 - m o n i t o r . l o g   b / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / t r a c k 1 2 - m o n i t o r . l o g 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   c 3 6 4 d b 0 . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 1 2 / 2 0 2 6 0 3 0 7 _ 1 6 1 6 2 9 / t r a c k 1 2 - m o n i t o r . l o g 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 2 1   + 0 , 0   @ @ 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 0 : 3 1 + 0 5 : 0 0 ]   m o n i t o r   { " s t a t u s " :   " s t a r t e d " ,   " w i n d o w _ s e c o n d s " :   1 8 0 } 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 0 : 3 1 + 0 5 : 0 0 ]   a u t h   { " r o l e " :   " o p e r a t o r " ,   " s t a t u s " :   " o k " ,   " u s e r " :   " o p e r a t o r " } 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 0 : 3 1 + 0 5 : 0 0 ]   l i v e - c a l l s   [ ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 0 : 3 1 + 0 5 : 0 0 ]   r e c e n t - c a l l s   [ { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c a l l e r _ n a m e " :   " 1 0 0 1 " ,   " c a l l e r _ n u m b e r " :   " 1 0 0 1 " ,   " c h a n n e l _ n a m e " :   " P J S I P / 2 0 0 1 - 0 0 0 0 0 0 4 5 " ,   " c l a i m e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 2 6 + 0 0 : 0 0 " ,   " c l a i m e d _ b y _ u s e r " :   " o p e r a t o r " ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 7 : 5 7 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 5 3 + 0 0 : 0 0 " ,   " h a n g u p _ c a u s e " :   " 1 6 " ,   " h a s _ r e c o r d i n g " :   t r u e ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " l a s t _ t r a n s i t i o n _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 5 3 + 0 0 : 0 0 " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " q u e u e _ c o d e " :   " v o i c e _ l a b " ,   " q u e u e _ i d " :   " q u e _ 2 3 f b 0 a d 0 7 c " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 7 : 5 5 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " ,   " t e r m i n a l _ a c t i o n " :   " h a n g u p " ,   " t e r m i n a l _ t a r g e t " :   n u l l ,   " u p d a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 5 3 + 0 0 : 0 0 " } ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 0 : 3 1 + 0 5 : 0 0 ]   v o i c e - e v e n t s   [ { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 5 3 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 9 2 4 5 c 8 b b 3 0 " ,   " e v e n t _ t y p e " :   " r e c o r d i n g . r e a d y " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   5 8 ,   " f i l e _ n a m e " :   " 2 0 2 6 0 3 0 7 - 1 6 0 7 5 3 - 1 7 7 2 8 8 1 6 7 3 . 1 0 5 . w a v " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " m i m e _ t y p e " :   " a u d i o / w a v " ,   " r e m o t e _ p a t h " :   " / v a r / s p o o l / a s t e r i s k / m o n i t o r / m v p c c / 2 0 2 6 0 3 0 7 - 1 6 0 7 5 3 - 1 7 7 2 8 8 1 6 7 3 . 1 0 5 . w a v " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 5 3 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 3 e 2 c 4 e e d c 7 " ,   " e v e n t _ t y p e " :   " c a l l . e n d e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   5 8 ,   " h a n g u p _ c a u s e " :   " 1 6 " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 2 0 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ d b f 1 b a 4 3 9 9 " ,   " e v e n t _ t y p e " :   " c a l l . e n d e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   n u l l ,   " h a n g u p _ c a u s e " :   " u n k n o w n " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " r e c o n c i l e d " :   t r u e ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 7 : 5 7 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 8 b e 5 a b 3 4 b 9 " ,   " e v e n t _ t y p e " :   " c a l l . c o n n e c t e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " c h a n n e l _ n a m e " :   " P J S I P / 2 0 0 1 - 0 0 0 0 0 0 4 5 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 7 : 5 5 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 2 b 4 1 d 0 9 3 c 7 " ,   " e v e n t _ t y p e " :   " c a l l . s t a r t e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " c a l l e r _ n a m e " :   " 1 0 0 1 " ,   " c a l l e r _ n u m b e r " :   " 1 0 0 1 " ,   " c o n t e x t " :   " f r o m - s o f t p h o n e s " ,   " d i r e c t i o n " :   " i n b o u n d " ,   " e x t e n s i o n " :   " 7 0 0 0 " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 7 6 3 8 0 . 9 3 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 4 0 : 1 2 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 4 c 4 4 d d 5 8 8 8 " ,   " e v e n t _ t y p e " :   " r e c o r d i n g . r e a d y " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 6 9 4 4 3 6 1 2 e 1 " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   3 1 ,   " f i l e _ n a m e " :   " 2 0 2 6 0 3 0 7 - 1 4 3 9 4 0 - 1 7 7 2 8 7 6 3 8 0 . 9 3 . w a v " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 7 6 3 8 0 . 9 3 " ,   " m i m e _ t y p e " :   " a u d i o / w a v " ,   " r e m o t e _ p a t h " :   " / v a r / s p o o l / a s t e r i s k / m o n i t o r / m v p c c / 2 0 2 6 0 3 0 7 - 1 4 3 9 4 0 - 1 7 7 2 8 7 6 3 8 0 . 9 3 . w a v " ,   " s o u r c e " :   " a s t e r i s k " } } ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 0 : 3 1 + 0 5 : 0 0 ]   c a l l - l i n k s   [ { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c l a i m e d _ b y _ u s e r " :   " o p e r a t o r " ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 7 : 5 7 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 5 3 + 0 0 : 0 0 " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 7 : 5 5 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " } ,   { " c a l l _ i d " :   " 1 7 7 2 8 7 6 3 8 0 . 9 3 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 3 9 : 4 9 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 4 0 : 1 2 + 0 0 : 0 0 " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 6 9 4 4 3 6 1 2 e 1 " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 3 9 : 4 2 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " } ,   { " c a l l _ i d " :   " 1 7 7 2 8 7 5 1 7 1 . 9 0 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 1 9 : 3 6 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 1 9 : 3 9 + 0 0 : 0 0 " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 7 2 6 c 3 6 d 9 5 d " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 1 9 : 3 3 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " } ,   { " c a l l _ i d " :   " 1 7 7 2 8 7 4 2 8 0 . 8 7 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 0 4 : 4 7 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 0 4 : 5 4 + 0 0 : 0 0 " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 6 e f 8 a b e 6 e c " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 0 4 : 4 2 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " } ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 0 : 5 3 + 0 5 : 0 0 ]   r e c e n t - c a l l s   [ ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 3 : 0 1 + 0 5 : 0 0 ]   l i v e - c a l l s   [ { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c a l l e r _ n a m e " :   " 1 0 0 1 " ,   " c a l l e r _ n u m b e r " :   " 1 0 0 1 " ,   " c h a n n e l _ n a m e " :   " P J S I P / 1 0 0 1 - 0 0 0 0 0 0 4 6 " ,   " c l a i m e d _ a t " :   n u l l ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   n u l l ,   " e n d e d _ a t " :   n u l l ,   " h a n g u p _ c a u s e " :   n u l l ,   " h a s _ r e c o r d i n g " :   f a l s e ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " l a s t _ t r a n s i t i o n _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 1 + 0 0 : 0 0 " ,   " o p e r a t o r _ e x t e n s i o n " :   n u l l ,   " q u e u e _ c o d e " :   " v o i c e _ l a b " ,   " q u e u e _ i d " :   " q u e _ 2 3 f b 0 a d 0 7 c " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 1 + 0 0 : 0 0 " ,   " s t a t u s " :   " a c t i v e " ,   " t e l e p h o n y _ s t a t u s " :   " r i n g i n g " ,   " t e r m i n a l _ a c t i o n " :   n u l l ,   " t e r m i n a l _ t a r g e t " :   n u l l ,   " u p d a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 1 + 0 0 : 0 0 " } ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 3 : 0 1 + 0 5 : 0 0 ]   v o i c e - e v e n t s   [ { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 1 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 8 e c e 0 3 e c 0 7 " ,   " e v e n t _ t y p e " :   " c a l l . s t a r t e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " p a y l o a d " :   { " c a l l e r _ n a m e " :   " 1 0 0 1 " ,   " c a l l e r _ n u m b e r " :   " 1 0 0 1 " ,   " c o n t e x t " :   " f r o m - s o f t p h o n e s " ,   " d i r e c t i o n " :   " i n b o u n d " ,   " e x t e n s i o n " :   " 7 0 0 0 " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 5 3 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 9 2 4 5 c 8 b b 3 0 " ,   " e v e n t _ t y p e " :   " r e c o r d i n g . r e a d y " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   5 8 ,   " f i l e _ n a m e " :   " 2 0 2 6 0 3 0 7 - 1 6 0 7 5 3 - 1 7 7 2 8 8 1 6 7 3 . 1 0 5 . w a v " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " m i m e _ t y p e " :   " a u d i o / w a v " ,   " r e m o t e _ p a t h " :   " / v a r / s p o o l / a s t e r i s k / m o n i t o r / m v p c c / 2 0 2 6 0 3 0 7 - 1 6 0 7 5 3 - 1 7 7 2 8 8 1 6 7 3 . 1 0 5 . w a v " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 5 3 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 3 e 2 c 4 e e d c 7 " ,   " e v e n t _ t y p e " :   " c a l l . e n d e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   5 8 ,   " h a n g u p _ c a u s e " :   " 1 6 " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 2 0 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ d b f 1 b a 4 3 9 9 " ,   " e v e n t _ t y p e " :   " c a l l . e n d e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   n u l l ,   " h a n g u p _ c a u s e " :   " u n k n o w n " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " r e c o n c i l e d " :   t r u e ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 7 : 5 7 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 8 b e 5 a b 3 4 b 9 " ,   " e v e n t _ t y p e " :   " c a l l . c o n n e c t e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " c h a n n e l _ n a m e " :   " P J S I P / 2 0 0 1 - 0 0 0 0 0 0 4 5 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 7 : 5 5 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 2 b 4 1 d 0 9 3 c 7 " ,   " e v e n t _ t y p e " :   " c a l l . s t a r t e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " c a l l e r _ n a m e " :   " 1 0 0 1 " ,   " c a l l e r _ n u m b e r " :   " 1 0 0 1 " ,   " c o n t e x t " :   " f r o m - s o f t p h o n e s " ,   " d i r e c t i o n " :   " i n b o u n d " ,   " e x t e n s i o n " :   " 7 0 0 0 " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " s o u r c e " :   " a s t e r i s k " } } ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 3 : 0 1 + 0 5 : 0 0 ]   c a l l - l i n k s   [ { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   n u l l ,   " e n d e d _ a t " :   n u l l ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " o p e r a t o r _ e x t e n s i o n " :   n u l l ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 1 + 0 0 : 0 0 " ,   " s t a t u s " :   " a c t i v e " ,   " t e l e p h o n y _ s t a t u s " :   " r i n g i n g " } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c l a i m e d _ b y _ u s e r " :   " o p e r a t o r " ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 7 : 5 7 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 5 3 + 0 0 : 0 0 " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 7 : 5 5 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " } ,   { " c a l l _ i d " :   " 1 7 7 2 8 7 6 3 8 0 . 9 3 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 3 9 : 4 9 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 4 0 : 1 2 + 0 0 : 0 0 " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 6 9 4 4 3 6 1 2 e 1 " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 3 9 : 4 2 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " } ,   { " c a l l _ i d " :   " 1 7 7 2 8 7 5 1 7 1 . 9 0 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 1 9 : 3 6 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 1 9 : 3 9 + 0 0 : 0 0 " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 7 2 6 c 3 6 d 9 5 d " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 1 9 : 3 3 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " } ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 3 : 0 6 + 0 5 : 0 0 ]   l i v e - c a l l s   [ { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c a l l e r _ n a m e " :   " 1 0 0 1 " ,   " c a l l e r _ n u m b e r " :   " 1 0 0 1 " ,   " c h a n n e l _ n a m e " :   " P J S I P / 2 0 0 1 - 0 0 0 0 0 0 4 7 " ,   " c l a i m e d _ a t " :   n u l l ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 5 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   n u l l ,   " h a n g u p _ c a u s e " :   n u l l ,   " h a s _ r e c o r d i n g " :   f a l s e ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " l a s t _ t r a n s i t i o n _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 5 + 0 0 : 0 0 " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " q u e u e _ c o d e " :   " v o i c e _ l a b " ,   " q u e u e _ i d " :   " q u e _ 2 3 f b 0 a d 0 7 c " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 1 + 0 0 : 0 0 " ,   " s t a t u s " :   " a c t i v e " ,   " t e l e p h o n y _ s t a t u s " :   " c o n n e c t e d " ,   " t e r m i n a l _ a c t i o n " :   n u l l ,   " t e r m i n a l _ t a r g e t " :   n u l l ,   " u p d a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 5 + 0 0 : 0 0 " } ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 3 : 0 6 + 0 5 : 0 0 ]   v o i c e - e v e n t s   [ { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 5 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ e 3 b e c 0 b 0 e 6 " ,   " e v e n t _ t y p e " :   " c a l l . c o n n e c t e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " p a y l o a d " :   { " c h a n n e l _ n a m e " :   " P J S I P / 2 0 0 1 - 0 0 0 0 0 0 4 7 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 1 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 8 e c e 0 3 e c 0 7 " ,   " e v e n t _ t y p e " :   " c a l l . s t a r t e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " p a y l o a d " :   { " c a l l e r _ n a m e " :   " 1 0 0 1 " ,   " c a l l e r _ n u m b e r " :   " 1 0 0 1 " ,   " c o n t e x t " :   " f r o m - s o f t p h o n e s " ,   " d i r e c t i o n " :   " i n b o u n d " ,   " e x t e n s i o n " :   " 7 0 0 0 " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 5 3 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 9 2 4 5 c 8 b b 3 0 " ,   " e v e n t _ t y p e " :   " r e c o r d i n g . r e a d y " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   5 8 ,   " f i l e _ n a m e " :   " 2 0 2 6 0 3 0 7 - 1 6 0 7 5 3 - 1 7 7 2 8 8 1 6 7 3 . 1 0 5 . w a v " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " m i m e _ t y p e " :   " a u d i o / w a v " ,   " r e m o t e _ p a t h " :   " / v a r / s p o o l / a s t e r i s k / m o n i t o r / m v p c c / 2 0 2 6 0 3 0 7 - 1 6 0 7 5 3 - 1 7 7 2 8 8 1 6 7 3 . 1 0 5 . w a v " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 5 3 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 3 e 2 c 4 e e d c 7 " ,   " e v e n t _ t y p e " :   " c a l l . e n d e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   5 8 ,   " h a n g u p _ c a u s e " :   " 1 6 " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 2 0 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ d b f 1 b a 4 3 9 9 " ,   " e v e n t _ t y p e " :   " c a l l . e n d e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   n u l l ,   " h a n g u p _ c a u s e " :   " u n k n o w n " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " r e c o n c i l e d " :   t r u e ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 7 : 5 7 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 8 b e 5 a b 3 4 b 9 " ,   " e v e n t _ t y p e " :   " c a l l . c o n n e c t e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " c h a n n e l _ n a m e " :   " P J S I P / 2 0 0 1 - 0 0 0 0 0 0 4 5 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s o u r c e " :   " a s t e r i s k " } } ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 3 : 0 6 + 0 5 : 0 0 ]   c a l l - l i n k s   [ { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 5 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   n u l l ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 1 + 0 0 : 0 0 " ,   " s t a t u s " :   " a c t i v e " ,   " t e l e p h o n y _ s t a t u s " :   " c o n n e c t e d " } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c l a i m e d _ b y _ u s e r " :   " o p e r a t o r " ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 7 : 5 7 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 5 3 + 0 0 : 0 0 " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 7 : 5 5 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " } ,   { " c a l l _ i d " :   " 1 7 7 2 8 7 6 3 8 0 . 9 3 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 3 9 : 4 9 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 4 0 : 1 2 + 0 0 : 0 0 " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 6 9 4 4 3 6 1 2 e 1 " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 3 9 : 4 2 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " } ,   { " c a l l _ i d " :   " 1 7 7 2 8 7 5 1 7 1 . 9 0 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 1 9 : 3 6 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 1 9 : 3 9 + 0 0 : 0 0 " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 7 2 6 c 3 6 d 9 5 d " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 1 9 : 3 3 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " } ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 3 : 2 7 + 0 5 : 0 0 ]   l i v e - c a l l s   [ { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c a l l e r _ n a m e " :   " 1 0 0 1 " ,   " c a l l e r _ n u m b e r " :   " 1 0 0 1 " ,   " c h a n n e l _ n a m e " :   " P J S I P / 2 0 0 1 - 0 0 0 0 0 0 4 7 " ,   " c l a i m e d _ a t " :   n u l l ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 5 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   n u l l ,   " h a n g u p _ c a u s e " :   " u n k n o w n " ,   " h a s _ r e c o r d i n g " :   f a l s e ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " l a s t _ t r a n s i t i o n _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 2 6 + 0 0 : 0 0 " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " q u e u e _ c o d e " :   " v o i c e _ l a b " ,   " q u e u e _ i d " :   " q u e _ 2 3 f b 0 a d 0 7 c " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 1 + 0 0 : 0 0 " ,   " s t a t u s " :   " a c t i v e " ,   " t e l e p h o n y _ s t a t u s " :   " c o n n e c t e d " ,   " t e r m i n a l _ a c t i o n " :   n u l l ,   " t e r m i n a l _ t a r g e t " :   n u l l ,   " u p d a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 2 6 + 0 0 : 0 0 " } ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 3 : 2 7 + 0 5 : 0 0 ]   v o i c e - e v e n t s   [ { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 2 6 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 9 a 0 3 f c 9 f f 8 " ,   " e v e n t _ t y p e " :   " c a l l . e n d e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   n u l l ,   " h a n g u p _ c a u s e " :   " u n k n o w n " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " r e c o n c i l e d " :   t r u e ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 5 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ e 3 b e c 0 b 0 e 6 " ,   " e v e n t _ t y p e " :   " c a l l . c o n n e c t e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " p a y l o a d " :   { " c h a n n e l _ n a m e " :   " P J S I P / 2 0 0 1 - 0 0 0 0 0 0 4 7 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 1 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 8 e c e 0 3 e c 0 7 " ,   " e v e n t _ t y p e " :   " c a l l . s t a r t e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " p a y l o a d " :   { " c a l l e r _ n a m e " :   " 1 0 0 1 " ,   " c a l l e r _ n u m b e r " :   " 1 0 0 1 " ,   " c o n t e x t " :   " f r o m - s o f t p h o n e s " ,   " d i r e c t i o n " :   " i n b o u n d " ,   " e x t e n s i o n " :   " 7 0 0 0 " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 5 3 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 9 2 4 5 c 8 b b 3 0 " ,   " e v e n t _ t y p e " :   " r e c o r d i n g . r e a d y " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   5 8 ,   " f i l e _ n a m e " :   " 2 0 2 6 0 3 0 7 - 1 6 0 7 5 3 - 1 7 7 2 8 8 1 6 7 3 . 1 0 5 . w a v " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " m i m e _ t y p e " :   " a u d i o / w a v " ,   " r e m o t e _ p a t h " :   " / v a r / s p o o l / a s t e r i s k / m o n i t o r / m v p c c / 2 0 2 6 0 3 0 7 - 1 6 0 7 5 3 - 1 7 7 2 8 8 1 6 7 3 . 1 0 5 . w a v " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 5 3 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 3 e 2 c 4 e e d c 7 " ,   " e v e n t _ t y p e " :   " c a l l . e n d e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   5 8 ,   " h a n g u p _ c a u s e " :   " 1 6 " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 2 0 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ d b f 1 b a 4 3 9 9 " ,   " e v e n t _ t y p e " :   " c a l l . e n d e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   n u l l ,   " h a n g u p _ c a u s e " :   " u n k n o w n " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " r e c o n c i l e d " :   t r u e ,   " s o u r c e " :   " a s t e r i s k " } } ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 3 : 3 0 + 0 5 : 0 0 ]   l i v e - c a l l s   [ ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 3 : 3 0 + 0 5 : 0 0 ]   r e c e n t - c a l l s   [ { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c a l l e r _ n a m e " :   " 1 0 0 1 " ,   " c a l l e r _ n u m b e r " :   " 1 0 0 1 " ,   " c h a n n e l _ n a m e " :   " P J S I P / 2 0 0 1 - 0 0 0 0 0 0 4 7 " ,   " c l a i m e d _ a t " :   n u l l ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 5 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 3 0 + 0 0 : 0 0 " ,   " h a n g u p _ c a u s e " :   " 1 6 " ,   " h a s _ r e c o r d i n g " :   f a l s e ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " l a s t _ t r a n s i t i o n _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 3 0 + 0 0 : 0 0 " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " q u e u e _ c o d e " :   " v o i c e _ l a b " ,   " q u e u e _ i d " :   " q u e _ 2 3 f b 0 a d 0 7 c " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 1 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " ,   " t e r m i n a l _ a c t i o n " :   " e n d e d " ,   " t e r m i n a l _ t a r g e t " :   n u l l ,   " u p d a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 3 0 + 0 0 : 0 0 " } ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 3 : 3 0 + 0 5 : 0 0 ]   v o i c e - e v e n t s   [ { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 3 0 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 4 2 c d 3 4 b a 3 b " ,   " e v e n t _ t y p e " :   " r e c o r d i n g . r e a d y " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   2 8 ,   " f i l e _ n a m e " :   " 2 0 2 6 0 3 0 7 - 1 6 1 3 0 0 - 1 7 7 2 8 8 1 9 7 9 . 1 0 8 . w a v " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " m i m e _ t y p e " :   " a u d i o / w a v " ,   " r e m o t e _ p a t h " :   " / v a r / s p o o l / a s t e r i s k / m o n i t o r / m v p c c / 2 0 2 6 0 3 0 7 - 1 6 1 3 0 0 - 1 7 7 2 8 8 1 9 7 9 . 1 0 8 . w a v " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 3 0 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ d c f 3 3 7 8 9 1 2 " ,   " e v e n t _ t y p e " :   " c a l l . e n d e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   2 8 ,   " h a n g u p _ c a u s e " :   " 1 6 " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 2 6 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 9 a 0 3 f c 9 f f 8 " ,   " e v e n t _ t y p e " :   " c a l l . e n d e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   n u l l ,   " h a n g u p _ c a u s e " :   " u n k n o w n " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " r e c o n c i l e d " :   t r u e ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 5 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ e 3 b e c 0 b 0 e 6 " ,   " e v e n t _ t y p e " :   " c a l l . c o n n e c t e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " p a y l o a d " :   { " c h a n n e l _ n a m e " :   " P J S I P / 2 0 0 1 - 0 0 0 0 0 0 4 7 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 1 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 8 e c e 0 3 e c 0 7 " ,   " e v e n t _ t y p e " :   " c a l l . s t a r t e d " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " p a y l o a d " :   { " c a l l e r _ n a m e " :   " 1 0 0 1 " ,   " c a l l e r _ n u m b e r " :   " 1 0 0 1 " ,   " c o n t e x t " :   " f r o m - s o f t p h o n e s " ,   " d i r e c t i o n " :   " i n b o u n d " ,   " e x t e n s i o n " :   " 7 0 0 0 " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " s o u r c e " :   " a s t e r i s k " } } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c r e a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 5 3 + 0 0 : 0 0 " ,   " e v e n t _ i d " :   " v e v _ 9 2 4 5 c 8 b b 3 0 " ,   " e v e n t _ t y p e " :   " r e c o r d i n g . r e a d y " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " p a y l o a d " :   { " d u r a t i o n _ s e c o n d s " :   5 8 ,   " f i l e _ n a m e " :   " 2 0 2 6 0 3 0 7 - 1 6 0 7 5 3 - 1 7 7 2 8 8 1 6 7 3 . 1 0 5 . w a v " ,   " l i n k e d _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " m i m e _ t y p e " :   " a u d i o / w a v " ,   " r e m o t e _ p a t h " :   " / v a r / s p o o l / a s t e r i s k / m o n i t o r / m v p c c / 2 0 2 6 0 3 0 7 - 1 6 0 7 5 3 - 1 7 7 2 8 8 1 6 7 3 . 1 0 5 . w a v " ,   " s o u r c e " :   " a s t e r i s k " } } ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 3 : 3 0 + 0 5 : 0 0 ]   c a l l - l i n k s   [ { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 5 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 3 0 + 0 0 : 0 0 " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 1 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " } ,   { " c a l l _ i d " :   " 1 7 7 2 8 8 1 6 7 3 . 1 0 5 " ,   " c l a i m e d _ b y _ u s e r " :   " o p e r a t o r " ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 7 : 5 7 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 8 : 5 3 + 0 0 : 0 0 " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 5 2 5 8 6 c d a a " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 0 7 : 5 5 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " } ,   { " c a l l _ i d " :   " 1 7 7 2 8 7 6 3 8 0 . 9 3 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 3 9 : 4 9 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 4 0 : 1 2 + 0 0 : 0 0 " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 6 9 4 4 3 6 1 2 e 1 " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 3 9 : 4 2 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " } ,   { " c a l l _ i d " :   " 1 7 7 2 8 7 5 1 7 1 . 9 0 " ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 1 9 : 3 6 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 1 9 : 3 9 + 0 0 : 0 0 " ,   " i n t e r a c t i o n _ i d " :   " i n t _ 7 2 6 c 3 6 d 9 5 d " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 0 9 : 1 9 : 3 3 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " } ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 3 : 3 1 + 0 5 : 0 0 ]   r e c e n t - c a l l s   [ { " c a l l _ i d " :   " 1 7 7 2 8 8 1 9 7 9 . 1 0 8 " ,   " c a l l e r _ n a m e " :   " 1 0 0 1 " ,   " c a l l e r _ n u m b e r " :   " 1 0 0 1 " ,   " c h a n n e l _ n a m e " :   " P J S I P / 2 0 0 1 - 0 0 0 0 0 0 4 7 " ,   " c l a i m e d _ a t " :   n u l l ,   " c l a i m e d _ b y _ u s e r " :   n u l l ,   " c o n n e c t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 5 + 0 0 : 0 0 " ,   " e n d e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 3 0 + 0 0 : 0 0 " ,   " h a n g u p _ c a u s e " :   " 1 6 " ,   " h a s _ r e c o r d i n g " :   t r u e ,   " i n t e r a c t i o n _ i d " :   " i n t _ 0 3 4 9 7 9 6 d 1 e " ,   " l a s t _ t r a n s i t i o n _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 3 0 + 0 0 : 0 0 " ,   " o p e r a t o r _ e x t e n s i o n " :   " 2 0 0 1 " ,   " q u e u e _ c o d e " :   " v o i c e _ l a b " ,   " q u e u e _ i d " :   " q u e _ 2 3 f b 0 a d 0 7 c " ,   " s t a r t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 0 1 + 0 0 : 0 0 " ,   " s t a t u s " :   " e n d e d " ,   " t e l e p h o n y _ s t a t u s " :   " e n d e d " ,   " t e r m i n a l _ a c t i o n " :   " e n d e d " ,   " t e r m i n a l _ t a r g e t " :   n u l l ,   " u p d a t e d _ a t " :   " 2 0 2 6 - 0 3 - 0 7 T 1 1 : 1 3 : 3 0 + 0 0 : 0 0 " } ] 
 
 - [ 2 0 2 6 - 0 3 - 0 7 T 1 6 : 1 3 : 3 2 + 0 5 : 0 0 ]   m o n i t o r   { " s t a t u s " :   " f i n i s h e d " } 
 
 \   N o   n e w l i n e   a t   e n d   o f   f i l e 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 1 2 / t r a c k 1 2 - a c c e p t a n c e . t e m p l a t e . m d   b / d o c s / a c c e p t a n c e / t r a c k 1 2 / t r a c k 1 2 - a c c e p t a n c e . t e m p l a t e . m d 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   a 5 e b 6 8 5 . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 1 2 / t r a c k 1 2 - a c c e p t a n c e . t e m p l a t e . m d 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 3 8   + 0 , 0   @ @ 
 
 - #   T r a c k   1 2   A c c e p t a n c e   -   < t i m e s t a m p > 
 
 - 
 
 - # #   E n v i r o n m e n t 
 
 - 
 
 - -   B a s e   U R L :   ` < g a t e w a y _ b a s e _ u r l > ` 
 
 - -   D a t a b a s e :   ` < d a t a b a s e _ u r l > ` 
 
 - -   A s t e r i s k   h o s t :   ` < a s t e r i s k _ h o s t > ` 
 
 - -   O p e r a t o r   u s e r :   ` < o p e r a t o r _ u s e r > ` 
 
 - -   O p e r a t o r   e x t e n s i o n :   ` < o p e r a t o r _ e x t e n s i o n > ` 
 
 - 
 
 - # #   E x e c u t e d   s c e n a r i o s 
 
 - 
 
 - -   [   ]   H a p p y   p a t h :   a n s w e r   i n   S I P   - >   ` h%/d%h%U%h%\%d%d%d%  h%%  d%h%%h%%h%[%d%d%`   - >   ` h%'h%%h%%h%a%d%d%h%U%d%d%` 
 
 - -   [   ]   T r a n s f e r   p a t h :   a n s w e r   i n   S I P   - >   ` h%/d%h%U%h%\%d%d%d%  h%%  d%h%%h%%h%[%d%d%`   - >   ` h%/h%a%d%h%a%h%$%h%%d%d%` 
 
 - -   [   ]   P a s s i v e   p a t h :   a n s w e r   i n   S I P ,   n o   b r o w s e r   a c t i o n ,   c a l l   s t a y s   a c t i v e   u n t i l   r e a l   h a n g u p 
 
 - -   [   ]   N o - f a k e - c a r d s   p a t h :   ` h%&h%U%h%%d%h%a%  h%V%h%%h%[%h%\%h%Q%h%U%`   d o e s   n o t   s h o w   ` i n t e r a c t i o n : i n t _ * ` 
 
 - 
 
 - # #   E v i d e n c e 
 
 - 
 
 - -   A c t i v e   l i v e   c a l l   s n a p s h o t :   ` o p e r a t o r - l i v e - c a l l s . j s o n ` 
 
 - -   R e c e n t   c a l l   s n a p s h o t :   ` o p e r a t o r - r e c e n t - c a l l s . j s o n ` 
 
 - -   A c t i o n   l o g :   ` b r i d g e - a c t i o n s . j s o n ` 
 
 - -   P l a y b a c k   p r o o f :   ` p l a y b a c k - p r o o f . j s o n ` 
 
 - 
 
 - # #   M a n d a t o r y   c h e c k s 
 
 - 
 
 - -   [   ]   ` G E T   / p r o x y / a s t e r i s k - b r i d g e / a s t e r i s k / l i v e - c a l l s `   r e t u r n s   o n l y   a c t i v e   c a l l s 
 
 - -   [   ]   ` G E T   / p r o x y / a s t e r i s k - b r i d g e / a s t e r i s k / r e c e n t - c a l l s `   r e t u r n s   o n l y   r e c e n t   e n d e d / t r a n s f e r r e d   c a l l s 
 
 - -   [   ]   ` c l a i m `   k e e p s   t h e   c a r d   i n   ` h% h%Q%d%h%U%h%%h%\%d%h%a%  h%V%h%%h%[%h%\%h%Q%h%U%` 
 
 - -   [   ]   ` h a n g u p `   m o v e s   t h e   c a r d   t o   ` h%2h%[%h%W%d%h%Q%h%[%  d%d%h%[%  h%V%h%%h%%h%a%d%d%d%!h%\%h%\%d%h%a%` 
 
 - -   [   ]   ` b l i n d   t r a n s f e r `   m o v e s   t h e   c a r d   t o   ` h%2h%[%h%W%d%h%Q%h%[%  d%d%h%[%  h%V%h%%h%%h%a%d%d%d%!h%\%h%\%d%h%a%` 
 
 - -   [   ]   r e c o r d i n g   i s   a v a i l a b l e   i n   ` / s u p e r v i s o r ` 
 
 - 
 
 - # #   D e c i s i o n 
 
 - 
 
 - -   G O   /   N O - G O :   ` < d e c i s i o n > ` 
 
 - -   N o t e s : 
 
 -     -   ` < n o t e s > ` 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 1 4 / t r a c k 1 4 - a c c e p t a n c e . t e m p l a t e . m d   b / d o c s / a c c e p t a n c e / t r a c k 1 4 / t r a c k 1 4 - a c c e p t a n c e . t e m p l a t e . m d 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   d 6 4 c d 0 8 . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 1 4 / t r a c k 1 4 - a c c e p t a n c e . t e m p l a t e . m d 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 3 8   + 0 , 0   @ @ 
 
 - #   T r a c k   1 4   A c c e p t a n c e 
 
 - 
 
 - # #   E n v i r o n m e n t 
 
 - 
 
 - -   B r o w s e r :   ` < c h r o m e | e d g e   v e r s i o n > ` 
 
 - -   G a t e w a y   b a s e   U R L :   ` < u r l > ` 
 
 - -   A s t e r i s k   h o s t :   ` < h o s t > ` 
 
 - -   W S S   U R L :   ` < w s s - u r l > ` 
 
 - -   O p e r a t o r   a p p   u s e r :   ` < u s e r > ` 
 
 - -   B r o w s e r   S I P   a u t h   u s e r :   ` < s i p - u s e r n a m e > ` 
 
 - 
 
 - # #   S c e n a r i o 
 
 - 
 
 - 1 .   O p e n   ` / o p e r a t o r `   i n   C h r o m e   o r   E d g e . 
 
 - 2 .   C o n n e c t   b r o w s e r   s o f t p h o n e . 
 
 - 3 .   P l a c e   o n e   i n b o u n d   c a l l   ` 1 0 0 1   - >   7 0 0 0 ` . 
 
 - 4 .   A n s w e r   i n   t h e   b r o w s e r . 
 
 - 5 .   C o n f i r m   a u t o - c l a i m   o r   p e r f o r m   m a n u a l   ` h%/d%h%U%h%\%d%d%d%  h%%  d%h%%h%%h%[%d%d%` . 
 
 - 6 .   H a n g   u p   t h r o u g h   t h e   b r o w s e r   p a t h . 
 
 - 7 .   C o n f i r m   t h e   c a l l   m o v e s   t o   r e c e n t   a n d   t h e   r e c o r d i n g   i s   p l a y a b l e   i n   ` / s u p e r v i s o r ` . 
 
 - 
 
 - # #   E v i d e n c e 
 
 - 
 
 - -   B r o w s e r   s o f t p h o n e   r e g i s t r a t i o n   s t a t e   s c r e e n s h o t 
 
 - -   O p e r a t o r   l i v e - c a l l   s c r e e n s h o t   w h i l e   r i n g i n g   o r   c o n n e c t e d 
 
 - -   B r o w s e r   a n s w e r   o r   h a n g u p   a c t i o n   p r o o f 
 
 - -   B r i d g e   a c t i o n s   s n a p s h o t 
 
 - -   R e c e n t - c a l l s   s n a p s h o t 
 
 - -   R e c o r d i n g   p l a y b a c k   p r o o f 
 
 - 
 
 - # #   R e s u l t 
 
 - 
 
 - -   ` G O `   o r   ` N O - G O ` 
 
 - -   N o t e s : 
 
 -     -   b r o w s e r   r e g i s t r a t i o n 
 
 -     -   a n s w e r   b e h a v i o r 
 
 -     -   a u t o - c l a i m   r e s u l t 
 
 -     -   r e c o r d i n g   r e s u l t 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 1 5 / t r a c k 1 5 - a c c e p t a n c e . t e m p l a t e . m d   b / d o c s / a c c e p t a n c e / t r a c k 1 5 / t r a c k 1 5 - a c c e p t a n c e . t e m p l a t e . m d 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   9 b 3 a 2 a 9 . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 1 5 / t r a c k 1 5 - a c c e p t a n c e . t e m p l a t e . m d 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 4 1   + 0 , 0   @ @ 
 
 - #   T r a c k   1 5   A c c e p t a n c e 
 
 - 
 
 - # #   E n v i r o n m e n t 
 
 - 
 
 - -   B a s e   U R L : 
 
 - -   T e l e g r a m   b o t   u s e r n a m e : 
 
 - -   Q u e u e   I D : 
 
 - -   O p e r a t o r   u s e r : 
 
 - -   D a t e / t i m e : 
 
 - 
 
 - # #   S c e n a r i o 
 
 - 
 
 - 1 .   S e n d   t h e   f i r s t   T e l e g r a m   m e s s a g e   t o   t h e   b o t . 
 
 - 2 .   O p e n   ` / o p e r a t o r `   - >   ` T e l e g r a m ` . 
 
 - 3 .   C o n f i r m   a   n e w   t h r e a d   a p p e a r s   a n d   l i n k s   t o   a   T e l e g r a m   i n t e r a c t i o n . 
 
 - 4 .   C l a i m   t h e   t h r e a d . 
 
 - 5 .   S e n d   a   r e p l y   f r o m   t h e   o p e r a t o r   p a g e . 
 
 - 6 .   S e n d   a n o t h e r   i n b o u n d   m e s s a g e   f r o m   t h e   s a m e   T e l e g r a m   c h a t . 
 
 - 7 .   C o n f i r m   t h e   s a m e   t h r e a d   a n d   s a m e   i n t e r a c t i o n   a r e   r e u s e d . 
 
 - 8 .   C l o s e   t h e   t h r e a d . 
 
 - 9 .   S e n d   o n e   m o r e   i n b o u n d   m e s s a g e   a n d   c o n f i r m   r e a c t i v a t i o n   t o   ` n e w ` . 
 
 - 
 
 - # #   E x p e c t e d   r e s u l t s 
 
 - 
 
 - -   t h r e a d   c r e a t e d   o n   f i r s t   i n b o u n d 
 
 - -   s a m e   t h r e a d   r e u s e d   o n   r e p e a t e d   i n b o u n d   f r o m   t h e   s a m e   ` c h a t _ i d ` 
 
 - -   o p e r a t o r   r e p l y   p e r s i s t e d   a n d   d e l i v e r e d 
 
 - -   c l o s e d   i n t e r a c t i o n   r e a c t i v a t e d   o n   n e w   i n b o u n d 
 
 - -   u n s u p p o r t e d   c o n t e n t ,   i f   t e s t e d ,   i s   s h o w n   a s   a   s y s t e m   p l a c e h o l d e r 
 
 - 
 
 - # #   E v i d e n c e 
 
 - 
 
 - -   t h r e a d   p a y l o a d : 
 
 - -   m e s s a g e s   p a y l o a d : 
 
 - -   l i n k e d   i n t e r a c t i o n   p a y l o a d : 
 
 - -   r e p l y   p r o o f : 
 
 - -   r e a c t i v a t i o n   p r o o f : 
 
 - 
 
 - # #   R e s u l t 
 
 - 
 
 - -   P A S S   /   F A I L 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 9 / R E A D M E . m d   b / d o c s / a c c e p t a n c e / t r a c k 9 / R E A D M E . m d 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   7 6 8 1 e 4 8 . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 9 / R E A D M E . m d 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 2 7   + 0 , 0   @ @ 
 
 - #   T r a c k   9   A c c e p t a n c e   E v i d e n c e 
 
 - 
 
 - U s e   t h i s   f o l d e r   f o r   f o r m a l   Q A - l a b   a c c e p t a n c e   a r t i f a c t s   f o r   A s t e r i s k   i n t e g r a t i o n . 
 
 - 
 
 - R e c o m m e n d e d   s t r u c t u r e : 
 
 - 
 
 - -   ` d o c s / a c c e p t a n c e / t r a c k 9 / < t i m e s t a m p > / . . . `   f o r   e a c h   r u n 
 
 - -   i n c l u d e : 
 
 -     -   b r i d g e   s t a t u s   s n a p s h o t s 
 
 -     -   s m o k e / c h e c k   o u t p u t s 
 
 -     -   s a m p l e d   D B   e v i d e n c e 
 
 -     -   f i n a l   a c c e p t a n c e   n o t e 
 
 - 
 
 - G e n e r a t e   a   b a s e l i n e   p a c k a g e   w i t h : 
 
 - 
 
 - ` ` ` p o w e r s h e l l 
 
 - p y t h o n   s c r i p t s \ t r a c k 9 _ c o l l e c t _ e v i d e n c e . p y   - - b a s e - u r l   h t t p : / / l o c a l h o s t : 8 0 8 0   - - d a t a b a s e - u r l   < d a t a b a s e - u r l >   - - r u n - c h e c k s   - - r e q u i r e - r e c o r d i n g 
 
 - ` ` ` 
 
 - 
 
 - W h e n   ` - - r u n - c h e c k s `   i s   u s e d ,   t h e   p a c k a g e   n o w   i n c l u d e s : 
 
 - -   ` p r e f l i g h t _ o u t p u t . t x t ` 
 
 - -   ` s m o k e _ o u t p u t . t x t ` 
 
 - -   ` t r a c k 9 _ c h e c k _ o u t p u t . t x t ` 
 
 - 
 
 - F o r   p r o d u c t i o n   c u t o v e r   t r a c k i n g   ( T r a c k   9 . 2 ) ,   s t a r t   f r o m : 
 
 - 
 
 - -   [ t r a c k 9 - c u t o v e r - s h e e t . t e m p l a t e . m d ] ( / e : / Z h a n / d o c s / a c c e p t a n c e / t r a c k 9 / t r a c k 9 - c u t o v e r - s h e e t . t e m p l a t e . m d ) 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 9 / t r a c k 9 - a c c e p t a n c e . m d   b / d o c s / a c c e p t a n c e / t r a c k 9 / t r a c k 9 - a c c e p t a n c e . m d 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   8 5 9 d 6 a d . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 9 / t r a c k 9 - a c c e p t a n c e . m d 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 5 0   + 0 , 0   @ @ 
 
 - #   T r a c k   9   A c c e p t a n c e   ( L a t e s t   Q A   R u n ) 
 
 - 
 
 - # #   E n v i r o n m e n t 
 
 - 
 
 - -   D a t e :   ` 2 0 2 6 - 0 3 - 0 5 ` 
 
 - -   H o s t :   l o c a l   Q A   l a b   ( ` 1 2 7 . 0 . 0 . 1 ` ) 
 
 - -   G a t e w a y   U R L :   ` h t t p : / / 1 2 7 . 0 . 0 . 1 : 8 0 8 0 ` 
 
 - -   A s t e r i s k   V M   h o s t :   ` 9 2 . 3 8 . 4 8 . 1 6 6 ` 
 
 - -   D a t a b a s e   U R L   ( m a s k e d ) :   ` s q l i t e : / / / . d a t a _ l o c a l / m v p _ c c . d b ` 
 
 - -   E v i d e n c e   p a c k a g e :   [ 2 0 2 6 0 3 0 5 _ 1 6 0 0 0 2 ] ( / e : / Z h a n / d o c s / a c c e p t a n c e / t r a c k 9 / 2 0 2 6 0 3 0 5 _ 1 6 0 0 0 2 ) 
 
 - 
 
 - # #   E x e c u t e d   s c e n a r i o 
 
 - 
 
 - 1 .   S o f t p h o n e   ` 1 0 0 1 `   c a l l e d   ` 7 0 0 0 ` . 
 
 - 2 .   B r i d g e   r e p o r t e d   A M I   c o n n e c t e d . 
 
 - 3 .   ` c a l l . s t a r t e d `   r e c e i v e d   f r o m   A s t e r i s k   s o u r c e . 
 
 - 4 .   ` c a l l . e n d e d `   r e c e i v e d . 
 
 - 5 .   ` r e c o r d i n g . r e a d y `   p r o c e s s e d   a n d   r e c o r d i n g   u p l o a d e d . 
 
 - 6 .   R e c o r d i n g   p l a y b a c k   v a l i d a t e d   i n   s u p e r v i s o r   s h e l l . 
 
 - 
 
 - # #   V a l i d a t i o n   c o m m a n d s 
 
 - 
 
 - ` ` ` p o w e r s h e l l 
 
 - p y t h o n   s c r i p t s \ t r a c k 9 _ p r e f l i g h t . p y   - - b a s e - u r l   < g a t e w a y >   - - c h e c k - s f t p 
 
 - p y t h o n   s c r i p t s \ a s t e r i s k _ l a b _ s m o k e . p y   - - b a s e - u r l   < g a t e w a y >   - - d a t a b a s e - u r l   < d b >   - - r e q u i r e - r e c o r d i n g 
 
 - p y t h o n   s c r i p t s \ t r a c k 9 _ c h e c k . p y   - - b a s e - u r l   < g a t e w a y >   - - d a t a b a s e - u r l   < d b >   - - r e q u i r e - r e c o r d i n g 
 
 - p y t h o n   s c r i p t s \ t r a c k 9 _ c o l l e c t _ e v i d e n c e . p y   - - b a s e - u r l   < g a t e w a y >   - - d a t a b a s e - u r l   < d b >   - - r u n - c h e c k s   - - r e q u i r e - r e c o r d i n g 
 
 - ` ` ` 
 
 - 
 
 - # #   R e s u l t   s u m m a r y 
 
 - 
 
 - -   A M I   c o n n e c t e d :   ` y e s ` 
 
 - -   c a l l . s t a r t e d   p r e s e n t :   ` y e s ` 
 
 - -   c a l l . e n d e d   p r e s e n t :   ` y e s ` 
 
 - -   c a l l   l i n k s   p r e s e n t :   ` y e s ` 
 
 - -   r e c o r d i n g   i m p o r t e d :   ` y e s ` 
 
 - -   f a i l e d   b r i d g e   e v e n t s :   ` 0 ` 
 
 - -   s m o k e :   ` P A S S ` 
 
 - -   t r a c k 9 _ c h e c k :   ` P A S S ` 
 
 - -   p r e f l i g h t :   ` P A S S ` 
 
 - 
 
 - # #   R i s k s   /   o p e n   i t e m s 
 
 - 
 
 - -   A s t e r i s k   d i a l p l a n   s t i l l   e m i t s   s o m e   d u p l i c a t e / l a t e   l i f e c y c l e   s i g n a l s   i n   l a b   r u n s ;   b r i d g e   r e c o n c i l i a t i o n   m a s k s   t h i s   a n d   k e e p s   p l a t f o r m   d a t a   c o n s i s t e n t . 
 
 - -   F o r   p r o d u c t i o n   c u t o v e r ,   k e e p   s t r i c t   a u t h   a n d   r o l l b a c k   w i n d o w   f r o m   T r a c k   9 . 2   s h e e t . 
 
 - 
 
 - # #   D e c i s i o n 
 
 - 
 
 - -   [ x ]   G O 
 
 - -   [   ]   N O - G O 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 9 / t r a c k 9 - c u t o v e r - s h e e t . t e m p l a t e . m d   b / d o c s / a c c e p t a n c e / t r a c k 9 / t r a c k 9 - c u t o v e r - s h e e t . t e m p l a t e . m d 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   0 6 c 3 7 a 9 . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 9 / t r a c k 9 - c u t o v e r - s h e e t . t e m p l a t e . m d 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 8 7   + 0 , 0   @ @ 
 
 - #   T r a c k   9 . 2   C u t o v e r   S h e e t   ( T e m p l a t e ) 
 
 - 
 
 - # #   W i n d o w 
 
 - 
 
 - -   D a t e : 
 
 - -   S t a r t   t i m e : 
 
 - -   E n d   t i m e : 
 
 - -   C h a n g e   t i c k e t : 
 
 - 
 
 - # #   O w n e r s 
 
 - 
 
 - -   K 8 s   o w n e r : 
 
 - -   V o i c e / A s t e r i s k   o w n e r : 
 
 - -   A p p l i c a t i o n   o w n e r : 
 
 - -   O n - c a l l : 
 
 - 
 
 - # #   E n v i r o n m e n t   c o n t r a c t 
 
 - 
 
 - -   ` K U B E _ C O N T E X T ` : 
 
 - -   ` N A M E S P A C E ` : 
 
 - -   ` R E L E A S E ` : 
 
 - -   ` G A T E W A Y _ B A S E _ U R L ` : 
 
 - -   ` D A T A B A S E _ U R L ` : 
 
 - -   ` I M A G E _ T A G ` : 
 
 - -   ` A S T E R I S K _ A M I _ H O S T ` : 
 
 - -   ` A S T E R I S K _ S F T P _ H O S T ` : 
 
 - -   ` Q U E U E _ I D   ( v o i c e _ l a b ) ` : 
 
 - 
 
 - # #   E n t r y   c h e c k s   ( T - 1   d a y ) 
 
 - 
 
 - -   [   ]   Q A   b a s e l i n e   a c c e p t e d : 
 
 -     -   ` d o c s / a c c e p t a n c e / t r a c k 9 / t r a c k 9 - a c c e p t a n c e . m d ` 
 
 - -   [   ]   P r o d u c t i o n   q u e u e   m a p   v a l i d a t e d   ( ` v o i c e _ l a b   - >   q u e u e _ i d `   e x i s t s ) 
 
 - -   [   ]   A M I   p o r t   r e a c h a b l e   ( ` 5 0 3 8 / t c p ` ) 
 
 - -   [   ]   S F T P   p o r t   r e a c h a b l e   ( ` 2 2 / t c p ` ) 
 
 - -   [   ]   P o s t g r e S Q L   c o n f i r m e d   f o r   t a r g e t   e n v 
 
 - 
 
 - # #   D r y - r u n   r e s u l t s   ( T - 4 h   t o   T - 1 h ) 
 
 - 
 
 - -   [   ]   ` h e l m   l i n t `   P A S S 
 
 - -   [   ]   ` h e l m   t e m p l a t e `   P A S S 
 
 - -   [   ]   s t r i c t   e n v   k e y s   f o u n d   i n   r e n d e r e d   m a n i f e s t 
 
 - -   A r t i f a c t   f o l d e r : 
 
 - 
 
 - # #   E x e c u t i o n   ( T 0 ) 
 
 - 
 
 - -   H e l m   c o m m a n d : 
 
 - -   S t a r t   t i m e : 
 
 - -   E n d   t i m e : 
 
 - -   R e s u l t : 
 
 - 
 
 - R o l l o u t   s t a t u s e s : 
 
 - 
 
 - -   [   ]   ` a p i - g a t e w a y `   r e a d y 
 
 - -   [   ]   ` a s t e r i s k - b r i d g e - s e r v i c e `   r e a d y 
 
 - -   [   ]   ` v o i c e - a d a p t e r - s e r v i c e `   r e a d y 
 
 - -   [   ]   ` r e c o r d i n g - s e r v i c e `   r e a d y 
 
 - 
 
 - # #   P o s t - c u t o v e r   c h e c k s 
 
 - 
 
 - -   [   ]   ` t r a c k 9 _ p r e f l i g h t   - - c h e c k - s f t p   - - r e q u i r e - s t r i c t - s e r v i c e - a u t h `   P A S S 
 
 - -   [   ]   R e a l   c a l l   c o m p l e t e d   ( ` 1 0 0 1   - >   7 0 0 0 ` ) 
 
 - -   [   ]   ` a s t e r i s k _ l a b _ s m o k e   - - r e q u i r e - r e c o r d i n g `   P A S S 
 
 - -   [   ]   ` t r a c k 9 _ c h e c k   - - r e q u i r e - r e c o r d i n g `   P A S S 
 
 - -   [   ]   S u p e r v i s o r   p l a y b a c k   c o n f i r m e d   ( ` H T T P   2 0 0 ` ,   ` a u d i o / * ` ) 
 
 - 
 
 - # #   E v i d e n c e 
 
 - 
 
 - -   E v i d e n c e   f o l d e r : 
 
 - -   ` t r a c k 9 - a c c e p t a n c e . m d ` : 
 
 - -   ` p l a y b a c k - p r o o f . m d ` : 
 
 - -   ` p l a y b a c k - p r o o f . j s o n `   ( i f   u s e d ) : 
 
 - 
 
 - # #   D e c i s i o n 
 
 - 
 
 - -   [   ]   G O 
 
 - -   [   ]   N O - G O 
 
 - 
 
 - R e a s o n : 
 
 - 
 
 - # #   R o l l b a c k   s e c t i o n   ( f i l l   i f   N O - G O ) 
 
 - 
 
 - -   T r i g g e r : 
 
 - -   R o l l b a c k   c o m m a n d : 
 
 - -   R o l l b a c k   c o m p l e t i o n   t i m e : 
 
 - -   P o s t - r o l l b a c k   p r e f l i g h t   r e s u l t : 
 
 - -   I n c i d e n t   /   R C A   t i c k e t : 
 
 d i f f   - - g i t   a / d o c s / a c c e p t a n c e / t r a c k 9 _ 1 / R E A D M E . m d   b / d o c s / a c c e p t a n c e / t r a c k 9 _ 1 / R E A D M E . m d 
 
 d e l e t e d   f i l e   m o d e   1 0 0 6 4 4 
 
 i n d e x   2 2 4 1 1 1 6 . . 0 0 0 0 0 0 0 
 
 - - -   a / d o c s / a c c e p t a n c e / t r a c k 9 _ 1 / R E A D M E . m d 
 
 + + +   / d e v / n u l l 
 
 @ @   - 1 , 1 8   + 0 , 0   @ @ 
 
 - #   T r a c k   9 . 1   A c c e p t a n c e   ( L a t e s t   S t r i c t   A u t h   B a s e l i n e ) 
 
 - 
 
 - # #   S u m m a r y 
 
 - 
 
 - T r a c k   9 . 1   c a p t u r e s   t h e   s t r i c t   s e r v i c e - t o k e n   h a r d e n i n g   p a s s   f o r   t h e   A s t e r i s k   b r i d g e   f l o w . 
 
 - 
 
 - -   s t r i c t   a u t h   p r o f i l e :   ` A L L O W _ L E G A C Y _ H E A D E R _ A U T H = 0 ` 
 
 - -   b r i d g e   a u t h   m o d e :   ` A S T E R I S K _ B R I D G E _ A U T H _ M O D E = b e a r e r ` 
 
 - -   t r u s t e d   s e r v i c e   s u b j e c t s   e n f o r c e d   f o r   v o i c e   i n g e s t   a n d   r e c o r d i n g   i m p o r t 
 
 - 
 
 - # #   L a t e s t   r e t a i n e d   e v i d e n c e   p a c k a g e 
 
 - 
 
 - -   [ 2 0 2 6 0 3 0 5 _ 0 4 2 8 0 1 ] ( / e : / Z h a n / d o c s / a c c e p t a n c e / t r a c k 9 _ 1 / 2 0 2 6 0 3 0 5 _ 0 4 2 8 0 1 ) 
 
 - 
 
 - # #   N o t e s 
 
 - 
 
 - -   E a r l i e r   t i m e s t a m p   b u n d l e s   w e r e   r e d u c e d   d u r i n g   r e p o s i t o r y   c l e a n u p . 
 
 - -   U s e   t h e   r e t a i n e d   p a c k a g e   f o r   l o w - l e v e l   Q A   a r t i f a c t s   a n d   T r a c k   9 . 1   r e f e r e n c e   d a t a . 
 
 d i f f   - - g i t   a / s e r v i c e s / a i _ o r c h e s t r a t o r _ s e r v i c e / a p p . p y   b / s e r v i c e s / a i _ o r c h e s t r a t o r _ s e r v i c e / a p p . p y 
 
 i n d e x   8 9 1 6 6 9 e . . 8 4 8 a b 5 1   1 0 0 6 4 4 
 
 - - -   a / s e r v i c e s / a i _ o r c h e s t r a t o r _ s e r v i c e / a p p . p y 
 
 + + +   b / s e r v i c e s / a i _ o r c h e s t r a t o r _ s e r v i c e / a p p . p y 
 
 @ @   - 7 9 , 6   + 7 9 , 7   @ @   f r o m   s e r v i c e s . s h a r e d . s q l _ m o d e l s   i m p o r t   ( 
 
           V o i c e A I S e s s i o n R o w , 
 
   ) 
 
   f r o m   s e r v i c e s . a i _ o r c h e s t r a t o r _ s e r v i c e   i m p o r t   v o i c e   a s   v o i c e _ f l o w s 
 
 + f r o m   s e r v i c e s . a i _ o r c h e s t r a t o r _ s e r v i c e   i m p o r t   o p e r a t o r _ p e r s o n a   a s   p e r s o n a 
 
   f r o m   s e r v i c e s . a i _ o r c h e s t r a t o r _ s e r v i c e . v o i c e _ n a m e _ c o n f i g   i m p o r t   ( 
 
           l o a d _ v o i c e _ n a m e _ c o l l e c t i o n _ c o n f i g , 
 
           s a v e _ v o i c e _ n a m e _ c o l l e c t i o n _ c o n f i g , 
 
 @ @   - 2 3 1 6 , 1 5   + 2 3 1 7 , 1 0   @ @   d e f   _ o p e n a i _ p r o m p t ( 
 
                   } 
 
                   f o r   a r t i c l e   i n   k b _ r e s u l t s 
 
           ] 
 
 -         s y s t e m _ p r o m p t   =   ( 
 
 -                 f " Y o u   a r e   t h e   c o m p a n y ' s   A I   a s s i s t a n t   f o r   { c h a n n e l _ l a b e l } .   " 
 
 -                 " A l w a y s   d i s c l o s e   y o u   a r e   a n   A I   a s s i s t a n t   i n   t h e   f i r s t   m e a n i n g f u l   r e p l y .   " 
 
 -                 " U s e   o n l y   p r o v i d e d   b u s i n e s s   c o n t e x t ,   K B   s n i p p e t s ,   a n d   i n t e r a c t i o n   s t a t e .   " 
 
 -                 " N e v e r   i n v e n t   o r d e r   s t a t u s e s ,   t a r i f f s ,   d i s c o u n t s ,   d e a d l i n e s ,   o r   a c t i o n s   t h a t   a r e   n o t   i n   c o n t e x t .   " 
 
 -                 " I f   c o n f i d e n c e   i s   l o w   o r   a   h u m a n   i s   n e e d e d ,   s e t   n e e d s _ h a n d o f f = t r u e   a n d   d o   n o t   b l u f f .   " 
 
 -                 " R e t u r n   o n l y   a   J S O N   o b j e c t   w i t h   k e y s :   l a n g u a g e ,   i n t e n t ,   r e p l y _ t e x t ,   c o n f i d e n c e ,   n e e d s _ h a n d o f f ,   " 
 
 -                 " h a n d o f f _ r e a s o n ,   c a s e _ a c t i o n ,   k b _ r e f s .   c a s e _ a c t i o n   m u s t   b e   o n e   o f   n o n e ,   c l o s e ,   e s c a l a t e ,   k e e p _ o p e n .   " 
 
 -                 f " P r e f e r   { ' K a z a k h '   i f   l a n g u a g e   = =   ' k z '   e l s e   ' R u s s i a n ' }   f o r   t h e   r e p l y . " 
 
 +         s y s t e m _ p r o m p t   =   p e r s o n a . o p e r a t o r _ s y s t e m _ p r o m p t ( 
 
 +                 l a n g u a g e = l a n g u a g e , 
 
 +                 c h a n n e l _ l a b e l = c h a n n e l _ l a b e l , 
 
 +                 i s _ v o i c e = F a l s e , 
 
           ) 
 
           u s e r _ p r o m p t   =   { 
 
                   " c u s t o m e r " :   c u s t o m e r _ s u m m a r y , 
 
 @ @   - 2 3 4 8 , 1 7   + 2 3 4 4 , 7   @ @   d e f   _ o p e n a i _ p r o m p t ( 
 
           ] 
 
   
 
   
 
 - d e f   _ o p e n a i _ c o m p a t i b l e _ d e c i s i o n ( 
 
 -         * , 
 
 -         c u s t o m e r :   C u s t o m e r   |   N o n e , 
 
 -         i n t e r a c t i o n :   I n t e r a c t i o n , 
 
 -         t h r e a d :   A n y , 
 
 -         m e s s a g e s :   l i s t [ A n y ] , 
 
 -         k b _ r e s u l t s :   l i s t [ K B A r t i c l e R o w ] , 
 
 -         l a n g u a g e :   s t r , 
 
 -         c h a n n e l _ l a b e l :   s t r   =   " T e l e g r a m " , 
 
 -         c h a n n e l _ k e y :   s t r   =   " t e l e g r a m " , 
 
 - )   - >   d i c t [ s t r ,   A n y ] : 
 
 + d e f   _ r e q u e s t _ s t r u c t u r e d _ m o d e l _ d e c i s i o n ( m e s s a g e s :   l i s t [ d i c t [ s t r ,   s t r ] ] )   - >   d i c t [ s t r ,   A n y ] : 
 
           i f   n o t   _ a i _ a p i _ b a s e ( )   o r   n o t   _ a i _ a p i _ k e y ( ) : 
 
                   r a i s e   R u n t i m e E r r o r ( " A I _ A P I _ B A S E   /   A I _ A P I _ K E Y   a r e   r e q u i r e d   f o r   o p e n a i _ c o m p a t i b l e   p r o v i d e r " ) 
 
           s t a r t e d   =   t i m e . p e r f _ c o u n t e r ( ) 
 
 @ @   - 2 3 6 6 , 1 6   + 2 3 5 2 , 7   @ @   d e f   _ o p e n a i _ c o m p a t i b l e _ d e c i s i o n ( 
 
                   " m o d e l " :   _ a i _ m o d e l ( ) , 
 
                   " t e m p e r a t u r e " :   0 . 2 , 
 
                   " r e s p o n s e _ f o r m a t " :   { " t y p e " :   " j s o n _ o b j e c t " } , 
 
 -                 " m e s s a g e s " :   _ o p e n a i _ p r o m p t ( 
 
 -                         c u s t o m e r = c u s t o m e r , 
 
 -                         i n t e r a c t i o n = i n t e r a c t i o n , 
 
 -                         t h r e a d = t h r e a d , 
 
 -                         m e s s a g e s = m e s s a g e s , 
 
 -                         k b _ r e s u l t s = k b _ r e s u l t s , 
 
 -                         l a n g u a g e = l a n g u a g e , 
 
 -                         c h a n n e l _ l a b e l = c h a n n e l _ l a b e l , 
 
 -                         c h a n n e l _ k e y = c h a n n e l _ k e y , 
 
 -                 ) , 
 
 +                 " m e s s a g e s " :   m e s s a g e s , 
 
           } 
 
           w i t h   h t t p x . C l i e n t ( t i m e o u t = _ a i _ t i m e o u t _ s e c o n d s ( ) )   a s   c l i e n t : 
 
                   r e s p o n s e   =   c l i e n t . p o s t ( 
 
 @ @   - 2 3 9 5 , 6   + 2 3 7 2 , 3 1   @ @   d e f   _ o p e n a i _ c o m p a t i b l e _ d e c i s i o n ( 
 
           r e t u r n   d e c i s i o n 
 
   
 
   
 
 + d e f   _ o p e n a i _ c o m p a t i b l e _ d e c i s i o n ( 
 
 +         * , 
 
 +         c u s t o m e r :   C u s t o m e r   |   N o n e , 
 
 +         i n t e r a c t i o n :   I n t e r a c t i o n , 
 
 +         t h r e a d :   A n y , 
 
 +         m e s s a g e s :   l i s t [ A n y ] , 
 
 +         k b _ r e s u l t s :   l i s t [ K B A r t i c l e R o w ] , 
 
 +         l a n g u a g e :   s t r , 
 
 +         c h a n n e l _ l a b e l :   s t r   =   " T e l e g r a m " , 
 
 +         c h a n n e l _ k e y :   s t r   =   " t e l e g r a m " , 
 
 + )   - >   d i c t [ s t r ,   A n y ] : 
 
 +         r e t u r n   _ r e q u e s t _ s t r u c t u r e d _ m o d e l _ d e c i s i o n ( 
 
 +                 _ o p e n a i _ p r o m p t ( 
 
 +                         c u s t o m e r = c u s t o m e r , 
 
 +                         i n t e r a c t i o n = i n t e r a c t i o n , 
 
 +                         t h r e a d = t h r e a d , 
 
 +                         m e s s a g e s = m e s s a g e s , 
 
 +                         k b _ r e s u l t s = k b _ r e s u l t s , 
 
 +                         l a n g u a g e = l a n g u a g e , 
 
 +                         c h a n n e l _ l a b e l = c h a n n e l _ l a b e l , 
 
 +                         c h a n n e l _ k e y = c h a n n e l _ k e y , 
 
 +                 ) 
 
 +         ) 
 
 + 
 
 + 
 
   d e f   _ s a n i t i z e _ d e c i s i o n ( r a w :   d i c t [ s t r ,   A n y ] ,   * ,   f a l l b a c k _ l a n g u a g e :   s t r )   - >   d i c t [ s t r ,   A n y ] : 
 
           d e c i s i o n   =   { 
 
                   " l a n g u a g e " :   s t r ( r a w . g e t ( " l a n g u a g e " )   o r   f a l l b a c k _ l a n g u a g e   o r   " r u " ) , 
 
 @ @   - 2 4 4 2 , 6   + 2 4 4 4 , 9 0   @ @   d e f   _ a l w a y s _ r e p l y _ f a l l b a c k ( l a s t _ u s e r _ t e x t :   s t r ,   l a n g u a g e :   s t r )   - >   s t r : 
 
           ) 
 
   
 
   
 
 + d e f   _ s t u b _ d e c i s i o n ( 
 
 +         * , 
 
 +         c u s t o m e r :   C u s t o m e r   |   N o n e , 
 
 +         i n t e r a c t i o n :   I n t e r a c t i o n , 
 
 +         l a s t _ u s e r _ m e s s a g e :   T e l e g r a m M e s s a g e R o w , 
 
 +         k b _ r e s u l t s :   l i s t [ K B A r t i c l e R o w ] , 
 
 +         l a n g u a g e :   s t r , 
 
 + )   - >   d i c t [ s t r ,   A n y ] : 
 
 +         t e x t   =   l a s t _ u s e r _ m e s s a g e . t e x t 
 
 +         i f   _ l o o k s _ l i k e _ h u m a n _ r e q u e s t ( t e x t ) : 
 
 +                 r e t u r n   { 
 
 +                         " l a n g u a g e " :   l a n g u a g e , 
 
 +                         " i n t e n t " :   " h a n d o f f _ r e q u e s t " , 
 
 +                         " r e p l y _ t e x t " :   " " , 
 
 +                         " c o n f i d e n c e " :   0 . 2 , 
 
 +                         " n e e d s _ h a n d o f f " :   T r u e , 
 
 +                         " h a n d o f f _ r e a s o n " :   " h%*h%W%h%U%h%a%h%\%d%  h%V%h%%h%%d%h%[%d%h%U%h%W%  h%b%h%U%h%%h%[%h%%h%[%  h%[%h%%h%a%d%h%%d%h%[%d%h%%. " , 
 
 +                         " c a s e _ a c t i o n " :   " k e e p _ o p e n " , 
 
 +                         " k b _ r e f s " :   [ ] , 
 
 +                 } 
 
 +         i f   _ i s _ s e n s i t i v e _ r e q u e s t ( t e x t ) : 
 
 +                 r e t u r n   { 
 
 +                         " l a n g u a g e " :   l a n g u a g e , 
 
 +                         " i n t e n t " :   " s e n s i t i v e _ r e q u e s t " , 
 
 +                         " r e p l y _ t e x t " :   " " , 
 
 +                         " c o n f i d e n c e " :   0 . 2 5 , 
 
 +                         " n e e d s _ h a n d o f f " :   T r u e , 
 
 +                         " h a n d o f f _ r e a s o n " :   " h%-d%h%b%h%a%h%\%  d%h%a%h%W%h%[%h%%h%a%h%Q%:   h%V%h%%h%%d%h%[%d%  h%V%h%%d%d%h%%h%%h%U%h%%h%%h%a%d%  d%d%h%%d%d%h%%h%U%d%h%a%h%W%d%h%\%d%d%  d%h%a%h%]%d%  h%U%h%W%h%U%  h%$%h%a%h%c%d%d%h%%h%U%h%a%  h%%h%\%h%a%  h%$%h%[%d%d%d%h%%h%\%h%[%h%%h%[%  h%Q%h%[%h%\%d%h%a%h%Q%d%d%h%%. " , 
 
 +                         " c a s e _ a c t i o n " :   " k e e p _ o p e n " , 
 
 +                         " k b _ r e f s " :   [ ] , 
 
 +                 } 
 
 +         i f   _ l o o k s _ l i k e _ r e s o l u t i o n _ c o n f i r m a t i o n ( t e x t ) : 
 
 +                 r e t u r n   { 
 
 +                         " l a n g u a g e " :   l a n g u a g e , 
 
 +                         " i n t e n t " :   " r e s o l u t i o n _ c o n f i r m e d " , 
 
 +                         " r e p l y _ t e x t " :   p e r s o n a . t e x t _ r e s o l u t i o n _ r e p l y ( l a n g u a g e ) , 
 
 +                         " c o n f i d e n c e " :   0 . 9 , 
 
 +                         " n e e d s _ h a n d o f f " :   F a l s e , 
 
 +                         " h a n d o f f _ r e a s o n " :   N o n e , 
 
 +                         " c a s e _ a c t i o n " :   " c l o s e " , 
 
 +                         " k b _ r e f s " :   [ ] , 
 
 +                 } 
 
 +         i f   k b _ r e s u l t s : 
 
 +                 b e s t   =   k b _ r e s u l t s [ 0 ] 
 
 +                 s n i p p e t   =   _ a r t i c l e _ s n i p p e t ( b e s t ) 
 
 +                 r e t u r n   { 
 
 +                         " l a n g u a g e " :   l a n g u a g e , 
 
 +                         " i n t e n t " :   " k b _ a n s w e r " , 
 
 +                         " r e p l y _ t e x t " :   ( 
 
 +                                 f " e%*d%d%e%+h%%d%h%%  h%%h%c%d%h%%h%c%d%h%\%:   { s n i p p e t } " 
 
 +                                 i f   l a n g u a g e   = =   " k z " 
 
 +                                 e l s e   f " h%*h%[%d%h%[%d%h%Q%h%[%  h%%h%[%h%$%d%h%Q%h%%h%b%d%:   { s n i p p e t } " 
 
 +                         ) , 
 
 +                         " c o n f i d e n c e " :   0 . 8 4 , 
 
 +                         " n e e d s _ h a n d o f f " :   F a l s e , 
 
 +                         " h a n d o f f _ r e a s o n " :   N o n e , 
 
 +                         " c a s e _ a c t i o n " :   " k e e p _ o p e n " , 
 
 +                         " k b _ r e f s " :   [ b e s t . a r t i c l e _ i d ] , 
 
 +                 } 
 
 +         r e t u r n   { 
 
 +                 " l a n g u a g e " :   l a n g u a g e , 
 
 +                 " i n t e n t " :   " c l a r i f i c a t i o n " , 
 
 +                 " r e p l y _ t e x t " :   ( 
 
 +                         " h%-h%%e%+d%d%d%h%%e%+  h%%h%c%d%d%e%3d%h%V%d%d%:   h%\%h%a%h%\%d%&  d%h%a%h%Q%d%h%a%d%d%  h%\%h%a%h%]%h%a%d%h%a%  h%\%h%%e%+d%d%h%W%h%%d%  h%Q%h%a%d%h%a%h%Q%? " 
 
 +                         i f   l a n g u a g e   = =   " k z " 
 
 +                         e l s e   " h%3d%h%[%d%h%\%h%U%d%h%a%,   h%%h%[%h%b%h%%h%W%d%h%c%d%d%h%%,   d%d%h%[%  h%U%h%]%h%a%h%\%h%\%h%[%  h%\%d%h%b%h%\%h%[%  h%%d%h%[%h%%h%a%d%h%U%d%d%  h%U%h%W%h%U%  h%%h%[%h%$%d%h%Q%h%%h%V%h%%d%d%. " 
 
 +                 ) , 
 
 +                 " c o n f i d e n c e " :   0 . 4 5 , 
 
 +                 " n e e d s _ h a n d o f f " :   F a l s e , 
 
 +                 " h a n d o f f _ r e a s o n " :   N o n e , 
 
 +                 " c a s e _ a c t i o n " :   " k e e p _ o p e n " , 
 
 +                 " k b _ r e f s " :   [ ] , 
 
 +         } 
 
 + 
 
 + 
 
 + d e f   _ a l w a y s _ r e p l y _ f a l l b a c k ( l a s t _ u s e r _ t e x t :   s t r ,   l a n g u a g e :   s t r )   - >   s t r : 
 
 +         n o r m a l i z e d   =   s t r ( l a s t _ u s e r _ t e x t   o r   " " ) . s t r i p ( ) . l o w e r ( ) 
 
 +         g r e e t i n g _ t o k e n s   =   ( " h%%d%h%U%h%%h%a%d%" ,   " h%V%h%$%d%h%%h%%d%d%h%%d%h%c%d%h%a%" ,   " h%$%h%[%h%%d%d%h%c%" ,   " d%h%%h%W%h%a%h%]%" ,   " d%Y%)" ,   " d%Y%)h%W%h%a%h%]%" ,   " h e l l o " ,   " h i " ) 
 
 +         r e t u r n   p e r s o n a . h u m a n _ f a l l b a c k _ r e p l y ( 
 
 +                 l a n g u a g e , 
 
 +                 i s _ g r e e t i n g = a n y ( t o k e n   i n   n o r m a l i z e d   f o r   t o k e n   i n   g r e e t i n g _ t o k e n s ) , 
 
 +         ) 
 
 + 
 
 + 
 
   d e f   _ a p p l y _ a l w a y s _ r e p l y _ m o d e ( 
 
           d e c i s i o n :   d i c t [ s t r ,   A n y ] , 
 
           * , 
 
 d i f f   - - g i t   a / s e r v i c e s / a i _ o r c h e s t r a t o r _ s e r v i c e / v o i c e . p y   b / s e r v i c e s / a i _ o r c h e s t r a t o r _ s e r v i c e / v o i c e . p y 
 
 i n d e x   5 7 1 d 8 7 e . . b c 3 e 2 5 4   1 0 0 6 4 4 
 
 - - -   a / s e r v i c e s / a i _ o r c h e s t r a t o r _ s e r v i c e / v o i c e . p y 
 
 + + +   b / s e r v i c e s / a i _ o r c h e s t r a t o r _ s e r v i c e / v o i c e . p y 
 
 @ @   - 2 2 , 6   + 2 2 , 7   @ @   f r o m   s e r v i c e s . s h a r e d . s q l _ m o d e l s   i m p o r t   ( 
 
           V o i c e A I S e s s i o n R o w , 
 
           V o i c e T r a n s c r i p t S e g m e n t R o w , 
 
   ) 
 
 + f r o m   s e r v i c e s . a i _ o r c h e s t r a t o r _ s e r v i c e   i m p o r t   o p e r a t o r _ p e r s o n a   a s   p e r s o n a 
 
   f r o m   s e r v i c e s . a i _ o r c h e s t r a t o r _ s e r v i c e . v o i c e _ n a m e _ c o n f i g   i m p o r t   ( 
 
           l o a d _ e f f e c t i v e _ v o i c e _ n a m e _ c o l l e c t i o n _ c o n f i g , 
 
           v o i c e _ n a m e _ c o l l e c t i o n _ c o n f i r m a t i o n _ g r e e t i n g , 
 
 @ @   - 7 1 , 6   + 7 2 , 1 8   @ @   d e f   _ v o i c e _ h a n d o f f _ r e p l y ( l a n g u a g e :   s t r )   - >   s t r : 
 
           ) 
 
   
 
   
 
 + d e f   _ v o i c e _ d i s c l o s u r e _ p r e f i x ( l a n g u a g e :   s t r )   - >   s t r : 
 
 +         r e t u r n   p e r s o n a . v o i c e _ d i s c l o s u r e _ p r e f i x ( l a n g u a g e ) 
 
 + 
 
 + 
 
 + d e f   _ v o i c e _ g r e e t i n g ( l a n g u a g e :   s t r )   - >   s t r : 
 
 +         r e t u r n   p e r s o n a . v o i c e _ g r e e t i n g ( l a n g u a g e ) 
 
 + 
 
 + 
 
 + d e f   _ v o i c e _ h a n d o f f _ r e p l y ( l a n g u a g e :   s t r )   - >   s t r : 
 
 +         r e t u r n   p e r s o n a . v o i c e _ h a n d o f f _ r e p l y ( l a n g u a g e ) 
 
 + 
 
 + 
 
   d e f   _ n o r m a l i z e _ p h o n e ( v a l u e :   s t r   |   N o n e )   - >   s t r   |   N o n e : 
 
           r a w   =   s t r ( v a l u e   o r   " " ) . s t r i p ( ) 
 
           i f   n o t   r a w : 
 
 @ @   - 1 0 3 7 , 6   + 1 0 5 0 , 1 3 2   @ @   d e f   _ e n s u r e _ v o i c e _ a i _ s e s s i o n ( 
 
           r e t u r n   a i _ s e s s i o n ,   T r u e 
 
   
 
   
 
 + d e f   _ v o i c e _ p o l i c y _ m o d e ( )   - >   s t r : 
 
 +         r e t u r n   p e r s o n a . v o i c e _ p o l i c y _ m o d e ( ) 
 
 + 
 
 + 
 
 + d e f   _ v o i c e _ l l m _ p r o m p t _ m e s s a g e s ( 
 
 +         * , 
 
 +         l a n g u a g e :   s t r , 
 
 +         c u s t o m e r :   C u s t o m e r   |   N o n e , 
 
 +         i n t e r a c t i o n :   I n t e r a c t i o n , 
 
 +         t r a n s c r i p t _ t e x t :   s t r , 
 
 +         t r a n s c r i p t _ w i n d o w :   l i s t [ V o i c e T r a n s c r i p t S e g m e n t R o w ] , 
 
 +         k b _ r e s u l t s :   l i s t [ A n y ] , 
 
 +         n a m e _ v a l u e :   s t r   |   N o n e , 
 
 +         n a m e _ s t a t u s :   s t r   |   N o n e , 
 
 + )   - >   l i s t [ d i c t [ s t r ,   s t r ] ] : 
 
 +         a p p   =   _ a p p ( ) 
 
 +         h i s t o r y   =   [ 
 
 +                 { 
 
 +                         " s p e a k e r " :   s e g m e n t . s p e a k e r , 
 
 +                         " t e x t " :   s e g m e n t . t e x t , 
 
 +                         " s e q u e n c e _ n o " :   s e g m e n t . s e q u e n c e _ n o , 
 
 +                         " s o u r c e _ t y p e " :   s e g m e n t . s o u r c e _ t y p e , 
 
 +                         " i n t e r r u p t e d " :   b o o l ( s e g m e n t . b a r g e _ i n _ i n t e r r u p t e d ) , 
 
 +                         " c r e a t e d _ a t " :   s e g m e n t . c r e a t e d _ a t , 
 
 +                 } 
 
 +                 f o r   s e g m e n t   i n   t r a n s c r i p t _ w i n d o w [ - 6 : ] 
 
 +         ] 
 
 +         k b _ c o n t e x t   =   [ 
 
 +                 { 
 
 +                         " a r t i c l e _ i d " :   a r t i c l e . a r t i c l e _ i d , 
 
 +                         " t i t l e " :   a r t i c l e . t i t l e , 
 
 +                         " s n i p p e t " :   a p p . _ a r t i c l e _ s n i p p e t ( a r t i c l e ,   l i m i t = 2 4 0 ) , 
 
 +                 } 
 
 +                 f o r   a r t i c l e   i n   k b _ r e s u l t s [ : 3 ] 
 
 +         ] 
 
 +         p a y l o a d   =   { 
 
 +                 " c u s t o m e r " :   { 
 
 +                         " c u s t o m e r _ i d " :   c u s t o m e r . c u s t o m e r _ i d   i f   c u s t o m e r   e l s e   i n t e r a c t i o n . c u s t o m e r _ i d , 
 
 +                         " d i s p l a y _ n a m e " :   c u s t o m e r . d i s p l a y _ n a m e   i f   c u s t o m e r   e l s e   N o n e , 
 
 +                         " n a m e _ s t a t u s " :   n a m e _ s t a t u s , 
 
 +                         " n a m e _ v a l u e " :   n a m e _ v a l u e , 
 
 +                         " c h a n n e l " :   " v o i c e " , 
 
 +                 } , 
 
 +                 " i n t e r a c t i o n " :   { 
 
 +                         " i n t e r a c t i o n _ i d " :   i n t e r a c t i o n . i n t e r a c t i o n _ i d , 
 
 +                         " s t a t u s " :   i n t e r a c t i o n . s t a t u s , 
 
 +                         " q u e u e _ i d " :   i n t e r a c t i o n . q u e u e _ i d , 
 
 +                         " s u b j e c t " :   i n t e r a c t i o n . s u b j e c t , 
 
 +                 } , 
 
 +                 " v o i c e _ t u r n " :   { 
 
 +                         " l a s t _ u s e r _ t e x t " :   t r a n s c r i p t _ t e x t , 
 
 +                         " l a n g u a g e " :   l a n g u a g e , 
 
 +                 } , 
 
 +                 " k b _ r e s u l t s " :   k b _ c o n t e x t , 
 
 +                 " h i s t o r y " :   h i s t o r y , 
 
 +         } 
 
 +         r e t u r n   [ 
 
 +                 { 
 
 +                         " r o l e " :   " s y s t e m " , 
 
 +                         " c o n t e n t " :   p e r s o n a . o p e r a t o r _ s y s t e m _ p r o m p t ( 
 
 +                                 l a n g u a g e = l a n g u a g e , 
 
 +                                 c h a n n e l _ l a b e l = " V o i c e " , 
 
 +                                 i s _ v o i c e = T r u e , 
 
 +                         ) , 
 
 +                 } , 
 
 +                 { " r o l e " :   " u s e r " ,   " c o n t e n t " :   j s o n . d u m p s ( p a y l o a d ,   e n s u r e _ a s c i i = F a l s e ) } , 
 
 +         ] 
 
 + 
 
 + 
 
 + d e f   _ v o i c e _ l l m _ d e c i s i o n ( 
 
 +         * , 
 
 +         l a n g u a g e :   s t r , 
 
 +         c u s t o m e r :   C u s t o m e r   |   N o n e , 
 
 +         i n t e r a c t i o n :   I n t e r a c t i o n , 
 
 +         t r a n s c r i p t _ t e x t :   s t r , 
 
 +         t r a n s c r i p t _ w i n d o w :   l i s t [ V o i c e T r a n s c r i p t S e g m e n t R o w ] , 
 
 +         k b _ r e s u l t s :   l i s t [ A n y ] , 
 
 +         n a m e _ v a l u e :   s t r   |   N o n e , 
 
 +         n a m e _ s t a t u s :   s t r   |   N o n e , 
 
 + )   - >   d i c t [ s t r ,   A n y ]   |   N o n e : 
 
 +         a p p   =   _ a p p ( ) 
 
 +         i f   _ v o i c e _ p o l i c y _ m o d e ( )   ! =   " l l m _ g u a r d e d " : 
 
 +                 r e t u r n   N o n e 
 
 +         i f   a p p . _ a i _ p r o v i d e r ( )   ! =   " o p e n a i _ c o m p a t i b l e " : 
 
 +                 r e t u r n   N o n e 
 
 +         t r y : 
 
 +                 r a w   =   a p p . _ r e q u e s t _ s t r u c t u r e d _ m o d e l _ d e c i s i o n ( 
 
 +                         _ v o i c e _ l l m _ p r o m p t _ m e s s a g e s ( 
 
 +                                 l a n g u a g e = l a n g u a g e , 
 
 +                                 c u s t o m e r = c u s t o m e r , 
 
 +                                 i n t e r a c t i o n = i n t e r a c t i o n , 
 
 +                                 t r a n s c r i p t _ t e x t = t r a n s c r i p t _ t e x t , 
 
 +                                 t r a n s c r i p t _ w i n d o w = t r a n s c r i p t _ w i n d o w , 
 
 +                                 k b _ r e s u l t s = k b _ r e s u l t s , 
 
 +                                 n a m e _ v a l u e = n a m e _ v a l u e , 
 
 +                                 n a m e _ s t a t u s = n a m e _ s t a t u s , 
 
 +                         ) 
 
 +                 ) 
 
 +         e x c e p t   E x c e p t i o n : 
 
 +                 r e t u r n   N o n e 
 
 +         d e c i s i o n   =   a p p . _ s a n i t i z e _ d e c i s i o n ( r a w ,   f a l l b a c k _ l a n g u a g e = l a n g u a g e ) 
 
 +         i f   n o t   s t r ( d e c i s i o n . g e t ( " r e p l y _ t e x t " )   o r   " " ) . s t r i p ( ) : 
 
 +                 d e c i s i o n [ " r e p l y _ t e x t " ]   =   _ v o i c e _ g e n e r i c _ p r o m p t ( l a n g u a g e ) 
 
 +         i f   d e c i s i o n . g e t ( " n e e d s _ h a n d o f f " )   a n d   n o t   d e c i s i o n . g e t ( " h a n d o f f _ r e a s o n " ) : 
 
 +                 d e c i s i o n [ " h a n d o f f _ r e a s o n " ]   =   " h%2d%h%a%h%%d%h%a%d%d%d%  d%d%h%%d%d%h%U%h%a%  h%b%h%U%h%%h%[%h%%h%[%  h%[%h%%h%a%d%h%%d%h%[%d%h%%. " 
 
 +         i f   d e c i s i o n . g e t ( " n e e d s _ h a n d o f f " )   a n d   n o t   s t r ( d e c i s i o n . g e t ( " r e p l y _ t e x t " )   o r   " " ) . s t r i p ( ) : 
 
 +                 d e c i s i o n [ " r e p l y _ t e x t " ]   =   _ v o i c e _ h a n d o f f _ r e p l y ( l a n g u a g e ) 
 
 +         r e t u r n   { 
 
 +                 " l a n g u a g e " :   d e c i s i o n [ " l a n g u a g e " ] , 
 
 +                 " i n t e n t " :   d e c i s i o n [ " i n t e n t " ] , 
 
 +                 " r e p l y _ t e x t " :   s t r ( d e c i s i o n [ " r e p l y _ t e x t " ]   o r   " " ) . s t r i p ( ) , 
 
 +                 " c o n f i d e n c e " :   f l o a t ( d e c i s i o n [ " c o n f i d e n c e " ]   o r   0 . 0 ) , 
 
 +                 " n e e d s _ h a n d o f f " :   b o o l ( d e c i s i o n [ " n e e d s _ h a n d o f f " ] ) , 
 
 +                 " h a n d o f f _ r e a s o n " :   d e c i s i o n [ " h a n d o f f _ r e a s o n " ] , 
 
 +                 " c a s e _ a c t i o n " :   d e c i s i o n [ " c a s e _ a c t i o n " ] , 
 
 +                 " k b _ r e f s " :   d e c i s i o n [ " k b _ r e f s " ] , 
 
 +                 " s u m m a r y _ t e x t " :   ( 
 
 +                         s t r ( d e c i s i o n . g e t ( " r e p l y _ t e x t " )   o r   " " ) . s t r i p ( ) 
 
 +                         o r   s t r ( d e c i s i o n . g e t ( " h a n d o f f _ r e a s o n " )   o r   " " ) . s t r i p ( ) 
 
 +                         o r   " A I   h%%h%[%h%$%h%%h%[%d%h%[%h%%h%U%h%W%  h%[%d%h%%h%a%d%  h%[%h%%h%a%d%h%%d%h%[%d%d%h%Q%h%U%h%]%  d%d%h%U%h%W%h%a%h%]%. " 
 
 +                 ) , 
 
 +                 " m o d e l " :   d e c i s i o n [ " _ m o d e l " ] , 
 
 +                 " l a t e n c y _ m s " :   d e c i s i o n [ " _ l a t e n c y _ m s " ] , 
 
 +         } 
 
 + 
 
 + 
 
   d e f   _ v o i c e _ d e c i s i o n _ l e g a c y ( 
 
           * , 
 
           l a n g u a g e :   s t r , 
 
 @ @   - 1 1 1 8 , 6   + 1 2 5 7 , 8   @ @   d e f   _ v o i c e _ d e c i s i o n ( 
 
           t r a n s c r i p t _ w i n d o w :   l i s t [ V o i c e T r a n s c r i p t S e g m e n t R o w ] , 
 
           k b _ r e s u l t s :   l i s t [ A n y ] , 
 
           d i s c l o s u r e _ r e q u i r e d :   b o o l , 
 
 +         c u s t o m e r _ n a m e _ v a l u e :   s t r   |   N o n e   =   N o n e , 
 
 +         c u s t o m e r _ n a m e _ s t a t u s :   s t r   |   N o n e   =   N o n e , 
 
   )   - >   d i c t [ s t r ,   A n y ] : 
 
           a p p   =   _ a p p ( ) 
 
           n o r m a l i z e d   =   s t r ( t r a n s c r i p t _ t e x t   o r   " " ) . s t r i p ( ) 
 
 @ @   - 1 2 0 9 , 6   + 1 3 5 0 , 1 1 4   @ @   d e f   _ v o i c e _ d e c i s i o n ( 
 
           } 
 
   
 
   
 
 + d e f   _ v o i c e _ d e c i s i o n ( 
 
 +         * , 
 
 +         l a n g u a g e :   s t r , 
 
 +         c u s t o m e r :   C u s t o m e r   |   N o n e , 
 
 +         i n t e r a c t i o n :   I n t e r a c t i o n , 
 
 +         t r a n s c r i p t _ t e x t :   s t r , 
 
 +         t r a n s c r i p t _ w i n d o w :   l i s t [ V o i c e T r a n s c r i p t S e g m e n t R o w ] , 
 
 +         k b _ r e s u l t s :   l i s t [ A n y ] , 
 
 +         d i s c l o s u r e _ r e q u i r e d :   b o o l , 
 
 +         c u s t o m e r _ n a m e _ v a l u e :   s t r   |   N o n e   =   N o n e , 
 
 +         c u s t o m e r _ n a m e _ s t a t u s :   s t r   |   N o n e   =   N o n e , 
 
 + )   - >   d i c t [ s t r ,   A n y ] : 
 
 +         a p p   =   _ a p p ( ) 
 
 +         n o r m a l i z e d   =   s t r ( t r a n s c r i p t _ t e x t   o r   " " ) . s t r i p ( ) 
 
 +         l o w e r _ t e x t   =   n o r m a l i z e d . l o w e r ( ) 
 
 +         c a l l e r _ t e x t s   =   _ v o i c e _ r e c e n t _ c a l l e r _ t e x t s ( t r a n s c r i p t _ w i n d o w ) 
 
 +         m o d e l   =   a p p . _ a i _ m o d e l ( ) 
 
 + 
 
 +         i f   a p p . _ l o o k s _ l i k e _ h u m a n _ r e q u e s t ( l o w e r _ t e x t )   o r   a p p . _ i s _ s e n s i t i v e _ r e q u e s t ( l o w e r _ t e x t ) : 
 
 +                 r e t u r n   { 
 
 +                         " l a n g u a g e " :   l a n g u a g e , 
 
 +                         " i n t e n t " :   " h a n d o f f _ r e q u e s t " , 
 
 +                         " r e p l y _ t e x t " :   _ v o i c e _ h a n d o f f _ r e p l y ( l a n g u a g e ) , 
 
 +                         " c o n f i d e n c e " :   0 . 2 5 , 
 
 +                         " n e e d s _ h a n d o f f " :   T r u e , 
 
 +                         " h a n d o f f _ r e a s o n " :   " h%'h%%h%%d%h%[%d%  d%d%h%a%h%%d%h%a%d%  d%d%h%%d%d%h%U%d%  h%b%h%U%h%%h%[%h%%h%[%  h%[%h%%h%a%d%h%%d%h%[%d%h%%. " , 
 
 +                         " c a s e _ a c t i o n " :   " k e e p _ o p e n " , 
 
 +                         " k b _ r e f s " :   [ ] , 
 
 +                         " s u m m a r y _ t e x t " :   " A I   d%h%[%h%%d%h%%h%W%  h%%h%a%d%h%%h%U%d%h%\%d%h%c%  h%Q%h%[%h%\%d%h%a%h%Q%d%d%  h%U%  h%V%h%%h%%d%h%[%d%h%U%h%W%  h%b%h%U%h%%h%[%h%%h%[%  h%[%h%%h%a%d%h%%d%h%[%d%h%%. " , 
 
 +                         " m o d e l " :   m o d e l , 
 
 +                         " l a t e n c y _ m s " :   1 , 
 
 +                 } 
 
 + 
 
 +         c l a r i f i c a t i o n _ c o u n t   =   _ v o i c e _ r e c e n t _ c l a r i f i c a t i o n _ c o u n t ( t r a n s c r i p t _ w i n d o w ) 
 
 +         r e p e a t e d _ r e p l y _ c o u n t   =   _ v o i c e _ r e p e a t e d _ a s s i s t a n t _ r e p l y _ c o u n t ( t r a n s c r i p t _ w i n d o w ) 
 
 +         r e c e n t _ c a l l e r _ w i n d o w   =   c a l l e r _ t e x t s [ - 3 : ] 
 
 +         l o w _ s i g n a l _ c o u n t   =   s u m ( 1   f o r   t e x t   i n   r e c e n t _ c a l l e r _ w i n d o w   i f   _ v o i c e _ i s _ l o w _ s i g n a l _ c a l l e r _ t e x t ( t e x t ) ) 
 
 +         c a l l e r _ c o n f u s e d   =   _ v o i c e _ i s _ c o n f u s e d _ c a l l e r _ t e x t ( n o r m a l i z e d ) 
 
 +         i f   c l a r i f i c a t i o n _ c o u n t   > =   4   o r   ( 
 
 +                 c l a r i f i c a t i o n _ c o u n t   > =   3   a n d   ( c a l l e r _ c o n f u s e d   o r   l o w _ s i g n a l _ c o u n t   > =   2   o r   r e p e a t e d _ r e p l y _ c o u n t   > =   2 ) 
 
 +         ) : 
 
 +                 r e p l y _ t e x t ,   h a n d o f f _ r e a s o n ,   s u m m a r y _ t e x t   =   _ v o i c e _ l o o p _ h a n d o f f ( l a n g u a g e ) 
 
 +                 r e t u r n   { 
 
 +                         " l a n g u a g e " :   l a n g u a g e , 
 
 +                         " i n t e n t " :   " h a n d o f f _ r e q u e s t " , 
 
 +                         " r e p l y _ t e x t " :   r e p l y _ t e x t , 
 
 +                         " c o n f i d e n c e " :   0 . 3 4 , 
 
 +                         " n e e d s _ h a n d o f f " :   T r u e , 
 
 +                         " h a n d o f f _ r e a s o n " :   h a n d o f f _ r e a s o n , 
 
 +                         " c a s e _ a c t i o n " :   " k e e p _ o p e n " , 
 
 +                         " k b _ r e f s " :   [ ] , 
 
 +                         " s u m m a r y _ t e x t " :   s u m m a r y _ t e x t , 
 
 +                         " m o d e l " :   m o d e l , 
 
 +                         " l a t e n c y _ m s " :   1 , 
 
 +                 } 
 
 + 
 
 +         l l m _ d e c i s i o n   =   _ v o i c e _ l l m _ d e c i s i o n ( 
 
 +                 l a n g u a g e = l a n g u a g e , 
 
 +                 c u s t o m e r = c u s t o m e r , 
 
 +                 i n t e r a c t i o n = i n t e r a c t i o n , 
 
 +                 t r a n s c r i p t _ t e x t = t r a n s c r i p t _ t e x t , 
 
 +                 t r a n s c r i p t _ w i n d o w = t r a n s c r i p t _ w i n d o w , 
 
 +                 k b _ r e s u l t s = k b _ r e s u l t s , 
 
 +                 n a m e _ v a l u e = c u s t o m e r _ n a m e _ v a l u e   o r   ( c u s t o m e r . d i s p l a y _ n a m e   i f   c u s t o m e r   e l s e   N o n e ) , 
 
 +                 n a m e _ s t a t u s = c u s t o m e r _ n a m e _ s t a t u s , 
 
 +         ) 
 
 +         i f   l l m _ d e c i s i o n   i s   n o t   N o n e : 
 
 +                 r e t u r n   l l m _ d e c i s i o n 
 
 + 
 
 +         i f   k b _ r e s u l t s : 
 
 +                 a r t i c l e   =   k b _ r e s u l t s [ 0 ] 
 
 +                 s n i p p e t   =   a p p . _ a r t i c l e _ s n i p p e t ( a r t i c l e ,   l i m i t = 2 2 0 ) 
 
 +                 r e t u r n   { 
 
 +                         " l a n g u a g e " :   l a n g u a g e , 
 
 +                         " i n t e n t " :   " k b _ a n s w e r " , 
 
 +                         " r e p l y _ t e x t " :   ( 
 
 +                                 f " e%*d%d%e%+h%%d%h%%  h%%h%c%d%h%%h%c%d%h%\%:   { s n i p p e t } " 
 
 +                                 i f   l a n g u a g e   = =   " k z " 
 
 +                                 e l s e   f " h%*h%[%d%h%[%d%h%Q%h%[%  h%%h%[%h%$%d%h%Q%h%%h%b%d%:   { s n i p p e t } " 
 
 +                         ) , 
 
 +                         " c o n f i d e n c e " :   0 . 7 8 , 
 
 +                         " n e e d s _ h a n d o f f " :   F a l s e , 
 
 +                         " h a n d o f f _ r e a s o n " :   N o n e , 
 
 +                         " c a s e _ a c t i o n " :   " k e e p _ o p e n " , 
 
 +                         " k b _ r e f s " :   [ a r t i c l e . a r t i c l e _ i d ] , 
 
 +                         " s u m m a r y _ t e x t " :   " A I   h%$%h%%h%W%  h%[%d%h%%h%a%d%  h%%h%[%  h%$%h%[%d%d%d%h%%h%\%h%[%h%]%d%  h%Q%h%[%h%\%d%h%a%h%Q%d%d%d%. " , 
 
 +                         " m o d e l " :   " v o i c e _ p o l i c y _ f a l l b a c k " , 
 
 +                         " l a t e n c y _ m s " :   1 , 
 
 +                 } 
 
 + 
 
 +         r e p l y _ t e x t   =   _ v o i c e _ c o n f u s i o n _ p r o m p t ( l a n g u a g e ,   c a l l e r _ t e x t s )   i f   c a l l e r _ c o n f u s e d   e l s e   ( 
 
 +                 _ v o i c e _ t o p i c _ p r o m p t ( l a n g u a g e ,   c a l l e r _ t e x t s )   o r   _ v o i c e _ g e n e r i c _ p r o m p t ( l a n g u a g e ) 
 
 +         ) 
 
 +         r e t u r n   { 
 
 +                 " l a n g u a g e " :   l a n g u a g e , 
 
 +                 " i n t e n t " :   " c l a r i f i c a t i o n " , 
 
 +                 " r e p l y _ t e x t " :   r e p l y _ t e x t , 
 
 +                 " c o n f i d e n c e " :   0 . 6 2 , 
 
 +                 " n e e d s _ h a n d o f f " :   F a l s e , 
 
 +                 " h a n d o f f _ r e a s o n " :   N o n e , 
 
 +                 " c a s e _ a c t i o n " :   " k e e p _ o p e n " , 
 
 +                 " k b _ r e f s " :   [ ] , 
 
 +                 " s u m m a r y _ t e x t " :   " A I   d%d%h%[%d%h%\%d%h%a%d%  d%h%a%h%W%d%  h%V%h%%h%[%h%\%h%Q%h%%  h%U%  d%h%[%h%%h%U%d%h%%h%a%d%  h%Q%h%[%h%\%d%h%a%h%Q%d%d%. " , 
 
 +                 " m o d e l " :   " v o i c e _ p o l i c y _ f a l l b a c k " , 
 
 +                 " l a t e n c y _ m s " :   1 , 
 
 +         } 
 
 + 
 
 + 
 
   d e f   s t a r t _ v o i c e _ s e s s i o n ( s e s s i o n _ i d :   s t r ,   p a y l o a d :   V o i c e A I S t a r t I n )   - >   V o i c e A I S t a r t O u t : 
 
           s e s s i o n   =   g e t _ s e s s i o n ( ) 
 
           t r y : 
 
 @ @   - 1 6 8 5 , 6   + 1 9 3 4 , 8   @ @   d e f   t u r n _ v o i c e _ s e s s i o n ( s e s s i o n _ i d :   s t r ,   p a y l o a d :   V o i c e A I T u r n I n )   - >   V o i c e A I T u r n D e 
 
                           t r a n s c r i p t _ w i n d o w = t r a n s c r i p t _ w i n d o w , 
 
                           k b _ r e s u l t s = k b _ r e s u l t s , 
 
                           d i s c l o s u r e _ r e q u i r e d = d i s c l o s u r e _ r e q u i r e d , 
 
 +                         c u s t o m e r _ n a m e _ v a l u e = n a m e _ u p d a t e [ " v a l u e " ] , 
 
 +                         c u s t o m e r _ n a m e _ s t a t u s = n a m e _ u p d a t e [ " s t a t u s " ] , 
 
                   ) 
 
                   d e c i s i o n _ m e t a d a t a   =   _ v o i c e _ n a m e _ m e t a d a t a ( 
 
                           l a n g u a g e = v o i c e _ s e s s i o n . v o i c e _ s t a r t _ l a n g u a g e   o r   a i _ s e s s i o n . l a n g u a g e   o r   " r u " , 
 
 d i f f   - - g i t   a / s e r v i c e s / a i _ o r c h e s t r a t o r _ s e r v i c e / v o i c e _ n a m e _ c o n f i g . p y   b / s e r v i c e s / a i _ o r c h e s t r a t o r _ s e r v i c e / v o i c e _ n a m e _ c o n f i g . p y 
 
 i n d e x   4 1 3 c 7 1 8 . . d f c 1 3 f b   1 0 0 6 4 4 
 
 - - -   a / s e r v i c e s / a i _ o r c h e s t r a t o r _ s e r v i c e / v o i c e _ n a m e _ c o n f i g . p y 
 
 + + +   b / s e r v i c e s / a i _ o r c h e s t r a t o r _ s e r v i c e / v o i c e _ n a m e _ c o n f i g . p y 
 
 @ @   - 5 0 , 6   + 5 0 , 3 4   @ @   d e f   v o i c e _ n a m e _ c o l l e c t i o n _ d e f a u l t _ c o n f i g ( )   - >   V o i c e N a m e C o l l e c t i o n C o n f i g : 
 
           ) 
 
   
 
   
 
 + d e f   v o i c e _ n a m e _ c o l l e c t i o n _ d e f a u l t _ c o n f i g ( )   - >   V o i c e N a m e C o l l e c t i o n C o n f i g : 
 
 +         r e t u r n   V o i c e N a m e C o l l e c t i o n C o n f i g ( 
 
 +                 e n a b l e d = T r u e , 
 
 +                 t e x t s = V o i c e N a m e C o l l e c t i o n T e x t s C o n f i g ( 
 
 +                         r u = V o i c e N a m e C o l l e c t i o n L a n g u a g e T e x t s ( 
 
 +                                 s t a r t _ p r o m p t = " h%'h%$%d%h%%h%%d%d%h%%d%h%c%d%h%a%.   h%-h%%h%V%h%[%h%%h%U%d%h%a%,   h%%h%[%h%b%h%%h%W%d%h%c%d%d%h%%,   h%%h%%d%h%a%  h%U%h%]%d%. " , 
 
 +                                 p e r s o n a l i z e d _ g r e e t i n g _ t e m p l a t e = ( 
 
 +                                         " h%'h%$%d%h%%h%%d%d%h%%d%h%c%d%h%a%,   { n a m e } .   h%*h%[%d%h%[%d%h%Q%h%[%  d%h%%d%d%h%Q%h%%h%b%h%U%d%h%a%,   h%%h%[%h%b%h%%h%W%d%h%c%d%d%h%%,   d%h%a%h%]%  h%%h%[%h%]%h%[%d%d%. " 
 
 +                                 ) , 
 
 +                                 c o n f i r m a t i o n _ g r e e t i n g _ t e m p l a t e = ( 
 
 +                                         " h%%d%h%W%h%U%  d%  h%%d%h%%h%%h%U%h%W%d%h%\%h%[%  d%h%%d%d%h%W%d%d%h%%h%W%,   h%%h%%d%  h%V%h%[%h%%d%d%  { n a m e } ?   h%(  d%h%a%h%]%  h%%h%[%h%]%h%[%d%d%? " 
 
 +                                 ) , 
 
 +                                 i n l i n e _ f o l l o w u p _ p r o m p t = " h%(  h%a%d%d%!  h%%h%[%h%$%d%h%Q%h%%h%b%h%U%d%h%a%,   h%Q%h%%h%Q%  h%]%h%\%h%a%  h%Q%  h%%h%%h%]%  h%[%h%%d%h%%d%h%%d%d%d%d%? " , 
 
 +                         ) , 
 
 +                         k z = V o i c e N a m e C o l l e c t i o n L a n g u a g e T e x t s ( 
 
 +                                 s t a r t _ p r o m p t = " h%1Y%)h%W%h%a%h%]%h%a%d%d%d%&h%V%  h%%h%a%.   h% d%d%e%3d%h%V%h%$%d%  h%%d%h%%h%c%d%d%h%V%  h%%h%%? " , 
 
 +                                 p e r s o n a l i z e d _ g r e e t i n g _ t e m p l a t e = ( 
 
 +                                         " h%1Y%)h%W%h%a%h%]%h%a%d%d%d%&h%V%  h%%h%a%,   { n a m e } .   e%*d%d%e%+h%%d%h%%  h%%h%c%d%d%e%3d%h%V%d%d%,   h%\%h%a%  h%Q%Y%9h%]%h%a%h%Q%d%h%a%d%d%  h%Q%h%a%d%h%a%h%Q%. " 
 
 +                                 ) , 
 
 +                                 c o n f i r m a t i o n _ g r e e t i n g _ t e m p l a t e = ( 
 
 +                                         " h%%h%%h%a%d%  h%$%e%%d%d%d%  h%a%d%d%d%&d%h%a%h%]%,   h%%d%d%e%3d%h%V%  { n a m e } ?   e%*h%%h%W%h%%h%c%  h%Q%Y%9h%]%h%a%h%Q%d%h%a%d%h%a%h%]%d%&h%\%? " 
 
 +                                 ) , 
 
 +                                 i n l i n e _ f o l l o w u p _ p r o m p t = " h%2h%%e%#d%  h%%d%&d%  h%\%h%%e%+d%d%h%W%h%%d%h%%h%]%,   d%d%&h%V%h%%h%a%  e%+h%%h%W%h%%h%c%  e%+h%%d%h%%h%c%h%]%d%h%\%? " , 
 
 +                         ) , 
 
 +                 ) , 
 
 +         ) 
 
 + 
 
 + 
 
   d e f   _ s e t t i n g s _ r o w ( s e s s i o n )   - >   V o i c e N a m e C o l l e c t i o n S e t t i n g s R o w   |   N o n e : 
 
           r e t u r n   s e s s i o n . e x e c u t e ( 
 
                   s e l e c t ( V o i c e N a m e C o l l e c t i o n S e t t i n g s R o w ) . w h e r e ( 
 
 d i f f   - - g i t   a / s e r v i c e s / a i _ v o i c e _ r u n t i m e _ s e r v i c e / a p p . p y   b / s e r v i c e s / a i _ v o i c e _ r u n t i m e _ s e r v i c e / a p p . p y 
 
 i n d e x   2 6 0 3 4 4 d . . c 2 3 8 f 4 c   1 0 0 6 4 4 
 
 - - -   a / s e r v i c e s / a i _ v o i c e _ r u n t i m e _ s e r v i c e / a p p . p y 
 
 + + +   b / s e r v i c e s / a i _ v o i c e _ r u n t i m e _ s e r v i c e / a p p . p y 
 
 @ @   - 2 1 1 , 6   + 2 1 1 , 1 4   @ @   d e f   _ d e f a u l t _ v o i c e _ g r e e t i n g ( l a n g u a g e :   s t r   |   N o n e ,   * ,   a g e n t _ p r o f i l e :   s t r   =   " v o i c e 
 
           ) 
 
   
 
   
 
 + d e f   _ d e f a u l t _ v o i c e _ g r e e t i n g ( l a n g u a g e :   s t r   |   N o n e ,   * ,   a g e n t _ p r o f i l e :   s t r   =   " v o i c e _ s u p p o r t " )   - >   s t r : 
 
 +         i f   s t r ( a g e n t _ p r o f i l e   o r   " " ) . s t r i p ( )   = =   " v o i c e _ s t a r t " : 
 
 +                 r e t u r n   _ v o i c e _ s t a r t _ n a m e _ p r o m p t ( l a n g u a g e ) 
 
 +         i f   s t r ( l a n g u a g e   o r   " " ) . s t r i p ( )   = =   " k z " : 
 
 +                 r e t u r n   " h%1Y%)h%W%h%a%h%]%h%a%d%d%d%&h%V%  h%%h%a%.   h%1e%%d%h%%e%#d%e%3d%h%V%h%$%d%  h%%h%c%d%d%e%3d%h%V%d%d%,   h%Q%Y%9h%]%h%a%h%Q%d%h%a%d%d%h%%h%a%  d%d%d%d%d%h%%h%]%d%h%\%. " 
 
 +         r e t u r n   " h%'h%$%d%h%%h%%d%d%h%%d%h%c%d%h%a%.   h%/h%[%h%$%d%h%Q%h%%h%b%h%U%d%h%a%,   h%%h%[%h%b%h%%h%W%d%h%c%d%d%h%%,   d%h%a%h%]%  h%%h%[%h%]%h%[%d%d%. " 
 
 + 
 
 + 
 
   _ A S R _ P R O V I D E R   =   b u i l d _ a s r _ p r o v i d e r ( _ a s r _ p r o v i d e r _ n a m e ( ) ) 
 
   _ T T S _ P R O V I D E R   =   b u i l d _ t t s _ p r o v i d e r ( _ t t s _ p r o v i d e r _ n a m e ( ) ) 
 
   
 
 d i f f   - - g i t   a / t e s t s / t e s t _ a i _ o r c h e s t r a t o r _ s e r v i c e . p y   b / t e s t s / t e s t _ a i _ o r c h e s t r a t o r _ s e r v i c e . p y 
 
 i n d e x   0 f 2 5 9 2 9 . . 9 7 2 3 4 3 e   1 0 0 6 4 4 
 
 - - -   a / t e s t s / t e s t _ a i _ o r c h e s t r a t o r _ s e r v i c e . p y 
 
 + + +   b / t e s t s / t e s t _ a i _ o r c h e s t r a t o r _ s e r v i c e . p y 
 
 @ @   - 1 1 1 6 , 6   + 1 1 1 6 , 3 9   @ @   d e f   t e s t _ v o i c e _ m o d u l e _ i m p o r t _ h e l p e r _ r e t u r n s _ a p p _ m o d u l e ( ) : 
 
           a s s e r t   h a s a t t r ( l o a d e d ,   " _ i n t e r a c t i o n _ r e q u e s t " ) 
 
   
 
   
 
 + d e f   t e s t _ t e x t _ o p e n a i _ p r o m p t _ u s e s _ o p e r a t o r _ p e r s o n a _ w i t h o u t _ a i _ d i s c l o s u r e ( ) : 
 
 +         m e s s a g e s   =   a i _ m o d u l e . _ o p e n a i _ p r o m p t ( 
 
 +                 c u s t o m e r = N o n e , 
 
 +                 i n t e r a c t i o n = S i m p l e N a m e s p a c e ( 
 
 +                         i n t e r a c t i o n _ i d = " i n t _ t e x t _ p r o m p t " , 
 
 +                         s t a t u s = " n e w " , 
 
 +                         q u e u e _ i d = " q u e _ t e x t " , 
 
 +                         s u b j e c t = " N e e d   h e l p " , 
 
 +                         c u s t o m e r _ i d = " c u s t _ t e x t " , 
 
 +                 ) , 
 
 +                 t h r e a d = S i m p l e N a m e s p a c e ( t h r e a d _ i d = " t h r _ t e x t " ,   c h a t _ i d = " c h a t _ t e x t " ,   d i s p l a y _ n a m e = " C u s t o m e r " ) , 
 
 +                 m e s s a g e s = [ 
 
 +                         S i m p l e N a m e s p a c e ( 
 
 +                                 a u t h o r _ t y p e = " c u s t o m e r " , 
 
 +                                 a u t h o r _ i d = " c u s t _ t e x t " , 
 
 +                                 d i r e c t i o n = " i n b o u n d " , 
 
 +                                 t e x t = " h%5h%[%d%d%  d%h%V%h%\%h%%d%d%  d%h%%d%h%U%d%" , 
 
 +                                 c r e a t e d _ a t = u t c _ n o w _ i s o ( ) , 
 
 +                         ) 
 
 +                 ] , 
 
 +                 k b _ r e s u l t s = [ ] , 
 
 +                 l a n g u a g e = " r u " , 
 
 +                 c h a n n e l _ l a b e l = " T e l e g r a m " , 
 
 +                 c h a n n e l _ k e y = " t e l e g r a m " , 
 
 +         ) 
 
 + 
 
 +         s y s t e m _ p r o m p t   =   m e s s a g e s [ 0 ] [ " c o n t e n t " ] 
 
 +         a s s e r t   " A I   a s s i s t a n t "   n o t   i n   s y s t e m _ p r o m p t 
 
 +         a s s e r t   " A l w a y s   d i s c l o s e "   n o t   i n   s y s t e m _ p r o m p t 
 
 +         a s s e r t   " h u m a n   o p e r a t o r "   i n   s y s t e m _ p r o m p t 
 
 +         a s s e r t   " D o   n o t   m e n t i o n   a   k n o w l e d g e   b a s e "   i n   s y s t e m _ p r o m p t 
 
 + 
 
 + 
 
   d e f   t e s t _ v o i c e _ d e c i s i o n _ r e u s e s _ r e c e n t _ t o p i c _ i n s t e a d _ o f _ r e p e a t i n g _ s a m e _ p r o m p t ( ) : 
 
           t r a n s c r i p t _ w i n d o w   =   [ 
 
                   S i m p l e N a m e s p a c e ( s p e a k e r = " a s s i s t a n t " ,   t e x t = v o i c e _ m o d u l e . _ v o i c e _ g r e e t i n g ( " r u " ) ,   s e q u e n c e _ n o = 1 ) , 
 
 @ @   - 1 2 2 2 , 6   + 1 2 5 5 , 5 1   @ @   d e f   t e s t _ v o i c e _ k b _ s e a r c h _ m a t c h e s _ r e l a x e d _ p h r a s e _ a n d _ r e t u r n s _ k b _ a n s w e r ( ) : 
 
           a s s e r t   " r e l a x b a s i c x "   i n   d e c i s i o n [ " r e p l y _ t e x t " ] . l o w e r ( ) 
 
   
 
   
 
 + d e f   t e s t _ v o i c e _ l l m _ g u a r d e d _ d e c i s i o n _ u s e s _ o p e r a t o r _ s t y l e _ w i t h o u t _ a i _ o r _ k b ( m o n k e y p a t c h ) : 
 
 +         m o n k e y p a t c h . s e t e n v ( " A I _ V O I C E _ P O L I C Y _ M O D E " ,   " l l m _ g u a r d e d " ) 
 
 +         m o n k e y p a t c h . s e t a t t r ( a i _ m o d u l e ,   " _ a i _ p r o v i d e r " ,   l a m b d a :   " o p e n a i _ c o m p a t i b l e " ) 
 
 +         c a p t u r e d :   d i c t [ s t r ,   o b j e c t ]   =   { } 
 
 + 
 
 +         d e f   _ f a k e _ s t r u c t u r e d ( m e s s a g e s ) : 
 
 +                 c a p t u r e d [ " m e s s a g e s " ]   =   m e s s a g e s 
 
 +                 r e t u r n   { 
 
 +                         " l a n g u a g e " :   " r u " , 
 
 +                         " i n t e n t " :   " k b _ a n s w e r " , 
 
 +                         " r e p l y _ t e x t " :   " h%1h%a%h%c%d%h%%d%  h%%h%[%h%$%d%h%Q%h%%h%b%d%:   d%h%U%h%W%h%U%h%%h%W%  h%%  h% h%W%h%]%h%%d%d%  d%h%%h%%h%[%d%h%%h%a%d%  d%  9 : 0 0   h%$%h%[%  1 8 : 0 0   h%%h%[%  h%%d%h%$%h%\%d%h%]%. " , 
 
 +                         " c o n f i d e n c e " :   0 . 8 8 , 
 
 +                         " n e e d s _ h a n d o f f " :   F a l s e , 
 
 +                         " h a n d o f f _ r e a s o n " :   N o n e , 
 
 +                         " c a s e _ a c t i o n " :   " k e e p _ o p e n " , 
 
 +                         " k b _ r e f s " :   [ " k b a _ v o i c e _ 1 " ] , 
 
 +                         " _ m o d e l " :   " g p t - t e s t " , 
 
 +                         " _ l a t e n c y _ m s " :   4 2 , 
 
 +                         " _ f i n i s h _ r e a s o n " :   " s t o p " , 
 
 +                 } 
 
 + 
 
 +         m o n k e y p a t c h . s e t a t t r ( a i _ m o d u l e ,   " _ r e q u e s t _ s t r u c t u r e d _ m o d e l _ d e c i s i o n " ,   _ f a k e _ s t r u c t u r e d ) 
 
 + 
 
 +         k b _ a r t i c l e   =   S i m p l e N a m e s p a c e ( a r t i c l e _ i d = " k b a _ v o i c e _ 1 " ,   t i t l e = " h%#d%h%%d%h%U%h%Q%  d%h%%h%%h%[%d%d%" ,   b o d y = " h%!d%h%$%h%\%h%U%  9 : 0 0 - 1 8 : 0 0 " ) 
 
 +         d e c i s i o n   =   v o i c e _ m o d u l e . _ v o i c e _ d e c i s i o n ( 
 
 +                 l a n g u a g e = " r u " , 
 
 +                 c u s t o m e r = S i m p l e N a m e s p a c e ( c u s t o m e r _ i d = " c u s _ v o i c e _ 1 " ,   d i s p l a y _ n a m e = " h% h%c%h%$%h%[%d%" ) , 
 
 +                 i n t e r a c t i o n = S i m p l e N a m e s p a c e ( i n t e r a c t i o n _ i d = " i n t _ v o i c e _ l l m " ,   s t a t u s = " n e w " ,   q u e u e _ i d = " q u e _ v o i c e " ,   s u b j e c t = " h o u r s " ) , 
 
 +                 t r a n s c r i p t _ t e x t = " h%*h%%h%Q%  d%h%%h%%h%[%d%h%%h%a%d%  d%h%U%h%W%h%U%h%%h%W%  h%%  h% h%W%h%]%h%%d%d%? " , 
 
 +                 t r a n s c r i p t _ w i n d o w = [ S i m p l e N a m e s p a c e ( s p e a k e r = " c a l l e r " ,   t e x t = " h%*h%%h%Q%  d%h%%h%%h%[%d%h%%h%a%d%  d%h%U%h%W%h%U%h%%h%W%  h%%  h% h%W%h%]%h%%d%d%? " ,   s e q u e n c e _ n o = 1 ,   s o u r c e _ t y p e = " v o i c e _ a s r " ,   b a r g e _ i n _ i n t e r r u p t e d = F a l s e ,   c r e a t e d _ a t = u t c _ n o w _ i s o ( ) ) ] , 
 
 +                 k b _ r e s u l t s = [ k b _ a r t i c l e ] , 
 
 +                 d i s c l o s u r e _ r e q u i r e d = F a l s e , 
 
 +                 c u s t o m e r _ n a m e _ v a l u e = " h% h%c%h%$%h%[%d%" , 
 
 +                 c u s t o m e r _ n a m e _ s t a t u s = " n a m e _ o b t a i n e d " , 
 
 +         ) 
 
 + 
 
 +         a s s e r t   d e c i s i o n [ " i n t e n t " ]   = =   " k b _ a n s w e r " 
 
 +         a s s e r t   d e c i s i o n [ " m o d e l " ]   = =   " g p t - t e s t " 
 
 +         a s s e r t   " a i "   n o t   i n   d e c i s i o n [ " r e p l y _ t e x t " ] . l o w e r ( ) 
 
 +         a s s e r t   " h%%h%%h%V%h%%  h%V%h%\%h%%h%\%h%U%h%c%"   n o t   i n   d e c i s i o n [ " r e p l y _ t e x t " ] . l o w e r ( ) 
 
 +         s y s t e m _ p r o m p t   =   c a p t u r e d [ " m e s s a g e s " ] [ 0 ] [ " c o n t e n t " ] 
 
 +         a s s e r t   " h u m a n   o p e r a t o r "   i n   s y s t e m _ p r o m p t 
 
 +         a s s e r t   " D o   n o t   s a y   o r   i m p l y   t h a t   y o u   a r e   a n   A I "   i n   s y s t e m _ p r o m p t 
 
 + 
 
 + 
 
   d e f   t e s t _ a i _ e n q u e u e _ c r e a t e s _ o u t b o u n d _ a i _ r e p l y _ a n d _ d e l i v e r y _ f l o w ( m o n k e y p a t c h ) : 
 
           m o n k e y p a t c h . s e t e n v ( " A I _ T E L E G R A M _ E N A B L E D " ,   " 1 " ) 
 
           m o n k e y p a t c h . s e t e n v ( " A I _ P R O V I D E R " ,   " s t u b " ) 
 
 d i f f   - - g i t   a / t e s t s / t e s t _ a i _ v o i c e _ r u n t i m e _ s e r v i c e . p y   b / t e s t s / t e s t _ a i _ v o i c e _ r u n t i m e _ s e r v i c e . p y 
 
 i n d e x   2 a 4 e 8 3 6 . . b c e b 9 6 a   1 0 0 6 4 4 
 
 - - -   a / t e s t s / t e s t _ a i _ v o i c e _ r u n t i m e _ s e r v i c e . p y 
 
 + + +   b / t e s t s / t e s t _ a i _ v o i c e _ r u n t i m e _ s e r v i c e . p y 
 
 @ @   - 1 0 5 , 6   + 1 0 5 , 9 5   @ @   d e f   t e s t _ c r e a t e _ v o i c e _ a i _ s e s s i o n _ r e c o r d s _ g r e e t i n g _ w i t h o u t _ b l o c k i n g _ o n _ o r c h e s t r a t 
 
                   r a i s e   A s s e r t i o n E r r o r ( " b a c k g r o u n d   v o i c e - s e s s i o n   s t a r t   d i d   n o t   f i n i s h   i n   t i m e " ) 
 
   
 
   
 
 + d e f   t e s t _ c r e a t e _ v o i c e _ a i _ s e s s i o n _ r e c o r d s _ g r e e t i n g _ w i t h o u t _ b l o c k i n g _ o n _ o r c h e s t r a t o r ( m o n k e y p a t c h ) : 
 
 +         a l l o w _ s t a r t   =   t h r e a d i n g . E v e n t ( ) 
 
 + 
 
 +         d e f   _ f a k e _ o r c h e s t r a t o r _ r e q u e s t ( m e t h o d :   s t r ,   p a t h :   s t r ,   * ,   p a y l o a d = N o n e ,   t i m e o u t = 1 0 . 0 ) : 
 
 +                 a s s e r t   m e t h o d   = =   " P O S T " 
 
 +                 a s s e r t   p a t h . e n d s w i t h ( " / s t a r t " ) 
 
 +                 a s s e r t   a l l o w _ s t a r t . w a i t ( t i m e o u t = 2 . 0 ) 
 
 +                 r e t u r n   { 
 
 +                         " s e s s i o n _ i d " :   " a i s _ v o i c e _ d e m o " , 
 
 +                         " l a n g u a g e " :   " r u " , 
 
 +                         " g r e e t i n g _ t e x t " :   " h%'h%$%d%h%%h%%d%d%h%%d%h%c%d%h%a%.   h%/h%[%h%$%d%h%Q%h%%h%b%h%U%d%h%a%,   h%%h%[%h%b%h%%h%W%d%h%c%d%d%h%%,   d%h%a%h%]%  h%%h%[%h%]%h%[%d%d%. " , 
 
 +                         " d i s c l o s u r e _ r e q u i r e d " :   T r u e , 
 
 +                 } 
 
 + 
 
 +         m o n k e y p a t c h . s e t a t t r ( r u n t i m e _ m o d u l e ,   " _ o r c h e s t r a t o r _ r e q u e s t " ,   _ f a k e _ o r c h e s t r a t o r _ r e q u e s t ) 
 
 + 
 
 +         c l i e n t   =   T e s t C l i e n t ( r u n t i m e _ m o d u l e . a p p ) 
 
 +         r e s p o n s e _ h o l d e r :   d i c t [ s t r ,   o b j e c t ]   =   { } 
 
 + 
 
 +         d e f   _ r e q u e s t ( )   - >   N o n e : 
 
 +                 r e s p o n s e _ h o l d e r [ " r e s p o n s e " ]   =   c l i e n t . p o s t ( 
 
 +                         " / i n t e r n a l / v o i c e - a i / s e s s i o n s " , 
 
 +                         h e a d e r s = _ a d m i n _ h e a d e r s ( ) , 
 
 +                         j s o n = { 
 
 +                                 " c a l l _ i d " :   " c a l l _ v o i c e _ r u n t i m e _ 1 " , 
 
 +                                 " l i n k e d _ i d " :   " l i n k e d _ v o i c e _ r u n t i m e _ 1 " , 
 
 +                                 " i n t e r a c t i o n _ i d " :   " i n t _ v o i c e _ r u n t i m e _ 1 " , 
 
 +                                 " q u e u e _ i d " :   " q u e _ v o i c e _ r u n t i m e _ 1 " , 
 
 +                                 " c a l l e r _ n u m b e r " :   " + 7 7 0 1 0 0 0 0 0 3 1 " , 
 
 +                                 " c a l l e r _ n a m e " :   " R u n t i m e   C a l l e r " , 
 
 +                                 " a g e n t _ p r o f i l e " :   " v o i c e _ s u p p o r t " , 
 
 +                                 " l a n g u a g e _ h i n t " :   " r u " , 
 
 +                                 " h a n d o f f _ q u e u e _ i d " :   " q u e _ v o i c e _ r u n t i m e _ 1 " , 
 
 +                                 " m e t a d a t a " :   { " q u e u e _ c o d e " :   " v o i c e _ l a b " } , 
 
 +                         } , 
 
 +                 ) 
 
 + 
 
 +         r e q u e s t _ t h r e a d   =   t h r e a d i n g . T h r e a d ( t a r g e t = _ r e q u e s t ,   d a e m o n = T r u e ) 
 
 +         r e q u e s t _ t h r e a d . s t a r t ( ) 
 
 +         r e q u e s t _ t h r e a d . j o i n ( t i m e o u t = 0 . 3 ) 
 
 +         a s s e r t   n o t   r e q u e s t _ t h r e a d . i s _ a l i v e ( ) 
 
 + 
 
 +         r e s p o n s e   =   r e s p o n s e _ h o l d e r [ " r e s p o n s e " ] 
 
 +         a s s e r t   r e s p o n s e . s t a t u s _ c o d e   = =   2 0 0 
 
 +         p a y l o a d   =   r e s p o n s e . j s o n ( ) 
 
 +         a s s e r t   p a y l o a d [ " a i _ s e s s i o n _ i d " ]   i s   N o n e 
 
 +         a s s e r t   p a y l o a d [ " s t a t u s " ]   = =   " g r e e t i n g " 
 
 + 
 
 +         s e s s i o n   =   g e t _ s e s s i o n ( ) 
 
 +         t r y : 
 
 +                 v o i c e _ s e s s i o n   =   s e s s i o n . e x e c u t e ( 
 
 +                         s e l e c t ( V o i c e A I S e s s i o n R o w ) . w h e r e ( V o i c e A I S e s s i o n R o w . c a l l _ i d   = =   " c a l l _ v o i c e _ r u n t i m e _ 1 " ) 
 
 +                 ) . s c a l a r _ o n e ( ) 
 
 +                 a s s e r t   v o i c e _ s e s s i o n . s t a t u s   = =   " g r e e t i n g " 
 
 +                 a s s e r t   v o i c e _ s e s s i o n . d i s c l o s u r e _ p l a y e d _ a t   i s   N o n e 
 
 +                 a s s e r t   v o i c e _ s e s s i o n . l a s t _ a i _ r e p l y _ a t   i s   N o n e 
 
 +                 g r e e t i n g _ s e g m e n t   =   s e s s i o n . e x e c u t e ( 
 
 +                         s e l e c t ( V o i c e T r a n s c r i p t S e g m e n t R o w ) 
 
 +                         . w h e r e ( V o i c e T r a n s c r i p t S e g m e n t R o w . s e s s i o n _ i d   = =   v o i c e _ s e s s i o n . s e s s i o n _ i d ) 
 
 +                         . w h e r e ( V o i c e T r a n s c r i p t S e g m e n t R o w . s p e a k e r   = =   " a s s i s t a n t " ) 
 
 +                 ) . s c a l a r _ o n e ( ) 
 
 +                 a s s e r t   " a i "   n o t   i n   g r e e t i n g _ s e g m e n t . t e x t . l o w e r ( ) 
 
 +                 a s s e r t   g r e e t i n g _ s e g m e n t . i s _ f i n a l   i s   F a l s e 
 
 +         f i n a l l y : 
 
 +                 s e s s i o n . c l o s e ( ) 
 
 + 
 
 +         a l l o w _ s t a r t . s e t ( ) 
 
 +         d e a d l i n e   =   t i m e . t i m e ( )   +   2 . 0 
 
 +         w h i l e   t i m e . t i m e ( )   <   d e a d l i n e : 
 
 +                 s e s s i o n   =   g e t _ s e s s i o n ( ) 
 
 +                 t r y : 
 
 +                         v o i c e _ s e s s i o n   =   s e s s i o n . e x e c u t e ( 
 
 +                                 s e l e c t ( V o i c e A I S e s s i o n R o w ) . w h e r e ( V o i c e A I S e s s i o n R o w . c a l l _ i d   = =   " c a l l _ v o i c e _ r u n t i m e _ 1 " ) 
 
 +                         ) . s c a l a r _ o n e ( ) 
 
 +                         i f   v o i c e _ s e s s i o n . a i _ s e s s i o n _ i d   = =   " a i s _ v o i c e _ d e m o " : 
 
 +                                 g r e e t i n g s   =   s e s s i o n . e x e c u t e ( 
 
 +                                         s e l e c t ( V o i c e T r a n s c r i p t S e g m e n t R o w ) 
 
 +                                         . w h e r e ( V o i c e T r a n s c r i p t S e g m e n t R o w . s e s s i o n _ i d   = =   v o i c e _ s e s s i o n . s e s s i o n _ i d ) 
 
 +                                         . w h e r e ( V o i c e T r a n s c r i p t S e g m e n t R o w . s p e a k e r   = =   " a s s i s t a n t " ) 
 
 +                                 ) . s c a l a r s ( ) . a l l ( ) 
 
 +                                 a s s e r t   l e n ( g r e e t i n g s )   = =   1 
 
 +                                 b r e a k 
 
 +                 f i n a l l y : 
 
 +                         s e s s i o n . c l o s e ( ) 
 
 +                 t i m e . s l e e p ( 0 . 0 5 ) 
 
 +         e l s e : 
 
 +                 r a i s e   A s s e r t i o n E r r o r ( " b a c k g r o u n d   v o i c e - s e s s i o n   s t a r t   d i d   n o t   f i n i s h   i n   t i m e " ) 
 
 + 
 
 + 
 
   d e f   t e s t _ m a r k _ r e p l y _ d e l i v e r e d _ f i n a l i z e s _ o n l y _ m a t c h i n g _ p e n d i n g _ a s s i s t a n t _ s e g m e n t ( ) : 
 
           n o w   =   u t c _ n o w _ i s o ( ) 
 
           s e s s i o n   =   g e t _ s e s s i o n ( ) 
 
 