You’re going to need to actually provide an example call, including console output and SIP trace (sip set debug on). What have you yourself done to try to figure out what is going on?
It seems like whenever I run asterisk command “asterisk -r”, automatically random numbers are being registered like 984, 1094, 876 etc. Though I have only 4 numbers registered in “sip.cof” file i.e 211,212,213,214.
And as you said “sip set debug on”, when i run this command , infinite number of logs are being generated. So I’m confused from where to start debug.
You are missing steps from the installation if you expect it to be configured.
Even assuming you mean log entries, an infinite number will require infinite time and infinite storage space.
You need to simplify the problem until you have manageably sized logs, e.g. run on an isolated system with only a few test devices, then build up from there.