[Freeswitch-users] Call-Blocking application
Brian West
brian at freeswitch.org
Tue Jul 15 03:41:31 PDT 2008
You can write a script to just run and do the work... Something simple
in lua. Just checks an sqlite db if the number is in that db transfer
it to extension rejected and move on to the next call... if it it's
not in the db.. move on and ring the phone.
/b
On Jul 15, 2008, at 5:28 AM, Alois Komenda wrote:
> Hello,
>
> how can I realize a Call-Blocking application with FreeSWITCH?
>
> The application should look up the caller in a kind of blacklist or
> delegate the lookup to another application.
> Every incoming call has to be blocked if the caller is on the
> blacklist.
>
> Is it possible to realize this as a application which is called from
> the dialplan?
> As the dialplan is parsed only once for a call, it won't work if the
> application is called from an action tag, I guess. The outcome of
> the application can't influence any following action, right?
> What about calling the application in the condition tag? Would that
> count as an "abuse" as mentioned in the wiki?
>
> What method can you recommend to block incoming calls depending on
> the originator?
>
>
> Regards,
Brian West
sip:brian at freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080715/30813239/attachment-0002.html
More information about the FreeSWITCH-users
mailing list