VICIdial: "No one is in your session"
As VICIdial prints it
No one is in your session:
Where it appears. On the agent screen after login, as a box over the page with the session number after the colon and two links, Go Back and Call Agent Again.
To the point
The agent screen has found no audio channel in the agent's session 17 checks in a row. The agent's phone is not connected to it. Click Call Agent Again and answer the phone.
What it means
When an agent logs in, the dialer places one call: from the agent's phone into the conference of the session. From then on the agent screen asks the server once a second which channels are in that conference. An answer with no channel adds 1 to a counter, and an answer with any channel puts the counter back to 0. When the counter passes 16, this box appears, with the session number after the colon.
The box has two links. Go Back hides it and starts the count again. Call Agent Again asks the dialer to ring the agent's phone into the session once more.
The warning is off for a login made with the phone login nophone, and for a phone that has On-Hook Agent at Y.
Causes
- The login call was not answered, or the phone hung up. That one call is the agent's audio for the whole shift. When it ends the session is empty.
- The phone is not registered with the server. The login call goes to the phone record's Client Protocol and Phone Extension. With no device registered there, nothing rings.
- A webphone that has not been called yet. For a phone with Set As Webphone at Y the login does not place the call itself. The box opens straight away, and its second link reads Call Agent Webphone.
- The phone record does not describe the agent's device. A wrong Phone Extension, Client Protocol or Server IP sends the login call somewhere else.
Checks
- Ask the agent whether the phone rang at login. Then click Call Agent Again and watch the phone.
- Admin > Phones > the agent's phone. Read Phone Extension, Client Protocol, Server IP, Set As Webphone and On-Hook Agent.
- On the server, ask Asterisk whether the phone is registered:
asterisk -rx "sip show peer EXTENSION", orasterisk -rx "pjsip show endpoint EXTENSION"for a PJSIP phone. - Ask it who is in the session, with the number from the box:
asterisk -rx "meetme list SESSION", orasterisk -rx "confbridge list SESSION"on a server that uses ConfBridge.
Fix
- Answer the phone when the login rings it, and leave that call up until logout.
- When the phone went quiet during the shift, click Call Agent Again.
- A softphone that shows no registration needs its account put right first: the server, the extension and the phone's Registration Password.
- With a webphone, reload the agent screen and allow the microphone when the browser asks.
On a Trustane server
On the console's People page, "Is this agent connected?" asks the server whether the agent's phone is registered and whether anyone is in their conference. It reads and changes nothing.
Related messages
- Sorry, there are no available sessions: the login could not get a session at all.
- LAGGED: the browser, not the phone, lost touch with the server.
- Your session has been disabled: the server dropped the session itself.
Sources
Every statement above about VICIdial was read from its own source code at the revision given. An installed server can run another revision: compare before you rely on a line number.
- VICIdial svn r4037, www/agc/vicidial.php, lines 5136-5154: the login call from the phone into the session, and the webphone case where it is not placed
- VICIdial svn r4037, www/agc/vicidial.php, line 6363: the one second between two checks
- VICIdial svn r4037, www/agc/conf_exten_check.php, lines 1621-1652: the count of channels in the session's conference
- VICIdial svn r4037, www/agc/vicidial.php, lines 9263-9288: the counter: back to 0 with a channel, plus 1 without
- VICIdial svn r4037, www/agc/vicidial.php, line 22671: the box opened once the counter passes 16
- VICIdial svn r4037, www/agc/vicidial.php, lines 19034-19100: what Go Back and Call Agent Again do
- VICIdial svn r4037, www/agc/vicidial.php, lines 25167-25173: this message and the two links
- VICIdial svn r4037, www/agc/vicidial.php, lines 4763-4766: the warning switched off for nophone and On-Hook Agent
- VICIdial svn r4037, www/agc/vicidial.php, lines 22507-22518: the webphone case and its Call Agent Webphone link
- VICIdial svn r4037, www/agc/vicidial.php, line 4832: the login call addressed to the phone's protocol and extension
- VICIdial svn r4031, www/vicidial/admin.php, lines 43569-43681: the phone screen: Phone Extension, Server IP, Registration Password, Set As Webphone, Client Protocol, On-Hook Agent
- Trustane console: the agent check and the four Asterisk commands it runs
- Trustane console: what the check tells a manager to do about a softphone and a webphone