The display name when unknown caller

When a call with unknown caller enter from TDM to dialplan and it dials to a SIP account, the IP telephone shows the label ‘asterisk’.

Are there any way to configure this? It could set to ‘unknown’ or similar?


Set the callerid for it
As in java-asterisk this can be achieved with this.


I believe the default caller ID outbound to a SIP device is set by callerid in the general section of sip.conf.

If you set it explicitly, in the dialplan, you will need to do so conditionally, as you will, otherwise, lose the caller ID even when it is present.

In my view, AGI is over-used. manipulating caller ID can easily be done without it.

Hi Koke65727!

I do it like this in my dialplan:

exten => s,n,GotoIf($[$["${CALLERID(name)}" = "Anonymous"] | $["${CALLERID(name)}" = "Unavailable"]]?s,setanonnum:) ; Is it a hidden number? ... ... exten => s,n(setanonnum),Set(CALLERID(all)=${CALLERID(name)} <0000000000>) ; we gives it zero instead!
If there is no number at all you can add to the GotoIf line to also look after a NULL value!