[asterisk-users] Including doesn't have any effect

Carlos Chavez cursor at telecomabmex.com
Mon Jun 6 11:21:45 CDT 2016


On 6/6/16 10:55 AM, A J Stiles wrote:

> On Monday 06 Jun 2016, Markus wrote:
>> Hi AJ,
>> Am 06.06.2016 um 10:14 schrieb A J Stiles:
>>> But why not call an AGI script, have this check the caller ID against a
>>> MySQL database and return a status -- blocked or not -- in a variable?
>>> Then you can manage individual number blocking in a much cleaner, more
>>> extensible fashion.
>> .....  stuff deleted  .....
>> you're right, it would be the better solution! But I'm simply too lazy
>> to implement that. :D
> Are you lazy enough to edit a text file and reload your dialplan, *every single
> time* someone calls you, that you don't want to have to speak to ever again?
>
> Not sure about you, but that sounds way too much like hard work for me!  :)
>
     And the BLACKLIST function is not a better option for this?  So 
much simpler than an AGI or even including a file in the dialplan. Every 
time you modify the dialplan you run the risk of a typo that will 
prevent something from loading.

-- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)9116-91161




More information about the asterisk-users mailing list