All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by ambiorixg12 » Mon Dec 18, 2023 12:53 pm
Hi, I know I can retrieve vicidial_list fields as variables for the call using the agi-set_variables.agi script. However, in my case, I need to obtain the phone number and name of the agent who answered the call as an Asterisk channel variable. The only way I see is by using the campaign start call URL or disposition URL. Is there a way to get the agent's phone number as a channel variable once the call ends?
-
ambiorixg12
-
- Posts: 453
- Joined: Tue Sep 17, 2013 10:35 pm
by ambiorixg12 » Sat Dec 30, 2023 1:34 pm
As I didn't find any relevant information, I altered my approach. Instead of retrieving data as Asterisk channel variables, I chose to use HTTP GET variables and the dispo URL. Subsequently, I utilized Asterisk's AMI and local channel to convert those variables into channel variables.
-
ambiorixg12
-
- Posts: 453
- Joined: Tue Sep 17, 2013 10:35 pm
by kashyapking » Wed Jan 03, 2024 3:56 pm
If you want to get connected agent information, then you can check vicidial_live_agents table where you can see connected channel information and get all information which might help for your development of agent information.
Vicibox10 | Version: 2.14b0.5 | SVN Version: 3743 | DB Schema Version: 1690 | Asterisk Version: 13.38.2-vici
visit us @ https://www.kingasterisk.com | skype: kingasterisk | wa @ +17864142610
-
kashyapking
-
- Posts: 22
- Joined: Fri Aug 18, 2023 11:32 am
-
by ambiorixg12 » Wed Jan 03, 2024 9:35 pm
Thank you for the information. As I mentioned earlier, I ended up using custom variables in the user field and the campaign dispo URL . Nonetheless, I will take your suggestion and check the table information
-
ambiorixg12
-
- Posts: 453
- Joined: Tue Sep 17, 2013 10:35 pm
Return to Support
Who is online
Users browsing this forum: Majestic-12 [Bot] and 56 guests