Page 1 of 1
caller info in inbound call
Posted:
Thu Aug 11, 2011 12:10 am
by iftekhar
from the go through of the vicidial, I have found that while a call has entered the system did a search on the basis of the phone number to the "vicidial_list" table, but in which variable in the "agi" file the phone number is kept?
again, how the value of that variable can be got from the other php file?
_______________________________________
Installer : GoAutoDial CE 2.1
Astguiclient VERSION: 2.4-309a
BUILD: 110430-1642
Kernel VERSION: 2.6.18-238.9.1.el5.goPAE
BUILD: 100510-2015
Asterisk: 1.4.39.1-vici
CentOS release 5.6 32 bit
Posted:
Thu Aug 11, 2011 10:27 am
by williamconley
This is not an asterisk AGI forum. You are asking basic functionality questions for an application framework not supported by this forum. Perhaps you should be on an asterisk forum that DOES support this framework directly. Likely get a lot more useful feedback. Seriously.
That being said: The problem you are having appears in your question. The value of a "callerid" variable in x.agi (a php agi script) can not be "got from" another php file. That value comes from Asterisk's channel variable into the agi script. It can be sent TO another php script from that agi script, of course. The names of the standard variables (all of them) are in the agi documentation, more readily accessible on asterisk sites than Vicidial sites.
Posted:
Sat Aug 13, 2011 1:57 pm
by iftekhar
actually, I want to know while a caller call in the inbound campaign, in the vicidial agent window a information is shown on the basis of the phone number searched from the "vicidial_list" table where it is searched by "lead_id", where the query is written? or which php file is called on that time?
Posted:
Sat Aug 13, 2011 3:24 pm
by williamconley
all information is contained in the file that is shown in the URL of that logged in agent. /agc/vicidial.php has everything (since that is the file controlling the agent screen)