In the Vicidial agent screen when an agent logouts. Why doesn't the softphone hangup


Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
kornshell wrote:That happened to me before as well. There must be a timing difference between your database server, Web Server and Asterisk box(es). Please check if the time is syncronized between the servers.
mflorell wrote:Do you see a Hangup entry in vicidial_manager table at the time you logout?
mysql> select * from vicidial_manager;
+--------+--------------------+---------------------+---------+----------+-------------+------------------------+-----------+----------------------+------------------------+------------------+----------------+-------------+--------------------------------+------------+------------+------------+------------+------------+
| man_id | uniqueid | entry_date | status | response | server_ip | channel | action | callerid | cmd_line_b | cmd_line_c | cmd_line_d | cmd_line_e | cmd_line_f | cmd_line_g | cmd_line_h | cmd_line_i | cmd_line_j | cmd_line_k |
+--------+--------------------+---------------------+---------+----------+-------------+------------------------+-----------+----------------------+------------------------+------------------+----------------+-------------+--------------------------------+------------+------------+------------+------------+------------+
| 402 | 1170294640.0000000 | 2007-01-31 21:50:40 | UPDATED | N | 192.168.2.5 | SIP/agt00-lpz-09917b68 | Originate | S0701312150408600051 | Channel: SIP/agt00-lpz | Context: default | Exten: 8600051 | Priority: 1 | Callerid: S0701312150408600051 | | | | | |
+--------+--------------------+---------------------+---------+----------+-------------+------------------------+-----------+----------------------+------------------------+------------------+----------------+-------------+--------------------------------+------------+------------+------------+------------+------------+
1 row in set (0.00 sec)
mysql> select * from vicidial_manager;
+--------+--------------------+---------------------+---------+----------+-------------+------------------------+-----------+----------------------+------------------------+------------------+----------------+-------------+--------------------------------+------------+------------+------------+------------+------------+
| man_id | uniqueid | entry_date | status | response | server_ip | channel | action | callerid | cmd_line_b | cmd_line_c | cmd_line_d | cmd_line_e | cmd_line_f | cmd_line_g | cmd_line_h | cmd_line_i | cmd_line_j | cmd_line_k |
+--------+--------------------+---------------------+---------+----------+-------------+------------------------+-----------+----------------------+------------------------+------------------+----------------+-------------+--------------------------------+------------+------------+------------+------------+------------+
| 402 | 1170294640.0000000 | 2007-01-31 21:50:40 | UPDATED | N | 192.168.2.5 | SIP/agt00-lpz-09917b68 | Originate | S0701312150408600051 | Channel: SIP/agt00-lpz | Context: default | Exten: 8600051 | Priority: 1 | Callerid: S0701312150408600051 | | | | | |
| 403 | 0.0000000 | 2007-01-31 21:57:23 | SENT | N | 192.168.2.5 | | Hangup | RH1234591170295043 | Channel: | | | | | | | | | |
+--------+--------------------+---------------------+---------+----------+-------------+------------------------+-----------+----------------------+------------------------+------------------+----------------+-------------+--------------------------------+------------+------------+------------+------------+------------+
2 rows in set (0.00 sec)
mflorell wrote:Asterisk version?
astGUIclient version?
Can you post the output of "screen -r" when this happens?
There are several suitable screens on:
3446.ASTfastlog (Dead ???)
3444.ASTVDadapt (Dead ???)
3469.ASTVDremote (Detached)
4345.ASTsend (Dead ???)
3472.ASTVDadapt (Detached)
3414.asterisk (Detached)
3457.ASTupdate (Detached)
3463.ASTlisten (Detached)
4351.ASTVDauto (Dead ???)
3486.asterisk (Dead ???)
3420.asterisk (Dead ???)
4354.ASTVDremote (Dead ???)
3477.ASTlisten (Dead ???)
4348.ASTlisten (Dead ???)
4342.ASTupdate (Dead ???)
3485.ASTfastlog (Dead ???)
3475.ASTfastlog (Detached)
4289.ASTfastlog (Dead ???)
3423.asterisk (Dead ???)
3466.ASTVDauto (Detached)
3460.ASTsend (Detached)
3481.ASTVDremote (Dead ???)
4277.ASTlisten (Dead ???)
Remove dead screens with 'screen -wipe'.
Type "screen [-d] -r [pid.]tty.host" to resume one of them.
mflorell wrote:Post output of "show channels concise" from the Asterisk CLI
localhost*CLI>
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
localhost*CLI> show channels concise
Zap/pseudo-307317722!unused!s!1!Rsrvd!(None)!!!!3!!(None)
SIP/agt00-lpz-09605298!default!8600051!1!Up!MeetMe!8600051!!!3!15!(None)
localhost*CLI>
mflorell wrote:Is there a reason you have a dash '-' in the sip device name?
Not sure what exactly the problem could be, what is the extension and protocol of this phone's phone table entry?
[inside]
type=friend
host=dynamic
canreinvite=no
dtmfmode=auto
qualify=1000
callgroup=1
pickupgroup=1
nat=yes
[agt00-lpz](inside)
context=agents
username=agt00-lpz
secret=somepassword
callerid=300 <300>
[inside]
disallow=all
allow=ulaw
type=friend
host=dynamic
dtmfmode=inband
qualify=1000
[ag300](internos)
username=ag300
secret=somepassword
context=agents
mailbox=300
Users browsing this forum: Google [Bot] and 90 guests