[Freeswitch-users] Call-Blocking application

Jonas Gauffin jonas.gauffin at gmail.com
Tue Jul 15 03:42:30 PDT 2008


Use mod_xml_curl, create a handler in php or your favorite webscript language.

return status="notfound" for all entries that are valid (which will
make FreeSWITCH to use the default dialplan).

Play a phrase and hangup or something for the entries that should be blocked.


On Tue, Jul 15, 2008 at 12:28 PM, Alois Komenda
<alois.komenda at esk.fraunhofer.de> 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,
>
> --
> Alois Komenda
> Fraunhofer-Einrichtung für Systeme der Kommunikationstechnik ESK
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>




More information about the FreeSWITCH-users mailing list