Page 1 of 1

Call Menu Option Set Status to CB

PostPosted: Tue Jun 26, 2018 4:13 pm
by thephaseusa
Hi,

In a call menu, if I have a dtmf option to schedule a call back, is there an AGI script to set status of that record to CB?

Thanks
John

Re: Call Menu Option Set Status to CB

PostPosted: Tue Jun 26, 2018 5:30 pm
by mflorell
Take a look at the cm_status_dial.agi script.

Re: Call Menu Option Set Status to CB

PostPosted: Tue Jun 26, 2018 5:44 pm
by thephaseusa
Thanks Matt I looked at it earlier, and thought it wasnt the right one)))

Re: Call Menu Option Set Status to CB

PostPosted: Tue Jun 26, 2018 5:47 pm
by blackbird2306
Also look at "cm_dnc_new.agi" script. But in both versions it's not possible to set a scheduled callback with callback_date or recipient. You are only able to set a normal status!

Re: Call Menu Option Set Status to CB

PostPosted: Tue Jun 26, 2018 6:29 pm
by thephaseusa
Thanks Blackbird I use the cm_dnc agi to record dnc requests for incoming calls.

I have a new recording for incoming survey that says press 1 to opt in press 2 for a call back press 9 to opt out.
I wasnt sure how to handle the press 2 option.
Would this set it to status call back: cm_status_dial.agi,CALLBK————-default

The example in the file says
cm_status_dial.agi,XFER——-917275551212——default

What do I put in the middle for CALLBK or CBHOLD?