Page 1 of 1

Owner only dialing

PostPosted: Sun Feb 03, 2013 7:31 am
by szulfaz
Hi guys,

Cracking my head on this for 2 days already...
I am trying to use Owner Only Dialing.
I have set:
Dial Method : Manual
Allow No-Hopper-Leads Logins: Y
No Hopper Dialing: Y
Owner Only Dialing:USER
I have also set the owner of the lead to the user ID.

However, when I click on "Dial next number" in the agent web client, error "No more leads in the hopper for campaign" appears.
I can see the lead is set as dialable in the campaign setting.
Is there a setting that I am missing?

Thanks a lot.

Best regards.

Ubuntu 12.04.1 LTS | Vicidial version: 2.4-364a BUILD: 120409-1136 | Asterisk 1.4.39.1-vici | Amazon EC2 instance | Single server | No Digium/Sangoma Hardware | No Extra Software After Installation

Re: Owner only dialing

PostPosted: Sun Feb 03, 2013 5:09 pm
by williamconley
where did you get your instructions for owner-only dialing to begin with?

does this system function properly otherwise (since you did not post your installation instructions or a link to them and you have a non-standard installation, it is a fair concept that your system may simply not work ... so I have to ask ...)? As in: autodial works, manual dialing works, sound in both directions, etc.

Re: Owner only dialing

PostPosted: Mon Feb 04, 2013 4:11 am
by szulfaz
I got the instructions to enable "Owner Only Dialing" from http://www.vicidial.org/VICIDIALforum/viewtopic.php?t=23215.

My installation was based on VICIdial_for_Dummies_20100331.pdf. (Sorry I am unable to post a link to this file since I am a new user)
The difference being:
1. I used Ubuntu 12.04 instead of 8.04
2. Dahdi instead of Zaptel
3. Asterisk 1.4.39 instead of 1.4.21.2

What currently works:
There is 2 way audio on all calls.
I can make calls via manual dial by entering a phone number in the agent interface.
If I set "No Hopper Dialing" to "No", I can make calls by clicking on the "Dial next number" button.
For now, the only thing that does not work is "Owner Only Dialing".

Thank you for your assistance.

Best regards.

Re: Owner only dialing

PostPosted: Mon Feb 04, 2013 3:27 pm
by williamconley
have you verified in mysql that the userid is set to the same value as the user attempting to dial?

Re: Owner only dialing

PostPosted: Mon Feb 04, 2013 8:53 pm
by szulfaz
I just checked and confirmed that the user is the same as the owner field in mysql.

For your reference, this is shown at the top of the agent interface:
Logged in as User : 13101 on Phone: IAX2/PX301 to campaign: TM13
Below is the lead record from table vicidial_list:

lead_id: 71
entry_date: NULL
modify_date: 2013-02-05 08:47:11
status: NEW
user: NULL
vendor_lead_code:
source_id: NULL
list_id: 1310
gmt_offset_now: 0.00
called_since_last_reset: N
phone_code:
phone_number: 60123456789
title: Mr
first_name: Lex
middle_initial:
last_name: Luthor
address1:
address2:
address3:
city:
state:
province:
postal_code:
country_code:
gender: U
date_of_birth: NULL
alt_phone:
email:
security_phrase:
comments:
called_count: 0
last_local_call_time: NULL
rank: 0
owner: 13101
entry_list_id: 0

Thank you.

Re: Owner only dialing

PostPosted: Mon Feb 04, 2013 9:25 pm
by williamconley
In which case i've never used that function and do not have enough information to debug it for you. I'd have to actually test it personally and (honestly) just don't have time. Shoulda caught me over Christmas break. :)

Re: Owner only dialing

PostPosted: Mon Feb 04, 2013 11:29 pm
by szulfaz
Thanks for trying :D

Anyone have any ideas?

Re: Owner only dialing

PostPosted: Tue Feb 05, 2013 10:13 am
by szulfaz
You nailed it. I took a closer look at the mysql table as suggested and noticed that the user field was empty although the owner field was correctly set. So I just ran a mysql query to update the user field to match the owner field.... and now everything works :shock:

Re: Owner only dialing

PostPosted: Tue Feb 05, 2013 7:11 pm
by williamconley
And that would be why Matt made it "sound so easy" ... ;)

Now stick around and help newbies!!

Re: Owner only dialing

PostPosted: Wed Feb 06, 2013 4:32 am
by szulfaz
Being a newbie myself, I'll try and help what I can :)

Re: Owner only dialing

PostPosted: Thu Aug 14, 2014 6:11 am
by Trying
I took a closer look at the mysql table as suggested and noticed that the user field was empty although the owner field was correctly set. So I just ran a mysql query to update the user field to match the owner field


Could someone please be so kind and tell me what this exact MYSQL query will be? We are experiencing the same problem.

Re: Owner only dialing

PostPosted: Thu Aug 14, 2014 6:53 am
by mflorell
The user field does not need to be set for owner only manual dialing to work.

Re: Owner only dialing

PostPosted: Thu Aug 14, 2014 7:08 am
by Trying
Thanks for the fast reply Matt. On the screen for the list it shows the two owners and that each are allocated 25 leads to. However on the live report and on the agent system it shows 0 dialable leads. The campaign is set to manual and to no hopper dialing.

Re: Owner only dialing

PostPosted: Thu Aug 14, 2014 8:43 am
by Trying
I created a new campaign and now it works.

Re: Owner only dialing

PostPosted: Thu Aug 14, 2014 12:05 pm
by williamconley
Good post back. You should consider checking the new/old sql entries for those two campaigns and see what the technical difference is. We've found that a NULL vs '' (blank, zero length string) is enough to break functionality. And sometimes there is a difference in certain fields based on whether the record is "new" vs "duplicated" vs "edited from a prior version of Vicidial". So close scrutiny could find your problem ... unless you no longer care because "it just works", LOL