<div dir="ltr">Cal, thanks for your reply.<div><br></div><div>I&#39;ve added {sip_gethostbyname=true} to the dialplan i.e.:</div><div><br></div><div>&lt;action application=&quot;bridge&quot; data=&quot;{sip_gethostbyname=true}sofia/gateway/gw/+$1&quot;/&gt; but am still getting the same error. If in my gateway definition I use the IP in lieu of the FQDN it works.<br>
</div><div><br></div><div>This should work ok in the bridge application correct?</div><div><br></div><div>If all else fails I can look at setting up a local DNS server.</div><div><br></div><div>Thanks</div><div><br></div>
<div>James</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 16, 2013 at 6:53 PM, Cal Leeming [Simplicity Media Ltd] <span dir="ltr">&lt;<a href="mailto:cal.leeming@simplicitymedialtd.co.uk" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You are lucky, I raised this as a bug a few months ago :)<div><br></div><div><a href="http://jira.freeswitch.org/browse/FS-5396" target="_blank">http://jira.freeswitch.org/browse/FS-5396</a><br>
</div><div><br></div><div>Use the following on the dialstring to force /etc/hosts to be used;</div>
<div><span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">{sip_gethostbyname=true}</span><br style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">

</div><div><span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif"><br></span></div><div><span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">Hope this helps</span></div>

<div><span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif"><br>Cal</span></div><div><span style="line-height:17px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif"><br>

</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Sep 16, 2013 at 5:11 PM, James Lotery <span dir="ltr">&lt;<a href="mailto:jlotery@gmail.com" target="_blank">jlotery@gmail.com</a>&gt;</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 dir="ltr">Hi FS user group, <div><br></div><div>can anyone suggest any help with this problem. A provider with whom I am integrating with requires that we use their domain name in INVITEs on numbers they host on their end. Normally this is not a problem - I would just set that up in the gateway config with proxy=&quot;FQDN&quot; etc however the domain name they are using does not resolve to an IP address<div>


<br></div><div>I have added an entry in /etc/hosts for the FQDN and can ping it from my command line however FS outbound calls via the gateway are failing with </div><div><br></div><div><div><br></div><div>nua_stack.c:271 nua_stack_event() nua(0x7fcc040023f0): event r_invite 503 DNS Error</div>


</div><div><br></div><div>is there any way I can get around this without creating a fake DNS zone as I have seen some people suggest? I ask as I don&#39;t have a local DNS server.</div><div><br></div><div>I am using the stable 1.2 build (Version 1.2.12) on Ubunutu 12.04</div>


</div><div><br></div><div>Thanks in advance.</div><span><font color="#888888"><div><br></div><div>James</div></font></span></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></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></div>