martes, 19 de noviembre de 2024

changing vicidial recording link

 

Edit   user_stats.php  (https://github.com/inktel/Vicidial/blob/master/www/vicidial/user_stats.php)


     $location_public = str_replace("172.31.82.237", "dialer.1callclosers.com", $location); // changed added for change recs addresss amb.

                $MAIN.="<td align=left><font size=2> $row[4] </td>\n";

                $MAIN.="<td align=left><font size=2> $row[8] </td>\n";

                $MAIN.="<td align=left><font size=2> $row[0] </td>\n";

                $MAIN.="<td align=center><font size=2> $row[10] </td>\n";

                //$MAIN.="<td align=right><font size=2>  $location &nbsp; </td>\n";

                    $MAIN.="<td align=right><font size=2>  $location_public &nbsp; </td>\n";




apply  permissions for avoid 403 errors


 chmod 755 /var/spool/asterisk

viernes, 15 de noviembre de 2024

vicidial holliday


Postby mflorell » Mon Oct 26, 2009 9:18 am

There is currently no holiday function in ViciDial. You can just change the call times scheme to change the hours up to 6 days in advance.

 
https://vicidial.org/VICIDIALforum/viewtopic.php?t=9381




Re: Holiday definitions for temporarily closing

Postby mflorell » Fri Oct 12, 2018 9:35 am

The only workaround for that is to use crontab entries with SQL to alter a call time and then alter it back at those times.

Opening, or operating, times are not able to have two active time periods in the same day.
http://www.eflo.net/VICIDIALforum/viewtopic.php?f=4&t=38807

miércoles, 23 de octubre de 2024

Install viciphone and change default registration time

 1 cd /srv/www/htdocs/


2 git clone https://github.com/vicimikec/ViciPhone.git

3 nano /srv/www/htdocs/ViciPhone/src/js/sip.js

3 Change Registerer.defaultExpires from 600 to 3200:



4 Registerer.defaultExpires = 3200;

5 Update the Webphone URL: https://ambiorixg12-dialer.ddns.net/Vic ... iphone.php

6 Check the SIP registration logs to verify if the new registration expiration time has taken effect.

[Oct 23 11:20:24] Contact: <sip:9cc82b9h@192.0.2.186;transport=wss>;expires=3200
[/list]
[/i]

o far, everything look

jueves, 4 de enero de 2024

Re: Too many login attempts

 


Re: Too many login attempts

Postby blackbird2306 » Mon Oct 14, 2019 12:10 pm

Why don't you wait and try it 15 minutes later? If you don't want to wait this time you can unlock the user (6666) by typing this in linux cli:
CODE: SELECT ALL
mysql -D asterisk -e 'UPDATE `vicidial_users` SET `failed_login_count` = "0" WHERE `user` = "6666";'

and if you have forgotten the password for a certain user, you can change the password by this line:
CODE: SELECT ALL
mysql -D asterisk -e 'UPDATE `vicidial_users` SET `pass` = "HERENEWPASSWORD" WHERE `user` = "6666";'

sábado, 18 de noviembre de 2023

Re: Ingroups Calls showing for everyone

 

Re: Ingroups Calls showing for everyone

Unread postby atkins513 » Sat Nov 18, 2023 2:36 pm

I changed the individual setting under "user modify" to only checkmark their named ingroup only. I went to the usergroup they belong to and only checkmarked for that usergroup to have access under "Allowed User Groups:" to that group only. Not "ALL-GROUPS".

I then went to the REP's settings and changed the "Agent Choose Ingroups" to 0 as recommended by @carpenox. This was the crucial step.

All of these together worked flawlessly. Thank you!

lunes, 6 de noviembre de 2023

viciphone settings

https://docs.vicibox.com/en/latest/installation.html


https://docs.vicibox.com/en/latest/networking/vicibox-ssl.html

1)  vicibox-express

2)   reboot

3) vicibox-ssl  ( enter your  email and domain)



4) nano /etc/asterisk/http.conf

 tlscertfile=/root/.acme.sh//ambiorixg12-dialer.ddns.net/fullchain.cer

tlsprivatekey=/root/.acme.sh//ambiorixg12-dialer.ddns.net/ambiorixg12-dialer.ddns.net.key


check  asterisk wss status


static*CLI> http show status

HTTP Server Status:

Prefix: 

Server: Asterisk

Server Enabled and Bound to 127.0.0.1:8088


HTTPS Server Enabled and Bound to 0.0.0.0:8089


Enabled URI's:

/httpstatus => Asterisk HTTP General Status

/ws => Asterisk HTTP WebSocket


Enabled Redirects:

  None.




5) Change server settings to :

Web Socket URL:HELP

Web Socket URL:

wss://ambiorixg12-dialer.ddns.net:8089/ws


6)  Webphone URL on system setting

https://phone.viciphone.com/v3.0/viciphone.php

Webphone URL:HELP

7) VICI PHONE TEMPLATE


MODIFY A CONF TEMPLATE RECORD: VICIphone
Template ID:VICIphone
Template Name:HELP
Admin User Group:HELP

type=friend

host=dynamic

encryption=yes

avpf=yes

icesupport=yes

directmedia=no

transport=wss

force_avp=yes

dtlsenable=yes

dtlsverify=no

dtlscertfile=/root/.acme.sh//ambiorixg12-dialer.ddns.net/fullchain.cer

dtlsprivatekey=/root/.acme.sh//ambiorixg12-dialer.ddns.net/ambiorixg12-dialer.ddns.net.key

dtlssetup=actpass

rtcp_mux=yes

context=default


8) Container settings

Container ID:VICIPHONE_SETTINGS

# determines if the reg_exten is called upon successful registration

dialRegExten : 1


9) Add sip phones settings

Set As Webphone:HELP
Webphone Dialpad:HELP
Webphone Auto-Answer:HELP
Webphone Dialbox:HELP
Webphone Mute:HELP
Webphone Volume:HELP



Webphone Extra Settings:HELP

Template ID:HELP  


1 cd /srv/www/htdocs/agc 


 2 cp options-example.php options.php static:/srv/www/htdocs/agc 


 3 nano options.php 

$webphone_call_seconds  = 1;  # set to 1 or higher to have the agent phone(if set to webphone) called X seconds after login


lunes, 25 de julio de 2022