[Freeswitch-users] suppressed callerid number

Andrew Cassidy andrew at cassidywebservices.co.uk
Mon Mar 4 14:07:22 MSK 2013


don't forget the SIP Privacy header either...

On 3 March 2013 21:37, Steven Ayre <steveayre at 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 at 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 at 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 at freeswitch.org
>> >> http://www.freeswitchsolutions.com
>> >>
>> >> 
>> >> 
>> >>
>> >> Official FreeSWITCH Sites
>> >> http://www.freeswitch.org
>> >> http://wiki.freeswitch.org
>> >> http://www.cluecon.com
>> >>
>> >> 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
>> >
>> >
>> _________________________________________________________________________
>> > Professional FreeSWITCH Consulting Services:
>> > consulting at freeswitch.org
>> > http://www.freeswitchsolutions.com
>> >
>> > 
>> > 
>> >
>> > Official FreeSWITCH Sites
>> > http://www.freeswitch.org
>> > http://wiki.freeswitch.org
>> > http://www.cluecon.com
>> >
>> > 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
>> >
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> 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
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>


-- 
*Andrew Cassidy BSc (Hons) MBCS SSCA*
Managing Director


*T <info at cassidywebservices.co.uk> *03300 100 960
*F<info at cassidywebservices.co.uk>
 *03300 100 961
*E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
*W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130304/a8cb404c/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list