On-hook Agent doesn't work

All installation and configuration problems and questions

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

On-hook Agent doesn't work

Postby brando16 » Tue Jul 11, 2017 10:08 am

Hi all,

Please help me i need to use a phone for make calls and recevie calls from inbound group without login on agent web interface.
I try to configure an agent with On-hook Agent feature. I configured in the follow method:

FIRST CONFIGURATION
phone 8997
On-Hook Agent to Y

DID 998877 go to In_group TESTING
Group TESTING checked the agent with the phone 8997

DOESN'T WORK

SECOND CONFIGURATION
is the same of the above, create an remote agent and login into http://server_ip/vicidial/vdremote.php and inserted the agent with phone 8997 credentials.

DOESN'T WORK


The problem is the vicidial system doesn't recognize the phone for agent and then not call the phone.
The log file /var/log/astguiclient/agiout.DATE show this message "NNNNN No available balance agent found" and "ring_no_answer_agents reset".

All reply are appreciate.

Best regards,
Vicibox VERSION: 2.14-580a | BUILD: 161029-2304 | OpenSuSE v.42.1 64-bit | Kernel v.4.1.13 | Asterisk v.11.25.1-vici | DAHDI v.2.10.2 | LibPRI v.1.4.14 | Amfletec VoiceSync v.1.3.8 | ViciDial SVN Trunk v.2.12-533a build 161205-1650 revision 2461
brando16
 
Posts: 88
Joined: Tue Jul 30, 2013 11:00 am

Re: On-hook Agent doesn't work

Postby mflorell » Tue Jul 11, 2017 10:33 am

On-hook agent phones assumes you are using the vicidial.php agent screen.

If you want to use the vdremote.php screen then you need to use Remote Agents, which has nothing to do with a phone entry or the "On-Hook" settings.
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: On-hook Agent doesn't work

Postby brando16 » Tue Jul 11, 2017 10:36 am

thanks mflorell,

i need to use a phone for make calls and recevie calls from inbound group without login on agent web interface.

can you help me for do that?
Vicibox VERSION: 2.14-580a | BUILD: 161029-2304 | OpenSuSE v.42.1 64-bit | Kernel v.4.1.13 | Asterisk v.11.25.1-vici | DAHDI v.2.10.2 | LibPRI v.1.4.14 | Amfletec VoiceSync v.1.3.8 | ViciDial SVN Trunk v.2.12-533a build 161205-1650 revision 2461
brando16
 
Posts: 88
Joined: Tue Jul 30, 2013 11:00 am

Re: On-hook Agent doesn't work

Postby mflorell » Tue Jul 11, 2017 1:17 pm

Remote Agents can do that.

Do you have the Manager manual?
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: On-hook Agent doesn't work

Postby brando16 » Wed Jul 12, 2017 2:09 am

I have manager manual but inside there is FREE SAMPLE version @2014 Vicidial group is correct?
Vicibox VERSION: 2.14-580a | BUILD: 161029-2304 | OpenSuSE v.42.1 64-bit | Kernel v.4.1.13 | Asterisk v.11.25.1-vici | DAHDI v.2.10.2 | LibPRI v.1.4.14 | Amfletec VoiceSync v.1.3.8 | ViciDial SVN Trunk v.2.12-533a build 161205-1650 revision 2461
brando16
 
Posts: 88
Joined: Tue Jul 30, 2013 11:00 am

Re: On-hook Agent doesn't work

Postby brando16 » Wed Jul 12, 2017 2:44 am

thanks Matt,

i have only free version, but is only defined remote agent meaning, but not the configuration.

Remote agents is my goal!!!

I don't find how to configure a user for work, can you explain me, please?
Vicibox VERSION: 2.14-580a | BUILD: 161029-2304 | OpenSuSE v.42.1 64-bit | Kernel v.4.1.13 | Asterisk v.11.25.1-vici | DAHDI v.2.10.2 | LibPRI v.1.4.14 | Amfletec VoiceSync v.1.3.8 | ViciDial SVN Trunk v.2.12-533a build 161205-1650 revision 2461
brando16
 
Posts: 88
Joined: Tue Jul 30, 2013 11:00 am

Re: On-hook Agent doesn't work

Postby mflorell » Wed Jul 12, 2017 7:09 am

Here's tutorial G from the paid manual:



G. Set up a remote agent to be able to take calls from an Outbound
Campaign or an Inbound Ingroup.

This feature in VICIdial allows remote agents to login at the beginning of the day to take inbound,
outbound, or blended calls; until they log back out and deactivate their agent session. This is a good
tool for sales people on the road or tech support where a technician may not be in the office and on the
office phone system for the entire day. Anytime where the agent would need to take calls, has access
to a phone, but no access to a computer. If recording is enabled for both the User & Campaign (either
ALLCALLS or ALLFORCE), then the remote agents will be recorded also.

1. Go to the REMOTE AGENTS section of the VICIdial admin website and click on the ADD NEW
REMOTE AGENTS.
2. For this tutorial we will use the these values for the fields on the NEW REMOTE AGENTS form:
User ID start: 7777 (this is the existing ID we created in Tutorial B)
Number of Lines: 1
Server IP: select your active server
External Extension: 917275551212 (this is the number you would dial from the Dialer system
to get to the phone you want to call. It needs to contain the carrier prefix + 1 + the area code &
phone number.)
Status: INACTIVE (this is what we change to ACTIVE when we are ready to take calls, and
back to INACTIVE when we do not want to take calls anymore)
Campaign: TEST_IN
Inbound groups: check the SALESLINE check box (for outbound only dialing, do not select
and Ingroup.)
3. Have the agent login to the vdremote.php page to activate their session to take calls:
http://server-address/VICIdial/vdremote.php
change the status from INACTIVE to ACTIVE and click SUBMIT
NOTE: This screen also allows for viewing of call information when calls come in.
4. When a call comes in to the SALESLINE in-group number and the 7777 agent is the next to take a
call, a call will be placed to the "external extension" of the remote agent and the call will be passed to
that line upon connection.
5. The remote agent can do things like view caller ID of the caller and disposition the call in the
vdremote.php screen if they want to and have access to a web browser while on a phone call.
6. When the remote agent is done taking calls for the session, they just need to login to vdremote.php,
change their status to INACTIVE and click SUBMIT. The deactivation of the account can take up to
one minute.
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: On-hook Agent doesn't work

Postby brando16 » Wed Jul 12, 2017 9:31 am

I do that, but doesn't work for me.

I created a remote agent:
User ID start: inserted an existant User_ID on agent have 8 level permission (ie agent01).
Number of Lines: 1
Server IP: ip of the server where phone is connected
External Extension: 917275551212 (I have insterted an absolute number with all prefix, check the number from the phone and the dialer calls)
Status: ACTIVE
Campaign: TEST
Inbound groups: checked Test_ING

and then login into vdremote.php and a call the number for the inbound group.
the call enter in the in-group, and remain in hold with musiconhold (class default).
The phone 8997 is connected to the agent01 in agent modify screen.

the CLI of asterisk produce this:
Code: Select all
-- Executing [999888777@trunkinbound:1] AGI("SIP/axel-00063b6e", "agi-DID_route.agi") in new stack
[Jul 12 16:28:38]     -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Jul 12 16:28:38]     -- <SIP/axel-00063b6e>AGI Script agi-DID_route.agi completed, returning 0
[Jul 12 16:28:38]     -- Executing [99909*79***DID@default:1] Answer("SIP/axel-00063b6e", "") in new stack
[Jul 12 16:28:38]        > 0x7f1de0091190 -- Probation passed - setting RTP source address to 10.0.0.153:12116
[Jul 12 16:28:38]     -- Executing [99909*79***DID@default:2] AGI("SIP/axel-00063b6e", "agi-VDAD_ALL_inbound.agi") in new stack
[Jul 12 16:28:38]     -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
[Jul 12 16:28:38] NOTICE[17894][C-00068bc3]: channel.c:4302 __ast_read: Dropping incompatible voice frame on SIP/axel-00063b6e of format ulaw since our native format has changed to (alaw)
[Jul 12 16:28:38]     -- <SIP/axel-00063b6e> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'it')
[Jul 12 16:28:38]     -- <SIP/axel-00063b6e> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'it')
[Jul 12 16:28:40]     -- Started music on hold, class 'default', on SIP/axel-00063b6e
[Jul 12 16:28:43]     -- Stopped music on hold on SIP/axel-00063b6e
[Jul 12 16:28:43]     -- <SIP/axel-00063b6e> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'it')
[Jul 12 16:28:43]     -- <SIP/axel-00063b6e> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'it')
[Jul 12 16:28:43]     -- <SIP/axel-00063b6e> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'it')
[Jul 12 16:28:43]     -- <SIP/axel-00063b6e> Playing 'generic_hold.gsm' (escape_digits=) (sample_offset 0) (language 'it')
[Jul 12 16:28:49]     -- Started music on hold, class 'default', on SIP/axel-00063b6e
[Jul 12 16:28:52]     -- Stopped music on hold on SIP/axel-00063b6e
[Jul 12 16:28:52]     -- <SIP/axel-00063b6e>AGI Script agi-VDAD_ALL_inbound.agi completed, returning 4
[Jul 12 16:28:52]   == Spawn extension (default, 99909*79***DID, 2) exited non-zero on 'SIP/axel-00063b6e'
[Jul 12 16:28:52]     -- Executing [h@default:1] AGI("SIP/axel-00063b6e", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Jul 12 16:28:52]     -- <SIP/axel-00063b6e>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0


i need to work on this feature for leave the AVAYA solution (AVAYA OneX)

thanks for the support
Vicibox VERSION: 2.14-580a | BUILD: 161029-2304 | OpenSuSE v.42.1 64-bit | Kernel v.4.1.13 | Asterisk v.11.25.1-vici | DAHDI v.2.10.2 | LibPRI v.1.4.14 | Amfletec VoiceSync v.1.3.8 | ViciDial SVN Trunk v.2.12-533a build 161205-1650 revision 2461
brando16
 
Posts: 88
Joined: Tue Jul 30, 2013 11:00 am

Re: On-hook Agent doesn't work

Postby mflorell » Wed Jul 12, 2017 10:06 am

Does the agent show up in the real-time report?
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: On-hook Agent doesn't work

Postby brando16 » Thu Jul 20, 2017 10:28 am

hi,
the agent shows in the realtime screen only if created with number instead letter for user id.
Almost all agents are with letter only the remote must be a number id.

Thanks to all
Vicibox VERSION: 2.14-580a | BUILD: 161029-2304 | OpenSuSE v.42.1 64-bit | Kernel v.4.1.13 | Asterisk v.11.25.1-vici | DAHDI v.2.10.2 | LibPRI v.1.4.14 | Amfletec VoiceSync v.1.3.8 | ViciDial SVN Trunk v.2.12-533a build 161205-1650 revision 2461
brando16
 
Posts: 88
Joined: Tue Jul 30, 2013 11:00 am


Return to Support

Who is online

Users browsing this forum: No registered users and 58 guests