<p dir="ltr">I may think he is not explaining himself.</p>
<p dir="ltr">He might want a multi tenant system, where users can use their email. In this example, its clear he doesn&#39;t own Gmail.com. PBX should have Gmail.com tenant, and inside it johnsmith user.</p>
<p dir="ltr">Your endpoint should split user and domain, and you should hard code your PBX ip as a proxy.</p>
<div class="gmail_extra"><br><div class="gmail_quote">Le 18 août 2016 1:33 PM, &quot;Ken Rice&quot; &lt;<a href="mailto:krice@freeswitch.org">krice@freeswitch.org</a>&gt; a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">You username is always user@domain  … its not user@domain@somethingelse<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@<wbr>lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-<wbr>bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Igor Olhovskiy<br><b>Sent:</b> Thursday, August 18, 2016 12:22 PM<br><b>To:</b> FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.<wbr>freeswitch.org</a>&gt;<br><b>Subject:</b> Re: [Freeswitch-users] Username with @ in it<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">But what if my username is like user@domain?<u></u><u></u></p><div><p class="MsoNormal">Like my username is <a href="mailto:JohnSmith@gmail.com" target="_blank">JohnSmith@gmail.com</a> and I’m registered at sipProvider.com domain?<u></u><u></u></p></div><div><p class="MsoNormal">Would be my R-URI string correct like <u></u><u></u></p></div><div><p class="MsoNormal">INVITE <a href="mailto:JohnSmith@gmail.com@sipProvider.com" target="_blank">JohnSmith@gmail.com@<wbr>sipProvider.com</a><u></u><u></u></p></div><div><p class="MsoNormal">?<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">2016-08-18 18:34 GMT+03:00 Ken Rice &lt;<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>&gt;:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">You cant have 2 @ signs in a URI… that’s violating the specifications…</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">In FreeSWITCH if you want to send it to a proxy see fs_path… example &lt;action application=”bridge” data=”<a href="mailto:sofia/profile/someuser@somedom.com;fs_path=the.proxy" target="_blank">sofia/profile/someuser@<wbr>somedom.com;fs_path=the.proxy</a>”<wbr>/&gt;</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> </span><u></u><u></u></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@<wbr>lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-<wbr>bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Igor Olhovskiy<br><b>Sent:</b> Thursday, August 18, 2016 6:44 AM<br><b>To:</b> FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.<wbr>freeswitch.org</a>&gt;<br><b>Subject:</b> [Freeswitch-users] Username with @ in it</span><u></u><u></u></p><div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal"><span style="font-size:10.0pt">Hi!</span><u></u><u></u></p><div><p class="MsoNormal"><span style="font-size:10.0pt"> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt">My users want to use usernames in their phones e-mail-type style. Like username@domain.</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt">With FS it works ok. The only problem I’ve faced - it’s when you route this call via proxy like OpenSIPS or Kamailio. Actual problem, when you bridge user@proxy, your URI becomes like</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt">username@domain@proxy.</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt">So, This RURI is dropped by proxy with reason «cannot be parsed» or so. Actually, they are right,</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt">Is there any way of avoid to use two @ in URI?</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt"> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt">FS 1.6.9</span><u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><p class="MsoNormal">Best regards,<u></u><u></u></p><div><p class="MsoNormal">Igor<u></u><u></u></p></div></div></div></div></div></div></div></div><p class="MsoNormal"><br>______________________________<wbr>______________________________<wbr>_____________<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.<wbr>freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.<wbr>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.<wbr>freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p></blockquote></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><p class="MsoNormal">Best regards,<u></u><u></u></p><div><p class="MsoNormal">Igor<u></u><u></u></p></div></div></div></div></div></div><br>______________________________<wbr>______________________________<wbr>_____________<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.<wbr>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.<wbr>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.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div></div>