[Freeswitch-users] FreeSWITCH creates 46 channels on session:transfer

2008-10-22 Thread Diego Viola
Hello everyone, I been using FreeSWITCH 1.0.1 without any problems, everything works great. I just upgraded to FreeSWITCH Version 1.0.trunk (10105) now and I'm experiencing some problems. The problem is when I try to create a outbound call to my carrier (Teliax) and then I try to create an inbou

Re: [Freeswitch-users] mod_nibblebill question: DB Error while updating cash!

2009-03-07 Thread Diego Viola
Oh, I noticed the billing actually works, it discounts from my credit but I still get that message, even if the update works. "2009-03-08 00:37:02 [CRIT] mod_nibblebill.c:286 bill_event() DB Error while updating cash!" Thanks. On Sun, Mar 8, 2009 at 3:41 AM, Diego Viola wrote: > H

[Freeswitch-users] mod_nibblebill question: DB Error while updating cash!

2009-03-07 Thread Diego Viola
Hello, I'm trying to give mod_nibblebill a try, I compiled it and created the DB, set up ODBC, etc. I'm using MySQL. This is how I created the db: CREATE TABLE accounts ( id int NOT NULL PRIMARY KEY, name VARCHAR(255), cash double precision NOT NULL ); However when I try to make a c

Re: [Freeswitch-users] Getting a sip trace on the console

2009-03-09 Thread Diego Viola
Use SVN, or wait for the next release, fs_cli+siptrace rocks :) On Sun, Mar 8, 2009 at 12:03 PM, Nik Middleton wrote: > That's exactly what I was looking for, many thanks > > Regards, > > -Original Message- > From: freeswitch-users-boun...@lists.freeswitch.org > [mailto:freeswitch-users-b

Re: [Freeswitch-users] mod_nibblebill question: DB Error while updating cash!

2009-03-09 Thread Diego Viola
Ok, done. Thanks. On Mon, Mar 9, 2009 at 11:18 AM, Anthony Minessale wrote: > that means you should report it to jira not the mailing list. > > > On Sun, Mar 8, 2009 at 1:28 AM, Diego Viola wrote: >> >> Oh, I noticed the billing actually works, it discounts from my c

[Freeswitch-users] FS and Billing, AGI emulator

2009-03-09 Thread Diego Viola
Hi, I wanted to use A2Billing on FS, but I noticed it uses some AGI stuff for dialling and to check how much credit the user has, etc. I heard you could use A2B by just importing the FS CDR data into it, but that wont work, so I come to the conclusion that I have no way of doing billing on FS yet.

[Freeswitch-users] Start FreeSWITCH without any SQL but at the same time have all info available on realtime/runtime

2009-03-13 Thread Diego Viola
Hello, I was wondering if it is possible to start FreeSWITCH without any SQL at all, yeah I know there is -nosql but I still want to have all the information available at run time, ie: show channels, sofia status, sofia status profile , everything. Would that improve performance? I ask this becau

Re: [Freeswitch-users] Start FreeSWITCH without any SQL but at the same time have all info available on realtime/runtime

2009-03-13 Thread Diego Viola
t 6:46 AM, Diego Viola wrote: > Hello, > > I was wondering if it is possible to start FreeSWITCH without any SQL > at all, yeah I know there is -nosql but I still want to have all the > information available at run time, ie: show channels, sofia status, > sofia status profile , ev

Re: [Freeswitch-users] Start FreeSWITCH without any SQL but at the same time have all info available on realtime/runtime

2009-03-13 Thread Diego Viola
thout the > need/overheat of SQL. > > Regards, > > Diego > > On Fri, Mar 13, 2009 at 6:46 AM, Diego Viola wrote: >> Hello, >> >> I was wondering if it is possible to start FreeSWITCH without any SQL >> at all, yeah I know there is -nosql but I still want to ha

Re: [Freeswitch-users] FreeSWITCH forum community opened today!

2009-03-13 Thread Diego Viola
Good initiative, congrats. I already registered to it. Diego On Thu, Mar 12, 2009 at 5:22 PM, wrote: > Great, I like forums better than lists. Make sure the folks at FreeSwitch > make it know to anyone coming to any of their pages by providing links, etc. > Thanks > > > -Original Message--

Re: [Freeswitch-users] Start FreeSWITCH without any SQL but at the same time have all info available on realtime/runtime

2009-03-13 Thread Diego Viola
just to list channels. > > > Math > > On 13-Mar-09, at 7:12 AM, Diego Viola wrote: > >> Erhm, this is what I wanted to say. >> >> -- >> >> I think FreeSWITCH should leave that SQLite option as optional, I >> think it would be nicer if FS doesn&

Re: [Freeswitch-users] Start FreeSWITCH without any SQL but at the same time have all info available on realtime/runtime

2009-03-13 Thread Diego Viola
13, 2009, at 9:36 AM, Diego Viola wrote: > > Oh, I thought that SQLite wasn't that great on performance and that > people wanted to replace/remove it from the core. > > "On of the most interesting things about FreeSWITCH to me has been the > fact that most data in the

Re: [Freeswitch-users] Start FreeSWITCH without any SQL but at the same time have all info available on realtime/runtime

2009-03-14 Thread Diego Viola
that command anymore, if you encounter any I would > be interested in knowing what is going on. > > Mike > > > On Mar 14, 2009, at 12:12 AM, Diego Viola wrote: > >> Yeah, but still, it would be nice to see the channels with -nosql :) >> >> I don't want t

Re: [Freeswitch-users] Start FreeSWITCH without any SQL but at the same time have all info available on realtime/runtime

2009-03-15 Thread Diego Viola
-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a > > > On Sat, Mar 14, 2009 at 7:29 PM, Diego Viola wrote: >> >> So how Asterisk does that "show channels" without SQL? I don't think >> they use SQLite internally. >> >

Re: [Freeswitch-users] Start FreeSWITCH without any SQL but at the same time have all info available on realtime/runtime

2009-03-15 Thread Diego Viola
Forget this, I don't want show channels without SQL anymore. Diego On Sun, Mar 15, 2009 at 9:56 AM, Diego Viola wrote: > Wow, that sucks. > > It's clear now why it's done this way, keep up the great work. > > Diego > > On Sun, Mar 15, 2009 at 9:30 AM, A

Re: [Freeswitch-users] Console Window

2009-03-24 Thread Diego Viola
I put /usr/local/freeswitch/bin in my path, like this. export PATH=/usr/local/freeswitch/bin:$PATH on my ~/.bashrc, you can put it on your /etc/profile if you want it to be global. Then I just do `freeswitch -nc' when I need to start it, `fs_cli' to connect, and `fsctl shutdown asap' to shut it d

Re: [Freeswitch-users] IRC is not for all

2009-03-26 Thread Diego Viola
Use what Brian said or ssh into some Linux box and use irssi. Diego 2009/3/26 Brian West > http://cgiirc.freeswitch.org/ > I'm assume the web isn't blocked? > > /b > > On Mar 26, 2009, at 6:24 AM, Richard Lamkin wrote: > > Dear All, > > As a developer within a commercial organisation I would li

Re: [Freeswitch-users] libtool 2.2 patch

2009-04-06 Thread Diego Viola
Hi Trevor, The patch has been merged on latest trunk already. Regards, Diego V. On Mon, Apr 6, 2009 at 7:11 PM, Trevor Hammonds wrote: > When I attempt to apply the patch to rev 12932, it says that the patch is > already detected. Has this already been merged? > > Sincerely, > Trevor Hammonds

[Freeswitch-users] Can't send commands with event socket outbound

2009-04-11 Thread Diego Viola
Hello, I'm testing event socket outbound and whenever I use this: -bash-3.2# nc -v -l 127.0.0.1 8084 I send a call to the socket from my dialplan: I can receive just fine but I can't send events from the nc cli. I tried with: connect\n\n sendmsg call-command: execute execute-app-name: answe

Re: [Freeswitch-users] Can't send commands with event socket outbound

2009-04-11 Thread Diego Viola
Never mind, problem solved. On Sat, Apr 11, 2009 at 7:50 PM, Diego Viola wrote: > Hello, > > I'm testing event socket outbound and whenever I use this: > > -bash-3.2# nc -v -l 127.0.0.1 8084 > > I send a call to the socket from my dialplan: > > > > I

[Freeswitch-users] Question about play_and_get_digits in mod_dptools

2009-04-11 Thread Diego Viola
Hi all, I want to use play_and_get_digits from mod_dptools and have some questions about it. I have used playAndGetDigits() in Lua but I see the syntax in mod_dptools is a bit different and I got a bit confused. I see the syntax in the play_and_get_digits from the mod_dptools is something like t

Re: [Freeswitch-users] Question about play_and_get_digits in mod_dptools

2009-04-11 Thread Diego Viola
If you give me some examples of how to use play_and_get_digits in mod_dptools I will document it here. http://wiki.freeswitch.org/index.php?title=Misc._Dialplan_Tools_play_and_get_digits Diego On Sat, Apr 11, 2009 at 10:36 PM, Diego Viola wrote: > Hi all, > > I want to use play_and_g

Re: [Freeswitch-users] Question about play_and_get_digits in mod_dptools

2009-04-11 Thread Diego Viola
", SAF_NONE); Thanks guys. Diego On Sat, Apr 11, 2009 at 10:38 PM, Diego Viola wrote: > If you give me some examples of how to use play_and_get_digits in > mod_dptools I will document it here. > > > http://wiki.freeswitch.org/index.php?title=Misc._Dialplan_Tools_play_and

Re: [Freeswitch-users] Question about play_and_get_digits in mod_dptools

2009-04-11 Thread Diego Viola
I just added this: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits Diego On Sat, Apr 11, 2009 at 11:47 PM, Diego Viola wrote: > Mike just answered. > > 23:45 < MikeJ> diegoviola: the syntax is documented > 23:45 < MikeJ> SWIT

Re: [Freeswitch-users] Question about play_and_get_digits in mod_dptools

2009-04-12 Thread Diego Viola
I wish I would have seen this before =D 03:36 < Math> diegoviola: show application [appname] will show you any syntax btw Diego On Sun, Apr 12, 2009 at 2:30 AM, Diego Viola wrote: > I just added this: > > http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_d

[Freeswitch-users] Help with play_and_get_digits from mod_dptools

2009-04-13 Thread Diego Viola
Hi everyone, I have a question... I have this on my dialplan: What I want to do is play and read some digits and as soon as I get those digits, transfer to that extension... but this never happens, even if I terminate with a #. I do the same thing with Lua and it works with Lu

Re: [Freeswitch-users] Help with play_and_get_digits from mod_dptools

2009-04-13 Thread Diego Viola
It works if I use "read" and do this: But I need play_and_get_digits to work like that too, please. Diego On Tue, Apr 14, 2009 at 1:36 AM, Diego Viola wrote: > Hi everyone, > > I have a question... I have

Re: [Freeswitch-users] Help with play_and_get_digits from mod_dptools

2009-04-13 Thread Diego Viola
I remember playAndGetDigits had a bug like this too. Anthony, please help me. On Tue, Apr 14, 2009 at 1:42 AM, Diego Viola wrote: > It works if I use "read" and do this: > > > > > > > > > > > But I need play_and_get_d

Re: [Freeswitch-users] Help with play_and_get_digits from mod_dptools

2009-04-13 Thread Diego Viola
Anthony, I just tried to print the variable with the log app, with read it prints, with play_and_get_digits doesn't. I'm using latest SVN rev: FreeSWITCH Version 1.0.trunk (13012M) Thanks, Diego On Tue, Apr 14, 2009 at 1:53 AM, Diego Viola wrote: > I remember playAndGetDig

Re: [Freeswitch-users] Help with play_and_get_digits from mod_dptools

2009-04-14 Thread Diego Viola
That works, thanks Anthm, you're the man. Diego On Tue, Apr 14, 2009 at 9:15 AM, Anthony Minessale < anthony.miness...@gmail.com> wrote: > try \d instead of \\d in your regex > > On Tue, Apr 14, 2009 at 1:02 AM, Diego Viola wrote: > >> Anthony, >> >> I

Re: [Freeswitch-users] Adding Spanish support to say

2009-04-14 Thread Diego Viola
Hey guys, If you need some Spanish help count with my help also. Diego On Tue, Apr 14, 2009 at 2:12 PM, Michael Collins wrote: > Cool. We've had several volunteers start translating the phrase files into > Spanish and Brazilian Portugese. We'll keep you posted when we have the > Spanish one re

Re: [Freeswitch-users] How does FS compare with OpenSIPs?

2009-04-16 Thread Diego Viola
FreeSWITCH is a B2BUA, OpenSIPS is a SIP proxy. Diego On Thu, Apr 16, 2009 at 5:45 AM, Gilles wrote: > Hello > > There's an excellent article on FS vs. Asterisk, but unless I missed > it, there's no equivalent to OpenSIPs (www.opensips.org). > > At this point, apart from the fact that OpenSIPs

Re: [Freeswitch-users] Entire Wiki.FreeSwitch.org on Single PDF ?

2009-04-16 Thread Diego Viola
The rsync idea sounds better. Regards, Diego On Fri, Apr 17, 2009 at 4:03 AM, Mitul Limbani wrote: > Another idea would be to write simple rsync method, and post a page on the > same on the Wiki so all those people who have their own server and willing > to spare some bandwidth can mirror the

[Freeswitch-users] Ideas for my presentation

2009-04-18 Thread Diego Viola
Hi guys, I'm going to give a presentation of FreeSWITCH for our next Flisol ( http://www.flisol.net/ ) the next Saturday 25. I currently have some cool ideas of what to say and what to show to them, but I'm looking for more, in case that you have it. My audience will be mostly people interested

Re: [Freeswitch-users] Ideas for my presentation

2009-04-19 Thread Diego Viola
Asuncion, Paraguay :). http://flisol.net/FLISOL2009/Paraguay/Asuncion Regards, Diego 2009/4/18 João Mesquita > Diego, which country? > > JMesquita > > On Apr 18, 2009, at 10:51 PM, Jason White wrote: > > > Diego Viola wrote: > >> Let me know if you have so

Re: [Freeswitch-users] Ideas for my presentation

2009-04-19 Thread Diego Viola
I already have >15 pages of slides, and a demo that I plan to do, then I will ask questions, etc. Thanks people! =D I think this will be the best presentation I will ever do (pictures also coming soon ;). Thanks again :) FreeSWITCH rocks! Diego On Sun, Apr 19, 2009 at 3:23 AM, Diego Vi

Re: [Freeswitch-users] Ideas for my presentation

2009-04-19 Thread Diego Viola
Ok, here is my current draft for the presentation. http://voip.richapplabs.com/freeswitch/freeswitch.pdf Enjoy :D PS: If you have any suggestions or feedback keep them coming, long life FreeSWITCH! Thanks, Diego On Sun, Apr 19, 2009 at 3:31 PM, bakko wrote: > Me too :) > > > we want slides

Re: [Freeswitch-users] Ideas for my presentation

2009-04-20 Thread Diego Viola
much load can handle. But I think I could just say that... I'd like to do something more impressive, any ideas? Diego On Sat, Apr 18, 2009 at 6:28 AM, Diego Viola wrote: > Hi guys, > > I'm going to give a presentation of FreeSWITCH for our next Flisol ( > http://www.fl

[Freeswitch-users] ACL not working

2009-04-21 Thread Diego Viola
Hey guys, I'm currently testing FS inside a LAN. FreeSWITCH is running on 192.168.0.101 and my softphone is on 192.168.0.100. I can register and make calls just fine, but I want to deny everything in order to learn how the ACL works. I have this on the internal profile: And this

Re: [Freeswitch-users] ACL not working

2009-04-21 Thread Diego Viola
If I make any changes on the acl.conf.xml, it doesn't take any effect. Why is that? What am I doing wrong? Diego On Tue, Apr 21, 2009 at 5:29 AM, Diego Viola wrote: > More info: > > > > > > So any ideas? > > > On Tue, Apr 21, 2009 at 5:08 A

Re: [Freeswitch-users] ACL not working

2009-04-21 Thread Diego Viola
freeswi...@internal> acl false On Tue, Apr 21, 2009 at 5:08 AM, Diego Viola wrote: > Hey guys, > > I'm currently testing FS inside a LAN. FreeSWITCH is running on > 192.168.0.101 and my softphone is on 192.168.0.100. > > I can register and make calls just fine, but I

Re: [Freeswitch-users] ACL not working

2009-04-21 Thread Diego Viola
his: And this: And I can still call the conference (3030) without being registered. Why is this? Thanks. On Tue, Apr 21, 2009 at 6:43 AM, Diego Viola wrote: > freeswi...@internal> acl > false > > > On Tue, Apr 21, 2009 at 5:08 AM, Diego Viola wrote: > >> He

Re: [Freeswitch-users] ACL not working

2009-04-21 Thread Diego Viola
Oh it was because I had auth-calls set to true, now I turned it false and it works as I expect! Silly me, thanks everyone anyway =D Diego On Tue, Apr 21, 2009 at 7:08 AM, Diego Viola wrote: > Ok I just remade the config and now it's working as it should, it's not > let

Re: [Freeswitch-users] ACL not working

2009-04-21 Thread Diego Viola
More info: So any ideas? On Tue, Apr 21, 2009 at 5:08 AM, Diego Viola wrote: > Hey guys, > > I'm currently testing FS inside a LAN. FreeSWITCH is running on > 192.168.0.101 and my softphone is on 192.168.0.100. > > I can register and make calls just f

Re: [Freeswitch-users] ACL not working

2009-04-21 Thread Diego Viola
Nope, I just wanted to allow 1 ip, 192.168.0.100. Diego On Tue, Apr 21, 2009 at 9:27 AM, Brian West wrote: > Do you want to allow these IP ranges? > /b > > On Apr 21, 2009, at 6:08 AM, Diego Viola wrote: > > > > > > Brian West > br...@freeswi

Re: [Freeswitch-users] ACL not working

2009-04-21 Thread Diego Viola
ich is defaulted to "deny" block the inbound calls? Thanks, I hope this doesn't make anyone nervous, just trying to learn :) Regards, Diego On Tue, Apr 21, 2009 at 5:34 PM, Michael Collins wrote: > > > On Tue, Apr 21, 2009 at 1:15 PM, Diego Viola wrote: > >> Nope,

Re: [Freeswitch-users] ACL not working

2009-04-21 Thread Diego Viola
This alone should be able to block inbound calls right?: internal.xml: acl.conf.xml: vars.xml: On Tue, Apr 21, 2009 at 8:04 PM, Diego Viola wrote: > I was just trying to deny everything, and I got confused at what the > "default" in the made,

Re: [Freeswitch-users] ACL not working

2009-04-21 Thread Diego Viola
If I turn internal_auth_calls to false it blocks... but why I can't do it with internal_auth_calls=true? On Tue, Apr 21, 2009 at 8:45 PM, Diego Viola wrote: > This alone should be able to block inbound calls right?: > > internal.xml: > >

Re: [Freeswitch-users] ACL not working

2009-04-21 Thread Diego Viola
I'm trying to block inbound calls with internal_auth_calls=true. On Tue, Apr 21, 2009 at 8:46 PM, Diego Viola wrote: > If I turn internal_auth_calls to false it blocks... but why I can't do it > with internal_auth_calls=true? > > > On Tue, Apr 21, 2009 at 8:45 PM, Die

Re: [Freeswitch-users] ACL not working

2009-04-21 Thread Diego Viola
I got it, thanks people :D On Tue, Apr 21, 2009 at 8:57 PM, Diego Viola wrote: > I'm trying to block inbound calls with internal_auth_calls=true. > > > On Tue, Apr 21, 2009 at 8:46 PM, Diego Viola wrote: > >> If I turn internal_auth_calls to false it blocks... but

Re: [Freeswitch-users] ACL not working

2009-04-21 Thread Diego Viola
t; /b > On Apr 21, 2009, at 8:44 PM, Diego Viola wrote: > > I got it, thanks people :D > > Brian West > br...@freeswitch.org > -- Meet us at ClueCon!  http://www.cluecon.com > > > > > > ___ > Freeswitch-users

Re: [Freeswitch-users] ACL not working

2009-04-21 Thread Diego Viola
Sure. On Tue, Apr 21, 2009 at 10:37 PM, Jason White wrote: > Diego Viola wrote: >> I got it, thanks people :D > > Could you now add it to the documentation? > > > ___ > Freeswitch-users mailing list > Freeswitch-use

Re: [Freeswitch-users] which freeswitch sip trunk is gd for testing

2009-04-22 Thread Diego Viola
Another vote for Teliax. Regards, Diego On Tue, Apr 21, 2009 at 11:48 AM, Kenneth Shaw wrote: > Prabhuram, > > I would recommend Teliax. I've been with them for over 5 years now, > originally with Asterisk and now with Freeswitch. I don't know of any > better provider. > > On Tue, 21 Apr 2009 0

Re: [Freeswitch-users] Ideas for my presentation

2009-04-25 Thread Diego Viola
Hi guys, My presentation is today, wish me luck =D Thanks everyone who have helped me. Diego 2009/4/20 bakko : > Thank you (muchas gracias) :) > > Bye/Chao > ___ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org > http://lists.fr

Re: [Freeswitch-users] Ideas for my presentation

2009-04-25 Thread Diego Viola
Gracias =D On Sat, Apr 25, 2009 at 4:31 AM, bakko wrote: > Suerte :) > > ___ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.or

Re: [Freeswitch-users] Asterisk AGI.PL Total Noob HELP plz...

2009-05-02 Thread Diego Viola
Hi Edward, You could use perl from the dialplan or use the Event socket, or ESL, I use the event socket with a ruby library called freeswitcher and it works really well. Just take a look at the wiki (http://wiki.freeswitch.org/) for more info and/or ask us for help at #freeswitch @irc.freenode.ne

[Freeswitch-users] Ruby and ESL help

2009-05-02 Thread Diego Viola
Hello everyone, I was trying to test ESL with Ruby, and I made this: " require 'socket' require 'ESL' TCPServer.new('127.0.0.1', '8084') con = ESL::ESLconnection.new('127.0.0.1', '8084', '') con.execute('answer') con.execute('playback', '/usr/local/freeswitch/sounds/music/8000/suite-espanola-op-

Re: [Freeswitch-users] Ruby and ESL help

2009-05-02 Thread Diego Viola
I'm trying to do Event socket outbound btw. On Sat, May 2, 2009 at 7:57 PM, Diego Viola wrote: > Hello everyone, > > I was trying to test ESL with Ruby, and I made this: > > " > require 'socket' > require 'ESL' > > TCPServer.new('

Re: [Freeswitch-users] Re-2: Ruby and ESL help

2009-05-03 Thread Diego Viola
mand to play this file, > but there is nothing that will ever give you a notice about the playback has > ended, what is an unsolved problem for me. > > Original Message > Subject: Re: [Freeswitch-users] Ruby and ESL help (03-Mai-2009 2:23) > From:    Diego Viola

Re: [Freeswitch-users] Re-2: Ruby and ESL help

2009-05-03 Thread Diego Viola
($new_sock); > >   my $con = new ESL::ESLconnection($fd); >   my $info = $con->getInfo(); >   print $info->serialize(); >   my $uuid = $info->getHeader("unique-id"); >   $con->execute("answer", "", $uuid); >   $con->execute(&

Re: [Freeswitch-users] Re-2: Ruby and ESL help

2009-05-03 Thread Diego Viola
Do I need to do something with the file descriptor or fileno first? Sorry, I don't know perl. Diego On Sun, May 3, 2009 at 5:17 PM, Diego Viola wrote: > I tried to use ESL::ESLconnection in ruby but I get this. > > [di...@localhost ruby]$ ruby test.rb > test.rb:7:in `i

Re: [Freeswitch-users] Re-2: Ruby and ESL help

2009-05-03 Thread Diego Viola
Ok, I'll try that. Thanks. Diego On Sun, May 3, 2009 at 5:25 PM, Brian West wrote: > You have to pass it the file descriptor I suspect like we do in perl, python > and lua. > /b > On May 3, 2009, at 4:17 PM, Diego Viola wrote: > > esl = ESL::ESLconnection.new(c

Re: [Freeswitch-users] Re-2: Ruby and ESL help

2009-05-03 Thread Diego Viola
nd Thanks everyone :D Diego On Sun, May 3, 2009 at 5:29 PM, Brian West wrote: > I think its con.fileno in this case?  Not sure. > /b > On May 3, 2009, at 4:00 PM, Diego Viola wrote: > > Yep, it works Guido. > > require 'socket' > > server = TC

Re: [Freeswitch-users] Re-2: Ruby and ESL help

2009-05-03 Thread Diego Viola
Will post some examples on the wiki now :) Diego On Sun, May 3, 2009 at 5:32 PM, Diego Viola wrote: > NICE! It works, it works =D > > require 'socket' > require 'ESL' > > server = TCPServer.new(8084) > loop do > con = server.accept >

Re: [Freeswitch-users] Re-2: Ruby and ESL help

2009-05-03 Thread Diego Viola
http://wiki.freeswitch.org/wiki/Event_Socket_Library#Ruby_Example Added. On Sun, May 3, 2009 at 5:33 PM, Diego Viola wrote: > Will post some examples on the wiki now :) > > Diego > > On Sun, May 3, 2009 at 5:32 PM, Diego Viola wrote: >> NICE! It works, it works =D

Re: [Freeswitch-users] Re-2: Ruby and ESL help

2009-05-06 Thread Diego Viola
_i esl = ESL::ESLconnection.new(fd) esl.execute('answer') end } But using it with the normal TCPServer works? I'm trying to use ESL with EventMachine, but it doesn't appear to work. Although it does with the normal TCPServer. Thanks, On Sun, May 3,

Re: [Freeswitch-users] Re-2: Ruby and ESL help

2009-05-07 Thread Diego Viola
epository) and see how they > implemented EventMachine. > > > More info about EventMachine and specifically #start_server is here: > http://eventmachine.rubyforge.org/EventMachine.html#M000385 > > > > > El jue, 07-05-2009 a las 02:11 -0400, Diego Viola escribió: >> Hi

Re: [Freeswitch-users] Re-2: Ruby and ESL help

2009-05-07 Thread Diego Viola
ute-app-name: playback\nexecute-app-arg: tone_stream://%(1,0,350,440)\n\n" end end EventMachine::run { EventMachine::start_server "127.0.0.1", 8084, CallingCard } But what about ESL? :/ Diego On Thu, May 7, 2009 at 12:03 PM, Diego Viola wrote: > I see, but it

Re: [Freeswitch-users] Re-2: Ruby and ESL help

2009-05-07 Thread Diego Viola
ch won't work because EM is already controlling the socket. That conversation was in #eventmachine. Diego On Thu, May 7, 2009 at 4:11 PM, Diego Viola wrote: > Ok, this seems to work: > > require 'rubygems' > require 'eventmachine' > > module Call

Re: [Freeswitch-users] Re-2: Ruby and ESL help

2009-05-07 Thread Diego Viola
Hi guys, Nevermind with the ESL and EM thing. I was wondering what the getBody() getHeader() and other ESL stuff does behind the scenes, in raw socket, do you know? Thanks, Diego On Thu, May 7, 2009 at 4:44 PM, Diego Viola wrote: > It seems like EM (EventMachine) can't be used

[Freeswitch-users] mod_nibblebill question

2009-05-08 Thread Diego Viola
Hi everyone, I'm currently developing a calling card application that uses event socket and mod_nibblebill to bill calls. Well, the question is: can mod_nibblebill disconnect a call when the balance is depleted, or when it reaches 0 cash? The wiki says: "Allow for disconnecting or re-routing cal

Re: [Freeswitch-users] mod_nibblebill question

2009-05-08 Thread Diego Viola
Oh I see that it has it already :D - Diego On Fri, May 8, 2009 at 1:20 PM, Diego Viola wrote: > Hi everyone, > > I'm currently developing a calling card application that uses event > socket and mod_nibblebill to bill calls. Well, the question is: can > mod_nibblebi

Re: [Freeswitch-users] mod_nibblebill question

2009-05-08 Thread Diego Viola
I have set these actions: But when it reaches 0 cash it doesn't hangup :(. On Fri, May 8, 2009 at 2:34 PM, Diego Viola wrote: > Oh I see that it has it already :D > > > > > - > > > > > Diego > > On Fri, May 8, 2009 at 1:20 PM, Diego Viola

Re: [Freeswitch-users] mod_nibblebill question

2009-05-10 Thread Diego Viola
Darren Schreiber to me That won't work. The code isn't written yet. Give mea week or two to finish that. On Fri, May 8, 2009 at 3:08 PM, Diego Viola wrote: > I have set these actions: > > > > > But when it reaches 0 cash it doesn't hangup :(. > > On F

Re: [Freeswitch-users] get call durantion

2009-05-11 Thread Diego Viola
You can do /event list all on the CLI, and on hangup you will see that the billsec, duration and other variables are set. Regards, Diego On Tue, May 12, 2009 at 1:35 AM, Mathieu Rene wrote: > Those variables are only set on hangup. You can have a look at the caller > profile to get the answered

Re: [Freeswitch-users] As seen on DIGG

2009-05-19 Thread Diego Viola
Digged. On Tue, May 19, 2009 at 3:53 PM, Brian West wrote: > FreeSWITCHers, > Is it too much to ask for the community to help promote the project when > possible?  Now I normally don't do this but I could put on a cheer leader > outfit and grab some pomp pomps and get you guys and gals to click .

Re: [Freeswitch-users] Freeswitch hosting

2009-05-19 Thread Diego Viola
FreeSWITCH works nice on Amazon EC2, you just have to open the SIP and RTP ports and set ext-sip-ip and ext-rtp-ip to the external EC2 ip's in your Sofia profile. Diego On Tue, May 19, 2009 at 5:34 PM, Michael Collins wrote: > Had you see this wiki page yet? > http://wiki.freeswitch.org/wiki/Ama

Re: [Freeswitch-users] Testimonials

2009-05-19 Thread Diego Viola
Hi Maxim, We are using FreeSWITCH as an office PBX in Rich Apps Consulting (http://www.richappsconsulting.com/). I have written a blog post entry a long time ago, it's pretty old by now, but I guess still relevant. http://www.richappsconsulting.com/blog/blog-detail/asterisk-vs-freeswitch/ It wor

Re: [Freeswitch-users] Testimonials

2009-05-19 Thread Diego Viola
I'm also looking to install more PBXs with it soon, because FreeSWITCH does a great job at that, and at everything else too :) Diego On Tue, May 19, 2009 at 7:18 PM, Diego Viola wrote: > Hi Maxim, > > We are using FreeSWITCH as an office PBX in Rich Apps Cons

Re: [Freeswitch-users] Testimonials

2009-05-19 Thread Diego Viola
I work with the standard CLI tools (command line interface). Best, Diego On Tue, May 19, 2009 at 8:39 PM, Henry Huang wrote: > Deigo: > > Do you work on some GUI interface or purely text environment? > > On Tue, May 19, 2009 at 4:19 PM, Diego Viola wrote: >> >>

Re: [Freeswitch-users] calls appear to be dropping ... from landlines

2009-05-21 Thread Diego Viola
I have experienced the same a while ago, I originated calls from my freeswitch server to some landlines and calls would simply drop after X minutes. I tried to debug the thing but found nothing relevant, maybe I had the same issue as you. Let me know if you figure it out what it was. Diego On T

[Freeswitch-users] Cool names for my VoIP company

2009-05-21 Thread Diego Viola
Hey guys, I'm about to start my own ITSP with FreeSWITCH, and I'm looking some cool names for my VoIP company, if you know some please tell me :) Diego ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/

Re: [Freeswitch-users] Cool names for my VoIP company

2009-05-23 Thread Diego Viola
Thanks everyone, we just choose our own name :). On Fri, May 22, 2009 at 1:57 PM, Darin Weeks wrote: > > I just went through naming my own thing -- pretty happy with how it came > out.  I'm setting up a wisp for my 2 square mile city in los angeles metro > area. > The name:  UNWIRE.IT > http://un

Re: [Freeswitch-users] Calls drop at 30 seconds

2009-05-25 Thread Diego Viola
I had the same issue before, and it was a LAN problem, make sure your network is configured properly. Are you running the softphones and FS on the same machine? Diego On Mon, May 25, 2009 at 7:44 PM, FERNANDO VILLARROEL wrote: > > Hi, > > I have 2 softphones (101 and 102) logged to my FS in a L

Re: [Freeswitch-users] Pre8 Release on Digg

2009-05-26 Thread Diego Viola
Digged. On Tue, May 26, 2009 at 3:47 PM, Brian West wrote: > Dear FreeSWITCHers, > Now I'm gonna take a moment here to guilt each and everyone of you into > checking out the story about Pre8 on Digg.  We have all worked long and hard > to get to 1.0.4 and we still have a little bit to go.  So eve

Re: [Freeswitch-users] mod_nibblebill question

2009-05-26 Thread Diego Viola
Hi, Darren just added this today, in case if someone is interested. http://wiki.freeswitch.org/wiki/Mod_nibblebill#Hangup_the_call_when_cash_is_depleted Thanks Darren :). Regards, Diego On Sun, May 10, 2009 at 3:06 PM, Diego Viola wrote: > Darren Schreiber to me > That won't wor

[Freeswitch-users] XML config error

2009-05-26 Thread Diego Viola
Hi, I have downloaded the latest freeswitch trunk, and when I do reloadxml I get this. Error [unterminated ${var}] in line /usr/local/freeswitch/conf/autoload_configs/../jingle_profiles/client.xml line 12 Any ideas? I haven't edited that file myself. Thanks, Diego _

Re: [Freeswitch-users] XML config error

2009-05-26 Thread Diego Viola
e, May 26, 2009 at 10:16 PM, Jason White wrote: > Diego Viola wrote: >> Hi, I have downloaded the latest freeswitch trunk, and when I do >> reloadxml I get this. >> >> Error [unterminated ${var}] in line >> /usr/local/freeswitch/conf/autoload_configs/../jingle_

Re: [Freeswitch-users] mod_nibblebill question

2009-05-26 Thread Diego Viola
Sorry, this is the link. http://wiki.freeswitch.org/wiki/Mod_nibblebill#Hangup_the_call_when_the_balance_is_depleted Diego On Tue, May 26, 2009 at 9:06 PM, Diego Viola wrote: > Hi, > > Darren just added this today, in case if someone is interested. > > http://wiki.free

Re: [Freeswitch-users] XML config error

2009-05-27 Thread Diego Viola
just noticed a typo in the error text while writing this email so, you can > always learn from reading carefully.. > > > > On Tue, May 26, 2009 at 9:24 PM, Diego Viola wrote: >> >> I just updated it, it was a bug that got fixed already. >> >> 22:19 <@bkw

[Freeswitch-users] mod_lcr for a-z rates

2009-06-09 Thread Diego Viola
Hi everyone, I'm trying to write a calling card app with A-Z rates, and I plan to use mod_lcr for this case... the only thing I need mod_lcr to do for me is get the rate based on the destination number / prefix. Is there a way I could achieve this with mod_lcr? I seen the wiki page and the SQL ex

Re: [Freeswitch-users] mod_lcr for a-z rates

2009-06-09 Thread Diego Viola
found (if you loaded your > rate deck right it should always be 1). ${lcr_rate_1} will contain the > rate. > > So now you can set that to the var you need for nibblebill to work. > > If you want to use lcr to actually route the actual call, just call it > again. This time w

Re: [Freeswitch-users] mod_lcr for a-z rates

2009-06-09 Thread Diego Viola
CASCADE) mysql> Regards, Diego On Tue, Jun 9, 2009 at 8:52 PM, Diego Viola wrote: > Thanks for your help Rupa :). > > Don't worry that I will give everything back to the wiki, as I learn more > and more, I have also contributed back some things to the wiki: > > http://w

Re: [Freeswitch-users] mod_lcr for a-z rates

2009-06-09 Thread Diego Viola
Any other ideas? On Tue, Jun 9, 2009 at 11:55 PM, Mathieu Rene wrote: > I think a foreign key constraint is failing, should look into that > > On 9-Jun-09, at 11:53 PM, Diego Viola wrote: > > Hi everyone, > > I have used freeswitch/scripts/contrib/intralanman/C/lcr/sql/my

Re: [Freeswitch-users] mod_lcr for a-z rates

2009-06-09 Thread Diego Viola
> Math > > On 10-Jun-09, at 12:13 AM, Diego Viola wrote: > > > (`fs_lcr/lcr`, CONSTRAINT `carrier_id` FOREIGN KEY (`carrier_id`) > > REFERENCES `carriers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) > > > ___ > Freesw

Re: [Freeswitch-users] mod_lcr for a-z rates

2009-06-09 Thread Diego Viola
Ok I have added a new MySQL example here. http://wiki.freeswitch.org/wiki/Mod_lcr#Sample_Data Diego On Wed, Jun 10, 2009 at 12:43 AM, Diego Viola wrote: > Fixed the issue, I will update the wiki now with a MySQL example. > > Regards, > > Diego > > > On Wed, Jun 10, 2

Re: [Freeswitch-users] mod_nibblebill not set variable nibble_total_billed

2009-06-09 Thread Diego Viola
Open a Jira. http://jira.freeswitch.org/ On Tue, Jun 9, 2009 at 4:26 AM, Yuriy Ivzhenko wrote: > Some time ago mod_nibblebill was set variable nibble_total_billed after > hangup. > > But after last few updates of module this variable is no more sets. > > Somebody else have this problem? > > >

Re: [Freeswitch-users] Can't hear outbound calls

2009-06-10 Thread Diego Viola
Another vote for Git here :). On Mon, Jun 8, 2009 at 11:30 PM, Jason White wrote: > Lars Zeb wrote: > > I had a working FS installation which I messed up by doing a fresh > install. > > I tried to integrate all my custom changes, but I'm sure I screwed > something > > up. > > Git is an excellen

Re: [Freeswitch-users] Web page thoughts

2009-06-10 Thread Diego Viola
I don't have anything against the web site, I like it, but I kinda agree that these banners are too big and a bit negative/unprofessional. Take this for example: http://www.freeswitch.org/ads/ad8.jpg When someone looks at that the first thing they get is a negative feeling and that's not good, d

Re: [Freeswitch-users] Web page thoughts

2009-06-11 Thread Diego Viola
That's what I tried to say, I didn't expressed myself well, sorry. On Thu, Jun 11, 2009 at 12:09 PM, Steve Underwood wrote: > Anthony Minessale wrote: > > One important thing is that if we go around following everything > > everybody else says > > we become a follower in our field. > > > > I have

  1   2   3   >