Link to home
Start Free TrialLog in
Avatar of jetli87
jetli87

asked on

Asterisk 1.8.6 Block outbound callerID for PRI

Hi, I have a PRI line with my Asterisk v. 1.8.6.

I can manipulate the outbound callerid, but cannot set it to block.

When i try the below code, the PRI DID will end up showing.

Is there a special syntax i need to apply on sip.conf or dhadi to enable blocking?

Set(CALLERID(num)=""))
Set(CALLERID(name)="Anon"))

Open in new window

Avatar of grblades
grblades
Flag of United Kingdom of Great Britain and Northern Ireland image

When the callerid is invalid your telco will normally set it to the normal line number.
You need to set the callerid presentation which is the information which signals if the callerid is withheld. See http://www.voip-info.org/wiki/view/Asterisk+func+callerid
ASKER CERTIFIED SOLUTION
Avatar of grblades
grblades
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jetli87
jetli87

ASKER

worked like a charm.

thanks for the info...Got mislead by a few other blogs.
Avatar of jetli87

ASKER

How do i set callerID name?  I tried callerid(name) but it never shows.
Callerid name isnt supported by most general telecomms providers (if any). Its mainly only used for SIP based phones.
Avatar of jetli87

ASKER

thanks.