<p dir="ltr">Probably you have not an external profile, because the format of the profile config file is wrong.</p>
<p dir="ltr">Going by memory, you probably need a &quot;gateways&quot; tag to contain the individual &quot;gateway&quot; tags. If is not this error, is some other error.<br>
Anyway, check that format.</p>
<p dir="ltr">-giovanni</p>
<p dir="ltr">sent from my mobile,<br>
Giovanni Maruzzelli<br>
cell: +39 347 266 56 18</p>
<div class="gmail_quote">On Aug 14, 2015 3:46 PM, &quot;Edwin Reed-Sanchez&quot; &lt;<a href="mailto:ereedsanchez@gmail.com">ereedsanchez@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><br>
I am getting error<br>
<br>[ERR] mod_sofia.c:4921 Invalid Gateway &#39;provider&#39;<br>
<span><br>
when trying to make a long distance call.<br>
<br>
<br>
</span>My /freeswitch/sip-profiles/external/profile.xml is<br>
<span><br>
------<br>
<br>
&lt;include&gt;<br>
<br>
    &lt;gateway name=&quot;callwithus-outbound&quot;&gt;<br>
<br>
        &lt;param name=&quot;username&quot; value=&quot;05617XXXX&quot;/&gt;<br>
<br>
        &lt;param name=&quot;password&quot; value=&quot;05XXXX&quot;/&gt;<br>
<br>
        &lt;param name=&quot;realm&quot; value=&quot;callwithus&quot;/&gt;<br>
<br>
        &lt;param name=&quot;proxy&quot; value=&quot;<a href="http://sip.callwithus.com" rel="noreferrer" target="_blank">sip.callwithus.com</a>&quot;/&gt;<br>
<br>
        &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;<br>
<br>
    &lt;/gateway&gt;<br>
<br>
&lt;/include&gt;<br>
<br>
------<br>
<br>
<br>
</span>In fs_cli I did<br>
<br>sofia profile external rescan <br>
<br>Invalid Profile [external]<br>
<br>
<br>
Thanks,<br>
<span><font color="#888888">--<br>
Edwin Reed-Sanchez<br>
</font></span></div><br><div><br></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" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div>