This is a real 'newbie' type question, but I can't get my brain to work today. Is it possible to re-direct an incoming SIP call based on it's CLI? Ideally I would like to check incoming calls against a short whitelist (of say 20 numbers) and redirect to a different extension if there is a match. I would also like to redirect calls that fail to present any CLI (aka WITHHELD/UNAVAILABE) to a different extension At I guess I would suspect I could implement this - can someone give me a starting point? Many thanks Brian
Soren Christensen
2010-Feb-25 10:38 UTC
[asterisk-users] SIP Configuration files for Cisco 7905G FW 3-08-12
Hi, Does anyone have sample configuration files for a Cisco 7905G to use with SIP/Asterisk ? I'm on Firmware 3-08-12 - is there a better release to run ? /S
http://www.voip-info.org/tiki-index.php?page=Asterisk%20config%20extensions.conf Has example exten => s,1,Answer exten => s/9184238080,2,Set(CALLERID(name)=EVIL BASTARD) exten => s,2,Set(CALLERID(name)=Good Person) exten => s,3,Dial(SIP/goodperson) for white list exten => s/123123123,1,Dial(SIP/phoneA) exten => s/456456456,1,Dial(SIP/phoneA) exten => s,1,Dial(SIP/phoneB) also look around for an example using gotoif, and read the CALLERID(name) before doing setting it On Thu, Feb 25, 2010 at 2:17 AM, Brian <brel.astersik100129 at copperproductions.co.uk> wrote:> This is a real 'newbie' type question, but I can't get my brain to work > today. > > Is it possible to re-direct an incoming SIP call based on it's CLI? > > Ideally I would like to check incoming calls against a short whitelist > (of say 20 numbers) and redirect to a different extension if there is a > match. > > I would also like to redirect calls that fail to present any CLI (aka > WITHHELD/UNAVAILABE) to a different extension > > At I guess I would suspect I could implement this - can someone give me > a starting point? > > Many thanks > Brian > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-users >