Viciphone problem "No one is in your session: 8600051"

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Viciphone problem "No one is in your session: 8600051"

Postby bossmon » Fri May 08, 2020 10:08 am

Please Help.

My user account and phone are set up for viciphone but when I log in nothing happens. There is no auto-call to the viciphone and when I click "call agent phone, nothing happens.

When logging in as an agent I am getting the error "No one is in your session: 8600051".

Image

After that message flashes, I get another message "There is a time synchronization problem with your system, please tell your system administrator".

Image

There is an option to go back and then "call agent webphone" but clicking call "call agent webphone" does nothing.

Also, there is a message inside the viciphone showing "Reg. failed"

Image

Here are my specs:

Vicibox 9.0.2 (express-install)
Version: 2.14-751a
SVN Version: 3241
DB Schema Version: 1595
Build: 200425-0949
Asterisk Version: Asterisk 13.29.2-vici
Install Date: 2020-05-06

I've installed this vicibox on cloud VPS with the most recent ISO and followed all installation instructions from the vicibox manual. I set the timezone to my server region timezone using the vicibox-timezone command. Followed all instructions for network configuration in yast-lan. Ran the vicibox-express install, and installed my SSL certificate on a FQDN through let's encrypt. I followed the setup for the vicibox firewall blacklist control though I plan to switch to white list later.

I created a user, user group, phone account, added a carrier, created a test campaign with a list of test numbers to dial.

I followed these https://viciphone.com/?page_id=351 instructions for configuring asterisk to work with vicipphone.

Image

The only issue here is that I did not find the res_http_websocket.so module in the /etc/asterisk/modules.conf, should I add that manually?

I followed these https://viciphone.com/?page_id=353 instructions for configuring vicidial to work with viciphone.

Image

I've been trying to figure this out for 2 days now but I am stuck here. I've used vicidial in the past as an admin and a manager but this is my first install.

Please let me know where I may have gone wrong and how to get up and running asap.

Thank you.
Last edited by bossmon on Sun May 10, 2020 7:57 am, edited 1 time in total.
Vicibox 9.0.2 (express-install)
Version: 2.14-751a
SVN Version: 3241
DB Schema Version: 1595
Build: 200425-0949
Asterisk 13.29.2-vici
bossmon
 
Posts: 42
Joined: Sat Mar 21, 2020 3:11 am

Re: Vicibox 9.0.2 "No one is in your session: 8600051"

Postby carpenox » Fri May 08, 2020 11:45 pm

it sounds like all of your asterisk sockets are not running. When you type "screen -ls" from your CLI on the server, what do you see?
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Vicibox 9.0.2 "No one is in your session: 8600051"

Postby bossmon » Sat May 09, 2020 1:31 pm

Thanks for your reply carpenox.

Here's what I get when I type in screen -ls

Code: Select all
No Sockets found in /run/screens/S-root.


What should I do to fix this?

carpenox wrote:it sounds like all of your asterisk sockets are not running. When you type "screen -ls" from your CLI on the server, what do you see?
Vicibox 9.0.2 (express-install)
Version: 2.14-751a
SVN Version: 3241
DB Schema Version: 1595
Build: 200425-0949
Asterisk 13.29.2-vici
bossmon
 
Posts: 42
Joined: Sat Mar 21, 2020 3:11 am

Re: Vicibox 9.0.2 "No one is in your session: 8600051"

Postby carpenox » Sat May 09, 2020 10:30 pm

you need to run asterisk and the keepalive script, try doing this:

/usr/share/astguiclient/start_asterisk_boot.pl

/usr/share/astguiclient/ADMIN_keepalive_ALL.pl

Good luck

-Nox
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Vicibox 9.0.2 "No one is in your session: 8600051"

Postby bossmon » Sun May 10, 2020 2:12 am

Thanks Nox,
I ran the scripts below, and then ran screen -ls again and this is what shows

Code: Select all
There are screens on:
        1762.ASTemail   (Detached)
        1758.ASTVDadFILL        (Detached)
        1755.ASTfastlog (Detached)
        1748.ASTVDadapt (Detached)
        1744.ASTVDremote        (Detached)
        1741.ASTVDauto  (Detached)
        1738.ASTlisten  (Detached)
        1735.ASTsend    (Detached)
        1732.ASTupdate  (Detached)
        1701.asterisk   (Detached)
        1678.astshell20200510030132     (Detached)
11 Sockets in /run/screens/S-root.


I logged in as an agent and got the same errors. I rebooted the server and ran the screen -ls and it's again showing.

Code: Select all
No Sockets found in /run/screens/S-root.


The good news is that the viciphone now shows as registered which seems like progress.

But I am still getting the "No one is in your session: 8600051" error and the "There is a time synchronization problem with your system, please tell your system administrator" error.

carpenox wrote:you need to run asterisk and the keepalive script, try doing this:

/usr/share/astguiclient/start_asterisk_boot.pl

/usr/share/astguiclient/ADMIN_keepalive_ALL.pl

Good luck

-Nox
Vicibox 9.0.2 (express-install)
Version: 2.14-751a
SVN Version: 3241
DB Schema Version: 1595
Build: 200425-0949
Asterisk 13.29.2-vici
bossmon
 
Posts: 42
Joined: Sat Mar 21, 2020 3:11 am

Re: Vicibox 9.0.2 "No one is in your session: 8600051"

Postby bossmon » Sun May 10, 2020 7:53 am

I added the above script to my cron jobs.

Here is what happens when I run screen -ls

Code: Select all
There are screens on:
        8133.asterisk   (Detached)
        8098.astshell20200510082802     (Detached)
        7991.asterisk   (Detached)
        7953.astshell20200510082702     (Detached)
        7848.asterisk   (Detached)
        7813.astshell20200510082602     (Detached)
        7709.asterisk   (Detached)
        7670.astshell20200510082502     (Detached)
        7572.asterisk   (Detached)
        7534.astshell20200510082402     (Detached)
        7430.asterisk   (Detached)
        7397.astshell20200510082302     (Detached)
        7274.asterisk   (Detached)
        7241.astshell20200510082202     (Detached)
        7133.asterisk   (Detached)
        7099.astshell20200510082102     (Detached)
        6990.asterisk   (Detached)
        6956.astshell20200510082001     (Detached)
        6854.asterisk   (Detached)
        6821.astshell20200510081902     (Detached)
        6715.asterisk   (Detached)
        6703.astshell20200510081803     (Detached)
        6568.asterisk   (Detached)
        6526.astshell20200510081702     (Detached)
        6422.asterisk   (Detached)
        6388.astshell20200510081602     (Detached)
        6282.asterisk   (Detached)
        6250.astshell20200510081502     (Detached)
        6122.asterisk   (Detached)
        6088.astshell20200510081401     (Detached)
        5981.asterisk   (Detached)
        5952.astshell20200510081302     (Detached)
        5817.asterisk   (Detached)
        5797.astshell20200510081202     (Detached)
        5688.asterisk   (Detached)
        5646.astshell20200510081102     (Detached)
        5530.asterisk   (Detached)
        5495.astshell20200510081002     (Detached)
        5391.asterisk   (Detached)
        5357.astshell20200510080902     (Detached)
        5247.asterisk   (Detached)
        5218.astshell20200510080802     (Detached)
        5109.asterisk   (Detached)
        5078.astshell20200510080702     (Detached)
        4968.asterisk   (Detached)
        4935.astshell20200510080602     (Detached)
        4825.asterisk   (Detached)
        4797.astshell20200510080502     (Detached)
        4685.asterisk   (Detached)
        4651.astshell20200510080402     (Detached)
        4546.asterisk   (Detached)
        4522.astshell20200510080302     (Detached)
        4401.asterisk   (Detached)
        4367.astshell20200510080201     (Detached)
        4260.asterisk   (Detached)
        4202.astshell20200510080102     (Detached)
        4080.asterisk   (Detached)
        4046.astshell20200510080003     (Detached)
        3918.asterisk   (Detached)
        3887.astshell20200510075901     (Detached)
        3781.asterisk   (Detached)
        3747.astshell20200510075802     (Detached)
        3641.asterisk   (Detached)
        3602.astshell20200510075702     (Detached)
        3496.asterisk   (Detached)
        3473.astshell20200510075602     (Detached)
        3352.asterisk   (Detached)
        3314.astshell20200510075502     (Detached)
        3206.asterisk   (Detached)
        3173.astshell20200510075402     (Detached)
        3061.asterisk   (Detached)
        3024.astshell20200510075302     (Detached)
        2816.asterisk   (Detached)
        2774.astshell20200510075202     (Detached)
        2659.asterisk   (Detached)
        2627.astshell20200510075102     (Detached)
        2510.asterisk   (Detached)
        2471.astshell20200510075001     (Detached)
        2359.asterisk   (Detached)
        2318.astshell20200510074901     (Detached)
        2214.asterisk   (Detached)
        2182.astshell20200510074801     (Detached)
        2017.asterisk   (Detached)
        1991.ASTemail   (Detached)
        1988.ASTVDadFILL        (Detached)
        1985.ASTfastlog (Detached)
        1982.ASTVDadapt (Detached)
        1975.ASTVDremote        (Detached)
        1973.ASTVDauto  (Detached)
        1971.ASTlisten  (Detached)
        1969.ASTsend    (Detached)
        1967.ASTupdate  (Detached)
        1956.astshell20200510074701     (Detached)
93 Sockets in /run/screens/S-root.


Now, when I log in as an agent my viciphone webphone shows as "registered" and there is a green light.

I enabled SIP debug and this is what shows under the viciphone when I log in.
Code: Select all
2020-05-10 15:25:39 =>
displayName: 101
uri: 101@111.111.111.11 (IP changed to all 1s for sercurity)
authorizationUser: 101
password: *********************** (password hidden)
wsServers: wss://my.domain.tld:8089/ws


In the center of the agent interface there is the error "No one is in your session: 8600051" with the option to
"Go Back"
or
"Call Agent Webphone"

If I choose "Call Agent Webphone", the debug shows the foollowing

Code: Select all
2020-05-10 15:37:26 => Got Invite from <0000000000> "ACagcW1589114244101101101101"
2020-05-10 15:37:26 => Auto-Answered Call
2020-05-10 15:37:27 => Session Accepted Event Fired
2020-05-10 15:37:27 => Session Bye Event Fired |BYE sip:gbdhgbhi@192.0.2.195;transport=wss SIP/2.0 Via: SIP/2.0/WS 111.111.111.11:0;branch=z9hG4bK49c899e3;rport Max-Forwards: 70 From: "ACagcW1589114244101101101101" ;tag=as354208e9 To: ;tag=cmqce19ah7 Call-ID: 3a1319262bbf311a6b114b660d78fdbb@111.111.111.11:0 CSeq: 103 BYE User-Agent: Asterisk PBX 13.29.2-vici X-Asterisk-HangupCause: Normal Clearing X-Asterisk-HangupCauseCode: 16 Content-Length: 0


I didn't edit anything in the "got invite from" above. It shows as all 0s in my original debug.

Another note. I looked into the stats from my carrier and it shows 50 calls made, 39 calls connected and 4 minutes used. So it looks like the dialer is making calls but for some reason it can't connect to the user account.
Vicibox 9.0.2 (express-install)
Version: 2.14-751a
SVN Version: 3241
DB Schema Version: 1595
Build: 200425-0949
Asterisk 13.29.2-vici
bossmon
 
Posts: 42
Joined: Sat Mar 21, 2020 3:11 am

Re: Viciphone problem "No one is in your session: 8600051"

Postby carpenox » Sun May 10, 2020 8:31 am

ok try this command and show me the output:

dahdi_cfg -vvv



you need to kill off those extra asterisk sessions from PID 2182 and above
and take the asterisk boot out of crontab, put it in rc.local for startup only
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Viciphone problem "No one is in your session: 8600051"

Postby bossmon » Sun May 10, 2020 9:01 am

Thanks for your help, Nox!

ok try this command and show me the output:

dahdi_cfg -vvv


Code: Select all
DAHDI Tools Version - 3.1.0
Notice: Configuration file is /etc/dahdi/system.conf
line 0: Unable to open master device '/dev/dahdi/ctl'

1 error(s) detected




screen -wipe (to remove those detached sessions)

Code: Select all
There are screens on:
        4392.asterisk   (Detached)
        4356.astshell20200510095502     (Detached)
        4251.asterisk   (Detached)
        4216.astshell20200510095402     (Detached)
        4106.asterisk   (Detached)
        4070.astshell20200510095302     (Detached)
        3968.asterisk   (Detached)
        3935.astshell20200510095202     (Detached)
        3826.asterisk   (Detached)
        3792.astshell20200510095101     (Detached)
        3669.asterisk   (Detached)
        3632.astshell20200510095001     (Detached)
        3541.asterisk   (Detached)
        3508.astshell20200510094902     (Detached)
        3386.asterisk   (Detached)
        3347.astshell20200510094801     (Detached)
        3256.asterisk   (Detached)
        3215.astshell20200510094702     (Detached)
        3118.asterisk   (Detached)
        3080.astshell20200510094602     (Detached)
        2966.asterisk   (Detached)
        2927.astshell20200510094502     (Detached)
        2805.asterisk   (Detached)
        2768.astshell20200510094402     (Detached)
        2626.asterisk   (Detached)
        2591.astshell20200510094302     (Detached)
        2485.asterisk   (Detached)
        2450.astshell20200510094201     (Detached)
        2343.asterisk   (Detached)
        2307.astshell20200510094101     (Detached)
        2203.asterisk   (Detached)
        2164.astshell20200510094001     (Detached)
        2021.asterisk   (Detached)
        1987.ASTemail   (Detached)
        1984.ASTVDadFILL        (Detached)
        1981.ASTfastlog (Detached)
        1978.ASTVDadapt (Detached)
        1975.ASTVDremote        (Detached)
        1972.ASTVDauto  (Detached)
        1969.ASTlisten  (Detached)
        1965.ASTsend    (Detached)
        1963.ASTupdate  (Detached)
        1952.astshell20200510093902     (Detached)
43 Sockets in /run/screens/S-root.


still says detached?


put it in rc.local for startup only


Ok, I removed from crontab. Now, how do I put it in rc.local?
Vicibox 9.0.2 (express-install)
Version: 2.14-751a
SVN Version: 3241
DB Schema Version: 1595
Build: 200425-0949
Asterisk 13.29.2-vici
bossmon
 
Posts: 42
Joined: Sat Mar 21, 2020 3:11 am

Re: Viciphone problem "No one is in your session: 8600051"

Postby carpenox » Sun May 10, 2020 9:26 am

ok im going to assume your using opensuse 15.1 which technically doesnt have rc.local, it uses init.d but i was so use to rc.local i made it work in opensuse so here are the instructions for that:

Code: Select all
###Technically, opensuse 15.1 doesnt have rc.local, it uses systemd so im just gonna incorporate the two

vim /etc/systemd/system/rc-local.service

###copy paste until i say stop####

[Unit]
 Description=/etc/rc.local Compatibility
 ConditionPathExists=/etc/rc.local

[Service]
 Type=forking
 ExecStart=/etc/rc.local start
 TimeoutSec=0
 StandardOutput=tty
 RemainAfterExit=yes
 SysVStartPriority=99

[Install]
 WantedBy=multi-user.target

########STOP#######


####Now lets create the file: rc.local
vim /etc/rc.local

######Copy and paste below here until i say stop#####

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local

# OPTIONAL enable ip_relay(for same-machine trunking and blind monitoring)
/usr/share/astguiclient/ip_relay/relay_control start 2>/dev/null 1>&2

# Disable console blanking and powersaving
/usr/bin/setterm -blank
/usr/bin/setterm -powersave off
/usr/bin/setterm -powerdown

### start up the MySQL server
systemctl start mariadb.service
systemctl enable mariadb.service

### start up the apache web server
systemctl start apache2
systemctl enable apache2

### roll the Asterisk logs upon reboot
/usr/share/astguiclient/ADMIN_restart_roll_logs.pl

### clear the server-related records from the database
/usr/share/astguiclient/AST_reset_mysql_vars.pl

### load dahdi drivers
modprobe dahdi
/usr/sbin/dahdi_cfg -vvvvvvvvvvvvv

### sleep for 20 seconds before launching Asterisk
sleep 20

### start up asterisk
/usr/share/astguiclient/start_asterisk_boot.pl
sleep 10

/usr/share/astguiclient/ADMIN_keepalive_ALL.pl --cu3way

##########STOP########

chmod +x /etc/rc.local
systemctl enable rc-local; systemctl start rc-local


Now the fact that dahdi isnt running is why your calls are not being connected, its not creating the local channels. you may need to reinstall dahdi but i can help you with that, first try this:

modprobe dahdi
dahdi_cfg -vvv

see if it runs correctly this time

if not try to reinstall it using this:

Code: Select all
cd /usr/src/asterisk
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
tar -xzvf dahdi-linux-complete-current.tar.gz
cd /usr/src/asterisk/dahdi-linux-complete-3.1.0+3.1.0/
make && make install


then run modprobe dahdi and dahdi_cfg again



and finally, screen -wipe isnt going to work on those, u need to run "kill -9 PID#" for instance kill -9 2182 which is those numbers b4 them, u need to stop all those extra sessions from 2182 and up
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Viciphone problem "No one is in your session: 8600051"

Postby bossmon » Sun May 10, 2020 10:27 am

You're the man!

after running
Code: Select all
modprobe dahdi
dahdi_cfg -vvv


I was able to connect.

I got the same "No one is in your session: 8600051" error, but this time when I clicked "Call Agent Webphone" I was connected and heard "you are the only one in this conference". I went ready on a test campaign and the dialer connected me to a call.

Now the issue is that the phone did not automatically connect on login, any idea how to fix that?
Vicibox 9.0.2 (express-install)
Version: 2.14-751a
SVN Version: 3241
DB Schema Version: 1595
Build: 200425-0949
Asterisk 13.29.2-vici
bossmon
 
Posts: 42
Joined: Sat Mar 21, 2020 3:11 am

Re: Viciphone problem "No one is in your session: 8600051"

Postby carpenox » Sun May 10, 2020 10:32 am

with the webphone i dont think thats possible, glad everything worked out for you, try looking thru the forum to see if theres a way to have it connect automatically but i havent seen any posts that people do that, one of the programmers such as matt or kumba, or maybe bill from poundteam might be able to help you with that.

cheers
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Viciphone problem "No one is in your session: 8600051"

Postby bossmon » Sun May 10, 2020 10:54 am

I found this solution
williamconley wrote:
dspaan wrote:I have paid the vicidial group to fix this. All you have to do is enable options.php in the agc folder and add this line:

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

Make sure you have a recent SVN version.

Excellent Postback!!


but not sure how to get to the agc folder?

carpenox wrote:with the webphone i dont think thats possible, glad everything worked out for you, try looking thru the forum to see if theres a way to have it connect automatically but i havent seen any posts that people do that, one of the programmers such as matt or kumba, or maybe bill from poundteam might be able to help you with that.

cheers
Vicibox 9.0.2 (express-install)
Version: 2.14-751a
SVN Version: 3241
DB Schema Version: 1595
Build: 200425-0949
Asterisk 13.29.2-vici
bossmon
 
Posts: 42
Joined: Sat Mar 21, 2020 3:11 am

Re: Viciphone problem "No one is in your session: 8600051"

Postby carpenox » Sun May 10, 2020 11:16 am

cd /srv/www/htdocs/agc

then u have to edit options.php with whatever editor, try "nano options.php" and then add the line it tells u
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Viciphone problem "No one is in your session: 8600051"

Postby bossmon » Tue May 12, 2020 6:20 am

updating from another thread in case it helps anyone else.

dspaan wrote:You really need to work on your linux skills. You need to do:

nano /srv/www/htdocs/agc/options.php

or

cd /srv/www/htdocs/agc
nano options.php

Also probably in your case the file is called options-example.php so you need to rename it first:

cd /srv/www/htdocs/agc
mv options-example.php options.php
nano options.php
Vicibox 9.0.2 (express-install)
Version: 2.14-751a
SVN Version: 3241
DB Schema Version: 1595
Build: 200425-0949
Asterisk 13.29.2-vici
bossmon
 
Posts: 42
Joined: Sat Mar 21, 2020 3:11 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 102 guests