don't forget the SIP Privacy header either... On 3 March 2013 21:37, Steven Ayre <steveayre@gmail.com> wrote:
Just a thought to bear in mind, this'll only work as a casual block.
Over SIP the caller is free to send anything they like, which means your customer's could easily send something fake to avoid the block. And many pure-VoIP callers won't have any sort of CallerID at all.
-Steve
On 3 March 2013 21:08, Tamer Higazi <th982a@googlemail.com> wrote:
Hi Nick! Thank you very much... what you did was really a help for me. The second part I have accomplished with mod_blacklist.
Tamer
Am 03.03.2013 07:31, schrieb Nick Vines:
I have had success putting something like either of the following in front of all incoming calls. The first sample extension blocks caller ids that are 1-4 digits long or unavailable. The second blocks anything that isn't 1nxxnxxxxxx. You could take the first and add in a couple more terms to catch your blocked caller id calls.
<extension name="spamkill"> <condition field="caller_id_number" expression="(^\d{1,4}$)|(^Unavailable$)" break="on-true"> <action application="answer"/> <action application="sleep" data="1000" /> <action application="hangup" data="UNAVAILABLE_CALLER_ID_A" /> <action application="log" data="INFO Another unavailable caller terminated." /> </condition> </extension>
<extension name="spamkill_max" continue="true"> <condition field="caller_id_number" expression="^\+?1[2-9]\d{2}[2-9]\d{6}$" > <anti-action application="answer"/> <anti-action application="sleep" data="1000" /> <anti-action application="hangup" data="UNAVAILABLE_MAX" /> <anti-action application="log" data="INFO Another caller killed by terminated." /> </condition> </extension>
Nick
On Mar 2, 2013, at 1:04 PM, Tamer Higazi <th982a@googlemail.com> wrote:
Hi people! I am interisted to block all calls that come without callerid or the party has suppressed the number.
Any ideas how the xml condition has to look like?!
Tamer
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director *T <info@cassidywebservices.co.uk> *03300 100 960 *F<info@cassidywebservices.co.uk> *03300 100 961 *E <info@cassidywebservices.co.uk> *andrew@cassidywebservices.co.uk *W <info@cassidywebservices.co.uk> *www.cassidywebservices.co.uk