Re: [asterisk-users] How to block inbound call with Asterisk?
On Tue, Jul 14, 2009 at 12:44 PM, VIP Carrier wrote: > what ever he have posted there I have added it, just changed DID To help clear things up... what file did you add this to? -jonathan ___ -- 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
Re: [asterisk-users] How to block inbound call with Asterisk?
Un-top-posting... >> VIP Carrier schrieb: >>> How would you block inbound call's? for example person who is calling >>> me is 212-555-1212, and I would like to do not receive the calls from >>> this person and give them busy tone. What should I write in asterisk >>> config files? > On Tue, Jul 14, 2009 at 12:05 PM, Philipp Kempgen > wrote: >> core show function CALLERID >> >> Verbose(1,### Inbound call from ${CALLERID(num)}); >> if ("${CALLERID(num)}" = "2125551212") { >>Verbose(1,### Block this guy); >>Busy(5); >>Hangup(); >> } On Tue, 14 Jul 2009, VIP Carrier wrote: > Here is what asterisk said > Sorry, but 1 syntax errors and 0 semantic errors were detected. It > doesn't make sense to compile. I'm a 1.2 Luddite (AEL is supposedly much improved since the dark ages), but I think you need a "semi" after the "if's" closing brace. I'd suggest staying away from AEL until you have a much better understanding of Asterisk and dialplans. Until your dialplans reach a level of complexity where you need AEL's control structures for clarity, you should stay with "conf." You should have started here: http://www.voip-info.org/wiki/view/Asterisk+config+extensions.conf and search for "girlfriend." -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 ___ -- 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
Re: [asterisk-users] How to block inbound call with Asterisk?
The Verbose and If statements should be kosher, the Dial is not. _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of VIP Carrier Sent: Tuesday, July 14, 2009 12:45 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] How to block inbound call with Asterisk? what ever he have posted there I have added it, just changed DID On Tue, Jul 14, 2009 at 1:39 PM, Danny Nicholas wrote: The assumption here is that you took Phillipps AEL snippet and put into extensions.ael. Can you post what you put in? _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of VIP Carrier Sent: Tuesday, July 14, 2009 12:27 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] How to block inbound call with Asterisk? Here is what asterisk said Sorry, but 1 syntax errors and 0 semantic errors were detected. It doesn't make sense to compile. On Tue, Jul 14, 2009 at 12:05 PM, Philipp Kempgen wrote: VIP Carrier schrieb: > How would you block inbound call's? for example person who is calling me is > 212-555-1212, and I would like to do not receive the calls from this person > and give them busy tone. > What should I write in asterisk config files? core show function CALLERID Verbose(1,### Inbound call from ${CALLERID(num)}); if ("${CALLERID(num)}" = "2125551212") { Verbose(1,### Block this guy); Busy(5); Hangup(); } Dial(...); > and in to witch file should I > write it??? extensions.ael? extensions.conf? Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de -- ___ -- 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 ___ -- 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 ___ -- 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
Re: [asterisk-users] How to block inbound call with Asterisk?
what ever he have posted there I have added it, just changed DID On Tue, Jul 14, 2009 at 1:39 PM, Danny Nicholas wrote: > The assumption here is that you took Phillipp’s AEL snippet and put into > extensions.ael. Can you post what you put in? > > > -- > > *From:* asterisk-users-boun...@lists.digium.com [mailto: > asterisk-users-boun...@lists.digium.com] *On Behalf Of *VIP Carrier > *Sent:* Tuesday, July 14, 2009 12:27 PM > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* Re: [asterisk-users] How to block inbound call with Asterisk? > > > > Here is what asterisk said > Sorry, but 1 syntax errors and 0 semantic errors were detected. It doesn't > make sense to compile. > > > > On Tue, Jul 14, 2009 at 12:05 PM, Philipp Kempgen < > philipp.kemp...@amooma.de> wrote: > > VIP Carrier schrieb: > > > How would you block inbound call's? for example person who is calling me > is > > 212-555-1212, and I would like to do not receive the calls from this > person > > and give them busy tone. > > What should I write in asterisk config files? > > core show function CALLERID > > Verbose(1,### Inbound call from ${CALLERID(num)}); > if ("${CALLERID(num)}" = "2125551212") { >Verbose(1,### Block this guy); >Busy(5); >Hangup(); > } > Dial(...); > > > > and in to witch file should I > > write it??? > > extensions.ael? extensions.conf? > > >Philipp Kempgen > -- > AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de > Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 > Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de > Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de > -- > > ___ > -- 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 > > > > ___ > -- 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 > ___ -- 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
Re: [asterisk-users] How to block inbound call with Asterisk?
None of your stuff mentioned above is working!!! On Tue, Jul 14, 2009 at 1:27 PM, VIP Carrier wrote: > Here is what asterisk said > Sorry, but 1 syntax errors and 0 semantic errors were detected. It doesn't > make sense to compile. > > > > > > On Tue, Jul 14, 2009 at 12:05 PM, Philipp Kempgen < > philipp.kemp...@amooma.de> wrote: > >> VIP Carrier schrieb: >> > How would you block inbound call's? for example person who is calling me >> is >> > 212-555-1212, and I would like to do not receive the calls from this >> person >> > and give them busy tone. >> > What should I write in asterisk config files? >> >> core show function CALLERID >> >> Verbose(1,### Inbound call from ${CALLERID(num)}); >> if ("${CALLERID(num)}" = "2125551212") { >>Verbose(1,### Block this guy); >>Busy(5); >>Hangup(); >> } >> Dial(...); >> >> > and in to witch file should I >> > write it??? >> >> extensions.ael? extensions.conf? >> >> >>Philipp Kempgen >> -- >> AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de >> Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 >> Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de >> Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de >> -- >> >> ___ >> -- 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 >> > > ___ -- 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
Re: [asterisk-users] How to block inbound call with Asterisk?
The assumption here is that you took Phillipps AEL snippet and put into extensions.ael. Can you post what you put in? _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of VIP Carrier Sent: Tuesday, July 14, 2009 12:27 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] How to block inbound call with Asterisk? Here is what asterisk said Sorry, but 1 syntax errors and 0 semantic errors were detected. It doesn't make sense to compile. On Tue, Jul 14, 2009 at 12:05 PM, Philipp Kempgen wrote: VIP Carrier schrieb: > How would you block inbound call's? for example person who is calling me is > 212-555-1212, and I would like to do not receive the calls from this person > and give them busy tone. > What should I write in asterisk config files? core show function CALLERID Verbose(1,### Inbound call from ${CALLERID(num)}); if ("${CALLERID(num)}" = "2125551212") { Verbose(1,### Block this guy); Busy(5); Hangup(); } Dial(...); > and in to witch file should I > write it??? extensions.ael? extensions.conf? Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de -- ___ -- 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 ___ -- 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
Re: [asterisk-users] How to block inbound call with Asterisk?
Here is what asterisk said Sorry, but 1 syntax errors and 0 semantic errors were detected. It doesn't make sense to compile. On Tue, Jul 14, 2009 at 12:05 PM, Philipp Kempgen wrote: > VIP Carrier schrieb: > > How would you block inbound call's? for example person who is calling me > is > > 212-555-1212, and I would like to do not receive the calls from this > person > > and give them busy tone. > > What should I write in asterisk config files? > > core show function CALLERID > > Verbose(1,### Inbound call from ${CALLERID(num)}); > if ("${CALLERID(num)}" = "2125551212") { >Verbose(1,### Block this guy); >Busy(5); >Hangup(); > } > Dial(...); > > > and in to witch file should I > > write it??? > > extensions.ael? extensions.conf? > > >Philipp Kempgen > -- > AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de > Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 > Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de > Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de > -- > > ___ > -- 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 > ___ -- 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
Re: [asterisk-users] How to block inbound call with Asterisk?
VIP Carrier schrieb: > How would you block inbound call's? for example person who is calling me is > 212-555-1212, and I would like to do not receive the calls from this person > and give them busy tone. > What should I write in asterisk config files? core show function CALLERID Verbose(1,### Inbound call from ${CALLERID(num)}); if ("${CALLERID(num)}" = "2125551212") { Verbose(1,### Block this guy); Busy(5); Hangup(); } Dial(...); > and in to witch file should I > write it??? extensions.ael? extensions.conf? Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de -- ___ -- 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
Re: [asterisk-users] How to block inbound call with Asterisk?
It is a simple "ex-girlfriend" thing to do, assuming callerid is working correctly. - exten => s,1,answer - exten => s,n/2125551212,Goto(torture|s|1) - exten => s,n,Dial. _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of VIP Carrier Sent: Tuesday, July 14, 2009 10:39 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] How to block inbound call with Asterisk? Guys, How would you block inbound call's? for example person who is calling me is 212-555-1212, and I would like to do not receive the calls from this person and give them busy tone. What should I write in asterisk config files? and in to witch file should I write it??? ___ -- 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
[asterisk-users] How to block inbound call with Asterisk?
Guys, How would you block inbound call's? for example person who is calling me is 212-555-1212, and I would like to do not receive the calls from this person and give them busy tone. What should I write in asterisk config files? and in to witch file should I write it??? ___ -- 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