I have a server with a static IP, we’ll say its 188.8.131.52. I have a provider that sends calls from IP 184.108.40.206 or 220.127.116.11. The problem I’m having is that all incoming calls (even from sip scanners from palestine trying to hack me) all show up as coming from 18.104.22.168.
-- Executing [[email protected]:1] NoOp("SIP/22.214.171.124-00000006", "Received incoming SIP connection from unknown peer to +1917XXXXXXX") in new stack
-- Executing [[email protected]:2] Set("SIP/126.96.36.199-00000006", "DID=+1917XXXXXXX") in new stack
-- Executing [[email protected]:3] Goto("SIP/188.8.131.52-00000006", "s,1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [[email protected]:1] GotoIf("SIP/184.108.40.206-00000006", "0?checklang:noanonymous") in new stack
-- Goto (from-sip-external,s,5)
-- Executing [[email protected]:5] Set("SIP/220.127.116.11-00000006", "TIMEOUT(absolute)=15") in new stack
Channel will hangup at 2013-09-26 09:14:53.283 PDT.
-- Executing [[email protected]:6] Log("SIP/18.104.22.168-00000006", "WARNING,"Rejecting unknown SIP connection from 22.214.171.124"") in new stack
Yes and yes. I am able to receive and place calls just fine, as long as allow anonymous calls is set to yes.
More info please. You have provided absolutly no info on how your system is installed or configured. How it is connected to the internet? We can’t help if you don’t provide detailed information.
What would you like to know?
I have a business internet account with Cox cable, using a cisco dpc3010 modem. From there it goes to a dlink dir-655 router, and then straight to the asterisk box. I pay for a static ip and have no port blockings.
What else could I provide?
Do you have the correct ports forwarded to your PBX? Are the internal and external IP addresses configured in FreePBX?
With sip debugging, I can see the real address (126.96.36.199) come into asterisk, but its getting translated to 188.8.131.52 for some reason…
Sending to 184.108.40.206:1026 (NAT)
Using INVITE request as basis request - [email protected]
No matching peer for '+1917XXXXXXX' from '220.127.116.11:1026'
ip config from sip settings
External IP? 18.104.22.168
Local Networks? 192.168.0.0/255.255.255.0
What is in your localnet settings?