No one is in your session..

All installation and configuration problems and questions

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

No one is in your session..

Postby devafree » Sat Sep 23, 2006 2:16 pm

I am getting the 'No One is in your session' most times the agent login. Very often too the message that 'You are the only person in this conference ' does not play.

But, sometime, I am able to login and it works fine. I cannot figure the problem, (not that I will know exactly how to trouble shoot any Vicidial issues :) ).
I am posting the following as per similar earlier problems in the forum.This one is when the agent logged in successfully. Also , the transfer conference gets frozen often and we cannot type the number to be conferenced in the middle of typing the number. DTMF also passes sporadically, sometimes good, sometimes not. The calls transferred with customer gets cut off in the middle too.
Kindly help out with these problems and how to approach and rectify them.
Thanks already,
Devafree
=========================

/bin/ps -o "%p %a" --no-headers -A
1 init [3]
2 [migration/0]
3 [ksoftirqd/0]
4 [migration/1]
5 [ksoftirqd/1]
6 [events/0]
7 [events/1]
8 [khelper]
9 [kthread]
12 [kacpid]
143 [kblockd/0]
144 [kblockd/1]
147 [khubd]
226 [pdflush]
227 [pdflush]
229 [aio/0]
230 [aio/1]
228 [kswapd0]
821 [kseriod]
857 [scsi_eh_2]
893 [ata/0]
894 [ata/1]
901 [khpsbpkt]
905 [knodemgrd_0]
920 [exec-osm/0]
921 [exec-osm/1]
946 [kirqd]
950 [reiserfs/0]
951 [reiserfs/1]
1003 udevd
1371 /usr/sbin/syslogd
1374 /usr/sbin/klogd -c 3 -x
2587 /usr/sbin/inetd
2592 /usr/sbin/sshd
2604 /usr/sbin/crond -l10
2606 /usr/sbin/atd -b 15 -l 1
2609 sendmail: accepting connections
2612 sendmail: Queue runner@00:25:00 for /var/spool/clientmqueue
2615 /usr/sbin/acpid
2623 /usr/sbin/gpm -m /dev/mouse -t ps2
2629 /usr/sbin/ntpd
2633 /bin/sh /usr/local/mysql/bin/mysqld_safe --user=mysql --skip-name-resolve --skip-host-cache
2667 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql
2668 /usr/local/apache2/bin/httpd -k start
2709 /usr/local/apache2/bin/httpd -k start
2710 /usr/local/apache2/bin/httpd -k start
2711 /usr/local/apache2/bin/httpd -k start
2712 /usr/local/apache2/bin/httpd -k start
2713 /usr/local/apache2/bin/httpd -k start
2739 /usr/bin/SCREEN -L -d -m -S asterisk /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
2740 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
2746 mpg123 -q -s --mono -r 8000 -b 2048 -f 4096 fpm-calm-river.mp3 fpm-world-mix.mp3 fpm-sunshine.mp3
2759 /sbin/agetty 38400 tty2 linux
2760 /sbin/agetty 38400 tty3 linux
2761 /sbin/agetty 38400 tty4 linux
2762 /sbin/agetty 38400 tty5 linux
2763 /sbin/agetty 38400 tty6 linux
2857 /usr/bin/SCREEN -d -m -S ASTlisten /usr/share/astguiclient/AST_manager_listen.pl
2858 /usr/bin/perl /usr/share/astguiclient/AST_manager_listen.pl
2863 /usr/bin/SCREEN -d -m -S ASTsend /usr/share/astguiclient/AST_manager_send.pl
2864 /usr/bin/perl /usr/share/astguiclient/AST_manager_send.pl
2871 /usr/bin/SCREEN -d -m -S ASTVDadapt /usr/share/astguiclient/AST_VDadapt.pl --debug
2870 /usr/bin/SCREEN -d -m -S ASTVDauto /usr/share/astguiclient/AST_VDauto_dial.pl
2872 /usr/bin/perl /usr/share/astguiclient/AST_VDadapt.pl --debug
2873 /usr/bin/perl /usr/share/astguiclient/AST_VDauto_dial.pl
2878 /usr/bin/SCREEN -d -m -S ASTupdate /usr/share/astguiclient/AST_update.pl
2879 /usr/bin/perl /usr/share/astguiclient/AST_update.pl
2882 /usr/bin/SCREEN -d -m -S ASTVDremote /usr/share/astguiclient/AST_VDremote_agents.pl
2883 /usr/bin/perl /usr/share/astguiclient/AST_VDremote_agents.pl
3448 /usr/local/apache2/bin/httpd -k start
3450 /usr/local/apache2/bin/httpd -k start
3451 /usr/local/apache2/bin/httpd -k start
3453 /usr/local/apache2/bin/httpd -k start
3975 /usr/local/apache2/bin/httpd -k start
7226 -bash
9739 sshd: root@pts/7
9751 -bash
13325 grep -r PERLIO=crlf /
13367 grep -r PERLIO= /
15167 wget ftp://cpan.calvin.edu/pub/CPAN/modules/ ... ils.txt.gz
27892 /usr/bin/perl /usr/share/astguiclient/AST_manager_kill_hung_congested.pl
1390 rasterisk r
12974 /usr/bin/perl /var/lib/asterisk/agi-bin/agi-VDADcloser_inboundCID.agi SALESLINE-----18313594955-----Clo
12994 /usr/bin/perl /var/lib/asterisk/agi-bin/agi-VDADcloser_inboundCID.agi SALESLINE-----18313594955-----Clo
13038 /usr/bin/perl /usr/share/astguiclient/AST_manager_kill_hung_congested.pl
13121 /usr/bin/perl /var/lib/asterisk/agi-bin/agi-VDADcloser_inboundCID.agi SALESLINE-----18313594955-----Clo
13141 /bin/ps -o %p %a --no-headers -A


=====================

SELECT * from live_channels;
+-------------------------+--------------+---------------+-----------+--------------------------------------------------------------------------------------------+
| channel | server_ip | channel_group | extension | channel_data |
+-------------------------+--------------+---------------+-----------+--------------------------------------------------------------------------------------------+
| Zap/pseudo-1419428859 | 61.8.147.163 | NULL | ring | SIP/ring |
| SIP/8313594955-b6e2db78 | 61.8.147.163 | NULL | agi | agi-VDADcloser_inboundCID.agi|SALESLINE-----18313594955-----Closer---------------999-----1 |
| SIP/8313594955-b6e1de98 | 61.8.147.163 | NULL | 8600055 | 8600055|s |
| SIP/8313594955-b6e13418 | 61.8.147.163 | NULL | agi | agi-VDADcloser_inboundCID.agi|SALESLINE-----18313594955-----Closer---------------999-----1 |
| SIP/8313594955-b6e27fe8 | 61.8.147.163 | NULL | agi | agi-VDADcloser_inboundCID.agi|SALESLINE-----18313594955-----Closer---------------999-----1 |
| SIP/8313594955-b6e20ab8 | 61.8.147.163 | NULL | agi | agi-VDADcloser_inboundCID.agi|SALESLINE-----18313594955-----Closer---------------999-----1 |
| SIP/8313594955-b6e0a6d8 | 61.8.147.163 | NULL | agi | agi-VDADcloser_inboundCID.agi|SALESLINE-----18313594955-----Closer---------------999-----1 |
+-------------------------+--------------+---------------+-----------+--------------------------------------------------------------------------------------------+
7 rows in set (0.00 sec)

===================================================

SELECT * from live_sip_channels;
+-------------------+--------------+---------------+-----------+--------------+
| channel | server_ip | channel_group | extension | channel_data |
+-------------------+--------------+---------------+-----------+--------------+
| SIP/1003-081594c0 | 61.8.147.163 | NULL | 8600055 | 8600055|s |
+-------------------+--------------+---------------+-----------+--------------+
1 row in set (0.00 sec)

===================================================

screen -r
There are several suitable screens on:
2870.ASTVDauto (Detached)
2863.ASTsend (Detached)
2882.ASTVDremote (Detached)
2857.ASTlisten (Detached)
2871.ASTVDadapt (Detached)
2878.ASTupdate (Detached)
2739.asterisk (Detached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.

============
devafree
 
Posts: 180
Joined: Wed Sep 20, 2006 5:03 pm

one error in soxmix /AST_CRON_mix_recordings_BASIC.pl

Postby devafree » Sat Sep 23, 2006 3:42 pm

When I run the script from command with the --debug there was no output at all. But I sometimes get the below : -

New mail for root@xyz has arrived:
----
From: root@xyz.com
Subject: cron: /usr/share/astguiclient/AST_CRON_mix_recordings_BASIC.pl
/usr/bin/soxmix: bad input format for file /var/spool/asterisk/monitor/wav.raw: sampling rate was not specified
mv: cannot stat `/var/spool/asterisk/monitor/wav.raw': No such file or directory
mv: cannot stat `/var/spool/asterisk/monitor/wav.raw': No such file or directory

----

You have mail in /var/mail/root
devafree
 
Posts: 180
Joined: Wed Sep 20, 2006 5:03 pm

Postby mflorell » Sat Sep 23, 2006 6:41 pm

One problem at a time. For the "no call in this session" please document every step taken, look at the Asterisk CLI and post the live channels data for one specific instance when it is happening.

Is there any pattern to the failures at all?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

re:no one in the session

Postby devafree » Sat Sep 23, 2006 7:31 pm

When i logged in one agent phone , it rang and then i picked up the phone. There was no message 'You are the only person in this conference" played. There is no out put in the asterisk cli [screen -x asterisk]. I am getting inbounds constantly and only these AGI scripts are running.

Then the agent screen says 'No one is in your session' and 'call agent again'. If I hang the phine and use 'call agent again' it rings again and the process is repeated. If i press RESUME tab, the screen shows the inbound color band and callerID , but no voice. After one such call the phone start beeping (engaged tone) till I log out.
The live channels output when the agent phone logged in is :-

mysql> select * from live_channels;
+-------------------------+--------------+---------------+-----------+--------------------------------------------------------------------------------------------+
| channel | server_ip | channel_group | extension | channel_data |
+-------------------------+--------------+---------------+-----------+--------------------------------------------------------------------------------------------+
| SIP/DID-b6e107f8 | server-ip | NULL | agi | agi-VDADcloser_inboundCID.agi|SALESLINE-----InboundNo-----Closer---------------999-----1 |
| SIP/DID-b6e04cb0 | server-ip | NULL | agi | agi-VDADcloser_inboundCID.agi|SALESLINE-----inbound-no-----Closer---------------999-----1 |
| SIP/DID-b6e0a6d8 | server-ip | NULL | agi | agi-VDADcloser_inboundCID.agi|SALESLINE-----inbound-no-----Closer---------------999-----1 |
| SIP/DID-b6e256c8 | server-ip | NULL | agi | agi-VDADcloser_inboundCID.agi|SALESLINE-----inbound-no-----Closer---------------999-----1 |
| SIP/DID-b6e2db78 | server-ip | NULL | agi | agi-VDADcloser_inboundCID.agi|SALESLINE-----inbound-no-----Closer---------------999-----1 |
+-------------------------+--------------+---------------+-----------+--------------------------------------------------------------------------------------------+
5 rows in set (0.01 sec)

mysql>

---------------------------
Thank you for the time ,
Devafree
devafree
 
Posts: 180
Joined: Wed Sep 20, 2006 5:03 pm

Postby mflorell » Sun Sep 24, 2006 8:28 am

What is the live_sip_channels contents for that moment in time?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby Vijay » Sun Sep 24, 2006 9:34 am

I went through the same problem when load on server is expectidely high, check the load on server, when this is happening.
Vijay
 
Posts: 14
Joined: Mon Jul 03, 2006 6:04 pm

resolved!

Postby devafree » Mon Sep 25, 2006 3:05 pm

The troubles are resolved. Though I do now know what I had done wrong , re-checking the configs and database entries and the phones and the vicidial users sorted it all out.
Many thanks for the replies. And a special thanks to Chris Doyle from Locodyne , a listed consultant, who re-did all the stuff for me.
Regards
devafree
devafree
 
Posts: 180
Joined: Wed Sep 20, 2006 5:03 pm


Return to Support

Who is online

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