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:[EMAIL PROTECTED]



_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to