CallerID

how do i view CALLER ID’s via asterisk CLI? Seems like im only seeing SIP/peer and the called number. Any suggestions? appreciate your help. thanks

I don’t know of any CLI command however if you put an entry into your incoming dialplan context to save caller id to the database then you
can always do a database show command and look for the lastcallerid key

exten => s,1,Noop(“Incoming caller id being added to database)
exten => s,n,GotoIf($[”${CALLERID(num)}" = “”]?nodata)
exten => s,n,Set(DB(lastcallerid/number)=${CALLERID(num)})
exten => s,n,Set(DB(lastcallerid/name)=${CALLERID(name)})
exten => s,n(nodata),Noop(“Database may not have been changed”)

Question:
Is possible to configure a phone for only intranet call?