Hey List,
I am kinda noo, and I have a question: I have entered this ; Extensions in AMP have access to the 'from-internal' context. ; The context 'from-internal-custom' is included in 'from-internal' by default [call-screen] exten => 717,1,Answer exten => 717,2,Wait(1) exten => 717,3,AGI(SIG_sbc.php) exten => 717,4,Dial(SIP/717) [from-internal-custom] #include odbc.conf In the extensions_custom.conf. I want every incoming call from all my trunks to have the indicated php script run on it before being transferred to another SIP server. The script is designed to automatically blacklist any CID that violates certain call parameters like 20 call in one minute, and hangs up on them if they are blacklisted, otherwise I want the call transferred to the other SIP server . Right now I have one specific inbound route set to this custom destination I created called call-screen. What I am wondering is when I put this infront of our call center can I make one inbound route that will catch all the call from my different trunks/providers, run them through this script, then transfer them to call center. My thought is one inbound route with number matching pointed to custom destination call-screen, which transfers to 717 which is the call center. The idea is to have asterisk screen all incoming calls and autoblacklist using a script against CID if same CID calls us more than 20 times a minute. If anyone has any advice on a better way to do this or anything that would be great. Thanks Todd Stewart
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisknow mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisknow
