Re: [Freeswitch-users] FreeSWITCH-users Digest, Vol 69, Issue 127
Hi Patrick , I tryed a lot effort on google but no help i got and even i sent e-mail to lua mail list as well. but no one replied on it. Sorry but if you reply to me with details on luac then i will be a big help for me... On Sat, Mar 17, 2012 at 2:10 AM, < freeswitch-users-request@lists.freeswitch.org> wrote:
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. Re: blocking destination number (Brian Foster) 2. Re: Mod_flite wont load (Jeff Lenk) 3. Re: Any help me to installed Luac compiler (Patrick Lists) 4. mod_shout issue (Balamurugan Mahendran) 5. Strange VLAN problem with freeswitch (Erin O'Meara) 6. Re: Getting real-time amplitude of a channel (Michael Collins)
---------- Forwarded message ---------- From: Brian Foster <bdfoster@endigotech.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Cc: Date: Fri, 16 Mar 2012 12:58:27 -0400 Subject: Re: [Freeswitch-users] blocking destination number
The toll_allow variable.would be defined in the actual user xml file located in /usr/local/freeswitch/conf/directory. Then you would evaluate that variable in the dialplan that would end up making the bridge to your gateway.
-BDF On Mar 16, 2012 5:21 AM, "Miha" <miha@softnet.si> wrote:
Hi @Gabriel,
I was looking on wiki how to define new xml or document where I will have my restricted numbers. Where are domestic,international,local defined?
Thanks! Miha
On 3/10/2012 11:23 PM, Gabriel Gunderson wrote:
On Fri, Mar 9, 2012 at 7:37 AM, Miha Zoubek<miha@softnet.si> wrote:
what is the bast way to block destination number for certain user. Is it possible to do it in user/dir? Ultimately, it would be a dialplan configuration, but you could set the variable that you match in the directory. See the example of 'toll_allow' in the default FreeSWITCH configuration...
This is set on a per-user basis in the DIRECTORY:
<variable name="toll_allow" value="domestic,international,local"/>
But it's considered while evaluating the DIALPLAN:
<extension name="local.example.com"> <condition field="${toll_allow}" expression="local"/> <condition field="destination_number" expression="^(\d{7})$"> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="bridge" data="sofia/gateway/${default_gateway}/1${default_areacode}$1"/> </condition> </extension>
You could easily do something similar by having a list of numbers that they can't call listed in the directory (maybe something like 'restricted_numbers') and check to make sure the destination doesn't match it in the dialplan.
Good luck!
Gabe
_________________________________________________________________________
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
---------- Forwarded message ---------- From: Jeff Lenk <jeff@jefflenk.com> To: freeswitch-users@lists.freeswitch.org Cc: Date: Fri, 16 Mar 2012 10:46:10 -0700 (PDT) Subject: Re: [Freeswitch-users] Mod_flite wont load Please try git head and let me know if that works.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Mod-flite-wont-load-tp7376926p... Sent from the freeswitch-users mailing list archive at Nabble.com.
---------- Forwarded message ---------- From: Patrick Lists <freeswitch-list@puzzled.xs4all.nl> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Cc: Date: Fri, 16 Mar 2012 18:54:19 +0100 Subject: Re: [Freeswitch-users] Any help me to installed Luac compiler On 16-03-12 06:07, virendra bhati wrote:
Hi list,
I don't find any link on which luac compiler is mention. only one link was found on which description about Luac was mention. http://www.lua.org/manual/4.0/**luac.html<http://www.lua.org/manual/4.0/luac.html>
Anyone know how to installed Luac compiler in Centos ?
Can't you try a little harder to figure out these basic questions yourself? Did you even try to Google for "luac CentOS"? That would have given you a hint.
Since your question is not a FreeSWITCH question but it is a lua question why not ask on the lua mailinglist or on the lua irc channel if they have one.
Regards, Patrick
---------- Forwarded message ---------- From: Balamurugan Mahendran <b2m@a-cti.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Cc: Date: Fri, 16 Mar 2012 23:34:23 +0530 Subject: [Freeswitch-users] mod_shout issue Hi all,
2012-03-16 18:02:32.957534 [ERR] mod_shout.c:859 Error: MPG123 Error at /usr/src/freeswitch/src/mod/formats/mod_shout/mod_shout.c:659. 2012-03-16 18:02:32.957534 [ERR] mod_shout.c:862 Error from mpg123: Invalid mpg123 handle. (code 10)
Please let me know what Iam missing here.
Thanks, Bala
---------- Forwarded message ---------- From: "Erin O'Meara" <erin.omeara@salmonbaytechnology.com> To: freeswitch-users@lists.freeswitch.org Cc: Date: Fri, 16 Mar 2012 09:58:51 -0700 Subject: [Freeswitch-users] Strange VLAN problem with freeswitch I have moved offices down the street and extended my office network via vlan (old office was using VLAN also). I have two networks one internal and one wireless that I sell wireless service with.
FusionPBX (In the cloud) -> Cable Modem -> PFSense -> VLAN -> Phone.
my phone works fine for a few days on either network then calls stop working, if I switch the phone VLAN to the other VLAN it starts working again. I noticed this issue from my office that is connect of a Ubiquiti wireless link and VLAN extended to my new office.
What happens is the calls ring and I can pickup but no audio in either direction.
here is the pastebin of a call failing then I plugged the same phone into the other vlan and reboot and made a successful call.
http://pastebin.freeswitch.org/18675
Regards,
206.905.9520 http://salmonbaytechnology.com
---------- Forwarded message ---------- From: Michael Collins <msc@freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Cc: Date: Fri, 16 Mar 2012 13:39:55 -0700 Subject: Re: [Freeswitch-users] Getting real-time amplitude of a channel Post the bounty on the wiki and then shoot an email to the -dev list letting them know there's a new bounty available...
-MC
On Fri, Mar 16, 2012 at 9:59 AM, Matt Stockton <mstockton@harqen.com>wrote:
Hi Michael,
Thanks for the info!! Is there information I can find on how the bounties work? I'm interesting in getting this feature, but it would probably take me much longer to implement than someone who knows the code well. I see a bounty wiki entry...is that active? or is there a better place to post such things?
Thanks, Matt
On Wed, Mar 14, 2012 at 12:30 PM, Michael Collins <msc@freeswitch.org>wrote:
AFAIK there isn't anything pre-rolled that you can use. However, I know that Tony's auto gain control (agc) logic checks the "volume" level coming in on a channel. You might be able to look in mod_conference.c and see where the agc calculates the incoming volume level and write an API that displays that value.
I'd start by looking at the function check_agc_levels() and for references to member->agc_volume_in_level. Hopefully that will give you a place to start.
-MC
On Wed, Mar 14, 2012 at 10:26 AM, Matt Stockton <mstockton@harqen.com>wrote:
Hi all,
I am interested in providing a visualization of a channel in a conference. I am able to process the start talking and stop talking events from the conference, but I'm wondering, has anyone done anything that can get the real-time amplitude of a channel? I didn't see any built-in API commands to do this, but wondering if there's any modules or something else that I'm overlooking? Or maybe now is the time for me to dig into the API documentation?
Just curious if anyone has done something like this before, and if so, if you could guide me in the right direction.
Thanks! Matt
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_______________________________________________ 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
-- Thanks and regards Virendra Bhati +91-8885268942 Software Engineer E-mail-: virbhati@gmail.com Skype id:- virbhati2 Hyderabad(India)
On 03/17/2012 08:26 AM, virendra bhati wrote:
Hi Patrick ,
I tryed a lot effort on google but no help i got and even i sent e-mail to lua mail list as well. but no one replied on it.
Please do not top-post and properly trim your replies (remove unrelated stuff). If you have the lua rpm installed on your CentOS system then luac is already available. Check with: $ rpm -q lua lua-5.1.4-4.1.el6.x86_64 <-- so it's installed If you don't have lua installed then install it as root with: # yum install lua luac is part of the lua package: $ rpm -ql lua | grep luac /usr/bin/luac /usr/share/doc/lua-5.1.4/luac.html /usr/share/man/man1/luac.1.gz Since you seem to be lacking basic Red Hat/CentOS knowledge and skills may I suggest this book: RHCSA/RHCE Red Hat Linux Certification Study Guide (Exams EX200 & EX300), 6th Edition written by Michael Jang http://www.amazon.co.uk/RHCSA-Linux-Certification-Study-Edition/dp/007176565... Regards, Patrick
participants (2)
-
Patrick Lists
-
virendra bhati