[asterisk-users] Block some number outgoing from joust one extention

Marco Mouta marco.mouta at gmail.com
Wed Jan 3 09:50:48 MST 2007


Hi Mattias, add this to your dialplan:

exten=> _XXXX/CALLERIDNUMBER,1,Hangup()
; Basically you are doing a pattern match with callerid match on your first
priority!
; You may keep your remaining dialplan, no changes needed

Pls Give me some feedback

Best Regards,
MoutaPT

On 1/3/07, Mattias Andersson <eskes1 at gmail.com> wrote:
>
> Hi all!
> I am shore someone have writing about it bout I cant find it.
> I have a extension that I need to block from making expansive mobil calls.
> Everyone else should be aloud to do the calls.
>
> I am shore it is possible to be done sens I had a
> commercial asterisk based PBX that I did that on.
> However I have switch to Trixbox because I need
> some custom functions not supported by the commercial product.
> I would appreciate all help.
> Regards
> Mattias
>
>
>
>
>
>
> ====================================================================
> Adress:
> Mattias Andersson
> Storskiftesvägen 6
> S-145 60 Norsborg
>
> Mobil: +46-70-799 44 41
> Email: eskes at home.se
> Skype: eskes1
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070103/d8c959ed/attachment.htm


More information about the asterisk-users mailing list