Re: [Freeswitch-users] E-mail as user id and bridging
You can't have two @'s in a uri. You do know its already domain based.. you have domains that have users inside them? so you can dial user/brian@domain.com already without any extra thought? You can have multiple domains in the directory... with users in each domain.
These domains don't point to the Freeswitch box though. They are complete random from people from the Internet. So the e-mail might be james@yahoo.com while obviously yahoo.com doesn't point to my Freeswitch box. <domain name="yahoo.com"> <user id="jan.kubr"> won't work then because the user can't log in. Basically I want the user to use his e-mail to login with her SIP phone. This works fine when the user id is james@yahoo.com (in a domain that is the IP of the FS box), but then it is not possible to bridge a call that user. Jan
That sort of non standard requirement falls outside our scope of expertise. Maybe you can convince gmail to let you login with yahoo addresses. On Sun, Nov 16, 2008 at 11:25 AM, Jan Kubr <jan.kubr@gmail.com> wrote:
You can't have two @'s in a uri. You do know its already domain based.. you have domains that have users inside them? so you can dial user/brian@domain.com already without any extra thought? You can have multiple domains in the directory... with users in each domain.
These domains don't point to the Freeswitch box though. They are complete random from people from the Internet. So the e-mail might be james@yahoo.com while obviously yahoo.com doesn't point to my Freeswitch box.
<domain name="yahoo.com"> <user id="jan.kubr">
won't work then because the user can't log in.
Basically I want the user to use his e-mail to login with her SIP phone. This works fine when the user id is james@yahoo.com (in a domain that is the IP of the FS box), but then it is not possible to bridge a call that user.
Jan
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
El Domingo, 16 de Noviembre de 2008, Jan Kubr escribió:
Basically I want the user to use his e-mail to login with her SIP phone. This works fine when the user id is james@yahoo.com (in a domain that is the IP of the FS box), but then it is not possible to bridge a call that user.
An username part if a SIP or MAILTO URI can't contain @ symbol, it's illegal as it's, in fact, the separator of the userpart and domain part. What you can do is escaping "@" in hexadecimal before creating the SIP URI (I don't know the code for "@", but "a" == "%61"), so: sip:alice@domain.com == sip:%lice@domain.com So supposing an user has an email: carol@gmail.com and supposing that the hexadecimal conversion of "@" is "%88" then you can create a SIP URI like: sip:carol%88gmail.com@your_fs_domain -- Iñaki Baz Castillo
participants (3)
-
Anthony Minessale
-
Iñaki Baz Castillo
-
Jan Kubr