[Asterisk-Users] Hide outgoing CallerId on Zap interface

Pertti Pikkarainen ppik at lanwan.fi
Mon Feb 16 11:22:25 MST 2004


This is excactly what  restrictcid=yes
does in sip.conf.

Eg. when it is used you'll see this in pri debug:

Calling Number (len=12) [ Ext: 0  TON: Subscriber Number (4)  NPI: 
ISDN/Telephony Numbering Plan (
E.164/E.163) (1) 
Presentation: Presentation prohibited, user number passed network 
screening (33)  12345

12345 is your number but it will not be passed to the other party that 
is being called.


-- Pertti


Alfred R. Nurnberger wrote:

>The correct way to hide your callerid on a PRI interface is to set the
>presentation indicator.
>Some CO switches do a basic sanity check on the callerid they receive. If
>you set the number string to empty
>but the presentation indicator to allow the number they will replace the
>number string by your main number.
>
>I do not know how or if possible to change the presentation indicator on *
>but a look in libpri should give some clues.
>
>- Alfred.
>
>-----Original Message-----
>From: asterisk-users-admin at lists.digium.com
>[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Mickey Binder
>Sent: Monday, February 16, 2004 6:13 AM
>To: asterisk-users at lists.digium.com
>Subject: RE: [Asterisk-Users] Hide outgoing CallerId on Zap interface
>
>
>There seems to be some trouble with either the maillist or my client. I
>haven't received any of the posted replys on this topic, but found the
>replys through the asterisk.linkx.net search engine. But anyways here is the
>reply on the mail from: "James H dot  Cloos Jr." <cloos at jhcloos.com>
>
>  
>
>>>If it is a pri I'd give SetCallerID("<>") a try in the dialplan.
>>>      
>>>
>
>It is a PRI and I've tried the SetCallerId("<>") which displays my PRI main
>number, like the other experiments I've tried.
>I talked to my Telco provider which said that it isn't possible to hide the
>number via shortcodes but that it should be done via my PABX.
>
>-----Original Message-----
>From: Mickey Binder [mailto:mickey at comflex.dk]
>Sent: 13. februar 2004 12:14
>To: Asterisk maillist
>Subject: [Asterisk-Users] Hide outgoing CallerId on Zap interface
>
>Hi there
>
>I know I have asked a somehow similar question earlier but since then I've
>tried some different things which isn't working.
>
>I want to completely hide my outgoing CallerId when dialing out on my Zap
>interface.
>I've tried a lot of different settings in sip.conf and hoped that zap would
>hide the CallerId if sip was told to do so, but that wasn't the case.
>Then I've tried to set hidecallerid=yes in zapata.conf (and restarted *) but
>this only results in my main number CallerId being displayed.
>Is it somehow possible to completely hide the CallerId, like when someone
>from a secret number is calling and the display on my mobile says
>"Secret number" ?
>
>And if that is possible, is it then possible to do it on a per-user basis
>configured via sip.conf?
>
>regards,
>Mickey Binder
>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>  
>




More information about the asterisk-users mailing list