[Asterisk-Users] Display "Confideltial" or "unknown" on callediddisplay

William Piper billy at kersting.com
Thu Apr 13 09:39:36 MST 2006


Here is what you would do for a sip call. I'm sure it isn't much different
for a PRI call.

[cid-block]
exten => _*67.,1,Ringing
exten => _*67.,2,goto(dial-cid-block,${EXTEN:3},1)
[dial-cid-block]
exten => _XXXXXXX,1,Macro(cid-block,1${CALLERIDNUM:-10:3}${EXTEN})
exten => _1NXXNXXXXXX,1,Macro(cid-block,${EXTEN:1})
exten => _NXXNXXXXXX,1,Macro(cid-block,1${EXTEN})
exten => _011.,1,goto(restricted,${EXTEN},1)
[macro-cid-block]
exten => s,1,SetCallerID(*)
exten => s,2,Dial(SIP/${ARG1}@${carrier1})
exten => s,3,hangup

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Totaro
Sent: Thursday, April 13, 2006 12:22 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] Display "Confideltial" or "unknown" on
callediddisplay

Prepend *67 if your carrier allows it

Thanks,
Steve Totaro
http://www.asteriskhelpdesk.com
 

> -----Original Message-----
> From: Andre Courchesne - Consultant [mailto:courchea at net-forces.com]
> Sent: Thursday, April 13, 2006 12:02 PM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] Display "Confideltial" or "unknown" on
called
> iddisplay
> 
> Hi,
> 
>    When making a call from an Asterisk box over a PRI connection, I am
> able to set the Caller ID phone number to what ever I want. This works
> find.
> 
>    How to I make the called party callerid display "Confidential" or
> "unknown" as we sometimes see ?
> 
> Andre
> _______________________________________________
> --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

_______________________________________________
--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


__________ NOD32 1.1476 (20060407) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com





More information about the asterisk-users mailing list