[Freeswitch-users] Username with @ in it

Michael Jerris mike at jerris.com
Thu Aug 18 21:28:32 MSD 2016


No, as Ken said, you will never have 2 @’s in a ruri, in the same way that you would never have 2 @ in an email address.  when you register you register as a uri.  there are not two domains, only one.  You could register at a uri, using a proxy that is a different address or domain, but thats still registering as the single domain.


> On Aug 18, 2016, at 1:21 PM, Igor Olhovskiy <igorolhovskiy at gmail.com> wrote:
> 
> But what if my username is like user at domain?
> Like my username is JohnSmith at gmail.com <mailto:JohnSmith at gmail.com> and I’m registered at sipProvider.com domain?
> Would be my R-URI string correct like 
> INVITE JohnSmith at gmail.com@sipProvider.com
> ?
> 
> 2016-08-18 18:34 GMT+03:00 Ken Rice <krice at freeswitch.org <mailto:krice at freeswitch.org>>:
> You cant have 2 @ signs in a URI… that’s violating the specifications…
> 
>  
> 
> In FreeSWITCH if you want to send it to a proxy see fs_path… example <action application=”bridge” data=”sofia/profile/someuser at somedom.com;fs_path=the.proxy <mailto:sofia/profile/someuser at somedom.com;fs_path=the.proxy>”/>
> 
>  
> 
> From: freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org>] On Behalf Of Igor Olhovskiy
> Sent: Thursday, August 18, 2016 6:44 AM
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org>>
> Subject: [Freeswitch-users] Username with @ in it
> 
>  
> 
> Hi!
> 
>  
> 
> My users want to use usernames in their phones e-mail-type style. Like username at domain.
> 
> 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 at proxy, your URI becomes like
> 
> username at domain@proxy.
> 
> So, This RURI is dropped by proxy with reason «cannot be parsed» or so. Actually, they are right,
> 
> Is there any way of avoid to use two @ in URI?
> 
>  
> 
> FS 1.6.9
> 
>  
> 
> --
> 
> Best regards,
> 
> Igor
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> 
> 
> -- 
> Best regards,
> Igor
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160818/fd5b8ead/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list