hi<br>try this one <br><br> &lt;condition field=&quot;network_addr&quot; expression=&quot;^x\.x\.x\.x$&quot;&gt;<br>     &lt;anti-action application=&quot;reject&quot; data=&quot;407&quot;/&gt;<br><br><br><div class="gmail_quote">
On Mon, Jun 28, 2010 at 4:16 PM, Syed Hussain <span dir="ltr">&lt;<a href="mailto:uzairsh@yahoo.com">uzairsh@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi ,<br>
<br>
I have subscribed to sonovoip a sip trunk provider who uses IP based authentication for SIP services ,<br>
<br>
I am trying to make outbound international calls which are being rejected by the provider for some reason, I am not able to figure out if there is something wrong with the configuration.<br>
<br>
I am listing out my configuration. Any help  would be greatly appreciated .<br>
I have also tried #<a href="http://wiki.freeswitch.org/wiki/Provider_Configuration:_SonoVoIP" target="_blank">wiki.freeswitch.org/wiki/Provider_Configuration:_SonoVoIP</a> configuration from freeswitch wiki gives errors .<br>

<br>
The voip configuration works perfectly with asterisk 1.6<br>
<br>
My configuration is follows<br>
<br>
Under<br>
/usr/local/freeswitch/conf/sip_profiles/external<br>
<br>
cat sonovoip.xml<br>
&lt;include&gt;<br>
  &lt;gateway name=&quot;sonovoip&quot;&gt;<br>
    &lt;param name=&quot;username&quot; value=&quot;anything&quot;/&gt;<br>
    &lt;param name=&quot;password&quot; value=&quot;anything&quot;/&gt;<br>
    &lt;param name=&quot;realm&quot; value=&quot;x.x.x.x&quot;/&gt; &lt;!--sonovoip ip --&gt;<br>
    &lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;<br>
    &lt;param name=&quot;caller-id-in-from&quot; value=&quot;true&quot;/&gt;<br>
        &lt;param name=&quot;extension-in-contact&quot; value=&quot;true&quot;/&gt;<br>
  &lt;/gateway&gt;<br>
&lt;/include&gt;<br>
<br>
<br>
My dialplan , under /usr/local/freeswitch/conf/dialplan/public.xml<br>
<br>
&lt;extension name=&quot;sonovoip&quot; continue=&quot;true&quot;&gt;<br>
      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(00.*)$&quot;&gt;<br>
         &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/sonovoip/$1&quot;/&gt;<br>
      &lt;/condition&gt;<br>
    &lt;/extension&gt;<br>
<br>
I did change the vars.xml  ports<br>
<br>
  &lt;!-- Internal SIP Profile --&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;internal_auth_calls=true&quot;/&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;internal_sip_port=5080&quot;/&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;internal_tls_port=5081&quot;/&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;internal_ssl_enable=false&quot;/&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;internal_ssl_dir=$${base_dir}/conf/ssl&quot;/&gt;<br>
  &lt;!-- External SIP Profile --&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;external_auth_calls=false&quot;/&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;external_sip_port=5060&quot;/&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;external_tls_port=5061&quot;/&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;external_ssl_enable=false&quot;/&gt;<br>
  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;external_ssl_dir=$${base_dir}/conf/ssl&quot;/&gt;<br>
<br>
The debug<br>
<br>
#<a href="http://pastebin.com/4MFhSWm9" target="_blank">pastebin.com/4MFhSWm9</a><br>
<br>
<br>
Please advise if any other information is required.<br>
<br>
Thanks<br>
<br>
S<br>
<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>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Zuhair Raza<br><br>