CallerID setup (Where incoming = anon)

Hello.

Currently our system accepts incoming caller ID information (from the PSTN) and passes it on to the appropriate SIP extension phone.

However sometimes we do not get incoming caller ID information because the remote party has decided to with-hold it.

In this instance the SIP extension phone displays “Err”.

Is there a way to make the SIP extension phone display something else like “Private” or “0000” if there is no originating (ie: PSTN) caller ID information?

Thanks in advance.

Michael

how do you interface to PSTN ? is the “Err” generated by Asterisk and shows as part of you CLI or log output ? (usually just blank if it’s unknown).

i would probably just use a GotoIf that checks the string, then use SET to set callerid (name and number) to a new value if it matches “Err”.

Through a SIP ↔ PSTN gateway provider.

[quote=“baconbuttie”]
i would probably just use a GotoIf that checks the string, then use SET to set callerid (name and number) to a new value if it matches “Err”.[/quote]

Can you provide an example please?

the wiki is your friend. you did read the sticky right ??

voip-info.org/wiki-Asterisk+cmd+GotoIf