Hi,
Thanks for the information. But sorry, how to access user_data API command.
Am not clear on the flow. Once we register domain and usernumber in sip what exactly happens? Which script picks up this domain and username and validates
with our database?
Could you please provide me with an overview.
Many thanks
Regards,
Archana
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
On Behalf Of Michael Collins
Sent: 05 December 2012 17:13
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] sip registration
If you're talking about the user configuration then yes, you could create an "email" parameter or variable and access it with the user_data API command.
-MC
On Wed, Dec 5, 2012 at 1:35 AM, Archana Venugopan <a.venugopan@mundio.com> wrote:
Hi,
In that case can I have 1 more column say e-mail and can this e-mail be checked in DB instead of
checking reg_user(‘100’)? Is that feasible?
Also which code should be changed any idea please?
Regards,
Archana
From:
freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
On Behalf Of Steven Ayre
Sent: 04 December 2012 19:51
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] sip registration
You can have a user 'ana' in the domain 'gmail.com'. Though using
someone else's domain as local in your FS setup may not be a good idea.
You can't have a @ in the username itself (per the SIP standard, not limited to FreeSWITCH).
On 4 December 2012 18:00, Archana Venugopan <a.venugopan@mundio.com> wrote:
Hi,
Currently we register authentication name as say ‘100’ in sip registration, this comes to freeswitch and it will check in our DB for 100 and if its present then registrations would
be successful.
freeswitch@internal> show registrations
reg_user,realm,token,url,expires,network_ip,network_port,network_proto,hostname
100,fsfailover.uk01.com,e4969067f9a8c098,sofia/internal/sip:100@192.168.2.234:5060;transport=udp,1354638871,192.168.2.234,5060,udp,squay-laptop-1.squay.com
I want to change this 100 to some e-mail address, so instead of 100 it will be something like ‘ana@gmail.com’. Can we do this?
While coming to freeswitch whether there would be any issues?
Regards,
Archana
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org