Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
Voice Gateway API (VGAPI) Developer Center
Overview
Documentation
Community
Testing
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to TCL-API
ANI filtering based on SQL data
Threads [
Previous
|
Next
]
Jim Hanus
Posts:
1
Join Date:
2/17/10
Recent Posts
ANI filtering based on SQL data
Answer
9/5/12 7:12 AM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
I am attempting to send/drop certain ANI's based upon a SQL database. I have found the ANI-Filtering.tcl script which will work great but I need to base the numbers off of a SQL database instead of the IOS router. Is this possible?
Also, does anyone know of a TCL script that can call an API from lets say an I3 or CCX server? For example: If a certain call comes in we want to route it based on certain criteria from an agent. It will either ring the agent or drop the call depending on their agent status.
Is this possible?
Thanks!
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Raghavendra Gutty Veeranagappa
Posts:
218
Join Date:
4/28/10
Recent Posts
RE: ANI filtering based on SQL data
Answer
8/16/12 8:05 AM as a reply to Jim Hanus.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Jim,
it is not possible to make a request to database from Tcl script.
Thanks,
Raghavendra
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Mark Alliban
Posts:
35
Join Date:
1/17/12
Recent Posts
RE: ANI filtering based on SQL data
Answer
8/16/12 9:35 AM as a reply to Jim Hanus.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Jim,
As far as I am aware the only way to do it would be to use a RADIUS server. TCL can make RADIUS requests, the RADIUS server can connect to the SQL database, and either authorize or not authorize the call based on whatever parameters you choose... ANI, DID, time of day, DTMF's pressed, random selection, etc.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Kleid Gjataj
Posts:
1
Join Date:
7/19/12
Recent Posts
RE: ANI filtering based on SQL data
Answer
8/16/12 9:54 PM as a reply to Raghavendra Gutty Veeranagappa.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Raghavendra,
Do you know what third party data sources can be integrated in IOS TCL scirpts. (APIs, XML files, SOAP etc) Are the data sources documented anywhere?
Thanks,
-Kleid
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Raghavendra Gutty Veeranagappa
Posts:
218
Join Date:
4/28/10
Recent Posts
RE: ANI filtering based on SQL data
Answer
9/5/12 7:32 AM as a reply to Kleid Gjataj.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Kleid,
i am not sure about those with TCL script.
Thanks,
Raghavendra
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top