correction ... it should be in conf/sip_profiles/external/netelip.xml. :-)<br><br><div class="gmail_quote">On Mon, Apr 16, 2012 at 2:25 PM, Nandy Dagondon <span dir="ltr"><<a href="mailto:gcd@i.ph">gcd@i.ph</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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"><div><div class="h5">On Sat, Apr 14, 2012 at 9:11 AM, Jose Miguel Sucasas Mejuto <span dir="ltr"><<a href="mailto:jmsucasas@me.com" target="_blank">jmsucasas@me.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<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"><include></font></div><div><font face="Courier"> <user id="$${default_provider}"></font></div><div><font face="Courier"> <gateways></font></div>
<div><font face="Courier"> <gateway name="$${default_provider}"></font></div><div><font face="Courier"><span style="white-space:pre-wrap">        </span><param name="username" value="$${default_provider_username}"/></font></div>
<div><font face="Courier"><span style="white-space:pre-wrap">        </span><param name="password" value="$${default_provider_password}"/></font></div><div><font face="Courier"><span style="white-space:pre-wrap">        </span><param name="from-user" value="$${default_provider_username}"/></font></div>
<div><font face="Courier"><span style="white-space:pre-wrap">        </span><param name="from-domain" value="$${default_provider_from_domain}"/></font></div><div><font face="Courier"><span style="white-space:pre-wrap">        </span><param name="expire-seconds" value="600"/></font></div>
<div><font face="Courier"><span style="white-space:pre-wrap">        </span><param name="register" value="$${default_provider_register}"/></font></div><div><font face="Courier"><span style="white-space:pre-wrap">        </span><param name="retry-seconds" value="30"/></font></div>
<div><font face="Courier"><span style="white-space:pre-wrap">        </span><param name="extension" value="$${default_provider_contact}"/></font></div><div><font face="Courier"><span style="white-space:pre-wrap">        </span><param name="auth-calls" value="false"/></font></div>
<div><font face="Courier"><span style="white-space:pre-wrap">        </span><!--<param name="contact-params" value="domain_name=$${domain}"/>--></font></div><div><font face="Courier"><span style="white-space:pre-wrap">        </span><param name="context" value="public"/></font></div>
<div><font face="Courier"> </gateway></font></div><div><font face="Courier"> </gateways></font></div><div><font face="Courier"> <params></font></div><div><font face="Courier"> <param name="password" value="$${default_provider_password}"/></font></div>
<div><font face="Courier"> </params></font></div><div><font face="Courier"> </user></font></div><div><font face="Courier"></include></font></div></div><div><br></div><div><span style="white-space:pre-wrap">        </span>and doesn'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> </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: "916495242" <<a>sip:916495242@194.140.135.80</a>>;tag=as7a2a97e5</font></div>
<div><font face="Courier"> To: <<a>sip:34810101189@sukmad.dyndns-home.com</a>></font></div><div><font face="Courier"> Contact: <<a>sip:916495242@194.140.135.80</a>></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: "916495242" <<a>sip:916495242@194.140.135.80</a>>;tag=as7a2a97e5</font></div>
<div><font face="Courier"> To: <<a>sip:34810101189@sukmad.dyndns-home.com</a>></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 "domains". 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: "916495242" <<a>sip:916495242@194.140.135.80</a>>;tag=as7a2a97e5</font></div>
<div><font face="Courier"> To: <<a>sip:34810101189@sukmad.dyndns-home.com</a>>;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="194.140.135.80", nonce="bc1571d4-0957-4609-a887-7c3359b9ae9c", algorithm=MD5, qop="auth"</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"> <list name="domains" default="deny"></font></div><div><font face="Courier"> <!-- domain= is special it scans the domain from the directory to build the ACL --></font></div>
<div><font face="Courier"> <node type="allow" domain="$${domain}"/></font></div><div><font face="Courier"> <!-- use cidr= if you wish to allow ip ranges to this domains acl. --></font></div>
<div><font face="Courier"> <b><node type="allow" cidr="<a href="http://194.140.135.80/24" target="_blank">194.140.135.80/24</a>"/> </b></font></div><div><font face="Courier"> </list></font></div>
</div><div><br></div><div><span style="white-space:pre-wrap">        </span>But my SIP provider have a dynamic IP, and it'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></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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>
</blockquote></div><br>