Could someone please tell me if this is possible,
When a call comes from the agent webapp
via manual dial
it uses the number to dial from the leads and pass it on to asterisk, when asterisk receives the call it runs a agi script but also passes the number to dial
linking to the extension in asterisk.
Is it possible to get more information regarding call logs pushed to the dial plan, i would like to see what the agent name(number) is and the duration of the call.
The agent information is the most important for me because i can then get the agent name and cross reference it to a database where their credit limits are stored.
This means that when a calls comes from vicidial and hits the default context in extensions.conf for asterisk, i can use this action to preform more dial plan logic.
We are currently renting out 20 seats of our call center, i want to set a credit limit per agent where i want o load credit see what credit is available. This will help me keep tabs of the abuse some clients have in store for my call credit.
In the long run i want to add some proper billing per agent, but my immediate goal is to get more info to the asterisk dialplan via variables from the agi script(S)