Sunday, January 17, 2016

vicidial is not sending calls to the agents

I have experienced recently an issue on system built from scratch (Centos 7) . The issue was:

Asterisk is dialing number from the list. In the cli you can see, that they are being answered and then they become dropped right away without attempting to be transferred to an agent

This thread helped me a lot:

http://www.vicidial.org/VICIDIALforum/viewtopic.php?p=25156



In my case all cpan perl modules were installed into /root directory, so they couldn't be seen by perl.  The solution is either to add '/root/perl5/lib/perl5/' to the perl PATH or just to rsync these into:

rsync -avz /root/perl5/lib/perl5/ /usr/local/lib64/perl5/


And dont forget to always check your root mail:

tail -f /var/mail/root 

Tuesday, January 5, 2016

grep exception

Grep all BUT not starting with "#" and ";"

grep "^[^#;]" smb.conf