<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt">I will set up a test environment, but basically the source of the problem is in @ symbol in REGISTER username, and then Sofia tries to look up the name in DNS <br><div><span><br></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Michael Collins <msc@freeswitch.org><br> <b><span style="font-weight: bold;">To:</span></b> FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, June 26, 2013 5:19 PM<br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users] Two FreeSWITCH boxes talking to each other<br> </font> </div> <div class="y_msg_container"><br><div id="yiv1763029893"><div dir="ltr"><div>You can open a bug but you will definitely need some sort of log. I recommend that you anonymize the log by replacing proprietary information/IP addrs/etc. with dummy but meaningful values.<br><br></div>
-MC<br></div><div class="yiv1763029893gmail_extra"><br><br><div class="yiv1763029893gmail_quote">On Wed, Jun 26, 2013 at 4:31 AM, Stanislav Sinyagin <span dir="ltr"><<a rel="nofollow" ymailto="mailto:ssinyagin@yahoo.com" target="_blank" href="mailto:ssinyagin@yahoo.com">ssinyagin@yahoo.com</a>></span> wrote:<br>
<blockquote class="yiv1763029893gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
I'm not sure if I need to open a bug for this:<br>
<br>
Two FreeSWITCH boxes, 1.2 stable,<br>
<br>
* A is the PSTN gateway and has a user <a rel="nofollow" ymailto="mailto:x@domain.com" target="_blank" href="mailto:x@domain.com">x@domain.com</a> (domain has an SRV record pointing to the box port 5080)<br>
* B has a gateway in its sip_profiles pointing to the user at A.<br>
<br>
First, I configured B this way:<br>
<br>
<!-- Test account --><br>
<gateway name="<a rel="nofollow" ymailto="mailto:x@domain.com" target="_blank" href="mailto:x@domain.com">x@domain.com</a>"><br>
<param name="username" value="x"/><br>
<param name="realm" value="<a rel="nofollow" target="_blank" href="http://domain.com/">domain.com</a>" /><br>
<param name="password" value="XXXXX"/><br>
<param name="extension" value="731"/><br>
<param name="expire-seconds" value="3600"/><br>
<param name="register" value="true"/><br>
<param name="register-transport" value="udp"/><br>
<param name="retry-seconds" value="30"/><br>
<param name="caller-id-in-from" value="true"/><br>
<param name="ping" value="27"/><br>
</gateway><br>
<br>
<br>
Then when from A I wanted to call the user x, A failed, and sofia debug showed that it tried to resolve a record that is a combination of B's IP address and the domain name. A did not even try to send anything toward B.<br>
<br>
After changing to<br>
<gateway name="<a rel="nofollow" target="_blank" href="http://x_domain.com/">x_domain.com</a>"><br>
it started working as expected.<br>
<br>
shall I open a bug? I cannot provide logs because they contain confidential information.<br>
<br>
regards,<br>
stan<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a rel="nofollow" target="_blank" href="http://www.cudatel.com/">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.FreeSWITCH.org</a><br><a rel="nofollow" target="_blank" href="http://www.cluecon.com/">http://www.ClueCon.com</a><br>
<a rel="nofollow" target="_blank" href="http://www.ostag.org/">http://www.OSTAG.org</a><br><br>
</div></div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a ymailto="mailto:consulting@freeswitch.org" 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 ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org"
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><br></div> </div> </div> </blockquote></div> </div></body></html>