jueves, 30 de septiembre de 2021

Real time report not counting time on pause or closer status

 


Postby manny » Sun Mar 27, 2011 6:22 pm

Done!

I just added
CODE: SELECT ALL
[Date]
; Defines the default timezone used by the date functions
date.timezone = America/Mexico_City


reboot, and all was back to normal, counting the time in time hehe,

Thanks a LOT!!

jueves, 16 de septiembre de 2021

Vicidial phone alias

 Postby mflorell » Sun Sep 26, 2010 3:42 pm

Let's say you have 3 servers:
10.0.0.11
10.0.0.12
10.0.0.13

and you have an agent phone you want to phone-load-balance-login across all three servers, you would need to create a phones entry for that phone on each server with a different login:
101a -> 10.0.0.11
101b -> 10.0.0.12
101c -> 10.0.0.13

Then you go into to add a new alias(101x) for this set of phone logins which has this as the extension:
101a,101b,101c

Then the agent logs in with 101x as the phone login and tada, it works!

viernes, 10 de septiembre de 2021

fail2ban


jail.conf and jail.local 

backend =  systemd



# JAILS
#
[asterisk-udp]

enabled  = true
filter   = asterisk
port     = 5060,5061
protocol = udp
#logpath  = /var/log/asterisk/full
logpath  = /var/log/asterisk/fail2ban2
action   = iptables-allports[name=recidive, protocol=all]



[ssh-iptables]

enabled  = true
filter   = sshd
action   = iptables[name=SSH, port=ssh, protocol=tcp]
           sendmail-whois[name=SSH, dest=you@mail.com, sender=fail2ban@mail.com]
logpath  = /var/log/messages
maxretry = 5



//////////////////////////


filter.d/asterisk.conf file for Asterisk 1.8:

# Fail2Ban configuration file
#
#
# $Revision: 251 $
#

[INCLUDES]

# Read common prefixes. If any customizations available -- read them from
# common.local
before = common.conf


[Definition]

#_daemon = asterisk

# Option:  failregex
# Notes.:  regex to match the password failures messages in the logfile. The
#          host must be matched by a group named "host". The tag "<HOST>" can
#          be used for standard IP/hostname matching and is only an alias for
#          (?:::f{4,6}:)?(?P<host>\S+)
# Values:  TEXT
#
# Asterisk 1.8 uses Host:Port format which is reflected here

failregex = NOTICE.* .*: Registration from '.*' failed for '<HOST>:.*' - Wrong password
            NOTICE.* .*: Registration from '.*' failed for '<HOST>:.*' - No matching peer found
            NOTICE.* .*: Registration from '.*' failed for '<HOST>:.*' - No matching peer found
            NOTICE.* .*: Registration from '.*' failed for '<HOST>:.*' - Username/auth name mismatch
            NOTICE.* .*: Registration from '.*' failed for '<HOST>:.*' - Device does not match ACL
            NOTICE.* .*: Registration from '.*' failed for '<HOST>:.*' - Peer is not supposed to register
            NOTICE.* .*: Registration from '.*' failed for '<HOST>:.*' - ACL error (permit/deny)
            NOTICE.* .*: Registration from '.*' failed for '<HOST>:.*' - Device does not match ACL
            NOTICE.* .*: Registration from '\".*\".*' failed for '<HOST>:.*' - No matching peer found
            NOTICE.* .*: Registration from '\".*\".*' failed for '<HOST>:.*' - Wrong password
            NOTICE.* <HOST> failed to authenticate as '.*'$
            NOTICE.* .*: No registration for peer '.*' \(from <HOST>\)
            NOTICE.* .*: Host <HOST> failed MD5 authentication for '.*' (.*)
            NOTICE.* .*: Failed to authenticate user .*@<HOST>.*
            NOTICE.* .*: <HOST> failed to authenticate as '.*'
            NOTICE.* .*: <HOST> tried  to authenticate with nonexistent user '.*'
            VERBOSE.*SIP/<HOST>-.*Received incoming SIP connection from unknown peer
   
# Option:  ignoreregex
# Notes.:  regex to ignore. If this regex matches, the line is ignored.
# Values:  TEXT
#
ignoreregex =

add to  nano  /etc/asterisk/logger.conf
asterisk -x " core reload"
fail2ban2 => security,notice,warning,error

Verify  file exist
 ls /var/log/asterisk/fail2ban2
 systemctl restart fail2ban


 systemctl status fail2ban



iptables  -L -n
Chain f2b-SSH (1 references)
target     prot opt source               destination
REJECT     all  --  192.184.14.100       0.0.0.0/0            reject-with icmp-port-unreachable
RETURN     all  --  0.0.0.0/0            0.0.0.0/0

Chain f2b-recidive (1 references)
target     prot opt source               destination
REJECT     all  --  20.191.79.63         0.0.0.0/0            reject-with icmp-port-unreachable

jueves, 9 de septiembre de 2021

Re: Getting multiple inbound calls to an agent at a time

 

Re: Getting multiple inbound calls to an agent at a time

Postby mflorell » Thu Sep 09, 2021 4:18 pm

We have seen cases where there are duplicate entries in the vicidial_conferences database table, which can also cause this.

lunes, 6 de septiembre de 2021

WebRTC

 https://itgala.xyz/how-to-setup-webrtc-on-vicibox-and-enable-viciphone/

sábado, 4 de septiembre de 2021

Possible to disable AutoLogOut Timeclock

 

Re: Possible to disable AutoLogOut Timeclock

Postby mflorell » Fri Sep 03, 2021 7:39 pm

Timeclock End of Day exists so that no timeclock entry can be more than 24 hours. It does not affect agent logins or agents in the agent screen, it only affects the timeclock clock-ins.
mflorell
Site Admin
 
Posts: 17831
Joined: Wed Jun 07, 2006 3:45 pm
Location: Florida