Soporte & Consultoria

Soporte Remoto y Consultoria skype : ambiorixg12.
Nota no se brinda ningun tipo de consulta o soporte fuera del blog de forma gratuita

jueves, 17 de abril de 2025

Call flow DV

 Connected to Asterisk 20.9.3 currently running on rod-dev-box (pid = 1)

    

    

   1  Call is answred

    

    -- Executing [12628009000@internal:1] Answer("PJSIP/5001-0000035b", "") in new stack

    

    

    

   2 General paths are set

   

    -- Executing [12628009000@internal:2] Set("PJSIP/5001-0000035b", "audio_path_general=/root") in new stack

    -- Executing [12628009000@internal:3] Set("PJSIP/5001-0000035b", "fm=/root/fm") in new stack

    

    

    

    3 Check if the phone is already resisted or not

    

    -- Executing [12628009000@internal:4] AGI("PJSIP/5001-0000035b", "/root/fm/check-phone.php,"8005551212"") in new stack  

  -- Launched AGI Script /root/fm/check-phone.php

    -- AGI Script Executing Application: (Verbose) Options: (User PhoneNum already registered)

User PhoneNum already registered




4 Check the auth method


    -- AGI Script Executing Application: (Verbose) Options: (User auth mode is cid.)

User auth mode is cid.




If auth metho is set to CID send it to the  welcome menu

    -- AGI Script Executing Application: (Goto) Options: (welcome,100,1)

    -- Goto (welcome,100,1)

      

    -- <PJSIP/5001-0000035b>AGI Script /root/fm/check-phone.php completed, returning 0

    

    

    

    

    

 5 Enter to the welcome menu

    -- Executing [100@welcome:1] NoOp("PJSIP/5001-0000035b", "---8005551212----") in new stack

    -- Executing [100@welcome:2] Playback("PJSIP/5001-0000035b", "/root/Hello_and_welcome") in new stack

    -- <PJSIP/5001-0000035b> Playing '/root/Hello_and_welcome.slin' (language 'en')

    -- Executing [100@welcome:3] Playback("PJSIP/5001-0000035b", "/root/fm/aws/names/8005551212") in new stack

    -- <PJSIP/5001-0000035b> Playing '/root/fm/aws/names/8005551212.slin' (language 'en')

    

   6  Give the user to  authenticate as other user

    

    -- Executing [100@welcome:4] Read("PJSIP/5001-0000035b", "isyou,/root/if_this_is_not_you,1,e,,3") in new stack

    -- Accepting a maximum of 1 digits.

    -- <PJSIP/5001-0000035b> Playing '/root/if_this_is_not_you.slin' (language 'en')

       > 0x7e156c035f30 -- Strict RTP learning complete - Locking on source address 207.246.87.203:54818

    -- User entered nothing.


7 Validate if user choose  # to auth as other user


    -- Executing [100@welcome:5] GotoIf("PJSIP/5001-0000035b", "?check-login,pin-acces-code,1") in new stack

    -- Executing [100@welcome:6] GotoIf("PJSIP/5001-0000035b", "0?invalid") in new stack

    -- Executing [100@welcome:7] Goto("PJSIP/5001-0000035b", "user-menu,100,1") in new stack



8 User do not enter noting send the user to the   user menu


    -- Goto (user-menu,100,1)

    

    

    9 User is on the main menu, give the  user the available options

    

    -- Executing [100@user-menu:1] NoOp("PJSIP/5001-0000035b", "") in new stack

    -- Executing [100@user-menu:2] Playback("PJSIP/5001-0000035b", "/root/welcome-main-menu") in new stack

    -- <PJSIP/5001-0000035b> Playing '/root/welcome-main-menu.slin' (language 'en')



10. We check if user  is member of a group and if so we play the regular menu plus the family menu, if not member we   only ply regular menu

/root/fm/account_summary.php


if($member>0){

  echo "EXEC Read opt,$audio_path/menu-1&$audio_path/press-messaging-center,1\n";

        }


else{


  echo "EXEC Read opt,$audio_path/menu-1,1\n";


}




    -- Executing [100@user-menu:3] AGI("PJSIP/5001-0000035b", "/root/fm/account_summary.php,96") in new stack

    -- Launched AGI Script /root/fm/account_summary.php

    

    

    

    11 we    run the read app and route   the    choose option

    

    -- AGI Script Executing Application: (Read) Options: (opt,/root/menu-1&/root/press-messaging-center,1)

    -- Accepting a maximum of 1 digits.

    -- <PJSIP/5001-0000035b> Playing '/root/menu-1.slin' (language 'en')

    -- <PJSIP/5001-0000035b> Playing '/root/press-messaging-center.slin' (language 'en')

    -- User entered '1'

    -- <PJSIP/5001-0000035b>AGI Script /root/fm/account_summary.php completed, returning 0

    -- Executing [100@user-menu:4] NoOp("PJSIP/5001-0000035b", "----    ***  1 **---") in new stack

    -- Executing [100@user-menu:5] GotoIf("PJSIP/5001-0000035b", "0?greet") in new stack

    -- Executing [100@user-menu:6] GotoIf("PJSIP/5001-0000035b", "1?menu-options,100,1") in new stack

    

    

    12  User choose family menu  system will check if is admin and will a menu if is admin or not

    -- Goto (menu-options,100,1)

    -- Executing [100@menu-options:1] AGI("PJSIP/5001-0000035b", "/root/fm/isadmin.php,96") in new stack

    -- Launched AGI Script /root/fm/isadmin.php

    -- AGI Script Executing Application: (Verbose) Options: (User is admin)

User is admin


13 send it to the  admin menu whee user have access to personal setting and family  admin  menu

    -- AGI Script Executing Application: (Playback) Options: (/root/isadmin)

    -- <PJSIP/5001-0000035b> Playing '/root/isadmin.slin' (language 'en')

    -- AGI Script Executing Application: (Goto) Options: (menu-options,100,is-admin-menu)

    -- Goto (menu-options,100,3)

    

    

    

    14 system give you personal and family admin

    

    -- <PJSIP/5001-0000035b>AGI Script /root/fm/isadmin.php completed, returning 0

    -- Executing [100@menu-options:3] Read("PJSIP/5001-0000035b", "opt,/root/is-admin-menu&/root/9-to-go-back,1,e") in new stack

    -- Accepting a maximum of 1 digits.

    -- <PJSIP/5001-0000035b> Playing '/root/is-admin-menu.slin' (language 'en')

    

    15 user select  admin  family menus

    -- User entered '2'

    -- Executing [100@menu-options:4] GotoIf("PJSIP/5001-0000035b", "0?personal-menu") in new stack

    -- Executing [100@menu-options:5] GotoIf("PJSIP/5001-0000035b", "1?group-menu") in new stack

    -- Goto (menu-options,100,45)

    

    

    16 System play the family  list

    -- Executing [100@menu-options:45] AGI("PJSIP/5001-0000035b", "/root/fm/access_fm.php,96") in new stack

    -- Launched AGI Script /root/fm/access_fm.php

    -- AGI Script Executing Application: (Playback) Options: (/root/select-group-key)

    -- <PJSIP/5001-0000035b> Playing '/root/select-group-key.slin' (language 'en')

    -- AGI Script Executing Application: (playback) Options: (/root/pound-go-back-main-menu)

    -- <PJSIP/5001-0000035b> Playing '/root/pound-go-back-main-menu.slin' (language 'en')

    -- AGI Script Executing Application: (Playback) Options: (vm-press)

    -- <PJSIP/5001-0000035b> Playing 'vm-press.gsm' (language 'en')

    -- AGI Script Executing Application: (Saynumber) Options: (1)

    -- <PJSIP/5001-0000035b> Playing 'digits/1.gsm' (language 'en')

    -- AGI Script Executing Application: (Playback) Options: (/root/accessing_the_menu_option_for_group)

    -- <PJSIP/5001-0000035b> Playing '/root/accessing_the_menu_option_for_group.slin' (language 'en')

    -- AGI Script Executing Application: (Read) Options: (opt,/root/fm/aws/names/8005551212_1743612515.1685,1,e)

    -- Accepting a maximum of 1 digits.

    -- <PJSIP/5001-0000035b> Playing '/root/fm/aws/names/8005551212_1743612515.1685.slin' (language 'en')

    -- User entered '1'

/root/fm/access_fm.php,96: Captured user input: 1

    -- AGI Script Executing Application: (Playback) Options: (/root/you_pressed_option)

    -- <PJSIP/5001-0000035b> Playing '/root/you_pressed_option.slin' (language 'en')

    -- AGI Script Executing Application: (Saynumber) Options: (1)

    

   

    -- <PJSIP/5001-0000035b> Playing 'digits/1.gsm' (language 'en')

    

    

    

    

   17 system access to the menu setting for the  selected  family 

    -- AGI Script Executing Application: (goto) Options: (group-settings,37,1)

    -- Goto (group-settings,37,1)

    -- <PJSIP/5001-0000035b>AGI Script /root/fm/access_fm.php completed, returning 0

    -- Executing [37@group-settings:1] Answer("PJSIP/5001-0000035b", "") in new stack

    -- Executing [37@group-settings:2] AGI("PJSIP/5001-0000035b", "/root/fm/group_menu/group_setting.php,96,37") in new stack

    -- Launched AGI Script /root/fm/group_menu/group_setting.php

    -- AGI Script Executing Application: (Playback) Options: (/root/welcome-group-setting)

    -- <PJSIP/5001-0000035b> Playing '/root/welcome-group-setting.slin' (language 'en')

    -- AGI Script Executing Application: (Playback) Options: (/root/fm/aws/names/8005551212_1743612515.1685)

    -- <PJSIP/5001-0000035b> Playing '/root/fm/aws/names/8005551212_1743612515.1685.slin' (language 'en')

    -- AGI Script Executing Application: (Read) Options: (opt,/root/admin_menu,1)

    -- Accepting a maximum of 1 digits.

    -- <PJSIP/5001-0000035b> Playing '/root/admin_menu.slin' (language 'en')

    -- User disconnected


No hay comentarios:

Publicar un comentario