Getting the incomming number over Voip

hi!
Anybody know if there is a command from CLI, on how to get the number of the incomming call (CallerID)?

-kudos

are you talking CALLERID(num) for the number of the caller, or CALLERID(dnid) that’s sometimes available for the number (or account number with your provider) they called ?

Im talking about CallerID(num)

solved it (its monday so I am a bit slow today)

-kudos