Page 1 of 1

Error - Sorry, there are no available sessions

PostPosted: Wed Apr 08, 2020 7:50 pm
by carpenox
Good evening everyone,

First of all, thank you for adding me to the forum. I have installed vicidial using a scratch install which I understand is not suggested on CentOS but I couldnt get it working on OpenSuSe because I am trying a test run on a virtual server before purchasing a dedicated one. I used this install method: https://anwer.home.blog/2019/05/23/vici ... terisk-13/ along with some added tweaks from different forums and the managers manual scratch install for centos 6.5. So vicidial is running with no problems as far as the web interface goes and adding the needed things, I have added a campaign, leads, sip carrier, phones, users, the whole nine yards, I am not new to vicidial, I have been an administrator of it for over 5 years for a few different call centers in Florida. I am not a novice, i am pretty well inclined when it comes to IT, since that is what I do, career wise. I will admit I have limited experience on linux but I am learning, currently back in school for my BS in CS. :) Ok so the problem now: I am getting the error message in the topic, "Sorry, there are no available sessions". My guess is that it has something to do with asterisks because of the VPS which I have tried two different ways, both on an EC2 and on Lightsail I cant seem to get asterisk-perl module installed. Although on a different instance of EC2 I can get asterisk working and running, but not the vicidial interface, LOL I cant win. Im hoping maybe im wrong about the box running vicidial interface since everything appears to be working perfectly fine except for when users try to login to make calls(which get the error, but I can see them logged into the campaign). Also there is leads in the dialer, but the campaign wont actually make any calls. Below are the versions installed for each.

CentOS 7 1901-01 via AWS Lightsail and EC2
Vicidial 2.14-748a build 200406-2319 from SYN Revision: 3220
Asterisk: asterisk-13.17.2-vici
mysql: Ver 15.1 Distrib 5.5.64-MariaDB
perl: (v5.16.3)
PHP 5.4.16


Final question, worse case scenario, is there a scratch install for opensuse to install everything manually without being able to load a cd image?

Thank you for taking the time to read all that, hopefully Ive provided enough information. Ive tried the centos and asterisk forums attempting to get help trying to go from the ground floor up and nothing.


Chris

Re: Error - Sorry, there are no available sessions

PostPosted: Thu Apr 09, 2020 10:30 am
by carpenox
Image

This is the vicidial running, You can see the leads are loaded, the user gets logged in but they actually dont on their end, they get that error. Any suggestions would be awesome.
And even still, should leads be getting called or at least loaded into the hopper at this point?

Image

Should there be channels running on the server?

Re: Error - Sorry, there are no available sessions

PostPosted: Thu Apr 09, 2020 11:11 am
by bbakirtas
asterisk logs?

Re: Error - Sorry, there are no available sessions

PostPosted: Thu Apr 09, 2020 2:29 pm
by carpenox
oh boy, looks like i have more problems than i thought....

Apr 8 16:41:45] Asterisk 13.17.2-vici built by root @ .ec2.int ernal on a x86_64 running Linux on 2020-04-08 16:33:13 UTC
[Apr 8 16:41:45] NOTICE[16926] cdr.c: CDR simple logging enabled.
[Apr 8 16:41:45] NOTICE[16926] loader.c: 317 modules will be loaded.
[Apr 8 16:41:45] NOTICE[16926] res_odbc.c: res_odbc loaded.
[Apr 8 16:41:45] WARNING[16926] res_phoneprov.c: Unable to find a valid server address or name.
[Apr 8 16:41:45] ERROR[16926] ari/config.c: No configured users for ARI
[Apr 8 16:41:45] NOTICE[16926] pbx_lua.c: Lua PBX Switch loaded.
[Apr 8 16:41:46] WARNING[16926] res_config_mysql.c: MySQL RealTime: No database user found, using 'asterisk' as default.
[Apr 8 16:41:46] WARNING[16926] res_config_mysql.c: MySQL RealTime: No database password found, using 'asterisk' as default.
[Apr 8 16:41:46] WARNING[16926] res_config_mysql.c: MySQL RealTime: No database host found, using localhost via socket.
[Apr 8 16:41:46] WARNING[16926] res_config_mysql.c: MySQL RealTime: No database name found, using 'asterisk' as default.
[Apr 8 16:41:46] WARNING[16926] res_config_mysql.c: MySQL RealTime: No database port found, using 3306 as default.
[Apr 8 16:41:46] WARNING[16926] res_config_mysql.c: MySQL RealTime: No database socket found, using '/var/lib/mysql/mysql.sock' as default.
[Apr 8 16:41:46] WARNING[16926] res_config_mysql.c: MySQL RealTime: No database socket found (and unable to detect a suitable path).
[Apr 8 16:41:46] NOTICE[16926] res_config_ldap.c: No directory user found, anon ymous binding as default.
[Apr 8 16:41:46] ERROR[16926] res_config_ldap.c: No directory URL or host found .
[Apr 8 16:41:46] ERROR[16926] res_config_ldap.c: Cannot load LDAP RealTime driv er.
[Apr 8 16:41:46] ERROR[16926] res_config_pgsql.c: PostgreSQL RealTime: Failed t o connect database asterisk on 127.0.0.1:
[Apr 8 16:41:46] WARNING[16926] res_config_pgsql.c: PostgreSQL RealTime: Couldn 't establish connection. Check debug.
[Apr 8 16:41:46] WARNING[16926] chan_dahdi.c: Ignoring any changes to 'userbase ' (on reload) at line 23.
[Apr 8 16:41:46] WARNING[16926] chan_dahdi.c: Ignoring any changes to 'vmsecret ' (on reload) at line 31.
[Apr 8 16:41:46] WARNING[16926] chan_dahdi.c: Ignoring any changes to 'hassip' (on reload) at line 35.
[Apr 8 16:41:46] WARNING[16926] chan_dahdi.c: Ignoring any changes to 'hasiax' (on reload) at line 39.
[Apr 8 16:41:46] WARNING[16926] chan_dahdi.c: Ignoring any changes to 'hasmanag er' (on reload) at line 47.
[Apr 8 16:41:46] NOTICE[16926] chan_skinny.c: Configuring skinny from skinny.co nf
[Apr 8 16:41:46] NOTICE[16926] confbridge/conf_config_parser.c: Adding default_ menu menu to app_confbridge
[Apr 8 16:41:46] WARNING[16926] cel_pgsql.c: CEL pgsql config file missing glob al section.
[Apr 8 16:41:46] NOTICE[16926] cel_tds.c: cel_tds has no global category, nothi ng to configure.
[Apr 8 16:41:46] WARNING[16926] cel_tds.c: cel_tds module had config problems; declining load
[Apr 8 16:41:46] NOTICE[16926] cdr_pgsql.c: cdr_pgsql configuration contains no global section, skipping module load.
[Apr 8 16:41:46] NOTICE[16926] cel_custom.c: No mappings found in cel_custom.co nf. Not logging CEL to custom CSVs.
[Apr 8 16:41:46] ERROR[16926] codec_dahdi.c: Failed to open /dev/dahdi/transcod e: No such file or directory

Re: Error - Sorry, there are no available sessions

PostPosted: Thu Apr 09, 2020 3:07 pm
by bbakirtas
you have big problems :D try vicidial install iso

Re: Error - Sorry, there are no available sessions

PostPosted: Thu Apr 09, 2020 3:14 pm
by williamconley
I couldnt get it working on OpenSuSe because I am trying a test run on a virtual server before purchasing a dedicated one.


Vicibox.com's .iso installer works perfectly on virtual hosts. No reason to use a different installation method virtual vs hardware install. This applies to Virtualbox and VMWare as well as vSphere and Proxmox. Even cloud-based virtual servers will work if they will allow you to boot from an uploaded .iso image to perform the initial installation.

But if you can't get your virtual platform to allow you a custom .iso boot, just use VirtualBox or VMware on your laptop. You may only be able to handle one call at a time, but the system will be identical to a physical server otherwise ... from install to everything else. Identical except capacity.

and then perhaps you can concentrate on "how to use" and get away from "how to install" much faster. You do not need to become a Linux Engineer to run Vicidial (if you install with Vicibox)!

My advice is the same as bbakirtas ... reinstall. For one thing, since the installation is free and fast with Vicibox's .iso installer, getting used to the installation will make you MUCH more comfortable with the system. Less magic and more "I can start over in 60 minutes, so no big deal".

Re: Error - Sorry, there are no available sessions

PostPosted: Thu Apr 09, 2020 5:21 pm
by carpenox
ok, so what company do u suggest to use that will allow me to load a custom iso?

I was looking into rackpsace.com for a dedicated server or is there a better solution that is suggested?

and as far as virtual hosting, is there a program similar to daemon tools for windows that i could use on opensuse? is there anything like daemon tools for linux/?

My goal would be SOOOO much easier with something like daemon tools, but for linux.

Thanks for your suggestions fellas

Chris

Re: Error - Sorry, there are no available sessions

PostPosted: Fri Apr 10, 2020 12:17 pm
by williamconley
The company where I work will lease you a virtual Vicidial for $50/month. Not recommended for production (well, not for more than one or two calls, we do have clients using them). But excellent for auditing the system, development, testing, etc.

As for some other company's hosting services, there are hundreds of them and I don't know which ones will allow you to install from a custom .iso or not.

If you have an old PC laying around, just install on it. It doesn't need to be a hefty machine. We've run it on PIII and Celeron processors for tiny call centers, but if all you need right now is Proof of Concept to build one out and prove it'll work with a single agent (presumably so you can get the funds for a more robust server ...), then any old PC will do, really.

I'm not sure why you want to run a virtualized server inside a linux OS. I'd suggest you just overwrite the linux OS with a Vicibox install. Or with a vSphere install (which is free if you find the proper license). Or run VMware or Virtualbox in your workstation (if one is available for your workstation). We don't run workstation virtual servers at all, we run only dedicated virtualization hosts these days (with 40 cores each).

Re: Error - Sorry, there are no available sessions

PostPosted: Sat Apr 11, 2020 11:13 am
by carpenox
CLI>core show uptime
System uptime: 1 minute, 57 seconds
Last reload: 1 minute, 57 seconds
CLI> core show version
Asterisk 13.29.2-vici built by abuild @ lamb65 on a x86_64 running Linux on 2020-02-07 07:
10:08 UTC
*CLI> sip show peers
Name/username Host Dyn Forcerport Comedia
ACL Port Status Description
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]

Re: Error - Sorry, there are no available sessions

PostPosted: Sun Apr 12, 2020 7:38 pm
by carpenox
OK So I started all over again. Installed on OpenSusSe 15.1, everything is installed and running but I am still getting an error, but its a new one.

There are screens on:
30558.ASTVDremote(Detached)
30555.ASTVDauto(Detached)
18427.ASTconf3way(Detached)
18419.ASTVDadapt(Detached)
10392.ASTfastlog(Detached)
9400.asterisk(Detached)
9378.astshell20200412140453(Detached)
1363.ASTemail(Detached)
1360.ASTVDadFILL(Detached)

*CLI> sip show peers
Name/username Host Dyn Forcerport Comedia
ACL Port Status Description
gs102/gs102 (Unspecified) D Yes Yes
0 UNKNOWN
1 sip peers [Monitored: 0 online, 1 offline Unmonitored: 0 online, 0 offline]

PHP 7.2.5 | Python 2.7.14 | mysql Ver 15.1 Distrib 10.2.31-MariaDB | apache2 | vicidial syn 3224 | Asterisk 13.21.0-vici

getting an error 404 when trying to reach the website

Re: Error - Sorry, there are no available sessions

PostPosted: Mon Apr 13, 2020 3:26 pm
by carpenox
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.

Error 404

Re: Error - Sorry, there are no available sessions

PostPosted: Mon Apr 13, 2020 4:51 pm
by williamconley
you appear to have an installation problem. but you have not posted the .iso installer with full version and/or installation instructions used. so we have no way to guess what may have gone wrong.