jueves, 29 de noviembre de 2018

Re: Music-On-Hold Not working on Survey Campaign



Re: Music-On-Hold Not working on Survey Campaign


MOH is for inbound, not outbound. Drop the surveys to an ingroup for MOH. Agents can still get the calls, they'll just get them from the ingroup. 

The rest of your questions are unrelated to "Music-On-Hold Not working on Survey Campaign", thus it would be impractical to answer them in this thread. Create a new post for each question or add them to existing relevant quotes.

domingo, 25 de noviembre de 2018

Call Menu Repoting & Real Time Tracking

Call Menu Repoting & Real Time Tracking

Postby mflorell » Wed Jun 13, 2018 8:17 am
If the call goes to a Call Menu with no lead_id attached, then it will not log the key presses to any lead.

How are the calls getting to the Call Menu?
mflorell
Site Admin
 
Posts: 17071
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Call Menu Repoting & Real Time Tracking

Postby ZeeTech » Wed Jun 13, 2018 8:24 am
Calls are coming through a DID number. 
DID Route: is set to required Call Menu, how we can enable lead_id ?
ZeeTech
 
Posts: 68
Joined: Sun Apr 04, 2010 5:45 am

Re: Call Menu Repoting & Real Time Tracking

Postby mflorell » Wed Jun 13, 2018 9:22 am
You have to send the call through a closed In-Group and then to the Call Menu if you want a lead_id to be tied to the call when it's in the call menu.

We usually create a "always_closed" Call Time and use that for the initial in-group, then set the after-hours action to the call menu.

If you do this, be sure to use the CLOSER option when sending calls from the call menu into the different destination in-groups, because the call will already be tagged 

adding lead to vicidial using NON-AGENT API

http://207.246.65.53/vicidial/non_agent_api.php?source=test&user=6666&pass=12345&function=add_lead&phone_number=8095608344&phone_code=1&list_id=1000&dnc_check=N&first_name=Ambiorix&last_name=Rodriguez&postal_code=11605&active=Y&address1=Santo+Domingo+Oeste&comments=Addeded+Using+API

SUCCESS: add_lead LEAD HAS BEEN ADDED - 80992222501|1000|24519|-4|6666


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

--------------------------------------------------------------------------------
add_lead - adds a new lead to the vicidial_list table with several fields and options

NOTE: api user for this function must have modify_leads set to 1 and user_level
      must be set to 8 or higher

REQUIRED FIELDS-
phone_number -  must be all numbers, 6-16 digits
phone_code -  must be all numbers, 1-4 digits, defaults to 1 if not set
list_id -  must be all numbers, 3-12 digits, defaults to 999 if not set
source -  description of what originated the API call (maximum 20 characters)

SETTINGS FIELDS-
dnc_check -  Y, N or AREACODE, default is N
campaign_dnc_check - Y, N or AREACODE, default is N
campaign_id -  2-8 Character campaign ID, required if using campaign_dnc_check or callbacks
add_to_hopper -  Y or N, default is N
hopper_priority - 99 to -99, the higher number the higher priority, default is 0
hopper_local_call_time_check - Y or N, default is N. Validate the local call time and/or state call time before inserting lead in the hopper
duplicate_check - Check for duplicate records in the system, can select more than one (duplicate_check=DUPLIST-DUPTITLEALTPHONELIST)
   If duplicate is found, will return error, the duplicate data and lead_id and list_id of existing record
   Here are the duplicate_check options:
    DUPLIST - check for duplicate phone_number in same list
    DUPCAMP - check for duplicate phone_number in all lists for this list's campaign
    DUPSYS - check for duplicate phone_number in entire system
    DUPTITLEALTPHONELIST - check for duplicate title and alt_phone in same list
    DUPTITLEALTPHONECAMP - check for duplicate title and alt_phone in all lists for this list's campaign
    DUPTITLEALTPHONESYS - check for duplicate title and alt_phone in entire system
    DUPNAMEPHONELIST - check for duplicate first_name, last_name and phone_number in same list
    DUPNAMEPHONECAMP - check for duplicate first_name, last_name and phone_number in all lists for this list's campaign
    DUPNAMEPHONESYS - check for duplicate first_name, last_name and phone_number in entire system
     "  90DAY - Added to one of the above duplicate checks(i.e. "DUPSYS90DAY"), only checks leads loaded in last 90 days
usacan_prefix_check - Y or N, default is N. Check for a valid 4th digit for USA and Canada phone numbers (cannot be 0 or 1)
usacan_areacode_check - Y or N, default is N. Check for a valid areacode for USA and Canada phone numbers(also checks for 10-digit length)
nanpa_ac_prefix_check - Y or N, default is N. Check for a valid NANPA areacode and prefix, if optional NANPA data is on the system
custom_fields -  Y or N, default is N. Defines whether the API will accept custom field data when inserting leads into the vicidial_list table
   For custom fields to be inserted, just add the field label as a variable to the URL string
   For example, if the field_label is "favorite_color" you would add "&favorite_color=blue"
tz_method -  <empty>, POSTAL, TZCODE or NANPA, default is <empty> which will use the country code and areacode for time zone lookups
    POSTAL relies on the postal_code field
    TZCODE relies on the owner field being populated with a proper time zone code
    NANPA relies on the optional NANPA areacode prefix data being loaded on your system
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.

(for fields with spaces in the values, you can replace the space with a plus + sign[address, city, first_name, etc...])
OPTIONAL FIELDS- 
vendor_lead_code - 1-20 characters
source_id  -  1-50 characters
gmt_offset_now - overridden by auto-lookup of phone_code and area_code portion of phone number if applicable
title -   1-4 characters
first_name -  1-30 characters
middle_initial - 1 character
last_name -  1-30 characters
address1 -  1-100 characters
address2 -  1-100 characters
address3 -  1-100 characters
city -   1-50 characters
state -   2 characters
province -  1-50 characters
postal_code -  1-10 characters
country_code -  3 characters
gender -  U, M, F (Undefined, Male, Female) - defaults to 'U'
date_of_birth -  YYYY-MM-DD
alt_phone -  1-12 characters
email -   1-70 characters
security_phrase - 1-100 characters
comments -  1-255 characters
multi_alt_phones - 5-1024 characters (see examples for more info)
rank -   1-5 digits
owner -   1-20 characters (user ID, Territory or user group)
entry_list_id -  WARNING! ONLY USE IF YOU KNOW WHAT YOU ARE DOING, CAN BREAK CUSTOM FIELDS! (must be all numbers, 3-12 digits, will not work if custom_fields is set to Y)


Multi-ALT-Phones format:

7275551212_1_work!7275551213_1_sister+house!1234567890_1_neighbor

The multi-alt-phones field is formatted as a field of phone-number/phone-code/phone-note set of data(phone code and alt_note are both optional and the phone code can be overridden by the force phone code flag). The record delimiter is an exclamation point with the optional phone code and note delimited within the record by an underscore character _.


Example URL strings for API calls:
http://server/vicidial/non_agent_api.php?source=test&user=6666&pass=1234&function=add_lead&phone_number=7275551111

http://server/vicidial/non_agent_api.php?source=test&user=6666&pass=1234&function=add_lead&phone_number=7275551212&phone_code=1&list_id=999&dnc_check=N&first_name=Bob&last_name=Wilson

http://server/vicidial/non_agent_api.php?source=test&user=6666&pass=1234&function=add_lead&phone_number=7275551111&phone_code=1&list_id=999&dnc_check=N&first_name=Bob&last_name=Wilson&add_to_hopper=Y&hopper_local_call_time_check=Y

http://server/vicidial/non_agent_api.php?source=test&user=6666&pass=1234&function=add_lead&phone_number=7275551111&phone_code=1&list_id=999&dnc_check=N&campaign_dnc_check=Y&campaign_id=TESTCAMP&first_name=Bob&last_name=Wilson&address1=1234+Main+St.&city=Chicago+Heights&state=IL&add_to_hopper=Y&hopper_local_call_time_check=Y&multi_alt_phones=7275551212_1_work!7275551213_1_sister+house!1234567890_1_neighbor

http://server/vicidial/non_agent_api.php?source=test&user=6666&pass=1234&function=add_lead&phone_number=7275551212&phone_code=1&list_id=999&dnc_check=N&first_name=Bob&last_name=Wilson&duplicate_check=DUPLIST-DUPNAMEPHONELIST

http://server/vicidial/non_agent_api.php?source=test&user=6666&pass=1234&function=add_lead&phone_number=7275551212&phone_code=1&list_id=999&custom_fields=Y&favorite_color=blue

http://server/vicidial/non_agent_api.php?source=test&user=6666&pass=1234&function=add_lead&phone_number=7275551111&campaign_id=TESTCAMP&callback=Y&callback_status=CALLBK&callback_datetime=NOW&callback_type=USERONLY&callback_user=6666&callback_comments=Comments+go+here

Example responses: (The "data" values for a successful add_lead request are: phone_number, list_id, lead_id, gmt_offset_now)
SUCCESS: add_lead LEAD HAS BEEN ADDED - 7275551111|6666|999|193715|-4
NOTICE: add_lead ADDED TO HOPPER - 7275551111|6666|193715|1677922

sábado, 24 de noviembre de 2018

On-hook agents feature

114. Added on-hook agent phone feature. This feature allows inbound calls from
customers to ring on an on-hook agent phone, but not be transferred to 
that agent until the agent's phone is answered. If the call times out 
then the call will go on to the next agent. This is defined in the 
Phones record and allows the agent using the vicidial.php agent screen 
to not have to stay on the phone at all times when they are logged in. 
You will need to add the following lines to the default context in your 
extensions.conf file:
; these are used for the ring_all function in VICIDIAL
exten => _8331*.,1,Playback(sip-silence)
exten => _8331*.,n,AGI(agi-VDAD_RINGALL.agi,${EXTEN})
exten => _8331*.,n,AGI(agi-VDAD_RINGALL.agi,${EXTEN})
exten => _8331*.,n,Hangup

115. Added ring_all Next Agent Call option for in-groups. This works with on-
hook agent phones to allow all available agents to have their phones
ring at the same time, with the first agent to pick up their phone 
receiving the call. It is not recommended to use this on high-volume 
systems or systems with many agents available.

On-hook agents feature


viernes, 23 de noviembre de 2018

vicidial email

Debian, Ubuntu:

apt-get update && apt-get install postfix mailutils
When prompted for "General type of mail configuration," choose Internet Site.
When prompted for a "Mail name," choose a hostname to be used in mail headers as the origin of your emails. A fully-qualified domain name is preferred, but using your machine's simple hostname is OK. Regardless of what you enter here, your return address will appear to recipients as your Gmail address.
You may be prompted to set the "Root and postmaster mail recipient." Enter root, or another user who should receive mail subsystem notifications.
For any other prompts, you can choose the default values.

Fedora:

dnf update && dnf install postfix mailx

CentOS:

yum update && yum install postfix mailx cyrus-sasl cyrus-sasl-plain

OpenSUSE:

zypper update && zypper install postfix mailx cyrus-sasl

Arch Linux:

pacman -Sy postfix mailutils

FreeBSD:

Compile Postfix from the ports collection to incorporate support for SASL:
portsnap fetch extract update
cd /usr/ports/mail/postfix
make config
In the configuration dialogs, select SASL support. All other options can remain the same. Then:
make install clean
Mailx can be installed from the binary package:
pkg install mailx

2. Configure Gmail Authentication

Create or modify a password file which will be used by Postfix to establish authentication with Gmail. In the authentication information below, replace username with your Gmail username and password with your Gmail password. If you are using a custom Gmail Apps domain name, you may replace gmail.com with your Google Apps domain.
The password file will reside in the Postfix configuration directory. The file can be named whatever you like, but the recommended filename is sasl_passwd.

Debian, Ubuntu, Fedora, CentOS, OpenSUSE, Arch Linux:

Postfix configuration files reside in the directory /etc/postfix. Create or edit the password file:
vi /etc/postfix/sasl_passwd
Add the line:
[smtp.gmail.com]:587    username@gmail.com:password
Save and close the file. Your Gmail password is stored as plaintext, so make the file accessible only by root:
# chmod 600 /etc/postfix/sasl_passwd

FreeBSD:

Postfix configuration files reside in the directory /usr/local/etc/postfix. Create or edit the password file:
vi /usr/local/etc/postfix/sasl_passwd
Add the line:
[smtp.gmail.com]:587    username@gmail.com:password
Save and close the file. Make it accessible only by root:
chmod 600 /usr/local/etc/postfix/sasl_passwd

3. Configure Postfix

There are six parameters which must be set in the Postfix configuration file main.cf. The parameters are:
relayhost, which specifies the mail relay host and port number. The host name will be enclosed in brackets to specify that no MX lookup is required.
smtp_use_tls, which enables (or disables) transport layer security.
smtp_sasl_auth_enable, which enables (or disables) SASL authentication.
smtp_sasl_security_options, which in the following configuration will be set to empty, to ensure that no Gmail-incompatible security options are used.
smtp_sasl_password_maps, which specifies the password file to use. This file will be compiled and hashed by postmap in a later step.
smtp_tls_CAfile, which specifies the list of certificate authorities to use when verifying server identity.

Debian, Ubuntu, Arch Linux:

Edit the main Postfix configuration file:
vi /etc/postfix/main.cf
Add or modify the following values:
relayhost = [smtp.gmail.com]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
Save and close the file.

Fedora, CentOS:

Edit the main Postfix configuration file:
vi /etc/postfix/main.cf
Add or modify the following values:
relayhost = [smtp.gmail.com]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crt
Save and close the file.

OpenSUSE:

Edit the main Postfix configuration file:
vi /etc/postfix/main.cf
Add or modify the following values:
relayhost = [smtp.gmail.com]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_CAfile = /etc/ssl/ca-bundle.pem
Save and close the file.
OpenSUSE also requires that the Postfix master process configuration file master.cf be modified. Open it for editing:
vi /etc/postfix/master.cf
Locate the line which reads:
#tlsmgr unix - - n 1000? 1 tlsmg
Uncomment it, so it reads:
tlsmgr unix - - n 1000? 1 tlsmg
Save and close the file.

FreeBSD:

Edit the main Postfix configuration file:
vi /usr/local/etc/postfix/main.cf
Add or modify the following values:
relayhost = [smtp.gmail.com]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd
smtp_tls_CAfile = /etc/mail/certs/cacert.pem
Save and close the file.

4. Process Password File

Use postmap to compile and hash the contents of sasl_passwd. The results will be stored in your Postfix configuration directory in the file sasl_passwd.db.

Debian, Ubuntu, Fedora, CentOS, OpenSUSE, Arch Linux:

postmap /etc/postfix/sasl_passwd

FreeBSD:

postmap /usr/local/etc/postfix/sasl_passwd

5. Restart Postfix

Restart the Postfix service, putting your changes into effect.

Debian, Ubuntu, Fedora, CentOS, OpenSUSE, Arch Linux:

systemctl restart postfix.service

FreeBSD:

To start the Postfix service for this session only:
service postfix onestart
To start Postfix automatically when the system initializes, open /etc/rc.conf for editing:
vi /etc/rc.conf
Add the line:
postfix_enable=YES
Save and close the file. You may then run:
service postfix start
To start Postfix.

6. Enable "Less Secure Apps" In Gmail

By default, only the most secure sign-ins, such as logging in to Gmail on the web, are allowed for your Gmail account. To permit relay requests, log in to your Gmail account and turn on Allow less secure apps.
For more information, review the Google Support document "Allowing less secure apps to access your account."

7. Send A Test Email

Test your new configuration by sending an email using the mail command. Run:
mail -s "Test subject" recipient@domain.com
You will be presented with a blank line (or a CC: field, which you can bypass by pressing Enter). Type the body of your message, pressing Enter for new lines. When you are finished composing the email, type CTRL-D to send it. To cancel the email, press CTRL-C twice.
To send a precomposed email, use the command:
mail -s "Subject Here" recipient@domain.com < textfile
Where textfile is the name of a file containing the text to be sent.

Troubleshooting

If it's not working, check the logs for any Postfix errors:

Debian:

less /var/log/mail.log

Ubuntu, Fedora, CentOS, OpenSUSE, Arch Linux:

journalctl

FreeBSD:

less /var/log/maillog
If you receive authentication errors from Gmail, verify that Allow Less Secure Apps is turned on in your Gmail account settings, as specified in Step 6.
Verify that the password file sasl_passwd exists, and that its contents are formatted correctly, as specified in Step 2. If you make any changes to the password file, make sure to repeat Steps 4 and 5 to hash the new password file and restart Postfix.
If you see any TLS errors, double check the configuration in main.cf as specified in Step 3. If you make any configuration changes, restart Postfix as specified in Step 5.

 52  2018-11-21 22:44:48 zypper -n install postfix

   54  2018-11-21 22:46:51 zypper -n install cyrus-sasl
   55  2018-11-21 22:47:06 zypper -n install cyrus-imapd
   56  2018-11-21 22:47:21 zypper -n install cyrus-sasl cyrus-sasl-lib cyrus-sasl-plain
   57  2018-11-21 22:47:32 nano /etc/postfix/sasl_passwd
   58  2018-11-21 22:48:39 nano /etc/postfix/main.cf
   59  2018-11-21 22:50:26 ls /etc/ssl/certs/ca-certificates.crt
   60  2018-11-21 22:50:34 ls /etc/pki/tls/certs/ca-bundle.crt
   61  2018-11-21 22:50:48 nano /etc/postfix/main.cf
   62  2018-11-21 22:52:14 chown postfix /etc/postfix
   67  2018-11-21 22:54:06 postmap hash:/etc/postfix/sasl_passwd
error logs 

journalctl -u postfix.service
  journalctl | grep gmail


vicibox81:~ # echo "This is a test" | mail -s "Test" ambiorixg12@gmail.com


http://www.postfix.org/STANDARD_CONFIGURATION_README.html

http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailservers.html

http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailservers.html

https://ukietech.com/blog/programming/how-to-set-up-email-sending-from-godaddy-server-using-postfix

http://www.postfix.org/postconf.5.html

https://www.redwireservices.com/postfix-smtp-relay-via-godaddy-alternate-port-and-others

martes, 20 de noviembre de 2018

vicidial log tables

This document is meant for reference only, and it may not contain all log tables.


call_log - log of Asterisk inbound and outbound calls. Not necessarily accurate for call totals within VICIdial
callcard_log - Details involving the optional calling card module.
live_inbound_log - Logs of calls as they enter Call Menus.
park_log - Logs calls parked by agents.
recording_log - log for all recordings made within VICIdial or Asterisk.
user_call_log - manual dial calls placed in agent screen, includes 3way calls
vicidial_admin_log - Changes made through the admin interface.
vicidial_agent_log - Agent activity through the agent interface.
vicidial_agent_skip_log - Logs leads agent skipped in manual preview dial mode.
vicidial_ajax_log - Special debugging log for agent screen AJAX which must be enabled in System Settings.
vicidial_api_log - Log of all Agent and Non-Agent API calls to the system.
vicidial_carrier_log - Details about outbound calls, used in the carrier response log report.
vicidial_chat_log - Log of converstaions via optional chat module.
vicidial_closer_log - Contains logs for all ViciDial inbound calls that entered an In-Group(queue).
vicidial_cpd_log - Logs CPD responses if using Sangoma CPD(Lyra).
vicidial_dial_log - Logs outbound call information, similar to vicidial_log but contains more info for troubleshooting, including outgoing CID.
vicidial_did_agent_log - Only populated if "DID Agent Log" is enabled in system settings, will log the user that received a call from a DID
vicidial_did_log - Logs of all inbound calls as they came into the system
vicidial_dnc_log - Logs adding/deleting from the DNC lists.
vicidial_dnccom_filter_log - Log for the optional DNC.com integration.
vicidial_dtmf_log - Logs DTMF received within Asterisk.
vicidial_email_log - Log of inbound/reply emails.
vicidial_grab_call_log - Logs the agent grabs of calls waiting in queue
vicidial_lead_search_log - Logs of agent lead search events.
vicidial_list_update_log - Logs the optional list update process(which has to be manually set up on server)
vicidial_log - Contains logs for all ViciDial-initiated outbound calls, much more information than call_log, and more accurate.
vicidial_log_extended - Full caller_code and URL trigger information for inbound and outbound calls.
vicidial_log_noanswer - Only populated if "No-Answer Log" is enabled in system settings, will log no-answer calls
vicidial_manager_chat_log - Log of manager to agent chats.
vicidial_monitor_log - Will log agent monitoring sessions that use the monitoring AGI script
vicidial_nanpa_filter_log - Logs filtering processes of the optionaly NANPA cellphone filtering, if enabled on your system
vicidial_outbound_ivr_log - Will log call menu entries from outbound auto-dial survey calls
vicidial_process_trigger_log - There is a process triggering feature on the back end, this logs those actions
vicidial_qc_agent_log - Log for quality control module
vicidial_recording_access_log - Logs who accessed or attempted to access recordings, if that System Setting feature is enabled.
vicidial_remote_agent_log - logs calls taken by remote agents.
vicidial_report_log - Logs who ran a report, how long it took, etc.
vicidial_timeclock_audit_log - This is separate from the timeclock and logs all clock punches, is not altered if a manager alters a timeclock entry
vicidial_timeclock_log - Log for the timeclock, i.e. punching in/out.
vicidial_url_log - Used by the URL report, logs URL responses and other details from URL calls initiated by VICIdial (i.e. dispo call url)
vicidial_user_closer_log - logs the closer(in-group) selections by the agents in the agent screen.
vicidial_user_log - Logs agent screen login and logout activity.
vicidial_user_territory_log - Logs the Territory selections by the agents in the agent screen.
vicidial_xfer_log - logs of transfers of calls from ViciDial agents to other in-groups(queues)

http://www.vicidial.org/docs/LOG_TABLES.txt

lunes, 19 de noviembre de 2018

vicidial variables

Call URL features(start call url, dispo call url, etc...)

Details on the Call URL and webform-type fields and dynamic URL construction:

Web Form -  This is where you can set the custom web page that will be

opened when the user clicks on the WEB FORM button. To customize the

query string after the web form, simply begin the web form with VAR

and then the URL that you want to use, replacing the variables with

the variable names that you want to use --A--phone_number--B-- just

like in the SCRIPTS tab section.

Start Call URL -  This web URL address is not seen by the agent, but

it is called every time a call is sent to an agent if it is populated.

Uses the same variables as the web form fields and scripts. This URL

can NOT be a relative path. The Start URL does not work for Manual

dial calls. Default is blank.

Dispo Call URL - This web URL address is not seen by the agent, but it

is called every time a call is dispositioned by an agent if it is

populated. Uses the same variables as the web form fields and scripts.

dispo and talk_time are the variables you can use to retrieve the

agent-defined disposition for the call and the actual talk time in

seconds of the call. This URL can NOT be a relative path. Default is

blank.

Add Lead URL -  This web URL address is not seen by the agent, but it is called

every time a lead is added to the system through the inbound process. Default 

is blank. You must begin this URL with VAR if you want to use variables, and of

course --A-- and --B-- around the actual variable in the URL where you want to

use it. Here is the list of variables that are available for this function: 

lead_id, vendor_lead_code, list_id, phone_number, phone_code, did_id, 

did_extension, did_pattern, did_description, uniqueid, call_id. This feature is

only available for In-Groups.

No Agent Call URL - This is similar to Dispo Call URL, but it is for calls

that are not sent to agents such as DROPs, No Answers, Busys and timeouts. This 

option is available for Campaigns and In-Groups. This feature will only work for

auto-dial and inbound calls, not manual dial calls. For inbound calls, the 

specific in-group that a call was sent to needs to have the No Agent Call URL 

field filled in or this function will not run for that call.

CRM Popup Login - If set to Y, the CRM Popup Address is used to open a new 

window on agent login to this campaign. Default is N.

CRM Popup Address - The web address of a CRM login page, it can have variables 

populated just like the web form address, with the VAR in the front and using 

--A--user_custom_one--B-- to define variables. 

You can have lead information be auto-populated in the URL

options(webform, webform2, start_call_url, dispo_call_url, crm_popup_url) using

"--A--field--B--" where field is one of the following fieldnames:

(not all of these are available for all features)

vendor_lead_code, source_id, list_id, gmt_offset_now,

called_since_last_reset, phone_code, phone_number, title, first_name,

middle_initial, last_name, address1, address2, address3, city, state,

province, postal_code, country_code, gender, date_of_birth, alt_phone,

email, security_phrase, comments, lead_id, campaign, phone_login,

group, channel_group, SQLdate, epoch, uniqueid, customer_zap_channel,

server_ip, SIPexten, session_id, dialed_number, dialed_label, rank,

owner, camp_script, in_script, script_width, script_height,

recording_filename, recording_id, user_custom_one, user_custom_two,

user_custom_three, user_custom_four, user_custom_five,

preset_number_a, preset_number_b, preset_number_c, preset_number_d,

preset_number_e, preset_number_f, preset_dtmf_a, preset_dtmf_b,

did_id, did_extension, did_pattern, did_description, closecallid,

xfercallid, agent_log_id, entry_list_id, call_id.

For examples(and sample result URL):

VARhttps://astguiclient.sf.net/test_VICIDIAL_output.php?test=--A--vendor_lead_code--B--&appt_date=--A--appointment_date--B--&color=--A--favorite_color--B--&city=--A--nearest_city--B--&cities=--A--multi_city--B--&topics=--A--topics--B--

(https://astguiclient.sf.net/test_VICIDIAL_output.php?test=92837492837&appt_date=2010-10-31&color=green&city=ALBUQUERQUE&cities=CHICAGO,TAMPA&topics=price,quality)

VARhttp://192.168.192.3/agc/vdc_call_url_test.php?leadID=--A--lead_id--B--&listID=--A--entry_list_id--B--&dispo=--A--dispo--B--&talk_time=--A--talk_time--B--

(http://192.168.192.3/agc/vdc_call_url_test.php?leadID=321452&listID=101&dispo=NI&talk_time=214)

VARhttp://www.server.org/env.php?one=--A--user_custom_one--B--&two=--A--user_custom_two--B--

(http://www.server.org/env.php?one=asmith&two=hS87yt2)

https://github.com/inktel/Vicidial/blob/master/docs/CALL_URL_FEATURES.txt
http://vicidial.org/docs/CALL_URL_FEATURES.txt