How to send a call to a Ingroup from dialplan

All installation and configuration problems and questions

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

How to send a call to a Ingroup from dialplan

Postby saulortega » Wed Feb 25, 2015 8:54 am

Hello

I've programmed a AGI, and now I want to send a call from AGI or dialplan (in extensions.conf) to a Ingroup. How can I to do it? :roll:
saulortega
 
Posts: 118
Joined: Mon Jul 29, 2013 11:46 am

Re: How to send a call to a Ingroup from dialplan

Postby mflorell » Wed Feb 25, 2015 9:08 am

admin.php version and build?

How did you install Vicidial?

Are you using the DID inbound web configuration?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: How to send a call to a Ingroup from dialplan

Postby saulortega » Wed Feb 25, 2015 9:19 am

VERSION: 2.10-448a
BUILD: 140706-0927

Version: 2.10b0.5
SVN Version: 2153
DB Schema Version: 1385
DB Schema Update Date: 2015-02-20 20:53:03

It's a fresh installation from Vicibox 6.0.2

Yes, the incoming calls on DID are sent to Callmenu, from callmenu are sent to a AGI, now I want to send them from AGI or Dialplan to a Ingroup.
saulortega
 
Posts: 118
Joined: Mon Jul 29, 2013 11:46 am

Re: How to send a call to a Ingroup from dialplan

Postby mflorell » Wed Feb 25, 2015 12:35 pm

The flags for the options are documented in the comments of the agi-VDAD_ALL_inbound.agi script:
(you can also use the Call Menu options for an INGROUP and then go and see what the dialplan looks like after it has been generated in extensions-vicidial.conf)


# ; Below are the parameters needed for the script to be run properly
# ; 1. the method of call handling for the script:
# ; - CID - CID received, add record with phone number
# ; - CIDLOOKUP - Lookup CID to find record in whole system
# ; - CIDLOOKUPRL - Restrict lookup to one list
# ; - CIDLOOKUPRC - Restrict lookup to one campaign's lists
# ; - CIDLOOKUPALT - Lookup CID to find record in whole system by phone number then alt_phone
# ; - CIDLOOKUPRLALT - Restrict lookup to one list by phone number then alt_phone
# ; - CIDLOOKUPRCALT - Restrict lookup to one campaign's lists by phone number then alt_phone
# ; - CIDLOOKUPADDR3 - Lookup CID to find record in whole system by phone number then address3
# ; - CIDLOOKUPRLADDR3 - Restrict lookup to one list by phone number then address3
# ; - CIDLOOKUPRCADDR3 - Restrict lookup to one campaign's lists by phone number then address3
# ; - CIDLOOKUPALTADDR3 - Lookup CID to find record in whole system by phone number then alt_phone then address3
# ; - CIDLOOKUPRLALTADDR3 - Restrict lookup to one list by phone number then alt_phone then address3
# ; - CIDLOOKUPRCALTADDR3 - Restrict lookup to one campaign's lists by phone number then alt_phone then address3
# ; - CLOSER - Closer calls from VICIDIAL fronters(and previous in-group calls)
# ; - ANI - ANI received, add record with phone number (based on RBS T1s)
# ; - ANILOOKUP - Lookup ANI to find record in whole system
# ; - ANILOOKUPRL - Restrict lookup to one list
# ; - ANILOOKUPRC - Restrict lookup to one campaign's lists
# ; - VID - Add record with Vendor Lead Code received as argument 12
# ; - VIDLOOKUP - Lookup Vendor Lead Code received as argument 12 to find record in whole system
# ; - VIDLOOKUPRL - Restrict lookup to one list (argument 12)
# ; - VIDLOOKUPRC - Restrict lookup to one campaign's lists (argument 12)
# ; - VIDPROMPT - Prompt Vendor Lead Code to User with IVR to add record with Vendor Lead Code
# ; - VIDPROMPTLOOKUP - Prompt Vendor Lead Code to User with IVR to find record in whole system
# ; - VIDPROMPTLOOKUPRL - Restrict lookup to one list
# ; - VIDPROMPTLOOKUPRC - Restrict lookup to one campaign's lists
# ; - 3DIGITID - Enter 3 digit code to go to agent
# ; - 4DIGITID - Enter 4 digit code to go to agent
# ; - XDIGITID - Enter X digit code to go to agent(variable, i.e. 9DIGITID, 12DIGITID, etc...)
# ; 2. the method of searching for an available agent:
# ; - LO - Load Balance Overflow only (priority to home server)
# ; - LB - <default> Load Balance total system
# ; - SO - Home server only
# ; 3. the full name of the IN GROUP to be used in vicidial for the inbound call
# ; 4. the phone number that was called, for the log entry
# ; 5. the callerID or lead_id of the person that called(usually overridden)
# ; 6. the park extension audio file name if used
# ; 7. the status of the call initially(usually not used)
# ; 8. the list_id to insert the new lead under if it is new (and CID/ANI available)
# ; 9. the phone dialing code to insert with the new lead if new (and CID/ANI available)
# ; 10. the campaign_id to search within lists if CIDLOOKUPRC
# ; 11. the user to queue the call to for AGENTDIRECT in-group calls
# ; 12. vendor_lead_code if external mechanism like custom IVR is used to prompt user for ID
# ; you can also set the vendor_lead_code variable instead if you are using VIDPROMPT
# ; 13. VID enter prompt filename to play if method is set to a VID* option
# ; 14. VID you-have-entered filename to play if method is set to a VID* option
# ; 15. VID confirm prompt filename to play if method is set to a VID* option
# ; 16. VID digit length validation to use if method is set to a VID* option, set to empty or X to disable
#
# ;inbound VICIDIAL calls:
#exten => 1234,1,Answer ; Answer the line
#exten => 1234,2,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----INB-----7274515134-----Closer-----park----------999-----1-----OUTB)
#exten => 1234,3,Hangup
#
#; inbound VICIDIAL transfer calls [can arrive through PRI T1 crossover, IAX or SIP channel]
#exten => _90009.,1,Answer ; Answer the line
#exten => _90009.,2,AGI(agi-VDAD_ALL_inbound.agi,CLOSER-----LB-----CL_TESTCAMP-----7275551212-----Closer-----park----------999-----1)
#exten => _90009.,3,Hangup
#exten => _990009.,1,Answer ; Answer the line
#exten => _990009.,2,AGI(agi-VDAD_ALL_inbound.agi,CLOSER-----LB-----CL_TESTCAMP-----7275551212-----Closer-----park----------999-----1)
#exten => _990009.,3,Hangup
#; DID forwarded calls
#exten => _99909*.,1,Answer
#exten => _99909*.,2,AGI(agi-VDAD_ALL_inbound.agi)
#exten => _99909*.,3,Hangup
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: How to send a call to a Ingroup from dialplan

Postby saulortega » Thu Feb 26, 2015 10:15 am

Nice. It's now working. Thanks. :D
saulortega
 
Posts: 118
Joined: Mon Jul 29, 2013 11:46 am

Re: How to send a call to a Ingroup from dialplan

Postby ozapien » Thu Jul 09, 2020 9:36 am

Hi guys,

I'm trying to deploy the next:
1.- Incoming call is delivered into call menu
2.- Call menu send the user to an AGI
3.- The agi request the user to enter some pin
4.- The agi validate and get user infomration thgrouth API call to our backend.

From here is where I'm having problems:
I have a custom fields in one list. On the DID I setup "In-Group List ID" & "Filter In-Group List ID" with this list ID, as well in the campaign I setup "Get Call Launch" to launch the form
5.- I need to fill custom fields in the agent form tab and transfer the call to the agent from the AGI.


Hopefully you can helpme with this

Thanks regards!
ozapien
 
Posts: 2
Joined: Wed Jul 08, 2020 1:31 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 71 guests