Page 1 of 1

Custom Callback

PostPosted: Fri Oct 16, 2020 1:30 am
by Zaraab
I want my vicidial to dial numbers with custom callback time.

Suppose I have made a php data input form, and from there I will insert phone numbers and the call back time.
How to do it?

Which database/table/column should I use and how to convince my asterisk to dial the numbers from a list where those callback numbers are inputted?

Re: Custom Callback

PostPosted: Fri Oct 16, 2020 2:27 am
by striker
you make use the vicidial non-agent api for add lead with callback details

http://www.vicidial.org/docs/NON-AGENT_API.txt

http://server/vicidial/non_agent_api.ph ... ts+go+here

callback - Y or N, default is N. Set this lead as a scheduled callback. campaign_id field is REQUIRED for callbacks
callback_status - 1-6 Character, callback status to use, default is CALLBK (vicidial_list status will be set to CBHOLD to lock)
callback_datetime - YYYY-MM-DD+HH:MM:SS, date and time of scheduled callback. REQUIRED if callback is set. NOW can be used for current datetime.
callback_type - USERONLY or ANYONE, default is ANYONE
callback_user - User ID the USERONLY callback is assigned to
callback_comments - Optional comments to appear when the callback is called back
lookup_state - Y or N, default is N. Looks up state field from areacode list. Only works if the 'state' field is not populated.