Clic para Descargar el nuevo código penal Dominicano Ley 74-25
Soporte & Consultoria
lunes, 4 de agosto de 2025
martes, 22 de abril de 2025
System Testing – Feature Results
Main Menu
-
To access the Settings Menu, press 1, then press OK.
-
To Send a New Request, press 2, then press OK.
-
To Create a New Group, press 3, then press OK.
-
To Repeat this Menu, press 0, then press OK.
-
To access the Messaging Center, press 9, then press OK.
Invalid Option
Audio Prompt: “I'm sorry, you didn't choose a valid option. Please try again.” OK
No Key Press Detected
Action: Repeat the menu. Ok
Context: user-menu
---------------------------------
Admin Settings Menu (Parent Menu, Main Menu, Access Key: 1)
-
To access your Personal Settings Menu, press 1, then press OK.
-
To access the Group Settings Menu, press 2, then press OK.
-
To repeat this menu, press #.
-
To go back to the Previous Menu, press 9, then press OK.
Invalid Option
Audio Prompt: “I'm sorry, you didn't choose a valid option. Please try again.” OK
No Key Press Detected
Action: Repeat the menu. Ok
Context: menu-options
-----------------------
Personal Settings Menu
(Parent Menu: Admin Settings Menu | Access Key: 1)
-
Press 1 to hear your User ID, then press OK.
-
Press 2 to update your Preferred Language, then press OK.
-
Press 3 to update your PIN, then press OK.
-
Press 4 to update your Recorded Name, then press OK.
-
Press 0 to Repeat this Menu.
-
Press 9 to Go Back to the Previous Menu.
Invalid Option
Audio Prompt: “I'm sorry, you didn't choose a valid option. Please try again.” OK
No Key Press Detected
Action: Repeat the menu. Ok
Context: menu-options
Group Menu
(Parent Menu: Admin Settings Menu | Access Key: 2)
-
List all group keys for each group. Press the corresponding group key to select.
OK -
Press the # key to return to the main menu.
OK
Invalid Option
Audio Prompt: “I'm sorry, you didn't choose a valid option. Please try again.” OK
No Key Press Detected
Action: Repeat the menu. Ok
(Parent Menu: Group Settings Menu | Access Key: Dynamic)
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
martes, 15 de abril de 2025
sox convertion
sox tarotgama.wav -t ul -r 8000 -c 1 tarotgama.ulaw
sox tarotgama.wav -r 8000 -c 1 -e signed -b 16 -t wav tarotgama_asterisk.wav
sábado, 12 de abril de 2025
while endwhile
exten => 100,1,Answer()
same => n,Set(i=1) ; counter
same => n,AGI(getTotal.php,${userID}) ; sets vmtotal, body, mdate, recipient, etc.
same => n,While($[${i} <= ${vmtotal}])
same => n,Playback(message-number)
same => n,SayDigits(${i})
same => n,Playback(from)
same => n,Playback(${recipient})
same => n,Playback(at)
same => n,SayTime(${mtime})
same => n,Playback(${body})
same => n,Set(i=$[${i} + 1])
same => n,EndWhile()
same => n,Playback(no-more-msg)
same => n,Hangup()
jueves, 3 de abril de 2025
Pago
[pagos]
exten=>100,1,Set(CHANNEL(language)=es)
same=>n,set(audios=/root/TPV/Locuciones)
same=>n,Read(opt,${audios}/LocucionBonosA240,1)
same=>n,ExecIf($["${opt}"="1"]?Set(importe=12))
same=>n,ExecIf($["${opt}"="2"]?Set(importe=18))
same=>n,ExecIf($["${opt}"="3"]?Set(importe=28))
same=>n,ExecIf($["${opt}"="4"]?Set(importe=44))
same=>n,ExecIf($[${LEN(${opt})}=0]?playback(invalid))
same=>n,ExecIf($[${opt}>4 ]?playback(invalid))
same=>n,GotoIf($[${opt}>0 && ${opt}<=3]?bono)
same=>n,Goto(1)
same=>n(bono),Saynumber(${importe})
same=>n(intro-tarj),Read(tarjeta,${audios}/NumTarjeta)
same=>n,ExecIf($[${LEN(${tarjeta})}<3]?playback(${audios}/ErrorNumTarjeta_1))
same=>n,GotoIf($[${LEN(${tarjeta})}<3 ]?intro-tarj)
same=>n,Saydigits(${tarjeta})
same=>n,goto(fecha-caduc)
same=>n,hangup()
same=>n(fecha-caduc),Read(fecha,${audios}/fechacaducidad,4)
same=>n,ExecIf($[${LEN(${fecha})}!=4 && ${LEN(${fecha})}>0]?playback(${audios}/ErrorCaducidad_1))
same=>n,GotoIf($[${LEN(${fecha})}!=4]?fecha-caduc)
same=>n,Saydigits(${fecha})
same=>n,Goto(cvv)
same=>n(cvv),Read(cvv,${audios}/cvv,3)
same=>n,ExecIf($[${LEN(${cvv})}!=3 && ${LEN(${cvv})}>0]?playback(${audios}/ErrorCVC_1))
same=>n,GotoIf($[${LEN(${cvv})}!=4]?cvv)
same=>n,Saydigits(${cvv})
miércoles, 2 de abril de 2025
same => n,ExecIf($["${isyou}" != "1" || "${isyou}"!="2"]?Playback(${audio_path_general}/no-valid-option))
same=>n,ExecIf($["${LEN(${userPin})}" < "4" && "${userPin}"!="#"]?Playback(${audio_path_general}/4-digits-required))
same=>n,ExecIf($[${LEN(${opt})} ="0"]?playback(${audio_path_general}/no-valid-option))