Chris Manuh | I don't think there's a DB capability builtin but what you could do is build a web services application in php/aspx,etc to do the db lookup and any logic you want to implement. you can return a simple 0 or 1 as result. To make calls from your TCL script to this service, you'd use httpios::geturl procedure, passing in the DID you want to compare in a query string. the results of the call will determine if you want to hang up or proceed. |
| Please sign in to flag this as inappropriate. |