Blocking Outgping Caller Id On A PRI E1
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
4 thoughts on - Blocking Outgping Caller Id On A PRI E1
It is likely being set by your PRI provider. Contact them to investigate.
All the best…
Thanks David
This line was operating with caller id withheld from a Cisco, so I am confident that it is possible to block the caller id on the line.
If I’ve covered all the possibilities from the Asterisk end I will see if we can get the supplier to assist, but I would prefer to get it done in Asterisk.
Neil
Can you try
exten => s,n,Set(CALLERID(num)=anonymous)
in your dialplan before passing the call to the PRI?
and/or
exten => s,n,Set(CALLERID(name)=anonymous)
and/or
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:
If the pri accepts feature codes just prefix all calls with *67 or what ever your lec feature code is.
Nathan Kirk