Discussions about new features or changes in existing features
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by ClearCall » Tue May 08, 2018 11:16 am
I am setting up AC-CID for a campaign. All the numbers being used are real numbers that are configured to ring back in to us. How can an agent determine which number was used as the Caller ID, so that when they are closing with "Please feel free to call us back at xxx-xxx-xxxx" the number they provide matches what the person saw on his/her caller ID?
VERSION: 2.14-620a BUILD: 170623-2142
Asterisk: 1.8.32.0-vici
Installed from Vicibox iso.
Vicibox Redux Ver 6.0.2-140825
Open Suse Leap 42.3
-
ClearCall
-
- Posts: 164
- Joined: Fri Dec 03, 2010 12:21 pm
by jshasteen » Mon May 14, 2018 10:46 am
I could be wrong here but I don't think it's a webform variable, that is to say one of these:
lead_id
list_id
user
pass
campaign
server_ip
session_id
uniqueid
stage
campaign
phone_login
original_phone_login
phone_pass
fronter
closer
group
channel_group
SQLdate
epoch
uniqueid
customer_zap_channel
customer_server_ip
server_ip
SIPexten
session_id
phone
parked_by
dispo
dialed_number
dialed_label
camp_script
in_script
script_width
script_height
fullname
agent_email
recording_filename
recording_id
user_custom_one
user_custom_two
user_custom_three
user_custom_four
user_custom_five
did_id
did_extension
did_pattern
did_description
closecallid
xfercallid
agent_log_id
call_id
user_group
called_count
did_custom_one
did_custom_two
did_custom_three
did_custom_four
did_custom_five
web_vars
preset_number_a
preset_number_b
preset_number_c
preset_number_d
preset_number_e
preset_dtmf_a
preset_dtmf_b
but if you take the caller_code variable and run query like this: "select outbound_cid from vicidial_dial_log where caller_code = 'CALLERCODEHERE' ". You can then parse outbound CID from the result, it's in which will looke like this ""M5141110440005571020" <8888675309>. I think you can look it up on uniqueid as well.
There is probably a way easier way out there using the API perhaps but I'm not aware of it. I'd like to know if there is a simpler way that doesn't require a query.
Thanks
Vicibox 8.1 from .iso | VERSION: 2.14-695a BUILD: 181116-1133 | 11.25.3-vici | Single-Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Dell R710 Dual hex-core | 48GB RAM | 8 15k SAS RAID-10
-
jshasteen
-
- Posts: 52
- Joined: Thu Sep 16, 2010 11:01 am
by ClearCall » Tue May 15, 2018 9:53 am
Yes, I ended up just writing a php page that I send the call_id to then run the query and echo the result. I have an href to this php page in the agent script that they click to open a new tab that shows which CID was used.
-
ClearCall
-
- Posts: 164
- Joined: Fri Dec 03, 2010 12:21 pm
by jshasteen » Thu May 17, 2018 12:59 pm
Cool. Thanks for the response. You can probably just incorporate an AJAX call in the script and just get the CID without having to hit the href.
Vicibox 8.1 from .iso | VERSION: 2.14-695a BUILD: 181116-1133 | 11.25.3-vici | Single-Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Dell R710 Dual hex-core | 48GB RAM | 8 15k SAS RAID-10
-
jshasteen
-
- Posts: 52
- Joined: Thu Sep 16, 2010 11:01 am
Return to Features
Who is online
Users browsing this forum: No registered users and 71 guests