I just opened my firewall for voip test and saw many log like showed below:
[2020-07-23 23:11:16] VERBOSE[12793][C-0000015d] pbx.c: Executing [[email protected]:1] NoOp("PJSIP/anonymous-00000164", "Received incoming SIP connection from unknown peer to 0019146423112952") in new stack
[2020-07-23 23:11:16] VERBOSE[12793][C-0000015d] pbx.c: Executing [[email protected]:2] Set("PJSIP/anonymous-00000164", "DID=0019146423112952") in new stack
[2020-07-23 23:11:16] VERBOSE[12793][C-0000015d] pbx.c: Executing [[email protected]:3] Goto("PJSIP/anonymous-00000164", "s,1") in new stack
[2020-07-23 23:11:16] VERBOSE[12793][C-0000015d] pbx_builtins.c: Goto (from-sip-external,s,1)
[2020-07-23 23:11:16] VERBOSE[12793][C-0000015d] pbx.c: Executing [[email protected]:1] GotoIf("PJSIP/anonymous-00000164", "1?setlanguage:checkanon") in new stack
[2020-07-23 23:11:16] VERBOSE[12793][C-0000015d] pbx_builtins.c: Goto (from-sip-external,s,2)
[2020-07-23 23:11:16] VERBOSE[12793][C-0000015d] pbx.c: Executing [[email protected]:2] Set("PJSIP/anonymous-00000164", "CHANNEL(language)=en") in new stack
[2020-07-23 23:11:16] VERBOSE[12793][C-0000015d] pbx.c: Executing [[email protected]:3] GotoIf("PJSIP/anonymous-00000164", "1?noanonymous") in new stack
[2020-07-23 23:11:16] VERBOSE[12793][C-0000015d] pbx_builtins.c: Goto (from-sip-external,s,5)
[2020-07-23 23:11:16] VERBOSE[12793][C-0000015d] pbx.c: Executing [[email protected]:5] Set("PJSIP/anonymous-00000164", "TIMEOUT(absolute)=15") in new stack
[2020-07-23 23:11:16] VERBOSE[12793][C-0000015d] func_timeout.c: Channel will hangup at 2020-07-23 23:11:31.040 CST.
[2020-07-23 23:11:16] VERBOSE[12793][C-0000015d] pbx.c: Executing [[email protected]:6] Set("PJSIP/anonymous-00000164", "receveip=pjsip,remote_addr") in new stack
[2020-07-23 23:11:16] VERBOSE[12793][C-0000015d] pbx.c: Executing [[email protected]:7] Log("PJSIP/anonymous-00000164", "WARNING,"Rejecting unknown SIP connection from 156.96.117.183:58154"") in new stack
[2020-07-23 23:11:16] WARNING[12793][C-0000015d] Ext. s: "Rejecting unknown SIP connection from 156.96.117.183:58154"
[2020-07-23 23:11:16] VERBOSE[12793][C-0000015d] pbx.c: Executing [[email protected]:8] Answer("PJSIP/anonymous-00000164", "") in new stack
I have several questions:
- Is 156.96.117.183 tried to connect my freepbx but freebpx did not serve this ip address?
- I have several subnet defined in local networks under general sip settings tab. Every sip client from local network can use outbound route to reach remote sip device and any other client not listed in local network will be rejected by freebpx. Is this right?
- sip device must register in extensions module before that got served by freepbx. any sip device not register to freepbx will not be served even they are in local network. Is this right?
- what about the anonymous appeared in log? I do not see any information in freepbx wiki. Will freepbx serve anonymous sip cient?
Sorry, I am just a freepbx newbee who is trying to figure out these important security issue. Any help would be appreciated.
Thanks,