[Freeswitch-users] (no subject)
Michael Collins
msc at freeswitch.org
Wed Nov 14 19:55:13 MSK 2012
I'm not an expert in this area but I have a feeling that possibly mod_lcr
can do what you want to do. Have you looked at that module by any chance?
http://wiki.freeswitch.org/wiki/Mod_lcr
-MC
On Wed, Nov 14, 2012 at 6:21 AM, Archana Venugopan
<a.venugopan at mundio.com>wrote:
> Hi,****
>
> ** **
>
> I have an issue, currently incoming and outgoing calls are looking at a
> single lua script (directory.lua) and find the corresponding numbers from a
> table and route the calls. This is what I thought from the logs.****
>
> Now the requirement is to check for the numbers for incoming call from
> different table. If I change (directory.lua) script, then outgoing call
> display is also getting changed.****
>
> ** **
>
> As I am new to freeswitch and lua scripts I could not understand from
> where I should proceed. From logs (<07867429523>->447574745125), this I am
> calling from offnet(Vodafone,O2) to internal number(which will be present
> in my Database).****
>
> Ideally I should change the script in such a way that 447574745125 should
> be looked up from did table and direct the call. But currently its looking
> up in dir_users table from num_lookup.lua(which is stored as variables) and
> using user_id its picking up the msisdn values from
> dir_users(directory.lua) and transferring the call.****
>
> ** **
>
> Should I need to write a new lua so that outgoing call and incoming call
> looks up different lua scripts?****
>
> Or Can I change any of these existing lua?****
>
> ** **
>
> I have no clue on this, Can anyone please guide me. Many thanks.****
>
> ** **
>
> Regards,****
>
> Archana****
>
> ** **
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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
>
>
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121114/eec64839/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list