[Freeswitch-users] Javascript File

2008-11-17 Thread Cavalera Claudio Luigi
Hello guys, I'm looking for some hints to debug javascript file handling with fs I've written a simple script console_log("info","hello\n"); fd = new File("/tmp/blah"); fd.open("read,write,create"); var buff = fd.readAll(); console_log("info",buff); but it does not output the content of /tmp/blah

Re: [Freeswitch-users] key tone trigger event during call

2008-12-05 Thread Cavalera Claudio Luigi
[EMAIL PROTECTED] wrote: > After the tone is sent back out, we are done. There is > nothing left to > do. Maybe you can look at: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bind_meta_app Ciao, Claudio Internet Email Confidentiality Footer --

[Freeswitch-users] Problem compiling socket2me

2008-12-19 Thread Cavalera Claudio Luigi
Hello guys, I'm playing with fs fax capabilities following these guidelines: http://wiki.freeswitch.org/wiki/Examples_faxlib.jm I've compiled mod_fax with make mod_fax-install and that should have taken care also of spandsp. When I issue make in scripts/socket2me I get this error: socket2me.c:315

Re: [Freeswitch-users] Problem compiling socket2me

2008-12-22 Thread Cavalera Claudio Luigi
freeswitch-users-boun...@lists.freeswitch.org wrote: > mod_fax replaces socket2me, you don't need it anymore. > > Mike Ok thanks, I would suggest to remove socket2me from trunk if still present. Ciao, Claudio Internet Email Confidentiality Footer

[Freeswitch-users] is there an event for SIP MESSAGE?

2009-01-26 Thread Cavalera Claudio Luigi
Hello freeswitchers, I'm experimenting with sip clients registered to fs and Instant Messaging. I've seen SIP Messages are properly routed by the sofia sip stack in fs. However it seems no event is ever generated on the event socket. Would it be possible to make fs reporting the SIP Messaging? :-)

Re: [Freeswitch-users] is there an event for SIP MESSAGE?

2009-01-28 Thread Cavalera Claudio Luigi
freeswitch-users-boun...@lists.freeswitch.org wrote: > Out of curiosity which SIP messages have you been watching for on the > event socket? Also, how are you connected to the event socket? Are you > subscribing to all events and sifting through them to confirm that no > events are being fired when

Re: [Freeswitch-users] is there an event for SIP MESSAGE?

2009-01-29 Thread Cavalera Claudio Luigi
freeswitch-users-boun...@lists.freeswitch.org wrote: > Cavalera, You can call me Claudio, I'm embarassed by not having full control over my email client. :-\ > I spoke with MikeJ and he said that FS simply does not fire an event > for SIP IM messages. It would probably take a fair amount of hack

Re: [Freeswitch-users] is there an event for SIP MESSAGE?

2009-01-29 Thread Cavalera Claudio Luigi
freeswitch-users-boun...@lists.freeswitch.org wrote: > I am sorry to see that your e-mail is confidential. If it > were not, I would have responded to tell you that there is already an > api command > to send chat messages in a protocol agnostic way (see > http://wiki.freeswitch.org/wiki/Misc._D

[Freeswitch-users] 16 threads didn't exit

2009-02-04 Thread Cavalera Claudio Luigi
Hello list, I'm trying to track down a seg fault issue with a fs Revision: 11489 Here is the backtrace pastebin: http://pastebin.freeswitch.org/7009 but before digging the dump I would like to understand: am I the only one having error like this in fs console: "Error in my_thread_global_end(): 16

[Freeswitch-users] Errors compiling trunk on a fresh system

2009-02-04 Thread Cavalera Claudio Luigi
Hello, I'm trying to compile a brand new fs on a clean system. Revision: 11630 After the usual ./bootstrap.sh ./configure --enable-core-odbc-support I was getting this at make http://pastebin.freeswitch.org/7011 so i cd into utils under libs/sofia-sip/utils issued a doxygen -u but still getting t

Re: [Freeswitch-users] 16 threads didn't exit

2009-02-04 Thread Cavalera Claudio Luigi
freeswitch-users-boun...@lists.freeswitch.org wrote: > I have seen that error myself, however I assumed it was due te me > hanging up other cals from the api_hangup_hook of a related call. > > I use this to set a "master" call in a conference so that if > it hangs up > all calls in the conference

Re: [Freeswitch-users] Errors compiling trunk on a fresh system

2009-02-05 Thread Cavalera Claudio Luigi
freeswitch-users-boun...@lists.freeswitch.org wrote: > This should now be fixed in trunk in revision 11632. Can you please > test and confirm. > > Mike I confirm it's fixed (revision 11649), thanks as always. Claudio Internet Email Confidentiality Footer --

[Freeswitch-users] howto master logging in fs_cli

2009-02-19 Thread Cavalera Claudio Luigi
Hello, I'm trying to clarify behaviour of fs_cli http://wiki.freeswitch.org/wiki/Fs_cli After some experiments I'm still not sure on how to deal with logging. For example: --- r...@lallobox:/usr/local/freeswitch/bin# ./fs_cli -d 6 _ _ ___ | ___/ ___|

[Freeswitch-users] Random problems with cepstral text to speech

2009-02-19 Thread Cavalera Claudio Luigi
Hello list, sometimes when issue a say command for Cepstral TTS in a conference I get this error: [CRIT] mod_local_stream.c:237 read_stream_thread() Leaking stream handle! [conference_play_file() mod_conference.c:2431] and no audio is played to the conference. I have to restart fs to make it work

Re: [Freeswitch-users] howto master logging in fs_cli

2009-02-19 Thread Cavalera Claudio Luigi
freeswitch-users-boun...@lists.freeswitch.org wrote: > Cavalera Claudio Luigi wrote: >> So could you please someone more expert with me clarify the >> difference between -d and -l options so that I can update the wiki >> which is now wrong/incomplete ? >>

[Freeswitch-users] Strange error load testing mod_xml_rpc

2009-02-19 Thread Cavalera Claudio Luigi
Hello, doing a bit of load and stress I'm sending request like originate &bridge originate &playback to mod_xml_rpc and I get these errors in freeswitch_http.log ?? getpeername() failed. errno=107 (Transport endpoint is not connected) - no_user - [19/Feb/2009:14:45:25 -0100] "GET" 200 150 ?? ge

Re: [Freeswitch-users] Random problems with cepstral text to speech

2009-02-19 Thread Cavalera Claudio Luigi
From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Anthony Minessale > Are you using cepstral 5.1? > There is a known issue with that release and it's closed source so we cannot do much about it. > Cepstral 4.x works fine

Re: [Freeswitch-users] Strange error load testing mod_xml_rpc

2009-02-19 Thread Cavalera Claudio Luigi
From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Anthony Minessale > Yes we already see you have reported this issue in jira and we are working on it. > you do not need to report it here as well. > You may want to make yourself

Re: [Freeswitch-users] Strange error load testing mod_xml_rpc

2009-02-19 Thread Cavalera Claudio Luigi
Here is a snoop: http://pastebin.freeswitch.org/7351 thx, cla Internet Email Confidentiality Footer - La presente comunicazione, con le informazioni in essa contenute e ogni documento o file alleg

Re: [Freeswitch-users] Random problems with cepstral text to speech

2009-02-23 Thread Cavalera Claudio Luigi
freeswitch-users-boun...@lists.freeswitch.org wrote: > From: freeswitch-users-boun...@lists.freeswitch.org > [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of > Anthony Minessale > >> Are you using cepstral 5.1? >> There is a known issue with that release and it's closed > sourc

Re: [Freeswitch-users] howto master logging in fs_cli

2009-03-04 Thread Cavalera Claudio Luigi
freeswitch-users-boun...@lists.freeswitch.org wrote: > freeswitch-users-boun...@lists.freeswitch.org wrote: >> Cavalera Claudio Luigi wrote: >>> So could you please someone more expert with me clarify the >>> difference between -d and -l options so that I can updat

Re: [Freeswitch-users] howto master logging in fs_cli

2009-03-04 Thread Cavalera Claudio Luigi
freeswitch-users-boun...@lists.freeswitch.org wrote: > fsctl loglevel [xxx] tells the core to ignore log messages not at > least that level. They wont get logged, you wont see them on the > console and no events will be generated. > > console loglevel [xxx] (on the "real" console) tells > mod_cons

Re: [Freeswitch-users] 16 threads didn't exit

2009-03-06 Thread Cavalera Claudio Luigi
freeswitch-users-boun...@lists.freeswitch.org wrote: > Hello list, > I'm trying to track down a seg fault issue with a fs Revision: 11489 > Here is the backtrace pastebin: > http://pastebin.freeswitch.org/7009 > > but before digging the dump I would like to understand: am I the only > one having e

Re: [Freeswitch-users] Cepstral and RSS feeds

2009-03-23 Thread Cavalera Claudio Luigi
freeswitch-users-boun...@lists.freeswitch.org wrote: > Yes that page was perfect, ty. > > (Cepstral 5.1) As far as I know the use of Cepstral 5.x is discouraged and it should be better to stick with Cepstral 4. Unfortunately Cepstral 4 voices are hard to find. :-\ BRs, Claudio Internet E. Mail C

Re: [Freeswitch-users] FS in Amazon EC2 for production?

2009-05-28 Thread Cavalera Claudio Luigi
freeswitch-users-boun...@lists.freeswitch.org wrote: > Virtualization has issues with timing in my experiance. I also experimetned timing issues with virtualization. Since everybody in the world speaks a lot good of virtualization I sometime think I'm the only one thinking wrong about it. I once r

Re: [Freeswitch-users] Live Upgrade Techniques

2009-06-15 Thread Cavalera Claudio Luigi
freeswitch-users-boun...@lists.freeswitch.org wrote: >> OTOH there will be a bit of trouble getting the internal state out >> of all those modules and libraries... in particular sofia :D > > We have talked quite some about this, its a major job, easily months > of work for multiple programmers. W

[Freeswitch-users] Freeswitch as a B2B Application Server for IMS

2009-06-17 Thread Cavalera Claudio Luigi
Hello freeswitchers, lately I'm trying to set up a testbed to ivestigate a potential use of freeswitch as a Back-to-Back application server in an IMS architecture. I've seen IMS specs are also linked here http://wiki.freeswitch.org/wiki/Documentation so I've thinked maybe there's a chance :-) I a

[Freeswitch-users] Variable manipulation in the dialplan

2009-06-23 Thread Cavalera Claudio Luigi
Hello, I once found in the wiki a page explaining how to "substring" a channel variable, something like <@[intra]lanman> 12345 would be 345 if you do ${var:2} I can't find that page on the wiki anymore, any hint on were it could be? :-) Also do you think it could be useful to extend this functio

Re: [Freeswitch-users] Variable manipulation in the dialplan

2009-06-24 Thread Cavalera Claudio Luigi
> From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Anthony Minessale > play with it from the cli > freeswitch> eval ${foo:-4:4} > API CALL [eval(${foo:-4:4})] output: > 2345 Thanks anthm! This way to test dir

[Freeswitch-users] How to check if a channel variable is present or NULL

2009-07-01 Thread Cavalera Claudio Luigi
Hello, I'm trying to implement this kind of logic in the dialplan if the channel variable sip_refer_to matches regexp than do action else if sip_refer_to exists (not NULL) but does not match regexp than do anti-action else if sip_refer_to does not exist as a channel_variable (NULL ??) than do anot

Re: [Freeswitch-users] ClueCon 2009 Updates - July 7, 2009

2009-07-08 Thread Cavalera Claudio Luigi
I'm really missing this event! Can't we organize a ClueCon Winter edition in Europe too? :-) BRs, Claudio From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Michael Collins Sent:

Re: [Freeswitch-users] ClueCon 2009 Updates - July 7, 2009

2009-07-08 Thread Cavalera Claudio Luigi
-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] ClueCon 2009 Updates - July 7, 2009 The GUUG will be doing something along those lines in fall 2010 in Germany. Am 08.07.2009 um 10:53 schrieb Cavalera Claudio Luigi: I'm r

[Freeswitch-users] XML RPC

2008-04-24 Thread Cavalera Claudio Luigi
Hello! I've installed latest svn trunk on a dedicatet machine, so vmware issues are gone. Music on hold now sounds pretty good! :-) I would like to issue some commands to freeswitch via web browser. I think that XML-RPC is the way to go but I've just found this documentation http://wiki.freeswitch.

[Freeswitch-users] simple fs commands taking inputs from a webpage

2008-04-29 Thread Cavalera Claudio Luigi
Hello, I'm trying to realize a demo for this use case: 1) a user inserts two sip users (e.g. 1001 and 1002) into a web page 2) fs calls the users (already registered to fs) and bridge them I've succeeded to achieve 2) by a mix of commands such as: originate sofia/default/1001%131.132.133.134 & pa

Re: [Freeswitch-users] simple fs commands taking inputs from awebpage

2008-04-29 Thread Cavalera Claudio Luigi
Yes, I'm trying to do 1) "Web callback" at the moment :-) BRs, Claudio From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of EdPimentl Sent: Tuesday, April 29, 2008 3:41 PM To: freeswitch-users@lists.freeswitch.org Subjec

Re: [Freeswitch-users] simple fs commands taking inputs from awebpage

2008-04-29 Thread Cavalera Claudio Luigi
With all the time you saved not having to wrestle with a solution to your goals, maybe you can collaborate with the guys on irc and develop your PHP event socket code into a robust library that everyone can use and we can check it into tree and give you all commit access to it.

Re: [Freeswitch-users] Clock Skew

2008-05-06 Thread Cavalera Claudio Luigi
[EMAIL PROTECTED] wrote: > Any idea what this means: > > 2008-05-05 09:01:44 [CRIT] switch_time.c:351 > softtimer_runtime() Forward > Clock Skew Detected! > I got the same message when running freeswitch in vmware. BRs, Claudio Internet Email Confidentiality Footer

Re: [Freeswitch-users] FS as SBC

2008-05-15 Thread Cavalera Claudio Luigi
[EMAIL PROTECTED] wrote: > Dear all, > is it possible to configure FS as SBC ? so it can connect two > different network ? > I don't think I can help you, but what are you looking for as Session Boarder Controller? Something like this maybe? http://forums.digium.com/viewtopic.php?p=68771&sid=4fb

[Freeswitch-users] bridge command example

2008-05-15 Thread Cavalera Claudio Luigi
Hello, how can I modify the following example so that both locations are able to answer and not just the first one? I've taken it from http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#Mutiple_destina tions_in_outbound_calls I'm testing something very similar in a php page towards freeswit

Re: [Freeswitch-users] FS as SBC

2008-05-15 Thread Cavalera Claudio Luigi
> I almost fell out of my chair laughing when I saw the suggestion of Asterisk as anything but a crash test dummy. Anthony, I knew you would have appreciated that, I have also found this today on fs docwiki: http://sofaswitch.org/eg/aac.jpg :-D Ciao, Claudio Internet Email Con

[Freeswitch-users] Callback through a 3rd party softswitch

2008-05-16 Thread Cavalera Claudio Luigi
Hello! I've realized a simple PHP page which takes two phone numbers as input and sends a command to fs event socket api. I've got two flavours of it, one for softphones registered to fs and one for real phones. The command for softphones is something like this and it works well: $command = "api o

Re: [Freeswitch-users] Callback through a 3rd party softswitch

2008-05-16 Thread Cavalera Claudio Luigi
[EMAIL PROTECTED] wrote: > What SVN Rev are you on? > > /b Latest, of this morning. BRs, Claudio Internet Email Confidentiality Footer - La presente comunicazione, con le informazioni in essa con

[Freeswitch-users] custom ringback behaviour

2008-06-13 Thread Cavalera Claudio Luigi
Hello guys, I'm keeping on playing with freeswitch (now with 1.0) on my spare work time with two final goals: 1)create a nice demo portfolio to show funtional potential of fs. 2)show fs performance under heavy load compared to commercial carrier level softswitches (millions of CDRs per day). First

Re: [Freeswitch-users] custom ringback behaviour

2008-06-16 Thread Cavalera Claudio Luigi
-) Thanks a lot, Claudio > On Jun 13, 2008, at 3:30 AM, Cavalera Claudio Luigi wrote: >> Now let's consider this couple of commands issued through fs console >> (I hope I'm using % vs @ properly here): >> 1) originate >> {ringback=/usr/local/freeswitch/

Re: [Freeswitch-users] custom ringback behaviour

2008-06-16 Thread Cavalera Claudio Luigi
[EMAIL PROTECTED] wrote: > You'll need to collect a sip trace. I can't reproduce this issue so > if you can do this: > > TPORT_LOG=1 ./freeswitch > > Then press F8 to turn on full debug log Collect that and > put it on > pastebin.freeswitch.org (user pastebin/ pass freeswitch) > > Then rep

Re: [Freeswitch-users] custom ringback behaviour

2008-06-16 Thread Cavalera Claudio Luigi
[EMAIL PROTECTED] wrote: > Its because your switch says 180 ringing with a=sendonly in the SDP. > > /b > I filled this on jira: http://jira.freeswitch.org/browse/SFSIP-68 Thanks, Claudio Internet Email Confidentiality Footer

Re: [Freeswitch-users] Success stories

2008-06-19 Thread Cavalera Claudio Luigi
[EMAIL PROTECTED] wrote: > Hi Jim, > > We passed interconnect testing with BT earlier this year using FS > without problems - I understand that Nextone and Quintum users have > both had difficulties, as the testing > is reasonably rigorous. May I have a look on this test lists? Pretty please! :-)

Re: [Freeswitch-users] INVITE no SDP

2008-09-03 Thread Cavalera Claudio Luigi
Hello, how does anyone enable 3pcc mode on the profile? I've searched 3pcc on fs wiki but got no results. Thanks, Claudio From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Minessale Sent: Monday, July 14, 2008 3:23 PM

[Freeswitch-users] Conference pin behaviour

2008-09-04 Thread Cavalera Claudio Luigi
Hello, I'm trying to understand this behaviour. First I create a new conference with this api command dialing towards myself: conference blah dial sofia/default/[EMAIL PROTECTED] I answer and it's ok, I'm the only user in the conference. then I set a pin for the conference API CALL [conference(bl

[Freeswitch-users] SCCP aka Skinny

2008-09-19 Thread Cavalera Claudio Luigi
Hello, is there a way to interconnect fs to a Cisco Call Manager which is configured to speak SCCP protocol (aka Skinny) and not SIP? I did not found a mod_SCCP in the docs :-) Thanks, Claudio Internet Email Confidentiality Footer --

Re: [Freeswitch-users] SCCP aka Skinny

2008-09-19 Thread Cavalera Claudio Luigi
[EMAIL PROTECTED] wrote: > There is no SCCP module for FS. CM only uses SCCP to talk to phones, > it uses either MGCP or SIP to talk to gateways. So if you have a > version that has SIP support (I believe > 4.0), then you could > connect CM to FS. It would be possible in this way to assign to ri

[Freeswitch-users] Freeswitch on embedded device: interesting or not?

2009-09-24 Thread Cavalera Claudio Luigi
Hello guys, lately I've been trying to compile Freeswitch for a MIPS architecture. With the help of the community I've understood that my target architecture was wrong because of limitations in the SDK toolchain's. I'm not writing now to get help but to start (I hope) a discussion. I would like to