Inbound Agents no receiving calls

All installation and configuration problems and questions

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

Inbound Agents no receiving calls

Postby Mequetref43 » Mon Jul 11, 2016 10:01 am

Hi everyone, thanks for all the information and suggestions posted on the forum.

I´ve been seeking along the last days but i must be missing something.


VERSION: 2.12-560a
BUILD: 160617-1427
© 2016 ViciDial Group
Asterisk 11.22.0

I setup a carrier, the extensions, the users, the campaign, the DIDs and users groups also.

I´m logged as an agent, i also can receive calls on the extension or on the phone. Al so i can make outbound calls too.

But i´m absolutely unable to make the agent to receive calls.

ASTERISK CLI with DID 252533


vicibox7*CLI>
[Jul 11 16:53:03] == Using SIP RTP CoS mark 5
[Jul 11 16:53:03] -- Executing [252533@trunkinbound:1] AGI("SIP/LOCAL-00000077", "agi-DID_r oute.agi") in new stack
[Jul 11 16:53:03] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_request: agi-DID_route.agi
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_channel: SIP/LOCAL-00000077
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_language: en
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_type: SIP
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_uniqueid: 1468248783.172
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_version: 11.22.0-vici
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_callerid: 1002
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_calleridname: Buxter
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_callingpres: 0
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_callingani2: 0
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_callington: 0
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_callingtns: 0
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_dnid: 252533
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_rdnis: unknown
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_context: trunkinbound
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_extension: 252533
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_priority: 1
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_enhanced: 0.0
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_accountcode:
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >> agi_threadid: 139862791739136
[Jul 11 16:53:03] <SIP/LOCAL-00000077>AGI Tx >>
[Jul 11 16:53:03] == Manager 'sendcron' logged on from 127.0.0.1
[Jul 11 16:53:04] == Manager 'sendcron' logged on from 127.0.0.1
[Jul 11 16:53:04] == Manager 'sendcron' logged off from 127.0.0.1
[Jul 11 16:53:04] == Manager 'sendcron' logged off from 127.0.0.1
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Rx << SET CONTEXT default
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> 200 result=0
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Rx << SET EXTENSION 99909*6***DID
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> 200 result=0
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Rx << SET PRIORITY 1
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> 200 result=0
[Jul 11 16:53:04] -- <SIP/LOCAL-00000077>AGI Script agi-DID_route.agi completed, returning 0
[Jul 11 16:53:04] -- Executing [99909*6***DID@default:1] Answer("SIP/LOCAL-00000077", "") i n new stack
[Jul 11 16:53:04] > 0x7f3488035600 -- Probation passed - setting RTP source address to 1 92.168.10.150:13720
[Jul 11 16:53:04] -- Executing [99909*6***DID@default:2] AGI("SIP/LOCAL-00000077", "agi-VDA D_ALL_inbound.agi") in new stack
[Jul 11 16:53:04] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_inbound.a gi
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_request: agi-VDAD_ALL_inbound.agi
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_channel: SIP/LOCAL-00000077
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_language: en
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_type: SIP
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_uniqueid: 1468248783.172
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_version: 11.22.0-vici
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_callerid: 1002
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_calleridname: Buxter
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_callingpres: 0
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_callingani2: 0
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_callington: 0
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_callingtns: 0
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_dnid: 252533
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_rdnis: unknown
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_context: default
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_extension: 99909*6***DID
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_priority: 2
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_enhanced: 0.0
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_accountcode:
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >> agi_threadid: 139862791739136
[Jul 11 16:53:04] <SIP/LOCAL-00000077>AGI Tx >>
[Jul 11 16:53:06] -- <SIP/LOCAL-00000077>AGI Script agi-VDAD_ALL_inbound.agi completed, ret urning 0
[Jul 11 16:53:06] -- Executing [99909*6***DID@default:3] Hangup("SIP/LOCAL-00000077", "") i n new stack
[Jul 11 16:53:06] == Spawn extension (default, 99909*6***DID, 3) exited non-zero on 'SIP/LOCA L-00000077'
[Jul 11 16:53:06] -- Executing [h@default:1] AGI("SIP/LOCAL-00000077", "agi://127.0.0.1:457 7/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Jul 11 16:53:06] AGI Tx >> agi_network: yes
[Jul 11 16:53:06] AGI Tx >> agi_network_script: call_log--HVcauses--PRI-----NODEBUG-----16----- ----------
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log--HVc auses--PRI-----NODEBUG-----16---------------
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_channel: SIP/LOCAL-00000077
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_language: en
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_type: SIP
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_uniqueid: 1468248783.172
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_version: 11.22.0-vici
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_callerid: 1002
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_calleridname: Buxter
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_callingpres: 0
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_callingani2: 0
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_callington: 0
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_callingtns: 0
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_dnid: 252533
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_rdnis: unknown
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_context: default
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_extension: h
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_priority: 1
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_enhanced: 0.0
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_accountcode:
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> agi_threadid: 139862791739136
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >>
[Jul 11 16:53:06] -- <SIP/LOCAL-00000077>AGI Script agi://127.0.0.1:4577/call_log--HVcauses --PRI-----NODEBUG-----16--------------- completed, returning 0
[Jul 11 16:53:06] <SIP/LOCAL-00000077>AGI Tx >> HANGUP

Carrier configuration at Dialplan Entry:

exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,2,Dial(${local2}/${EXTEN},,To)
exten => _X.,3,Hangup

Does anyone how to solve this "problem"?

Thanks in advance.

O.Alv.
Mequetref43
 
Posts: 19
Joined: Mon Jul 11, 2016 9:04 am

Re: Inbound Agents no receiving calls

Postby williamconley » Tue Jul 12, 2016 3:25 am

I absolutely know how to solve this problem. In just a few baby steps. :)

1) Download the Vicidial Manager's Manual, which is available Free at EFLO.net (there is also a paid version, which I highly recommend).
2) Start at page one of the manual.
3) Work your way through the manual.
4) (Most important step:) Don't skip anything. Even if you're sure you don't need to do it. Even if you've done it already. Especially if you're a linux person. In fact, I've had several linux professionals find out that someone with LESS experience can do this easier.
5) IF (heaven forbid) you bump into a problem: Bring us the version of the manual, the page, and the line number where you "hit your snag". Include the expected response and actual response. Also include pertinent configuration information and asterisk CLI output related to your problem.

In your case, you did not include the configuration information for the DID, which leads me to believe that you may have jumped around a bit during configuration by using "common sense" and "I know how to do this" instead of The Manual.

So go back and do it right. Slowly. Wipe the server clean and start over if you have to. You'd be surprised at how helpful That Alone can be. (If you fear the Reinstall, it'll always seem like magic to you ... but if you've installed Vicidial 5-10 times by the time you get a clean run all the way through the manual ...there will be NO magic and you'll be comfortable with the possibility that some day a dead HD will REQUIRE a reinstall!)

Also: DIDs (as a rule) are more than six digits. Considering that the DID script fired ... but then decided to terminate the call, that missing DID configuration is essential. But there are so many details involved in setting up inbound that using the manual and working from beginning to end without skipping anything is more important than anything else. Learning that now will probably save you hundreds of hours (and a lot of hair) down the road. 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Inbound Agents no receiving calls

Postby Mequetref43 » Wed Sep 14, 2016 3:18 am

Thank you very much William.

I just throw it all and start again two times.

Now it all works great.

The problem must be in some option i enabled/disabled, but at the end works great.

There is some misunderstanding in the manager manual for vicidial 2.9, 2014-06-12 version, at page 12 tutorial B, item 5 and 6:

- "Have the agent log into VICIdial agent interface script with the phone login(Login) of "201" and phone password (Login Password) of "test"."

If don´t have a campaign created it isn´t works. The login asks for campaign.

First we have to create a campaign and make the agent log into that campaign. So the creation of the campaign must be first than login to receive/make calls.

"6.- Within a few seconds the agent´s phone should ring and they will be logged into VICIdial and can proceed as normal..."

If there is no campaign you just can´t be logged on the system.

Just for complete on the manual.

My problem was to try to make the campaign and check another options to make it work.

Thanks again.
Mequetref43
 
Posts: 19
Joined: Mon Jul 11, 2016 9:04 am

Re: Inbound Agents no receiving calls

Postby williamconley » Thu Sep 15, 2016 9:06 pm

So you're saying that the Vicidial Manager's Manual says to log the agent into the Campaign on a page BEFORE the instructions for creating a campaign? Really?

So you say the agent log in instructions are on page 12 ... what page are the Create a Campaign instructions on?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Inbound Agents no receiving calls

Postby Mequetref43 » Thu Sep 22, 2016 1:20 am

Good morning William,

i´m not saying that.

What i´m telling it´s about tutorial B "Add new SIP or IAX phone to the system" on point 5 and 6.

The tutorial guides you to log and receive calls. But the login after phone login, ask you to enter user, password and campaign.


Agent Screen Campaign Login

User Login:
User Password:
Campaign:
SUBMIT Refresh Campaign List

VERSION: 2.12-496c BUILD: 160915-0955

But the tutorial didn´t talk about campaign or user creation still, so we must continue to make the phone and user (agent) logged.
Mequetref43
 
Posts: 19
Joined: Mon Jul 11, 2016 9:04 am

Re: Inbound Agents no receiving calls

Postby williamconley » Tue Oct 18, 2016 8:56 pm

I swear you just said "No! That's not what I said ..." and then repeated what I said making it a yes.

Let's try this again:

What page are You on when you bump into your problem?

What page is "Campaign creation" on?

Is the "Campaign Creation" page before the page you are presently on?

User creation is not relevant as the user can be "6666" which is automatically created.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 85 guests

cron