[asterisk-users] Blocking outgping caller id on a PRI E1

Markus universe at truemetal.org
Wed Nov 8 12:58:18 CST 2017

Can you try

exten => s,n,Set(CALLERID(num)=anonymous)

in your dialplan before passing the call to the PRI?


exten => s,n,Set(CALLERID(name)=anonymous)


exten => s,n,Set(CALLERID(all)=anonymous)

If it doesn't work, maybe replace the "anonymous" with "" or something else.

Sorry, no guarantee, just a shot in the dark.

Am 08.11.2017 um 16:02 schrieb Neil Youngman:
> I am trying to block/hide outgoing caller id on a PRI E1.
> It seems that it should be fairly simple, but it is defeating me.
> https://wiki.asterisk.org/wiki/display/AST/Function_CALLERID says:
> "to hide your caller id, use: Set(CALLERID(num-pres)=prohib)"
> That doesn't seem to do it.
> The calls are originated from AMI and I have tried a blank "CallerId:" line and "CallerId: <>"". Neither of those made any difference.
> I have also tried "hidecallerid=yes" in chan_dahdi.conf, but that has also made no difference.
> I assume that I am missing something obvious?
> Neil Youngman
> Neil Youngman
> Developer
> Wirefast Limited
> Wirefast provides secure corporate messaging services.
> See our messaging solutions at  http://www.wirefast.com/
> Please consider the environment.
> Does this email or attachment need to be printed?
> This message contains confidential information and is intended only
> for the individual named. If you are not the named addressee you
> should not disseminate, distribute or copy this email. Please
> notify the sender immediately by email if you have received this
> email by mistake and delete this email from your system.
> Any views or opinions are solely those of the author
> and do not necessarily represent those of Wirefast Limited
> Email transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses. The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of email transmission.
> Wirefast Limited is registered in England & Wales
> Company number: 03865860
> Registered Office: 7/10 Chandos Street, Cavendish Square, London, W1G 9DQ
> Wirefast definitions of classification can be found here: www.wirefast.com/classifications

More information about the asterisk-users mailing list