I never figured out how to used 10DIGITID functionality, and I wanted to have the possibility of LOOKUP with vendor_lead_code.
You will need three new sound prompts that are documented in the code to try the functionality:
# ; please-enter-id-number - "Please enter your ID Number followed by #.
# ; id-number - "Your ID number is"
# ; confirm-id-number - "Press 1 if it is correct. Press 2 to repeat entry."
I have some Spanish prompts recorded at a client site, but I think you will need some English prompts for Vicidial.
Here is an example from extensions-vicidial.conf which was generated by a Call Menu using Route:AGI:
exten => 3,1,AGI(agi-VDAD_ALL_inbound_sapian.agi,VIDPROMPT-----LB-----GENERAL-----IVR_Principal-----Closer-----park----------999-----57-----TESTMAN)
I just pasted the following text to the Route:AGI in the administration interface:
agi-VDAD_ALL_inbound_sapian.agi,VIDPROMPT-----LB-----GENERAL-----IVR_Principal-----Closer-----park----------999-----57-----TESTMAN
It would be much easier to use the functionality with a very simple modification to the Call Menu section of the Administration Interface. By adding VIDPROMPT, VIDPROMPTLOOKUP, VIDPROMPTLOOKUPRL, VIDPROMPTLOOKUPRC to the "Handle Method Select Box" of Route:InGroup, it will simply work like the other methods.
I would not recommend to add VID, VIDLOOKUP, VIDLOOKUPRL, VIDLOOKUPRC to the interface, because they are designed to be used from external scripts. I will try to explain it with the following scenario:
- You have an external IVR that prompts the user for user, pass, etc. and authenticates user by querying an external database.
- The external IVR determines to which InGroup the call should be passed to. The external IVR sets the XINGROUP y XIDNUM channel variables.
- The call is passed to the correct InGroup using the following dialplan excerpt:
exten => 1,1,AGI(agi-VDAD_ALL_inbound_sapian.agi,VIDLOOKUPRC-----LB-----${XINGROUP}-----AUTH_IVR-----Closer-----park----------999-----57-----TESTMAN----------${XIDNUM})