Need help with the following Please
Posted: Mon Sep 06, 2010 5:59 pm
i want to create a reporting application with the following features
-- budget for outbound calls(here i want to add credit for a agent limiting him or her to just the amount specified for outbound calls)
--this will be adjustable per agent or per campaign
--if the callers or campaigns credit is finished(link to recording(contact admin or your teamleader)
Here is the problems i am facing:
--when the user logs on and makes a via the webgui, there is a agi script that links to context [default] in the extensions.conf file.
--it then calls another remote agi call_log
--the problem i am facing is i can only get the ${EXTEN}variabl for the exteral number to dial there is no reference to a variable within the dialplan(that i know of) that will give me info on the agent nor the campaign.
If i can get this i can link the call to a check to see if the user/campaign has credit to make the call.
If one can get the info above the door is open to more detailed reporting as to cost per agent, cost per campaign ect.
If anyone knows how i can get this to work, i would be forever in your debt, i am learning asterisk agi( but kinda hit a brick wall with pearl.
future modules would include setting up costing tables for your different trunks.
any help welcome
-- budget for outbound calls(here i want to add credit for a agent limiting him or her to just the amount specified for outbound calls)
--this will be adjustable per agent or per campaign
--if the callers or campaigns credit is finished(link to recording(contact admin or your teamleader)
Here is the problems i am facing:
--when the user logs on and makes a via the webgui, there is a agi script that links to context [default] in the extensions.conf file.
--it then calls another remote agi call_log
--the problem i am facing is i can only get the ${EXTEN}variabl for the exteral number to dial there is no reference to a variable within the dialplan(that i know of) that will give me info on the agent nor the campaign.
If i can get this i can link the call to a check to see if the user/campaign has credit to make the call.
If one can get the info above the door is open to more detailed reporting as to cost per agent, cost per campaign ect.
If anyone knows how i can get this to work, i would be forever in your debt, i am learning asterisk agi( but kinda hit a brick wall with pearl.
future modules would include setting up costing tables for your different trunks.
any help welcome