Use Non-agent api to dial lead 7 days later

All installation and configuration problems and questions

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

Use Non-agent api to dial lead 7 days later

Postby dspaan » Fri May 22, 2020 2:57 pm

Is there a way use the dispo URL feature to create a new lead in another list with the add_lead function where the lead is callable only 7 days later?

I know there is a callback=Y feature but you have to either specify callback_datetime is NOW or a specific date. But i'm looing for something like '7days' just like in the automated reports section.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Use Non-agent api to dial lead 7 days later

Postby williamconley » Fri May 22, 2020 3:08 pm

Simplest method would be to use a filter to block leads "dialed with 7 days with that specific disposition". No dispo url required ... but with dispo url you could create a callback with a php script for seven days into the future assigned to the originating agent or "anyone".
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: Use Non-agent api to dial lead 7 days later

Postby dspaan » Fri May 22, 2020 3:14 pm

Of course! I forgot about the filer feature. Thanks!

I guess it would have to be something with entry_date > 7 days. Could you help me with the exact statement?
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Use Non-agent api to dial lead 7 days later

Postby williamconley » Fri May 22, 2020 3:19 pm

last call, not entry.
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: Use Non-agent api to dial lead 7 days later

Postby dspaan » Fri May 22, 2020 3:28 pm

But wouldn't that mean every call is 7 days apart? I only need it for the NEW leads in the list. I would use the dispo_move script and then delay fresh leads. After that they can be dialed regularly.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Use Non-agent api to dial lead 7 days later

Postby dspaan » Fri May 22, 2020 4:05 pm

Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Use Non-agent api to dial lead 7 days later

Postby williamconley » Fri May 22, 2020 4:08 pm

They are not new any more after they've been dialed. The original request made no mention of "NEW". But if you want to include the dial count in the sql filter, that would likely be useful for "2nd call 7 day wait" if that's the goal.
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: Use Non-agent api to dial lead 7 days later

Postby dspaan » Fri May 22, 2020 4:10 pm

I used the dispo move script where the original status was 'sale' so i used this and it works for my goal:

( ( (status='sale') and (last_local_call_time < CONCAT(DATE_ADD(CURDATE(), INTERVAL -7 DAY),' ',CURTIME()) ) ) or (status != 'sale') )
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 123 guests