logging - Asterisk and fake number - how to identify ? -


with asterisk, guess possible make call "fake" number (for example, phone number in company 123456 , call make show main number of company, 123400).

as normal person, spam calls. , it's boring me.

therefore, i'd find way identify true carrier or true origin call.

for example, call false number (+33 6 xx xx xx xx) might coming france, number wrong (not given phone provider). so, i'd know if it's possible origin of call (the country, provider or, real number).

any welcome : solution, conf file, documentation, tips, iso standards.

thank you.

the short answer - you can't...

if has access pstn @ ss7 level set there own (incorrect) caller id it's down telco provide access originating party. recipient of call , normal user have no way trace call origin. telco may able assist if threatening or abusive calls, if example in uk can register telephone preference service, report concerns ofcom or information commissioners office investigate - not tell true origin.

if calls come via sip/aix/mgcp etc may able deduce ip address initiated call(s) or shows in headers, again there no 100% way trace calls have come from.

if use asterisk , receiving calls 'invalid' caller id's best suggestion blacklist them in extensions.conf file.

this rule example blocks sending caller id starting 087 , 1 below blocks lazy system admins send unavailable

exten => s,2,gotoif($["${callerid(num):0:3}" = "087"]?103:3) exten => s,7,gotoif($["${callerid(name):0:11}" = "unavailable"]?103:8)

these have been pulled running config - if need entire config section post comment , i'll anonymize version , update answer you.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -