hi<br>try this one <br><br> <condition field="network_addr" expression="^x\.x\.x\.x$"><br> <anti-action application="reject" data="407"/><br><br><br><div class="gmail_quote">
On Mon, Jun 28, 2010 at 4:16 PM, Syed Hussain <span dir="ltr"><<a href="mailto:uzairsh@yahoo.com">uzairsh@yahoo.com</a>></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>
<include><br>
<gateway name="sonovoip"><br>
<param name="username" value="anything"/><br>
<param name="password" value="anything"/><br>
<param name="realm" value="x.x.x.x"/> <!--sonovoip ip --><br>
<param name="register" value="false"/><br>
<param name="caller-id-in-from" value="true"/><br>
<param name="extension-in-contact" value="true"/><br>
</gateway><br>
</include><br>
<br>
<br>
My dialplan , under /usr/local/freeswitch/conf/dialplan/public.xml<br>
<br>
<extension name="sonovoip" continue="true"><br>
<condition field="destination_number" expression="^(00.*)$"><br>
<action application="bridge" data="sofia/gateway/sonovoip/$1"/><br>
</condition><br>
</extension><br>
<br>
I did change the vars.xml ports<br>
<br>
<!-- Internal SIP Profile --><br>
<X-PRE-PROCESS cmd="set" data="internal_auth_calls=true"/><br>
<X-PRE-PROCESS cmd="set" data="internal_sip_port=5080"/><br>
<X-PRE-PROCESS cmd="set" data="internal_tls_port=5081"/><br>
<X-PRE-PROCESS cmd="set" data="internal_ssl_enable=false"/><br>
<X-PRE-PROCESS cmd="set" data="internal_ssl_dir=$${base_dir}/conf/ssl"/><br>
<!-- External SIP Profile --><br>
<X-PRE-PROCESS cmd="set" data="external_auth_calls=false"/><br>
<X-PRE-PROCESS cmd="set" data="external_sip_port=5060"/><br>
<X-PRE-PROCESS cmd="set" data="external_tls_port=5061"/><br>
<X-PRE-PROCESS cmd="set" data="external_ssl_enable=false"/><br>
<X-PRE-PROCESS cmd="set" data="external_ssl_dir=$${base_dir}/conf/ssl"/><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>