[Freeswitch-users] Fwd: freeswitch odbc problem

2009-09-02 Thread Juan Backson
hi Michael,

Thank you for your help.

It works now.

JB

-- Forwarded message --
From: Michael Collins m...@freeswitch.org
Date: Fri, Aug 28, 2009 at 11:49 PM
Subject: Re: [Freeswitch-users] freeswitch odbc problem
To: freeswitch-users@lists.freeswitch.org


Juan,

Is this a new OS install? Make sure that you have all of the prerequisites
installed. Hopefully you're on CentOS and can just do this:

yum -y install unixODBC-devel gcc-c++ compat-gcc-32 compat-gcc-32-c++
autoconf automake db4-devel gdbm-devel ncurses-devel wget

Let us know how it goes.
-MC

On Thu, Aug 27, 2009 at 11:51 PM, Juan Backson juanback...@gmail.comwrote:

 Hi,
 In a new environment, I am getting the following error when building the
 latest freeswitch from svn.  Does anyone know how to resolve it?

 gcc -I/usr/src/freeswitch-snapshot/src/include
 -I/usr/src/freeswitch-snapshot/libs/libteletone/src -fPIC -Werror
 -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb
 -g -O2 -Wall -std=c99 -pedantic -o .libs/freeswitch freeswitch-switch.o  -lm
 ./.libs/libfreeswitch.so
 -L/usr/src/freeswitch-snapshot/libs/apr-util/xml/expat/lib
 /usr/src/freeswitch-snapshot/libs/apr-util/xml/expat/lib/.libs/libexpat.a
 /usr/src/freeswitch-snapshot/libs/apr/.libs/libapr-1.a
 -L/usr/src/freeswitch-snapshot/libs/srtp -L/usr/kerberos/lib64
 libs/apr/.libs/libapr-1.a -luuid -lrt -lcrypt -lpthread
 libs/libedit/src/.libs/libedit.a -lssl -lcrypto -ldl -lz -lncurses
 -Wl,--rpath -Wl,/usr/local/freeswitch/lib
 ./.libs/libfreeswitch.so: undefined reference to `SQLGetData'
 ./.libs/libfreeswitch.so: undefined reference to `SQLDisconnect'
 ./.libs/libfreeswitch.so: undefined reference to `SQLSetConnectAttr'
 ./.libs/libfreeswitch.so: undefined reference to `SQLGetDiagRec'
 ./.libs/libfreeswitch.so: undefined reference to `SQLConnect'
 ./.libs/libfreeswitch.so: undefined reference to `SQLExecute'
 ./.libs/libfreeswitch.so: undefined reference to `SQLNumResultCols'
 ./.libs/libfreeswitch.so: undefined reference to `SQLFreeHandle'
 ./.libs/libfreeswitch.so: undefined reference to `SQLGetInfo'
 ./.libs/libfreeswitch.so: undefined reference to `SQLAllocHandle'
 ./.libs/libfreeswitch.so: undefined reference to `SQLDriverConnect'
 ./.libs/libfreeswitch.so: undefined reference to `SQLPrepare'
 ./.libs/libfreeswitch.so: undefined reference to `SQLError'
 ./.libs/libfreeswitch.so: undefined reference to `SQLRowCount'
 ./.libs/libfreeswitch.so: undefined reference to `SQLDescribeCol'
 ./.libs/libfreeswitch.so: undefined reference to `SQLFetch'
 ./.libs/libfreeswitch.so: undefined reference to `SQLSetEnvAttr'
 collect2: ld returned 1 exit status
 make[2]: *** [freeswitch] Error 1



 ___
 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
___
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] How to find which leg got terminated

2009-09-02 Thread lakshmanan


I want to find which leg has cut the call? Is it possible to find that in
freeswitch?
For example:
A and B are speaking. If B cuts the call, then I need to play appropriate
message to A, and if A cuts the call, I need to play some messages to B.
What is the way to do this?

-- 
View this message in context: 
http://www.nabble.com/How-to-find-which-leg-got-terminated-tp25254511p25254511.html
Sent from the Freeswitch-users mailing list archive at Nabble.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


Re: [Freeswitch-users] Bind_meta_app and second-degree bridge (.. this is a bad title.)

2009-09-02 Thread Harry Vangberg
Ah. att_xfer seems nice. But, it still doesn't allow C to eventually
rebridge A to B (or possibly D, E etc) at some point in the
conversation, where the caller needs to talk with somebody else.

2009/9/1 Anthony Minessale anthony.miness...@gmail.com:
 you probably don't want to call bridge from bind meta app, try using the
 att_xfer app instead
 it works like bridge but when you call C you can press # to hangup and
 bridge a to c or press 0 to conference call all 3.


 On Tue, Sep 1, 2009 at 6:17 AM, Harry Vangberg ha...@vangberg.name wrote:

 My basic functionality is this: A calls in, is bridged to B (). I
 use bind_meta_app to let B rebridge A to C (). After having been
 rebridged to C, C should be able to rebridge A to B *again*, and so
 on.

 This is the code I have:

  context name=public
    extension name=ff-ivr
      condition field=destination_number expression=^(.*)$
        action application=set data=bypass_media=false/
        action application=answer/
        action application=bind_meta_app data=1 b a
 bridge::sofia/gateway/gw1//
        action application=bind_meta_app data=2 b a
 bridge::sofia/gateway/gw1//
        action application=bridge data=sofia/gateway/gw1/ /
      /condition
    /extension
  /context

 The first bridge is fine, and B can press *2 to bridge to C/. But
 if C presses *1, it seems to execute the bridge app, but nothing at
 all happens:

 2009-09-01 11:14:59.258325 [DEBUG] switch_rtp.c: RTP RECV DTMF *:2000
 2009-09-01 11:15:00.118195 [DEBUG] switch_rtp.c: RTP RECV DTMF 1:2000
 2009-09-01 11:15:00.118195 [DEBUG] switch_ivr_async.c:1725
 sofia/external/unkn...@129.142.224.250 Processing meta digit '2'
 [bridge::sofia/gateway/gw1/]
 2009-09-01 11:15:00.118195 [DEBUG] switch_core_session.c:813 Send
 signal sofia/external/unkn...@129.142.224.250 [BREAK]

 Any ideas?

 ___
 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



 --
 Anthony Minessale II

 FreeSWITCH http://www.freeswitch.org/
 ClueCon http://www.cluecon.com/
 Twitter: http://twitter.com/FreeSWITCH_wire

 AIM: anthm
 MSN:anthony_miness...@hotmail.com
 GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com
 IRC: irc.freenode.net #freeswitch

 FreeSWITCH Developer Conference
 sip:8...@conference.freeswitch.org
 iax:gu...@conference.freeswitch.org/888
 googletalk:conf+...@conference.freeswitch.org
 pstn:213-799-1400

 ___
 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


[Freeswitch-users] No NOTIFY MWI when registering via proxy.

2009-09-02 Thread mayamatakeshi
Hello,
I'm testing FS support for the header Path (FS is behind opensips).
It pretty much works: I tested calling from one user to the other and calls
work perfectly.
However, I've noticed that when I register my terminal directly with FS
without going thru the proxy, I receive an unsolicited NOTIFY containing
Message-Waiting information. But when I register via proxy, FS doesn't send
this NOTIFY.
What could be causing this difference of behavior? (enabling debug (F8)
doesn't show anything for registration handling).
I have just updated to trunk Revision 14729 and this behavior persists.

Also, is it possible to disable this unsolicited MWI notification? (I want
to send it only to subscribed terminals).

regards,
takeshi
___
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] outbould PHP ESL

2009-09-02 Thread Dome Charoenyost
Dear sir,

How to get digit from outbound php esl ?
example in my php

   echo sendmsg\n;
   echo call-command: execute\n;
   echo execute-app-name: read\n;
   echo execute-app-arg: 0 20
/opt/freeswitch/sounds/th/tuxza/welcome.wav  res 5000 #\n\n;

How to get res ?

best regards.

Dome C.

___
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] register problem while using external profile

2009-09-02 Thread Juan Backson
Hi,

Things are working find before I tried using public IP ( behind NAT ) to
register IP phones.  I am getting:

 2009-09-02 20:46:50.575837 [WARNING] sofia_reg.c:1713 Can't find user
[180...@public-ip]
You must define a domain called 'public-ip' in your directory and add a user
with the id=180001 attribute
and you must configure your device to use the proper domain in it's
authentication credentials.


I am using the external sip profile in this case.  Does anyone know why and
how to fix this problem.

jb
___
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


Re: [Freeswitch-users] memory leak

2009-09-02 Thread Benedikt Fraunhofer
Hello *,

2009/8/31 Rupa Schomaker r...@rupa.com:
 Isn't there a known issue with lua+sql leaking memory on some platforms?

just lua, no sql in use :)

 On Mon, Aug 31, 2009 at 8:32 AM, Brian Westbr...@freeswitch.org wrote:
 Use valgrind.

i tried that... in the beginning valgrind segfaultet several times
with some error message that it's unable to monitor so many threads.

vg_alloc_ThreadState: no free slots available
Increase VG_N_THREADS, rebuild and try again.

valgrind: the 'impossible' happened:
   VG_N_THREADS is too low

it happeneded with 400 concurrent calls pretty soon, with 100 it took
a while, but at least it consumed half a gig of ram.

Can someone interpret the file it generated so far? i put it at

  http://ns42.ath.cx/B0GdWh/vg.log.bz2

(5k compressed, 452k uncompressed) or is there just not enough
information contained?

I'll give it another shot with 50 concurrent calls but i guess this
will take ages...

Thx in advance

  Beni.

___
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


Re: [Freeswitch-users] FS performance under windows

2009-09-02 Thread Diego Toro
What is the reason for saying this? Perhaps the effort of the development group 
of FS has been wasted trying to support Windows as a platform for production 
systems?
Diego 
http://lacarretade.blogspot.com/

--- On Tue, 9/1/09, Muhammad Shahzad shaherya...@googlemail.com wrote:


From: Muhammad Shahzad shaherya...@googlemail.com
Subject: Re: [Freeswitch-users] FS performance under windows
To: freeswitch-users@lists.freeswitch.org
Date: Tuesday, September 1, 2009, 4:00 AM


If you want to try FS on Windows only for feature testing etc. then its okay, 
however for production deployments  (that includes load testing) i strongly 
recommend CentOS 5.x.

As far as configuration migration is concerned, you don't need to change any 
configuration files, simply copy them to Linux installation.

Thank you.



On Tue, Sep 1, 2009 at 2:13 PM, Dmitry Kadantsev kadantse...@gmail.com wrote:

Hi folk,

First of all, thank you for FS - really strong project.

I have already asked this once in other thread but didn't got any answer. So, 
I'll try to re-ask.

We are playing currently with FS under Windows 2008 64bit. So far there are 
some issues but I hope we'll solve it in nearest future. After FS will be 
configured correctly we plan to play with performance things on FS.

The question is: Does it makes any sense to try to setup FS under Win for a 
same performance level possible under Linux (e.g. CentOs)? Or it's just wasting 
of time?

An additional question is: Are there any important and well know issues during 
migration from Win to Lin. Or it is just like copying of all configs into Linux 
installation?


Thank you

--
Best regards,
Dmitry Kadantsev


___
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




-- 
Muhammad Shahzad
---
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_78...@hotmail.com
Email: shaherya...@googlemail.com

-Inline Attachment Follows-


___
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


Re: [Freeswitch-users] outbould PHP ESL

2009-09-02 Thread Tristan Mahé
Hi,

just a fast 2cent:

get var via channel status ? ( variable_res )

Dome Charoenyost a écrit :
 Dear sir,

 How to get digit from outbound php esl ?
 example in my php

echo sendmsg\n;
echo call-command: execute\n;
echo execute-app-name: read\n;
echo execute-app-arg: 0 20
 /opt/freeswitch/sounds/th/tuxza/welcome.wav  res 5000 #\n\n;

 How to get res ?

 best regards.

 Dome C.

 ___
 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


Re: [Freeswitch-users] register problem while using external profile

2009-09-02 Thread Brian West
You don't have to do that anymore... the default profile on 5060 will  
work when the users are on the public internet also.  No need to have  
two profiles anymore.

/b

On Sep 2, 2009, at 7:50 AM, Juan Backson wrote:

 Hi,

 Things are working find before I tried using public IP ( behind  
 NAT ) to register IP phones.  I am getting:

  2009-09-02 20:46:50.575837 [WARNING] sofia_reg.c:1713 Can't find  
 user [180...@public-ip]
 You must define a domain called 'public-ip' in your directory and  
 add a user with the id=180001 attribute
 and you must configure your device to use the proper domain in it's  
 authentication credentials.


 I am using the external sip profile in this case.  Does anyone know  
 why and how to fix this problem.

 jb
 ___
 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


Re: [Freeswitch-users] memory leak

2009-09-02 Thread Brian West
What are you doing in these lua scripts?  Because there are a few  
things you can do in the lua script itself that will cause you to leak  
like crazy due to improper use.


/b

On Sep 2, 2009, at 7:59 AM, Benedikt Fraunhofer wrote:


Hello *,

2009/8/31 Rupa Schomaker r...@rupa.com:
Isn't there a known issue with lua+sql leaking memory on some  
platforms?


just lua, no sql in use :)


___
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


Re: [Freeswitch-users] Q931 TE State Timer

2009-09-02 Thread Helmut Kuper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

just to close this thread, I would like to say that after 21000
pstn-calls and 45 days up time (old stack: max 10 days) the ISDN call
resource management based on Q931 timers delivered by the *new* Q931
stack is still clean. Each done call was torn down to the DOWN state
cleanly.

This doesn't mean that the new stack is done - but for simple calls to
and from PSTN it works very good compared to the old Q931 stack.

regards
Helmut
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFKnnak4tZeNddg3dwRAgPEAJsH+wg4CKV2MKQPAUbO69iijR/r4ACgug+a
zLeZX1bmYNF4UlirU0XJHfc=
=B/LZ
-END PGP SIGNATURE-

___
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


Re: [Freeswitch-users] FS performance under windows

2009-09-02 Thread Brian West
I know people that have deployed on windows... not a huge problem just  
hasn't been load tested like linux... we don't have the resources or  
time to load test every single platform, tune and tweak it.  The  
community can help out with this area a lot.


/b

On Sep 2, 2009, at 8:01 AM, Diego Toro wrote:

What is the reason for saying this? Perhaps the effort of the  
development group of FS has been wasted trying to support Windows as  
a platform for production systems?


Diego
http://lacarretade.blogspot.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


Re: [Freeswitch-users] memory leak

2009-09-02 Thread Benedikt Fraunhofer
Hello Brian,

2009/9/2 Brian West br...@freeswitch.org:
 What are you doing in these lua scripts?  Because there are a few things you
 can do in the lua script itself that will cause you to leak like crazy due
 to improper use.
 /b

the setup is the same as in http://jira.freeswitch.org/browse/MODSOFIA-22

one is

-

local reason = session:getVariable(originate_disposition);

session:setAutoHangup(false);


if(reason) then
if(reason == NO_ANSWER) then
 -- nothing
end
if(reason == USER_BUSY) then
-- nothing
end
end

freeswitch.consoleLog(...

--
anotherone is

local sess = nil;
if(argv[1]) then
sess=argv[1];
end
freeswitch.consoleLog(...
api = freeswitch.API();
local res = api:execute(sched_api ...
freeswitch.consoleLog(...



and the scheduled script does
---
function log(msg)
freeswitch.consoleLog(notice, c2c-hangup-timeout.lua:  .. msg .. \n);
end


local sess = argv[1];
if(sess)
then
freeswitch.consoleLog(INFO, hangup-timeout.lua for uuid  ..
sess .. \n);

api = freeswitch.API();
local stillValid = api:execute(uuid_getvar, sess .. 
Dummy-DoesChannelExists);
if(stillValid:sub(1,4) == -ERR)
then
log(session uuid  .. sess ..  disappeared (nothing bad));
else
-- this is important!!! Otherwise the aleg get's just hung up!
api:execute(uuid_media, sess);
api:execute(uuid_transfer, sess ..  -both timeout);
end
else -- /if(sess)
log(called with nil session?);
end -- /if(sess)

---

i don't have to do some kind of free() on all local variables, do i?

Thx.
  Beni.

___
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] Run a command on event

2009-09-02 Thread Mathieu Parent
Hi,

I wanted to run an originate command when a MESSAGE_WAITING event is fired.

Is there a simpler way than creating a daemon listening to the event socket ?

Thanks

Mathieu Parent

___
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


Re: [Freeswitch-users] Run a command on event

2009-09-02 Thread Brian West
Using esl + perl you could do it.

/b

On Sep 2, 2009, at 9:27 AM, Mathieu Parent wrote:

 Hi,

 I wanted to run an originate command when a MESSAGE_WAITING event  
 is fired.

 Is there a simpler way than creating a daemon listening to the event  
 socket ?

 Thanks

 Mathieu Parent


___
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


Re: [Freeswitch-users] Run a command on event

2009-09-02 Thread Diego Viola
Or you can do something like this with Ruby + FSR:

http://pastebin.freeswitch.org/10184

On Wed, Sep 2, 2009 at 2:27 PM, Mathieu Parent math.par...@gmail.comwrote:

 Hi,

 I wanted to run an originate command when a MESSAGE_WAITING event is
 fired.

 Is there a simpler way than creating a daemon listening to the event socket
 ?

 Thanks

 Mathieu Parent

 ___
 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


Re: [Freeswitch-users] How to find which leg got terminated

2009-09-02 Thread Anthony Minessale
sip_hangup_disposition variable

On Wed, Sep 2, 2009 at 4:42 AM, lakshmanan lakindi...@gmail.com wrote:



 I want to find which leg has cut the call? Is it possible to find that in
 freeswitch?
 For example:
 A and B are speaking. If B cuts the call, then I need to play appropriate
 message to A, and if A cuts the call, I need to play some messages to B.
 What is the way to do this?

 --
 View this message in context:
 http://www.nabble.com/How-to-find-which-leg-got-terminated-tp25254511p25254511.html
 Sent from the Freeswitch-users mailing list archive at Nabble.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




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org
pstn:213-799-1400
___
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


Re: [Freeswitch-users] memory leak

2009-09-02 Thread Anthony Minessale
You have to reduce the load when running valgrind.


On Wed, Sep 2, 2009 at 7:59 AM, Benedikt Fraunhofer 
fraunhofer.lists.freeswitch-...@traced.net wrote:

 Hello *,

 2009/8/31 Rupa Schomaker r...@rupa.com:
  Isn't there a known issue with lua+sql leaking memory on some platforms?

 just lua, no sql in use :)

  On Mon, Aug 31, 2009 at 8:32 AM, Brian Westbr...@freeswitch.org wrote:
  Use valgrind.

 i tried that... in the beginning valgrind segfaultet several times
 with some error message that it's unable to monitor so many threads.

 vg_alloc_ThreadState: no free slots available
 Increase VG_N_THREADS, rebuild and try again.

 valgrind: the 'impossible' happened:
   VG_N_THREADS is too low

 it happeneded with 400 concurrent calls pretty soon, with 100 it took
 a while, but at least it consumed half a gig of ram.

 Can someone interpret the file it generated so far? i put it at

  http://ns42.ath.cx/B0GdWh/vg.log.bz2

 (5k compressed, 452k uncompressed) or is there just not enough
 information contained?

 I'll give it another shot with 50 concurrent calls but i guess this
 will take ages...

 Thx in advance

  Beni.

 ___
 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




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org
pstn:213-799-1400
___
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


Re: [Freeswitch-users] Bind_meta_app and second-degree bridge (.. this is a bad title.)

2009-09-02 Thread Anthony Minessale
instead of bridge or att_xfer then use transfer to transfer to an extension
that does the bridge.
or transfer to the inline dialplan.


On Wed, Sep 2, 2009 at 5:00 AM, Harry Vangberg ha...@vangberg.name wrote:

 Ah. att_xfer seems nice. But, it still doesn't allow C to eventually
 rebridge A to B (or possibly D, E etc) at some point in the
 conversation, where the caller needs to talk with somebody else.

 2009/9/1 Anthony Minessale anthony.miness...@gmail.com:
  you probably don't want to call bridge from bind meta app, try using the
  att_xfer app instead
  it works like bridge but when you call C you can press # to hangup and
  bridge a to c or press 0 to conference call all 3.
 
 
  On Tue, Sep 1, 2009 at 6:17 AM, Harry Vangberg ha...@vangberg.name
 wrote:
 
  My basic functionality is this: A calls in, is bridged to B (). I
  use bind_meta_app to let B rebridge A to C (). After having been
  rebridged to C, C should be able to rebridge A to B *again*, and so
  on.
 
  This is the code I have:
 
   context name=public
 extension name=ff-ivr
   condition field=destination_number expression=^(.*)$
 action application=set data=bypass_media=false/
 action application=answer/
 action application=bind_meta_app data=1 b a
  bridge::sofia/gateway/gw1//
 action application=bind_meta_app data=2 b a
  bridge::sofia/gateway/gw1//
 action application=bridge data=sofia/gateway/gw1/ /
   /condition
 /extension
   /context
 
  The first bridge is fine, and B can press *2 to bridge to C/. But
  if C presses *1, it seems to execute the bridge app, but nothing at
  all happens:
 
  2009-09-01 11:14:59.258325 [DEBUG] switch_rtp.c: RTP RECV DTMF
 *:2000
  2009-09-01 11:15:00.118195 [DEBUG] switch_rtp.c: RTP RECV DTMF
 1:2000
  2009-09-01 11:15:00.118195 [DEBUG] switch_ivr_async.c:1725
  sofia/external/unkn...@129.142.224.250 Processing meta digit '2'
  [bridge::sofia/gateway/gw1/]
  2009-09-01 11:15:00.118195 [DEBUG] switch_core_session.c:813 Send
  signal sofia/external/unkn...@129.142.224.250 [BREAK]
 
  Any ideas?
 
  ___
  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
 
 
 
  --
  Anthony Minessale II
 
  FreeSWITCH http://www.freeswitch.org/
  ClueCon http://www.cluecon.com/
  Twitter: http://twitter.com/FreeSWITCH_wire
 
  AIM: anthm
  MSN:anthony_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com
  GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com
  IRC: irc.freenode.net #freeswitch
 
  FreeSWITCH Developer Conference
  sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org
  iax:gu...@conference.freeswitch.org/888
  googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org
  pstn:213-799-1400
 
  ___
  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




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org
pstn:213-799-1400
___
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


Re: [Freeswitch-users] memory leak

2009-09-02 Thread Benedikt Fraunhofer
Hello Anthony,

2009/9/2 Anthony Minessale anthony.miness...@gmail.com:
 run it slower and make sure it shuts down clean.

i already reduced load 37% but that didnt help, now i'm down to 25%
and it's running.

 valgrind --tool=memcheck --log-file-exactly=vg.log --leak-check=full
 --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg

that's the line in the wiki? I used that but log-file-exactly is not
available in my valgrind-3.3.0-Debian, just log-file. Does this make
any difference?

Also it wont shut down cleanly but oom-coredump  (some assertion
failed) and if i stop the loadgen after some time and try to 'fsctl
shutdown' it wont cleanly bring it down, too. (see first post, last
line printed is

  switch_core_memory.c:567 Stopping memory pool queue.
)

Thx.

  Beni.

___
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


Re: [Freeswitch-users] outbould PHP ESL

2009-09-02 Thread Michael Collins
Are you trying to get a channel variable or capture DTMF input from the
caller?
-MC

On Wed, Sep 2, 2009 at 7:56 AM, Dome Charoenyost d...@tel.co.th wrote:

 I follow
 http://wiki.freeswitch.org/wiki/PHP_ESL#ivrd

 how to get from php ?


 Dome C.
 --
 #!/usr/bin/php -q

 ?php

 // set a couple of things so we dont kill the system
 ob_implicit_flush(true);
 set_time_limit(30);

 // Open stdin so we can read the AGI data in
 $in = fopen(php://stdin, r);

 // Connect
 echo connect\n\n;

 // Answer
 echo sendmsg\n;
 echo call-command: execute\n;
 echo execute-app-name: answer\n\n;

  echo sendmsg\n;
  echo call-command: execute\n;
  echo execute-app-name: read\n;
  echo execute-app-arg: 0 20
 /opt/freeswitch/sounds/th/tuxza/welcome.wav  res 5000 #\n\n;

 // Wait
 sleep(5);

 // Hangup
 echo sendmsg\n;
 echo call-command: hangup\n\n;

 fclose($in);

 ?


 2009/9/2 Brian West br...@freeswitch.org:
  uuid_getvar
 
  /b
 
  On Sep 2, 2009, at 8:16 AM, Tristan Mahé wrote:
 
  Hi,
 
  just a fast 2cent:
 
  get var via channel status ? ( variable_res )
 
 
  ___
  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

___
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


Re: [Freeswitch-users] Q931 TE State Timer

2009-09-02 Thread Diego Viola
Great stuff, thanks for your hard work :).

Keep it up.

Regards,

Diego

On Wed, Sep 2, 2009 at 1:44 PM, Helmut Kuper helmut.ku...@ewetel.de wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hello,

 just to close this thread, I would like to say that after 21000
 pstn-calls and 45 days up time (old stack: max 10 days) the ISDN call
 resource management based on Q931 timers delivered by the *new* Q931
 stack is still clean. Each done call was torn down to the DOWN state
 cleanly.

 This doesn't mean that the new stack is done - but for simple calls to
 and from PSTN it works very good compared to the old Q931 stack.

 regards
 Helmut
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)

 iD8DBQFKnnak4tZeNddg3dwRAgPEAJsH+wg4CKV2MKQPAUbO69iijR/r4ACgug+a
 zLeZX1bmYNF4UlirU0XJHfc=
 =B/LZ
 -END PGP SIGNATURE-

 ___
 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


Re: [Freeswitch-users] Q931 TE State Timer

2009-09-02 Thread Michael Collins
w00t!

On Wed, Sep 2, 2009 at 6:44 AM, Helmut Kuper helmut.ku...@ewetel.de wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hello,

 just to close this thread, I would like to say that after 21000
 pstn-calls and 45 days up time (old stack: max 10 days) the ISDN call
 resource management based on Q931 timers delivered by the *new* Q931
 stack is still clean. Each done call was torn down to the DOWN state
 cleanly.

 This doesn't mean that the new stack is done - but for simple calls to
 and from PSTN it works very good compared to the old Q931 stack.

 regards
 Helmut
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)

 iD8DBQFKnnak4tZeNddg3dwRAgPEAJsH+wg4CKV2MKQPAUbO69iijR/r4ACgug+a
 zLeZX1bmYNF4UlirU0XJHfc=
 =B/LZ
 -END PGP SIGNATURE-

 ___
 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


Re: [Freeswitch-users] Bind_meta_app and second-degree bridge (.. this is a bad title.)

2009-09-02 Thread Harry Vangberg
That's what I ended up with earlier today. Transfering to another
extension that does the att_xfer/bridge and rebinds meta app. I think
it works. Unfortunately my third phone is out of power, so haven't had
much chance to test it.

2009/9/2 Anthony Minessale anthony.miness...@gmail.com:
 instead of bridge or att_xfer then use transfer to transfer to an extension
 that does the bridge.
 or transfer to the inline dialplan.


 On Wed, Sep 2, 2009 at 5:00 AM, Harry Vangberg ha...@vangberg.name wrote:

 Ah. att_xfer seems nice. But, it still doesn't allow C to eventually
 rebridge A to B (or possibly D, E etc) at some point in the
 conversation, where the caller needs to talk with somebody else.

 2009/9/1 Anthony Minessale anthony.miness...@gmail.com:
  you probably don't want to call bridge from bind meta app, try using the
  att_xfer app instead
  it works like bridge but when you call C you can press # to hangup and
  bridge a to c or press 0 to conference call all 3.
 
 
  On Tue, Sep 1, 2009 at 6:17 AM, Harry Vangberg ha...@vangberg.name
  wrote:
 
  My basic functionality is this: A calls in, is bridged to B (). I
  use bind_meta_app to let B rebridge A to C (). After having been
  rebridged to C, C should be able to rebridge A to B *again*, and so
  on.
 
  This is the code I have:
 
   context name=public
     extension name=ff-ivr
       condition field=destination_number expression=^(.*)$
         action application=set data=bypass_media=false/
         action application=answer/
         action application=bind_meta_app data=1 b a
  bridge::sofia/gateway/gw1//
         action application=bind_meta_app data=2 b a
  bridge::sofia/gateway/gw1//
         action application=bridge data=sofia/gateway/gw1/ /
       /condition
     /extension
   /context
 
  The first bridge is fine, and B can press *2 to bridge to C/. But
  if C presses *1, it seems to execute the bridge app, but nothing at
  all happens:
 
  2009-09-01 11:14:59.258325 [DEBUG] switch_rtp.c: RTP RECV DTMF
  *:2000
  2009-09-01 11:15:00.118195 [DEBUG] switch_rtp.c: RTP RECV DTMF
  1:2000
  2009-09-01 11:15:00.118195 [DEBUG] switch_ivr_async.c:1725
  sofia/external/unkn...@129.142.224.250 Processing meta digit '2'
  [bridge::sofia/gateway/gw1/]
  2009-09-01 11:15:00.118195 [DEBUG] switch_core_session.c:813 Send
  signal sofia/external/unkn...@129.142.224.250 [BREAK]
 
  Any ideas?
 
  ___
  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
 
 
 
  --
  Anthony Minessale II
 
  FreeSWITCH http://www.freeswitch.org/
  ClueCon http://www.cluecon.com/
  Twitter: http://twitter.com/FreeSWITCH_wire
 
  AIM: anthm
  MSN:anthony_miness...@hotmail.com
  GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com
  IRC: irc.freenode.net #freeswitch
 
  FreeSWITCH Developer Conference
  sip:8...@conference.freeswitch.org
  iax:gu...@conference.freeswitch.org/888
  googletalk:conf+...@conference.freeswitch.org
  pstn:213-799-1400
 
  ___
  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



 --
 Anthony Minessale II

 FreeSWITCH http://www.freeswitch.org/
 ClueCon http://www.cluecon.com/
 Twitter: http://twitter.com/FreeSWITCH_wire

 AIM: anthm
 MSN:anthony_miness...@hotmail.com
 GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com
 IRC: irc.freenode.net #freeswitch

 FreeSWITCH Developer Conference
 sip:8...@conference.freeswitch.org
 iax:gu...@conference.freeswitch.org/888
 googletalk:conf+...@conference.freeswitch.org
 pstn:213-799-1400

 ___
 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


Re: [Freeswitch-users] outbould PHP ESL

2009-09-02 Thread Dome Charoenyost
2009/9/2 Michael Collins m...@freeswitch.org:
 Are you trying to get a channel variable or capture DTMF input from the
 caller?

i try to make IVR by php outbound socket. in XML dialplan we can get
DTMF by read application (store in channel variable)
I found it's success in perl outbound (IVR.pm) but for php how do i ?


Dome C.

 -MC

 On Wed, Sep 2, 2009 at 7:56 AM, Dome Charoenyost d...@tel.co.th wrote:

 I follow
 http://wiki.freeswitch.org/wiki/PHP_ESL#ivrd

 how to get from php ?


 Dome C.
 --
 #!/usr/bin/php -q

 ?php

 // set a couple of things so we dont kill the system
 ob_implicit_flush(true);
 set_time_limit(30);

 // Open stdin so we can read the AGI data in
 $in = fopen(php://stdin, r);

 // Connect
 echo connect\n\n;

 // Answer
 echo sendmsg\n;
 echo call-command: execute\n;
 echo execute-app-name: answer\n\n;

  echo sendmsg\n;
  echo call-command: execute\n;
  echo execute-app-name: read\n;
  echo execute-app-arg: 0 20
 /opt/freeswitch/sounds/th/tuxza/welcome.wav  res 5000 #\n\n;

 // Wait
 sleep(5);

 // Hangup
 echo sendmsg\n;
 echo call-command: hangup\n\n;

 fclose($in);

 ?


 2009/9/2 Brian West br...@freeswitch.org:
  uuid_getvar
 
  /b
 
  On Sep 2, 2009, at 8:16 AM, Tristan Mahé wrote:
 
  Hi,
 
  just a fast 2cent:
 
  get var via channel status ? ( variable_res )
 
 
  ___
  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


 ___
 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


Re: [Freeswitch-users] memory leak

2009-09-02 Thread Anthony Minessale
i mean valgrind is very intensive so you must run very slow 1-5cps

yes if you have a version that only has log-file you can use that.

if you find me on irc and send me the credentials privately I will examine
your box for you.


On Wed, Sep 2, 2009 at 10:26 AM, Benedikt Fraunhofer 
fraunhofer.lists.freeswitch-...@traced.net wrote:

 Hello Anthony,

 2009/9/2 Anthony Minessale anthony.miness...@gmail.com:
  run it slower and make sure it shuts down clean.

 i already reduced load 37% but that didnt help, now i'm down to 25%
 and it's running.

  valgrind --tool=memcheck --log-file-exactly=vg.log --leak-check=full
  --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg

 that's the line in the wiki? I used that but log-file-exactly is not
 available in my valgrind-3.3.0-Debian, just log-file. Does this make
 any difference?

 Also it wont shut down cleanly but oom-coredump  (some assertion
 failed) and if i stop the loadgen after some time and try to 'fsctl
 shutdown' it wont cleanly bring it down, too. (see first post, last
 line printed is

  switch_core_memory.c:567 Stopping memory pool queue.
 )

 Thx.

  Beni.

 ___
 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




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org
pstn:213-799-1400
___
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


Re: [Freeswitch-users] Run a command on event

2009-09-02 Thread Mathieu Parent
Hi,

On Wed, Sep 2, 2009 at 4:37 PM, Brian Westbr...@freeswitch.org wrote:
 Using esl + perl you could do it.

 /b


On Wed, Sep 2, 2009 at 4:46 PM, Diego Violadiego.vi...@gmail.com wrote:
 Or you can do something like this with Ruby + FSR:

 http://pastebin.freeswitch.org/10184


thanks for your suggestions, but this also requires a daemon
(standalone or via inetd).

I will probably use inetd if nobody suggests a better solution.
creating a mod_event_* ?

Mathieu

___
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] E1 Sangoma Card

2009-09-02 Thread Eric Richmond
Hello all,

I'm wondering if anyone has successfully deployed a freeswitch server  
with an E1 card attached.  By looking at the wiki and chatting in IRC,  
I've heard that theoretically a FS + Sangoma E1 card solution should  
work, but I'd really like to hear from someone who actually has it  
working, so I know what gotchas I might encounter.

Any insight into this would be great.

Thanks,

-Eric Richmond

___
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] E1 Sangoma Card

2009-09-02 Thread Eric Richmond
(Sorry if this has been posted before, or even 2x.  I sent it out the  
first time with the wrong email address, and the 2nd time before i  
confirmed I wanted to be on the list, so my assumption is that it  
hasn't gone out yet, although I might be wrong, and if it has gone out  
before, I'm sorry for spamming the list.  It won't happen in the  
future.)

Hello all,

I'm wondering if anyone has successfully deployed a freeswitch server  
with an E1 card attached.  By looking at the wiki and chatting in IRC,  
I've heard that theoretically a FS + Sangoma E1 card solution should  
work, but I'd really like to hear from someone who actually has it  
working, so I know what gotchas I might encounter.

Any insight into this would be great.

Thanks,

-Eric Richmond

___
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


Re: [Freeswitch-users] E1 Sangoma Card

2009-09-02 Thread Mitul Limbani
Eric,

We have tried it, and it worked after a few tweaks on our PRI line,  
using the standard openzap plus wanpipe driver of Sangoma, the wiki on  
Sangoma site is old, but the one on freeswitch kinda works.

Thanks  Regards,
Mitul Limbani,
Founder  CEO,
Enterux Solutions Pvt. Ltd.,
The Enterprise Linux Company (r),
http://www.enterux.com
http://www.entVoice.com

On 02-Sep-2009, at 9:22 PM, Eric Richmond e...@newvo.com wrote:

 (Sorry if this has been posted before, or even 2x.  I sent it out the
 first time with the wrong email address, and the 2nd time before i
 confirmed I wanted to be on the list, so my assumption is that it
 hasn't gone out yet, although I might be wrong, and if it has gone out
 before, I'm sorry for spamming the list.  It won't happen in the
 future.)

 Hello all,

 I'm wondering if anyone has successfully deployed a freeswitch server
 with an E1 card attached.  By looking at the wiki and chatting in IRC,
 I've heard that theoretically a FS + Sangoma E1 card solution should
 work, but I'd really like to hear from someone who actually has it
 working, so I know what gotchas I might encounter.

 Any insight into this would be great.

 Thanks,

 -Eric Richmond

 ___
 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


Re: [Freeswitch-users] E1 Sangoma Card

2009-09-02 Thread Moises Silva
On Wed, Sep 2, 2009 at 11:52 AM, Eric Richmond e...@newvo.com wrote:

 Hello all,

 I'm wondering if anyone has successfully deployed a freeswitch server
 with an E1 card attached.  By looking at the wiki and chatting in IRC,
 I've heard that theoretically a FS + Sangoma E1 card solution should
 work, but I'd really like to hear from someone who actually has it
 working, so I know what gotchas I might encounter.

 Any insight into this would be great.


I have done several of such setups with E1/PRI and E1/MFCR2, if you find
problems just drop by in #openzap or #freeswitch and ping me 'moy'. Also you
can post questions in this very same list.

-- 
Moises Silva
Software Developer
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3
Canada
t. 1 905 474 1990 x 128 | e. m...@sangoma.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


Re: [Freeswitch-users] E1 Sangoma Card

2009-09-02 Thread Michael Collins
On Wed, Sep 2, 2009 at 8:52 AM, Eric Richmond e...@newvo.com wrote:

 (Sorry if this has been posted before, or even 2x.  I sent it out the
 first time with the wrong email address, and the 2nd time before i
 confirmed I wanted to be on the list, so my assumption is that it
 hasn't gone out yet, although I might be wrong, and if it has gone out
 before, I'm sorry for spamming the list.  It won't happen in the
 future.)

 Hello all,

 I'm wondering if anyone has successfully deployed a freeswitch server
 with an E1 card attached.  By looking at the wiki and chatting in IRC,
 I've heard that theoretically a FS + Sangoma E1 card solution should
 work, but I'd really like to hear from someone who actually has it
 working, so I know what gotchas I might encounter.

 Any insight into this would be great.

 Thanks,

 -Eric Richmond


Erich,

Yes, FS + Sangoma E1 card has been used. Is it safe to assume that you need
it for PRI? Moises from Sangoma has definitely used it and I believe we have
several people in Europe who are running E1/PRI. Your biggest gotcha is
probably which PRI stack to use, so for now I would use the libpri method
that the devs have created. More info here:
http://wiki.freeswitch.org/wiki/OpenZAP#Adding_libpri_Support

Just curious - what's your application?
-MC
___
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] Error building FreeSWITCH

2009-09-02 Thread Lars Zeb
I just updated using svn up which brought the source to 14741. After
running ./configure, I ran make and got the following output:

 

making all mod_lua

make[5]: swig: Command not found

make[5]: *** [mod_lua_wrap.cpp] Error 127

make[4]: *** [all] Error 1

make[3]: *** [mod_lua-all] Error 1

make[2]: *** [all-recursive] Error 1

Making all in build

 + FreeSWITCH Build Complete ---+

 + FreeSWITCH has been successfully built.  +

 + Install by running:  +

 +  +

 +   make install   +

 +--+

make[1]: *** [all-recursive] Error 1

make: *** [all] Error 2

 

What did I do wrong?

 

Thanks, Lars

___
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


Re: [Freeswitch-users] Error building FreeSWITCH

2009-09-02 Thread Peter P GMX
I had the same problem. Must have been changed something in lua since
this morning.

Please install swig.

E.g. on Debian
sudo apt-get install swig

That did it for me.

Best regards
Peter

Lars Zeb schrieb:

 I just updated using “svn up” which brought the source to 14741. After
 running “./configure”, I ran “make” and got the following output:

  

 making all mod_lua

 make[5]: swig: Command not found

 make[5]: *** [mod_lua_wrap.cpp] Error 127

 make[4]: *** [all] Error 1

 make[3]: *** [mod_lua-all] Error 1

 make[2]: *** [all-recursive] Error 1

 Making all in build

  + FreeSWITCH Build Complete ---+

  + FreeSWITCH has been successfully built.  +

  + Install by running:  +

  +  +

  +   make install   +

  +--+

 make[1]: *** [all-recursive] Error 1

 make: *** [all] Error 2

  

 What did I do wrong?

  

 Thanks, Lars

 

 ___
 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


Re: [Freeswitch-users] Error building FreeSWITCH

2009-09-02 Thread Anthony Minessale
yikes, dont swig your own stuff

just delete all the files that had merge issues and update again.


On Wed, Sep 2, 2009 at 1:14 PM, Peter P GMX prometheus...@gmx.net wrote:

 I had the same problem. Must have been changed something in lua since
 this morning.

 Please install swig.

 E.g. on Debian
 sudo apt-get install swig

 That did it for me.

 Best regards
 Peter

 Lars Zeb schrieb:
 
  I just updated using “svn up” which brought the source to 14741. After
  running “./configure”, I ran “make” and got the following output:
 
 
 
  making all mod_lua
 
  make[5]: swig: Command not found
 
  make[5]: *** [mod_lua_wrap.cpp] Error 127
 
  make[4]: *** [all] Error 1
 
  make[3]: *** [mod_lua-all] Error 1
 
  make[2]: *** [all-recursive] Error 1
 
  Making all in build
 
   + FreeSWITCH Build Complete ---+
 
   + FreeSWITCH has been successfully built.  +
 
   + Install by running:  +
 
   +  +
 
   +   make install   +
 
   +--+
 
  make[1]: *** [all-recursive] Error 1
 
  make: *** [all] Error 2
 
 
 
  What did I do wrong?
 
 
 
  Thanks, Lars
 
  
 
  ___
  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




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org
pstn:213-799-1400
___
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


Re: [Freeswitch-users] E1 Sangoma Card

2009-09-02 Thread Diego Viola
Good to know, I am getting Sangoma cards for my FreeSWITCH as well.

Diego

On Wed, Sep 2, 2009 at 5:29 PM, Michael Collins m...@freeswitch.org wrote:



 On Wed, Sep 2, 2009 at 8:52 AM, Eric Richmond e...@newvo.com wrote:

 (Sorry if this has been posted before, or even 2x.  I sent it out the
 first time with the wrong email address, and the 2nd time before i
 confirmed I wanted to be on the list, so my assumption is that it
 hasn't gone out yet, although I might be wrong, and if it has gone out
 before, I'm sorry for spamming the list.  It won't happen in the
 future.)

 Hello all,

 I'm wondering if anyone has successfully deployed a freeswitch server
 with an E1 card attached.  By looking at the wiki and chatting in IRC,
 I've heard that theoretically a FS + Sangoma E1 card solution should
 work, but I'd really like to hear from someone who actually has it
 working, so I know what gotchas I might encounter.

 Any insight into this would be great.

 Thanks,

 -Eric Richmond


 Erich,

 Yes, FS + Sangoma E1 card has been used. Is it safe to assume that you need
 it for PRI? Moises from Sangoma has definitely used it and I believe we have
 several people in Europe who are running E1/PRI. Your biggest gotcha is
 probably which PRI stack to use, so for now I would use the libpri method
 that the devs have created. More info here:
 http://wiki.freeswitch.org/wiki/OpenZAP#Adding_libpri_Support

 Just curious - what's your application?
 -MC



 ___
 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


[Freeswitch-users] How can I make more sounds that sound like Callie?

2009-09-02 Thread Nick Lemberger
I'm guessing she's a Cepstral voice, but can I ask what version, khz and 
settings the 8khz sounds are recorded with (I ask about the khz because perhaps 
they were pre-transcoded)?  I tried downloading 5.1 from Cepstral but they 
don't sound at all alike.  I'd like to replace a few prompts with words more 
accurate for my installation but I'm having trouble getting close to the 
default voice.

Best Regards,
Nicholas Lemberger
Lakefield Communications
920.973.6873


___
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


Re: [Freeswitch-users] How can I make more sounds that sound like Callie?

2009-09-02 Thread Phillip Jones
Taken from a similar recent posting:

Callie is one of the voices from GM Voices. She is definitely available
for custom work. Visit www.gmvoices.com for more info. Tell them that the
FreeSWITCH project sent you. :) MC

On Wed, Sep 2, 2009 at 3:14 PM, Nick Lemberger nick.lember...@lkfd.netwrote:

 I'm guessing she's a Cepstral voice, but can I ask what version, khz and
 settings the 8khz sounds are recorded with (I ask about the khz because
 perhaps they were pre-transcoded)?  I tried downloading 5.1 from Cepstral
 but they don't sound at all alike.  I'd like to replace a few prompts with
 words more accurate for my installation but I'm having trouble getting close
 to the default voice.

 Best Regards,
 Nicholas Lemberger
 Lakefield Communications
 920.973.6873


 ___
 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


Re: [Freeswitch-users] How can I make more sounds that sound like Callie?

2009-09-02 Thread Carlos S. Antunes
http://www.gmvoices.com

She appears to be a real person! :)

Nick Lemberger wrote:
 I'm guessing she's a Cepstral voice, but can I ask what version, khz and 
 settings the 8khz sounds are recorded with (I ask about the khz because 
 perhaps they were pre-transcoded)?  I tried downloading 5.1 from Cepstral but 
 they don't sound at all alike.  I'd like to replace a few prompts with words 
 more accurate for my installation but I'm having trouble getting close to the 
 default voice.
   


___
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


Re: [Freeswitch-users] FS performance under windows

2009-09-02 Thread Gerry Hull
I have a production application where I use FS as part of small, custom ACD
solution, with about 80 incoming DIDs and 4 agent positions.  It's been
deployed for about 4 months now, and was in beta long before that...  So
far, excellent perfomrance on Windows 2003 server, 32-bit, with 4GB of
memory.   It's certainly not a heavy load, but it proves the stabiliy and
versitility of the platform.

Brian said it best -- there is just not many of us on Windows.  However, I
DEEPLY appreciate the support of the FS dev team, and hope they will
continue to support Windows.

BTW, if I were to build a high-volume app, I'd do it on CentOS also.

Gerry



On Wed, Sep 2, 2009 at 11:13 AM, Raffaele P. Guidi 
raffaele.p.gu...@gmail.com wrote:

 I'm planning to deploy on windows a small call center (around 50 people)
 and willing to help anyhow. I will be able to test on machines mounting
 windows 2003 server. Is there a standard test that could be employed to
 correctly benchmark the results?

   On Wed, Sep 2, 2009 at 15:50, Brian West br...@freeswitch.org wrote:

   I know people that have deployed on windows... not a huge problem just
 hasn't been load tested like linux... we don't have the resources or time to
 load test every single platform, tune and tweak it.  The community can help
 out with this area a lot.
 /b

  On Sep 2, 2009, at 8:01 AM, Diego Toro wrote:

What is the reason for saying this? Perhaps the effort of the
 development group of FS has been wasted trying to support Windows as a
 platform for production systems?

 Diego
 http://lacarretade.blogspot.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


___
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] T38 T30 transcoding

2009-09-02 Thread Tihomir Culjaga
Hi guys,

just a quick question... is it possible to do a reliable on the fly T30 
T38 transcoding at all ... what is the status of T.38 on FS ?

T,
___
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


Re: [Freeswitch-users] How can I make more sounds that sound like Callie?

2009-09-02 Thread Michael Collins
On Wed, Sep 2, 2009 at 12:14 PM, Nick Lemberger nick.lember...@lkfd.netwrote:

 I'm guessing she's a Cepstral voice, but can I ask what version, khz and
 settings the 8khz sounds are recorded with (I ask about the khz because
 perhaps they were pre-transcoded)?  I tried downloading 5.1 from Cepstral
 but they don't sound at all alike.  I'd like to replace a few prompts with
 words more accurate for my installation but I'm having trouble getting close
 to the default voice.


I suppose how close is close enough? In any case, Cepstral has several
female voices, so choose the one that you like best. FTR, we have GM record
at 48k and then we downsample for 32, 16, and 8.
-MC
___
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] 2009-09-02 15:21:44.665608 [CRIT] switch_time.c:454 Reverse Clock Skew Detected!

2009-09-02 Thread Phillip Jones
Hi there,

Can anyone give any insight to this following message:

2009-09-02 15:21:44.665608 [CRIT] switch_time.c:454 Reverse Clock Skew
Detected!

This is on a WIN2003 machine with the last call hangup exactly 20 minutes
and 20 seconds earlier.

Just wondering how CRITICAL this really is?

Many thanks


Phillip Jones
___
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


Re: [Freeswitch-users] How can I make more sounds that sound like Callie?

2009-09-02 Thread Brian West
Her real name is Katherine

/b

On Sep 2, 2009, at 2:27 PM, Carlos S. Antunes wrote:

 http://www.gmvoices.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


Re: [Freeswitch-users] 2009-09-02 15:21:44.665608 [CRIT] switch_time.c:454 Reverse Clock Skew Detected!

2009-09-02 Thread Brian West
well your clock shouldn't be going back in time... that is unless you  
have figured out time travel or passed thru some star trekish temporal  
wake.

For the most part its a harmless warning unless its happening every  
second or so.

/b


On Sep 2, 2009, at 2:43 PM, Phillip Jones wrote:

 Hi there,

 Can anyone give any insight to this following message:

 2009-09-02 15:21:44.665608 [CRIT] switch_time.c:454 Reverse Clock  
 Skew Detected!

 This is on a WIN2003 machine with the last call hangup exactly 20  
 minutes and 20 seconds earlier.

 Just wondering how CRITICAL this really is?

 Many thanks


 Phillip Jones


___
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


Re: [Freeswitch-users] E1 Sangoma Card

2009-09-02 Thread Ognjen Seslija
Hello Eric,

I just interconnected FS/openzap and Panasonic via E1 PRI trunk (euroisdn)
using libpri stack, and it works just fine.
Feel free to drop on irc for any help.

Regards,
Ognjen

On Wed, Sep 2, 2009 at 7:29 PM, Michael Collins m...@freeswitch.org wrote:



 On Wed, Sep 2, 2009 at 8:52 AM, Eric Richmond e...@newvo.com wrote:

 (Sorry if this has been posted before, or even 2x.  I sent it out the
 first time with the wrong email address, and the 2nd time before i
 confirmed I wanted to be on the list, so my assumption is that it
 hasn't gone out yet, although I might be wrong, and if it has gone out
 before, I'm sorry for spamming the list.  It won't happen in the
 future.)

 Hello all,

 I'm wondering if anyone has successfully deployed a freeswitch server
 with an E1 card attached.  By looking at the wiki and chatting in IRC,
 I've heard that theoretically a FS + Sangoma E1 card solution should
 work, but I'd really like to hear from someone who actually has it
 working, so I know what gotchas I might encounter.

 Any insight into this would be great.

 Thanks,

 -Eric Richmond


 Erich,

 Yes, FS + Sangoma E1 card has been used. Is it safe to assume that you need
 it for PRI? Moises from Sangoma has definitely used it and I believe we have
 several people in Europe who are running E1/PRI. Your biggest gotcha is
 probably which PRI stack to use, so for now I would use the libpri method
 that the devs have created. More info here:
 http://wiki.freeswitch.org/wiki/OpenZAP#Adding_libpri_Support

 Just curious - what's your application?
 -MC



 ___
 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


Re: [Freeswitch-users] T38 T30 transcoding

2009-09-02 Thread Tim Meade
I am very interested in a response to this.  Last I knew there was only T.38 
pass through and for some reason I'm not even sure it that was fully 
implemented.

Tim

From: freeswitch-users-boun...@lists.freeswitch.org 
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Tihomir 
Culjaga
Sent: Wednesday, September 02, 2009 3:33 PM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] T38  T30 transcoding

Hi guys,

just a quick question... is it possible to do a reliable on the fly T30  T38 
transcoding at all ... what is the status of T.38 on FS ?

T,
___
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


Re: [Freeswitch-users] T38 T30 transcoding

2009-09-02 Thread Tihomir Culjaga
I will put several nickels saying it is impossible :)


seriously, can it be done?

T.

On Wed, Sep 2, 2009 at 10:35 PM, Tim Meade tim.me...@millicorp.com wrote:

  I am very interested in a response to this.  Last I knew there was only
 T.38 pass through and for some reason I'm not even sure it that was fully
 implemented.



 Tim



 *From:* freeswitch-users-boun...@lists.freeswitch.org [mailto:
 freeswitch-users-boun...@lists.freeswitch.org] *On Behalf Of *Tihomir
 Culjaga
 *Sent:* Wednesday, September 02, 2009 3:33 PM
 *To:* freeswitch-users@lists.freeswitch.org
 *Subject:* [Freeswitch-users] T38  T30 transcoding



 Hi guys,

 just a quick question... is it possible to do a reliable on the fly T30 
 T38 transcoding at all ... what is the status of T.38 on FS ?

 T,

 ___
 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


Re: [Freeswitch-users] E1 Sangoma Card

2009-09-02 Thread Eric Richmond

Hey guys,

Thanks for all the great replies.  After seeing all the people who've  
gotten it working and configured, I feel pretty confident that if we  
go this path, we'll be successful.


I can't say too much about the app, but in essence we just need to  
take in traffic over a E1 connection and convert that over to a SIP  
connection.


-Eric

On Sep 2, 2009, at 1:29 PM, Michael Collins wrote:




On Wed, Sep 2, 2009 at 8:52 AM, Eric Richmond e...@newvo.com wrote:
(Sorry if this has been posted before, or even 2x.  I sent it out the
first time with the wrong email address, and the 2nd time before i
confirmed I wanted to be on the list, so my assumption is that it
hasn't gone out yet, although I might be wrong, and if it has gone out
before, I'm sorry for spamming the list.  It won't happen in the
future.)

Hello all,

I'm wondering if anyone has successfully deployed a freeswitch server
with an E1 card attached.  By looking at the wiki and chatting in IRC,
I've heard that theoretically a FS + Sangoma E1 card solution should
work, but I'd really like to hear from someone who actually has it
working, so I know what gotchas I might encounter.

Any insight into this would be great.

Thanks,

-Eric Richmond

Erich,

Yes, FS + Sangoma E1 card has been used. Is it safe to assume that  
you need it for PRI? Moises from Sangoma has definitely used it and  
I believe we have several people in Europe who are running E1/PRI.  
Your biggest gotcha is probably which PRI stack to use, so for now I  
would use the libpri method that the devs have created. More info  
here:

http://wiki.freeswitch.org/wiki/OpenZAP#Adding_libpri_Support

Just curious - what's your application?
-MC


___
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


Re: [Freeswitch-users] No NOTIFY MWI when registering via proxy.

2009-09-02 Thread mayamatakeshi
On Wed, Sep 2, 2009 at 7:59 PM, mayamatakeshi mayamatake...@gmail.comwrote:

 Hello,
 I'm testing FS support for the header Path (FS is behind opensips).
 It pretty much works: I tested calling from one user to the other and calls
 work perfectly.
 However, I've noticed that when I register my terminal directly with FS
 without going thru the proxy, I receive an unsolicited NOTIFY containing
 Message-Waiting information. But when I register via proxy, FS doesn't send
 this NOTIFY.
 What could be causing this difference of behavior? (enabling debug (F8)
 doesn't show anything for registration handling).
 I have just updated to trunk Revision 14729 and this behavior persists.

 Also, is it possible to disable this unsolicited MWI notification? (I want
 to send it only to subscribed terminals).


OK. I got it this is a bad idea. Now I understand this unsolicited MWI
notification is due to an implicit subscription and so, it is a good thing
because we will reduce load by not having to deal with separate SUBSCRIBE
requests.

However I have yet to figure out why this NOTIFY is not sent when the
REGISTER is relayed by a proxy.
___
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


Re: [Freeswitch-users] No NOTIFY MWI when registering via proxy.

2009-09-02 Thread Anthony Minessale
Its because many phones cheat and just expect mwi without asking for it so
we send one on register.
There is an opt to disable it I think but I can't recall what it is atm

On Sep 2, 2009 9:20 PM, mayamatakeshi mayamatake...@gmail.com wrote:



On Wed, Sep 2, 2009 at 7:59 PM, mayamatakeshi mayamatake...@gmail.com
wrote:   Hello,  I'm test...

OK. I got it this is a bad idea. Now I understand this unsolicited MWI
notification is due to an implicit subscription and so, it is a good thing
because we will reduce load by not having to deal with separate SUBSCRIBE
requests.

However I have yet to figure out why this NOTIFY is not sent when the
REGISTER is relayed by a proxy.


___
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


Re: [Freeswitch-users] Run a command on event

2009-09-02 Thread Mathieu Rene
See 
http://wiki.freeswitch.org/wiki/Authoring_Freeswitch_Modules#Subscribing_to_events

Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mr...@avgs.ca




On 2-Sep-09, at 8:47 AM, Mathieu Parent wrote:

 Hi,

 On Wed, Sep 2, 2009 at 4:37 PM, Brian Westbr...@freeswitch.org  
 wrote:
 Using esl + perl you could do it.

 /b


 On Wed, Sep 2, 2009 at 4:46 PM, Diego Violadiego.vi...@gmail.com  
 wrote:
 Or you can do something like this with Ruby + FSR:

 http://pastebin.freeswitch.org/10184


 thanks for your suggestions, but this also requires a daemon
 (standalone or via inetd).

 I will probably use inetd if nobody suggests a better solution.
 creating a mod_event_* ?

 Mathieu

 ___
 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