Hello! I have one doubt about requier in Lua. I have one module coded in a fille called logging.lua. Why must I create '/usr/local/share/lua/5.1/logging/lua.lua' to be included in my main lua script instead creating '/usr/local/share/lua/5.1/logging.lua'? Regards
check conf/autoload_configs/lua.conf.xml. the module-directory and script-directory params contain the various paths that require will search for c modules and lua scripts respectively. the question marks are replaced by what you pass to require, with the exception that dots are converted to path separators. so if you have '/path/to/scripts/?.lua', and you do 'require "foo.lua"', it will look for '/path/to/scripts/foo/lua.lua' (i.e., replacing the ? with foo/lua). if you 'require "foo"', then you'll of course get '/path/to/scripts/foo.lua'. hope this helps. hunmonk Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Monday, December 26, 2011 at 8:48 AM, Juan Antonio Ibañez Santorum wrote:
Hello!
I have one doubt about requier in Lua. I have one module coded in a fille called logging.lua. Why must I create '/usr/local/share/lua/5.1/logging/lua.lua' to be included in my main lua script instead creating '/usr/local/share/lua/5.1/logging.lua'?
Regards _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org (mailto: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 (mailto: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
Hi, I have the CDR enabled and see multiple logs for the same call. Can any body recommend a call log that works fine and could be extended to be used for billing? thanks in advance regards, Sherif Omran
xml_cdr does the job just fine... uuid_bridge is what you may want to be looking for On Mon, Dec 26, 2011 at 7:20 PM, Sherif Omran <sherifomran2000@yahoo.com>wrote:
Hi,
I have the CDR enabled and see multiple logs for the same call. Can any body recommend a call log that works fine and could be extended to be used for billing?
thanks in advance
regards, Sherif Omran
_________________________________________________________________________ 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
out10021002100112/27/2011 11:30:48 am0:00:47Detailsout10021002100112/27/2011 11:30:48 am0:00:47Details Call logs are duplicated for 1 call? How can i prevent this? --- On Tue, 12/27/11, curriegrad2004 <curriegrad2004@gmail.com> wrote: From: curriegrad2004 <curriegrad2004@gmail.com> Subject: Re: [Freeswitch-users] Call log - multiple entries CDR?? Billing? To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Date: Tuesday, December 27, 2011, 6:33 AM xml_cdr does the job just fine... uuid_bridge is what you may want to be looking for On Mon, Dec 26, 2011 at 7:20 PM, Sherif Omran <sherifomran2000@yahoo.com> wrote: Hi, I have the CDR enabled and see multiple logs for the same call. Can any body recommend a call log that works fine and could be extended to be used for billing? thanks in advance regards, Sherif Omran _________________________________________________________________________ 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 -----Inline Attachment Follows----- _________________________________________________________________________ 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
This looks like a misconfigured box. Try setting the cdr_csv.conf.xml conf file's legs param to a only: <param name="legs" value="a"/> If it is using XML CDR's then you'll need to go into the xml_cdr.conf.xml and set this param: <param name="log-b-leg" value="true"/> to false <param name="log-b-leg" value="false"/> All of the configuration files can be found under the autoload_configs in the conf root of your FreeSWITCH configuration folder... assuming you are using the default dialplan configuration On Tue, Dec 27, 2011 at 4:10 AM, Sherif Omran <sherifomran2000@yahoo.com>wrote:
out10021002100112/27/2011 11:30:48 am0:00:47Details<http://sip.pcfone.com/bluebox/index.php/xmlcdr/details/13> out10021002100112/27/2011 11:30:48 am0:00:47Details<http://sip.pcfone.com/bluebox/index.php/xmlcdr/details/14>
Call logs are duplicated for 1 call? How can i prevent this?
--- On *Tue, 12/27/11, curriegrad2004 <curriegrad2004@gmail.com>* wrote:
From: curriegrad2004 <curriegrad2004@gmail.com> Subject: Re: [Freeswitch-users] Call log - multiple entries CDR?? Billing? To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Date: Tuesday, December 27, 2011, 6:33 AM
xml_cdr does the job just fine... uuid_bridge is what you may want to be looking for
On Mon, Dec 26, 2011 at 7:20 PM, Sherif Omran <sherifomran2000@yahoo.com<http://mc/compose?to=sherifomran2000@yahoo.com>
wrote:
Hi,
I have the CDR enabled and see multiple logs for the same call. Can any body recommend a call log that works fine and could be extended to be used for billing?
thanks in advance
regards, Sherif Omran
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <http://mc/compose?to=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://mc/compose?to=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
-----Inline Attachment Follows-----
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <http://mc/compose?to=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://mc/compose?to=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
participants (4)
-
Chad Phillips
-
curriegrad2004
-
Juan Antonio Ibañez Santorum
-
Sherif Omran