Connecting SIP from outside the Network

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Connecting SIP from outside the Network

Postby Leckbush » Mon Nov 26, 2018 9:12 am

Hi Im trying to connect a SIP Phone from outside/remotely. But I couldnt get the SIP registered (Request Timeout)
*We have static external IP x.x.x.x
*SIP Phone Port 5060 is port forwarded on router
*NAT is set to yes on SIP.conf

I try to ping our IP outside but couldnt ping (I already know this because router is not accepting any ping request) But our vicidial web server which is our ip is accessible.

Any help guys? I do search this but only find all of them to turn on NAT which is turned on.
Server 1: ViciBox v.8.1.2 181002 | Single Machine | VERSION: 2.14-580c BUILD: 190406-1615| Asterisk 13.21.1-vici
i7-4790K - 16GB DDR3 - 1TB HDD
Leckbush
 
Posts: 126
Joined: Sat May 12, 2018 6:35 pm
Location: Philippines

Re: Connecting SIP from outside the Network

Postby thephaseusa » Mon Nov 26, 2018 1:30 pm

You say you have someone trying to register their sip phone from outside your network, such as a work from home agent or another call center, correct?

Did you allow their IP address in your whitelist firewall?

Look at asterisk -r when they try to register. If you aren’t seeing anything there, they are not getting through your firewall.
thephaseusa
 
Posts: 345
Joined: Tue May 16, 2017 2:23 pm

Re: Connecting SIP from outside the Network

Postby Leckbush » Mon Nov 26, 2018 2:08 pm

But their IP is not static? If I set their IP today, It might be different tomorrow
Server 1: ViciBox v.8.1.2 181002 | Single Machine | VERSION: 2.14-580c BUILD: 190406-1615| Asterisk 13.21.1-vici
i7-4790K - 16GB DDR3 - 1TB HDD
Leckbush
 
Posts: 126
Joined: Sat May 12, 2018 6:35 pm
Location: Philippines

Re: Connecting SIP from outside the Network

Postby williamconley » Mon Nov 26, 2018 2:23 pm

sip.conf: externip value must be set to the actual public ip of the router.

telnet to port 5060. if ping is off, that's the only way to verify your port forward worked.

https://serverfault.com/questions/85721 ... -in-centos

of course, if you also forward port 80 you can at least verify that port has forwarded very easily (with any web browser) and if that works and is forwarded using the same method as 5060, you have pretty good odds 5060 is also forwarded properly. But telnet to port 5060 will be conclusive. Note you can't register a phone with telnet, but you can send and receive packets to confirm packets are passing.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 41 guests