Trigger Script when a call is received

Any and all non-support discussions

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

Trigger Script when a call is received

Postby rbbumanlag » Sat Aug 04, 2018 10:43 am

Hi,

Hi Vicidial, Specification: ViciBox 8.0.1.(iso) | Asterisk 11.25.3-vici | VERSION: 2.14-640a BUILD: 171114-1100 | Cluster Setup | Intel(R) Xeon(R) CPU E5-2680 V3 @ 2.5GHz | 16GB DDR4 RAM | 1TB (SAS) 10kRPM |No Digium/Sangoma Hardware | No Extra Software After Installation | Virtualized on XenServer

I wouldl like to know if there is a way to run a script after a call is received. I need to connect to an API to create a ticket when a call is received. I am thinking if I could do it through Timer Action then create a extension and add a script on the extesion. are there other ways?

Thanks!
rbbumanlag
 
Posts: 74
Joined: Mon Sep 26, 2016 10:37 am

Re: Trigger Script when a call is received

Postby mflorell » Sat Aug 04, 2018 2:59 pm

What kind of script?

Where do you want it to be triggered exactly?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Trigger Script when a call is received

Postby williamconley » Sat Aug 04, 2018 4:21 pm

Run script when receiving a call, before sending to agent: Modify DID: "Filter URL"
Run script when receiving a call, during send call to agent: Modify Ingroup: "Start Call URL"
Run script when making an outbound call, after a prospect answers, during send call to agent: Modify Campaign: "Start Call URL"
Run script IN AGENT WEB PAGE when receiving a call: Modify Ingroup: "Web Form" (only happens when a call lands in an agent screen) plus "Get Call Launch: Web Form".

Any of these could have a page that creates a ticket. The web form version could also display the ticket to the agent on the call after creating it.

There are several other options, of course.
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: Trigger Script when a call is received

Postby rbbumanlag » Sat Aug 11, 2018 8:23 pm

Thanks this is what I am looking for.
rbbumanlag
 
Posts: 74
Joined: Mon Sep 26, 2016 10:37 am

Re: Trigger Script when a call is received

Postby drodecker » Tue May 04, 2021 11:29 am

Found this useful; to expand upon it here are all the relevant In-Group options to trigger calling a web URL in the background:

    Enter In-Group URL
    Start Call URL
    Dispo Call URL
    No Agent Call URL
    Waiting Call URL On
    Waiting Call URL Off
    Add Lead URL
drodecker
 
Posts: 25
Joined: Wed Oct 09, 2019 11:18 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 52 guests