<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hey Russel, thank you for your response.</div>
<div> </div>
<div>Nope, there're no NATs in my setup.</div>
<div> </div>
<div>I also should mention, that when I test my setup on FS machine with sipp:</div>
<div> </div>
<div>sipp -d 1 -r 1 -m 1 -i fs.ip.addr 1.1.1.1:5060</div>
<div> </div>
<div>
<div>------------------------------ Scenario Screen -------- [1-9]: Change Screen --<br/>
Call-rate(length) Port Total-time Total-calls Remote-host<br/>
1.0(1 ms)/1.000s 5061 1.08 s 1 1.1.1.1:5060(UDP)</div>
<div> </div>
</div>
<div>the target sip server gets incoming call as it should do.</div>
<div> </div>
<div>Thanks / Mike</div>
<div> </div>
<div> </div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Sent:</b> Monday, September 21, 2015 at 6:55 PM<br/>
<b>From:</b> "Russell Treleaven" <rtreleaven@bunnykick.ca><br/>
<b>To:</b> "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org><br/>
<b>Subject:</b> Re: [Freeswitch-users] gateway registration problem</div>
<div name="quoted-content">
<div>
<div>Is there NAT anywhere between the sip endpoints?</div>
<div> </div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">On Mon, Sep 21, 2015 at 11:49 AM, Mi Ke <span><<a href="mi.ke@null.net" target="_parent">mi.ke@null.net</a>></span> wrote:
<blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex;border-left: 1.0px rgb(204,204,204) solid;padding-left: 1.0ex;">
<div>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>Hi All,</div>
<div> </div>
<div>I want to register my FS machine (FreeSWITCH Version 1.6.0 - git 6762f14 2015-09-03 20:36:52Z 64bit - CentOS 6.7, selinux is disabled for debugging) as endpoint at another target SIP server (1.1.1.1). This is my gateways section:</div>
<div> </div>
<div>
<div> <gateway name="1111"><br/>
<param name="register" value="true"/><br/>
<param name="register-transport" value="udp"/><br/>
<param name="username" value="1111"/><br/>
<param name="realm" value="1.1.1.1"/><br/>
<param name="password" value='my_strong_pass"/><br/>
<param name="proxy" value="1.1.1.1"/><br/>
<param name="expire-seconds" value="90"/><br/>
</gateway></div>
<div> </div>
<div>The problem is - a target server at 1.1.1.1 receives absolutely no packets from my FS machine and I'm getting constant registration timeouts:</div>
<div> </div>
<div>
<div>2015-09-21 15:01:46.764466 [ERR] sofia_reg.c:2101 487020870 Registration Failed with status Request Timeout [408]. failure #1<br/>
2015-09-21 15:01:46.864501 [WARNING] sofia_reg.c:469 487020870 Failed Registration [408], setting retry to 30 seconds.</div>
</div>
<div> </div>
<div>Meanwhile, when I do UDP scan of port 5060 on 1.1.1.1 from FS machine, I see that port is opened:</div>
<div> </div>
<div>
<div>[root@srv]# nmap -sU -Pn -p U:5060 1.1.1.1</div>
<div>Starting Nmap 5.51 ( <a href="http://nmap.org" target="_blank">http://nmap.org</a> ) at 2015-09-21 15:28 EEST<br/>
Nmap scan report for 1.1.1.1<br/>
Host is up.<br/>
PORT STATE SERVICE<br/>
5060/udp open|filtered sip</div>
<div>Nmap done: 1 IP address (1 host up) scanned in 2.28 seconds<br/>
[root@srv]#</div>
<div> </div>
<div>When I filter out port 5060 on target machine 1.1.1.1 I see appropriate lines in the log showing filtered requests:</div>
<div> </div>
<div>
<div>Sep 21 10:39:57 sip kernel: DROP IN=eth0 OUT= MAC=00:16:3c SRC=2.2.2.2 DST=1.1.1.1 LEN=28 TOS=0x00 PREC=0x00 TTL=52 ID=10616 PROTO=UDP SPT=47229 DPT=5060 LEN=8<br/>
Sep 21 10:39:58 sip kernel: DROP IN=eth0 OUT= MAC=00:16:3c: SRC=2.2.2.2 DST=1.1.1.1 LEN=28 TOS=0x00 PREC=0x00 TTL=47 ID=23653 PROTO=UDP SPT=47230 DPT=5060 LEN=8</div>
<div> </div>
<div>Firewalls on both machines are off for debugging:</div>
<div> </div>
<div>
<div>[root@srv]# iptables -L -n<br/>
Chain INPUT (policy ACCEPT)<br/>
target prot opt source destination</div>
<div>Chain FORWARD (policy ACCEPT)<br/>
target prot opt source destination</div>
<div>Chain OUTPUT (policy ACCEPT)<br/>
target prot opt source destination<br/>
[root@srv]#</div>
</div>
<div> </div>
<div>I've spent many hours while investigating that quest but still have no ideas on what's happening. I'll highly appreciate if someone can point on where else I can look to resolve my issue.</div>
<div> </div>
<div>Thanks in advance</div>
<div> </div>
<div>Mike</div>
</div>
</div>
<div> </div>
<div> </div>
</div>
</div>
</div>
<br/>
_________________________________________________________________________<br/>
Professional FreeSWITCH Consulting Services:<br/>
<a href="consulting@freeswitch.org" target="_parent">consulting@freeswitch.org</a><br/>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br/>
<br/>
Official FreeSWITCH Sites<br/>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br/>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br/>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br/>
<br/>
FreeSWITCH-users mailing list<br/>
<a href="FreeSWITCH-users@lists.freeswitch.org" target="_parent">FreeSWITCH-users@lists.freeswitch.org</a><br/>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br/>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br/>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></blockquote>
</div>
</div>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a> Official FreeSWITCH Sites <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a> <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div>
</div>
</div>
</div></div></body></html>