i think you should define Netelip as sofia_profiles/external/netelip.xml because you should register to Netelip. you define netelip in conf/directory/default/example.conf.xml when you require netelip to register to your FS.<br>
<br><div class="gmail_quote">On Sat, Apr 14, 2012 at 9:11 AM, Jose Miguel Sucasas Mejuto <span dir="ltr">&lt;<a href="mailto:jmsucasas@me.com">jmsucasas@me.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div>Hello,</div><div><div><br></div><div>   I have installed freeSwitch 1.1beta from the git repository (FreeSWITCH-mod_sofia/1.1.beta1-git-d2edcad 2012-03-31 23-42-27 +0000).  My SIP provider (Netelip) is defined in conf/directory/default/example.conf.xml:</div>
<div><br></div><div><div><font face="Courier">&lt;include&gt;</font></div><div><font face="Courier">  &lt;user id=&quot;$${default_provider}&quot;&gt;</font></div><div><font face="Courier">    &lt;gateways&gt;</font></div>
<div><font face="Courier">      &lt;gateway name=&quot;$${default_provider}&quot;&gt;</font></div><div><font face="Courier"><span style="white-space:pre-wrap">        </span>&lt;param name=&quot;username&quot; value=&quot;$${default_provider_username}&quot;/&gt;</font></div>
<div><font face="Courier"><span style="white-space:pre-wrap">        </span>&lt;param name=&quot;password&quot; value=&quot;$${default_provider_password}&quot;/&gt;</font></div><div><font face="Courier"><span style="white-space:pre-wrap">        </span>&lt;param name=&quot;from-user&quot; value=&quot;$${default_provider_username}&quot;/&gt;</font></div>
<div><font face="Courier"><span style="white-space:pre-wrap">        </span>&lt;param name=&quot;from-domain&quot; value=&quot;$${default_provider_from_domain}&quot;/&gt;</font></div><div><font face="Courier"><span style="white-space:pre-wrap">        </span>&lt;param name=&quot;expire-seconds&quot; value=&quot;600&quot;/&gt;</font></div>
<div><font face="Courier"><span style="white-space:pre-wrap">        </span>&lt;param name=&quot;register&quot; value=&quot;$${default_provider_register}&quot;/&gt;</font></div><div><font face="Courier"><span style="white-space:pre-wrap">        </span>&lt;param name=&quot;retry-seconds&quot; value=&quot;30&quot;/&gt;</font></div>
<div><font face="Courier"><span style="white-space:pre-wrap">        </span>&lt;param name=&quot;extension&quot; value=&quot;$${default_provider_contact}&quot;/&gt;</font></div><div><font face="Courier"><span style="white-space:pre-wrap">        </span>&lt;param name=&quot;auth-calls&quot; value=&quot;false&quot;/&gt;</font></div>
<div><font face="Courier"><span style="white-space:pre-wrap">        </span>&lt;!--&lt;param name=&quot;contact-params&quot; value=&quot;domain_name=$${domain}&quot;/&gt;--&gt;</font></div><div><font face="Courier"><span style="white-space:pre-wrap">        </span>&lt;param name=&quot;context&quot; value=&quot;public&quot;/&gt;</font></div>
<div><font face="Courier">      &lt;/gateway&gt;</font></div><div><font face="Courier">    &lt;/gateways&gt;</font></div><div><font face="Courier">    &lt;params&gt;</font></div><div><font face="Courier">      &lt;param name=&quot;password&quot; value=&quot;$${default_provider_password}&quot;/&gt;</font></div>
<div><font face="Courier">    &lt;/params&gt;</font></div><div><font face="Courier">  &lt;/user&gt;</font></div><div><font face="Courier">&lt;/include&gt;</font></div></div><div><br></div><div><span style="white-space:pre-wrap">        </span>and doesn&#39;t authenticate inbound calls (insecure=invite in asterisk language). When I receive an inbound call,  I receive the following error:</div>
<div><br></div><div><div><font face="Courier">freeswitch@internal&gt; </font></div><div><font face="Courier">recv 1000 bytes from udp/[194.140.135.80]:5060 at 23:23:10.163377:</font></div><div><font face="Courier">   ------------------------------------------------------------------------</font></div>
<div><font face="Courier">   INVITE <a>sip:34810101189@sukmad.dyndns-home.com</a> SIP/2.0</font></div><div><font face="Courier">   Via: SIP/2.0/UDP 194.140.135.80:5060;branch=z9hG4bK6bb16a10;rport</font></div><div><font face="Courier">   From: &quot;916495242&quot; &lt;<a>sip:916495242@194.140.135.80</a>&gt;;tag=as7a2a97e5</font></div>
<div><font face="Courier">   To: &lt;<a>sip:34810101189@sukmad.dyndns-home.com</a>&gt;</font></div><div><font face="Courier">   Contact: &lt;<a>sip:916495242@194.140.135.80</a>&gt;</font></div><div><font face="Courier">   Call-ID: <a href="mailto:6c47a4064ef8d0641da415d2121e3226@194.140.135.80" target="_blank">6c47a4064ef8d0641da415d2121e3226@194.140.135.80</a></font></div>
<div><font face="Courier">   CSeq: 102 INVITE</font></div><div><font face="Courier">   User-Agent: Netelip</font></div><div><font face="Courier">   Max-Forwards: 70</font></div><div><font face="Courier">   Date: Fri, 13 Apr 2012 23:23:51 GMT</font></div>
<div><font face="Courier">   Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO</font></div><div><font face="Courier">   Supported: replaces</font></div><div><font face="Courier">   Content-Type: application/sdp</font></div>
<div><font face="Courier">   Content-Length: 425</font></div><div><font face="Courier">   </font></div><div><font face="Courier">   v=0</font></div><div><font face="Courier">   o=root 1249 1249 IN IP4 194.140.135.80</font></div>
<div><font face="Courier">   s=session</font></div><div><font face="Courier">   c=IN IP4 194.140.135.80</font></div><div><font face="Courier">   t=0 0</font></div><div><font face="Courier">   m=audio 16474 RTP/AVP 8 0 97 3 18 4 101</font></div>
<div><font face="Courier">   a=rtpmap:8 PCMA/8000</font></div><div><font face="Courier">   a=rtpmap:0 PCMU/8000</font></div><div><font face="Courier">   a=rtpmap:97 iLBC/8000</font></div><div><font face="Courier">   a=fmtp:97 mode=30</font></div>
<div><font face="Courier">   a=rtpmap:3 GSM/8000</font></div><div><font face="Courier">   a=rtpmap:18 G729/8000</font></div><div><font face="Courier">   a=fmtp:18 annexb=no</font></div><div><font face="Courier">   a=rtpmap:4 G723/8000</font></div>
<div><font face="Courier">   a=fmtp:4 annexa=no</font></div><div><font face="Courier">   a=rtpmap:101 telephone-event/8000</font></div><div><font face="Courier">   a=fmtp:101 0-16</font></div><div><font face="Courier">   a=silenceSupp:off - - - -</font></div>
<div><font face="Courier">   a=ptime:20</font></div><div><font face="Courier">   a=sendrecv</font></div><div><font face="Courier">   ------------------------------------------------------------------------</font></div><div>
<font face="Courier">send 382 bytes to udp/[194.140.135.80]:5060 at 23:23:10.164409:</font></div><div><font face="Courier">   ------------------------------------------------------------------------</font></div><div><font face="Courier">   SIP/2.0 100 Trying</font></div>
<div><font face="Courier">   Via: SIP/2.0/UDP 194.140.135.80:5060;branch=z9hG4bK6bb16a10;rport=5060</font></div><div><font face="Courier">   From: &quot;916495242&quot; &lt;<a>sip:916495242@194.140.135.80</a>&gt;;tag=as7a2a97e5</font></div>
<div><font face="Courier">   To: &lt;<a>sip:34810101189@sukmad.dyndns-home.com</a>&gt;</font></div><div><font face="Courier">   Call-ID: <a href="mailto:6c47a4064ef8d0641da415d2121e3226@194.140.135.80" target="_blank">6c47a4064ef8d0641da415d2121e3226@194.140.135.80</a></font></div>
<div><font face="Courier">   CSeq: 102 INVITE</font></div><div><font face="Courier">   User-Agent: FreeSWITCH-mod_sofia/1.1.beta1-git-d2edcad 2012-03-31 23-42-27 +0000</font></div><div><font face="Courier">   Content-Length: 0</font></div>
<div><font face="Courier">   </font></div><div><font face="Courier">   ------------------------------------------------------------------------</font></div><div><font face="Courier">2012-04-14 01:23:10.162331 [DEBUG] sofia.c:7598 IP 194.140.135.80 Rejected by acl &quot;domains&quot;. Falling back to Digest auth.</font></div>
<div><font face="Courier">send 871 bytes to udp/[194.140.135.80]:5060 at 23:23:10.166026:</font></div><div><font face="Courier">   ------------------------------------------------------------------------</font></div><div>
<b><font color="#af170f" face="Courier">   SIP/2.0 407 Proxy Authentication Required</font></b></div><div><font face="Courier">   Via: SIP/2.0/UDP 194.140.135.80:5060;branch=z9hG4bK6bb16a10;rport=5060</font></div><div><font face="Courier">   From: &quot;916495242&quot; &lt;<a>sip:916495242@194.140.135.80</a>&gt;;tag=as7a2a97e5</font></div>
<div><font face="Courier">   To: &lt;<a>sip:34810101189@sukmad.dyndns-home.com</a>&gt;;tag=SaBHcvmm7evNF</font></div><div><font face="Courier">   Call-ID: <a href="mailto:6c47a4064ef8d0641da415d2121e3226@194.140.135.80" target="_blank">6c47a4064ef8d0641da415d2121e3226@194.140.135.80</a></font></div>
<div><font face="Courier">   CSeq: 102 INVITE</font></div><div><font face="Courier">   User-Agent: FreeSWITCH-mod_sofia/1.1.beta1-git-d2edcad 2012-03-31 23-42-27 +0000</font></div><div><font face="Courier">   Accept: application/sdp</font></div>
<div><font face="Courier">   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE</font></div><div><font face="Courier">   Supported: timer, precondition, path, replaces</font></div>
<div><font face="Courier">   Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer</font></div><div><font face="Courier">   Proxy-Authenticate: Digest realm=&quot;194.140.135.80&quot;, nonce=&quot;bc1571d4-0957-4609-a887-7c3359b9ae9c&quot;, algorithm=MD5, qop=&quot;auth&quot;</font></div>
<div><font face="Courier">   Content-Length: 0</font></div></div><div><br></div><div><span style="white-space:pre-wrap">        </span>I have read in forums that the solution to this problem is to add the IP to the acl.conf.xml, like this:</div>
<div><br></div><div><div><font face="Courier">    &lt;list name=&quot;domains&quot; default=&quot;deny&quot;&gt;</font></div><div><font face="Courier">      &lt;!-- domain= is special it scans the domain from the directory to build the ACL --&gt;</font></div>
<div><font face="Courier">      &lt;node type=&quot;allow&quot; domain=&quot;$${domain}&quot;/&gt;</font></div><div><font face="Courier">      &lt;!-- use cidr= if you wish to allow ip ranges to this domains acl. --&gt;</font></div>
<div><font face="Courier">      <b>&lt;node type=&quot;allow&quot; cidr=&quot;<a href="http://194.140.135.80/24" target="_blank">194.140.135.80/24</a>&quot;/&gt; </b></font></div><div><font face="Courier">    &lt;/list&gt;</font></div>
</div><div><br></div><div><span style="white-space:pre-wrap">        </span>But my SIP provider have a dynamic IP, and it&#39;s behind a NAT.  If my SIP provider will use any IP, ¿Where can I do this without enabling all IPs to enter calls in my system?</div>
</div><div><br></div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Regards.</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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="mailto:FreeSWITCH-users@lists.freeswitch.org">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><br>
<br></blockquote></div><br>