Send FreeSWITCH-users mailing list submissions to
freeswitch-users@lists.freeswitch.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
or, via email, send a message with subject or body 'help' to
freeswitch-users-request@lists.freeswitch.org
You can reach the person managing the list at
freeswitch-users-owner@lists.freeswitch.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of FreeSWITCH-users digest..."
Today's Topics:
1. Nibblebill negative balance (virendra bhati)
2. Re: sip registration (Archana Venugopan)
---------- Forwarded message ----------
From: virendra bhati <virbhati@gmail.com>
To: freeswitch-users@lists.freeswitch.org
Cc:
Date: Fri, 7 Dec 2012 14:22:42 +0530
Subject: [Freeswitch-users] Nibblebill negative balanceHi team,
I have configure nibblebill with my freeswitch and it's working. But I am facing an issue with billing. Balance goes to -ve and after that calls also throw as well....
Is that configuration issue or bug in nibblebill ?
--
Thanks and regards
Virendra Bhati
+91-9250078532
Asterisk Developer
E-mail-: virbhati@gmail.com
Skype id:- virbhati2
New Delhi(India)
---------- Forwarded message ----------
From: Archana Venugopan <a.venugopan@mundio.com>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc:
Date: Fri, 7 Dec 2012 09:21:30 +0000
Subject: Re: [Freeswitch-users] sip registration
Hi,
I want to give some alphabets instead of number. I want to know which script checks this authentication name to corresponding DB table. Please let me know.
Thanks
Regards,
Archana
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins
Sent: 06 December 2012 21:58
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] sip registration
Use "100" for the authentication name as well.
-MCOn Thu, Dec 6, 2012 at 9:25 AM, Archana Venugopan <a.venugopan@mundio.com> wrote:
Hi,
Thanks. I thought it will look in mod_sofia code. In the below screen I register the ID ‘100’. Now instead of ‘100’ in “Authentication Name” I need to give some e-mail ID or name(Archana) which should validate in DB.
I tried giving a name in “Authentication Name” but the phone was not registered. Am not sure this authentication name is being looked in which column in table too.
Please let me know if this will be picked from any sofia code or any C script? Once we register in the below screen which script validates the Settings in freeswitch?
Sorry if am repeating the same question, but I could not get the exact code and am clueless.
Global SIP Settings
Top of Form
Basic SIP Authentication Settings
Screen Name
Screen Name 2
Phone Number
Caller ID
Authentication Name
Password
Bottom of Form
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 20:34
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] sip registration
When an event that requires a user lookup takes place then the system will look in the XML user directory unless it has been configured to look somewhere else. The other places to look are usually:
mod_xml_curl
One of the language like Lua, Perl, Python
If it's xml_curl then FS will do a POST to your web server in hopes of receiving back the necessary XML for the given user. It would be up to you to have your web server handle the request, poll the database, then format and return the XML data. See this wiki page for more info on xml curl.
If it's a language then you'll have a "binding" in the conf file for the language that will handle the lookup. Again, your script will need to handle the communication with your database. See this wiki page for more information.
Hope this helps.
-MCOn Wed, Dec 5, 2012 at 9:30 AM, Archana Venugopan <a.venugopan@mundio.com> wrote:
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.
-MCOn 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
_________________________________________________________________________
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
_________________________________________________________________________
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
_______________________________________________
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