Re: [Freeswitch-users] answer command

2009-08-11 Thread Szymon Olko
Maxim Tsvetov pisze:
 Hello,
 
 I found in WIKI list of supported commands
 http://wiki.freeswitch.org/wiki/Mod_commands.
 
 I need command answer but it doesn't exist (Freeswitch 1.04, Win32)
 
 That's what Freeswitch replies for this command:
 
 answer: Command not found!
 
 Сould you please help?

Answer is in dialplan commands.

http://wiki.freeswitch.org/wiki/Mod_dptools

Szymon

___
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 initiate a call without dialing

2009-07-22 Thread Szymon Olko
Eli Hayun pisze:
 Raymond Chandler wrote:
 Eli Hayun wrote:
   
 Is there is a way to initiate a call without making any dial manually?
   
 
 i think the api command originate is what you're looking for

 -Ray

 ___
   
 Thanks, I figure that out, but now I have another problem. When I do
 that, the name display as FreeSwitch and the number is display as
 000
 I tried to set outbound_caller_name with no success.
 How should I solve that?
 
 Thanks
 Eli
 
Read wiki, it explains a lot.

http://wiki.freeswitch.org/wiki/Mod_commands#originate

use it like that:
originate sofia/internal/1001%192.168.1.1 3001 XML default Name 1213232

OR

originate sofia/internal/1001%192.168.1.1 conference(test) '' '' Name 1213232

___
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] Bug reports

2009-06-26 Thread Szymon Olko
Brian West pisze:
 FreeSWITCHers,
 
 We have written an extensive guide on posting bugs to jira.  Over the
 past few weeks everyone has been a little lax in posting the correct
 info the first time.   The questions we ask are NOT optional to fill
 out.. You must fill out every question on the list and doesn't apply
 or n/a are not acceptable answers.  So help us help you fix your
 issues that you report.  Remember provide all the details even if you
 think its not relevant to the issue at hand because even the smallest
 detail can help me reproduce your issue or result in me pulling my hair
 out and going crazy.  :P 
 
 http://wiki.freeswitch.org/wiki/Reporting_Bugs
 
 Also I would like to solicit volunteers to help manage, track and
 collect info for any Jira's please contact me... I have asked a few
 times but very few expressed interest in helping.
 
I agree that those information are needed for developer, I will fill them all.

What would make it easy for me if there was a clone option to make new ticked 
based on old one but with ability to change
information. Most of things you ask are the same in all my tickes. I would just 
need to put new bug description and change only
few items.
If this is not possible then maybe jira has something like ticket template 
which I can fill once and then make all tickets base
on it.

Regards
Szymon

PS: Wiki page is great

 Brian West
 br...@freeswitch.org mailto:br...@freeswitch.org
 
 -- Meet us at ClueCon!  http://www.cluecon.com http://www.cluecon.com/
 
 
 
 
 
 
 
 ___
 Freeswitch-users mailing list
 Freeswitch-users@lists.freeswitch.org
 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
 http://www.freeswitch.org


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Problem about play wav file in conference

2009-06-01 Thread Szymon Olko
zhaoxxqq pisze:
 HI,
 I use event socket to send command to FS conference.
 I send  conference testconf play /root/test.wav in console. It worked ok.
 I send api conference testconf play /record/test.wav by event socket.
 and the response isDisconneted, Good bye.See you at ClueCon...  
 I changed the wav file to www root. the same problem. can you help me?
 2009-06-01

Do you use 'auth ClueCon' before sending 'api' command?

Szymon

___
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] Origionate a call via event_socket. relation between job_uuid and uuid

2009-05-27 Thread Szymon Olko
Peter P GMX pisze:
 I want to do the following:
 Originate a call via event_socket, I get back a job_uuid. Then I want to
 control the call when it's established (2 call legs).
 Scanning the variables of the 2 call legs I currentyl cannot see any
 relation between the job_uuid and the uuid of the resulting call legs.
 I may set a variable with my own unique id while originating a call, but
 finding the calls later on and dumping the variables fo all channels is
 very time consuming in terms of CPU.
 
 A workaround I tried, is to set caller-id or caller-id-number with a
 unique id. This works, but has the known side effects of not having a
 valid caller-id or caller-id-number.
 
 So my question is: Has anybody an idea how to build a relationship
 between job_uuid and the resulting call legs which does not require
 dumping the variables of all channels?
 
I use that scenario with my own variables set to my unique id. On event_socket 
I parse channel related events and then I find
channel with my variable, I get channel unique id and from now I use this 
unique id.
First I tried to uses caller-id but I need it now for the reason it is for.

Szymon
 
 
 
 ___
 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 use variables in console/event socket

2009-04-21 Thread Szymon Olko
Hello,

I don't know how to use variables in console. I try to call local user with 
following commands.

Command: originate sofia/internal/1001%${domain} 
I get: Cannot locate registered user 1...@%{domain}

Command: originate sofia/internal/1...@${domain} 
I get: Cannot locate registered user 1001@@{domain}

Command: originate sofia/internal/1001%\${domain} 
I get: Cannot locate registered user 1...@\%{domain}

Substitution of $ sign is not understood for me. Is it possible to use 
variables in that channels?
Variable is defined:

freeswi...@vertux global_getvar domain
API CALL [global_getvar(domain)] output:
192.168.77.248


Szymon O.

___
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] Call bridge in free switch

2009-04-16 Thread Szymon Olko
Prabhuram Mohan pisze:
 Hello,
 
 
 I am trying to find a way to this through fs_cli
 1) call out to ClientA (1...@192.168.1.108
 mailto:1...@192.168.1.108), ClientB (1...@192.168.1.108
 mailto:1...@192.168.1.108)  ClientC (1...@192.168.1.108
 mailto:1...@192.168.1.108)
 2) Bridge all the 3 legs together into one call
 
 Thanks
 Prabhu

The only way I know to do this is to use conference module.

Then for example:

conference test dial clientA
conference test dial clientB
conference test dial clientC

 
 
 
 
 
 ___
 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] Mod_java loading error

2009-04-15 Thread Szymon Olko
Baskar pisze:
 *Hi,
 
Now i can able to load the mod_java in the freeswitch console.
 
 After that i have followed these method to run the PhoneTest.java
 
 *
 
 *1) verified my classpath in the java.conf.xml:  option
 value=-Djava.class.path=/usr/local/freeswitch/scripts/freeswitch.jar/*
 
 *2)my PhoneTest.class is located in /usr/local/freeswitch/script -
 directory, same as where freeswitch.jar is located*
 
 *3) I created PhoneTest.jar file from PhoneTest.class*
 
 *4)changed my dialplan to: action application=java
 data=/usr/local/freeswitch/scripts/PhoneTest.jar PhoneTest arg1 arg2
 arg3/*
 
 *
 Then i have complied and Run the PhoneTest.java  by this methods
 
 **Method1:
 **[localhost scripts]# javac -cp freeswitch.jar PhoneTest.java
 [localhost scripts]# java -cp freeswitch.jar PhoneTest
 Exception in thread main java.lang.NoClassDefFoundError: PhoneTest
 Caused by: java.lang.ClassNotFoundException: PhoneTest
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
 
 **Method2:
 **[localhost scripts]# javac -cp PhoneTest.jar:freeswitch.jar PhoneTest.java
 [localhost scripts]# java -cp PhoneTest.jar:freeswitch.jar PhoneTest
 Exception in thread main java.lang.NoSuchMethodError: main
 
 But I get these above errors .So Please Correct me where i am wrong and
 assist me how to compile and run the PhoneTest.java.
 
I think you need some extra training about Java.

First of all to run Java application you need to add all classes in classpath, 
so in your first method you forgot to adde
PhoneTest.jar to it, it is wrong, You did not mention that you pack it to jar I 
assume you did it.
Second method is good but does PhoneTest.java have main method? If you wanted 
to run it in freeswitch then it does not have main
method so it cannot be started as standalone application.

Why are you trying to run it as standalone application?

What are you trying to do? Why did you pick Java for it? Next time attach java 
files to mails (of course if they are not to huge).

Szymon

 -- 
 Warm Regards,
 N.Baskar
 
 *
 
 
 
 
 ___
 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] Mod_java loading error

2009-04-14 Thread Szymon Olko
Baskar pisze:
 *Hi Brian West,*
 
 
 *  I have installed the latest SVN Freeswitch trunk but still i get the
 same error. How can i over come this problem.
 
 2009-04-14 12:44:26 [NOTICE] modjava.c:244 mod_java_load() Java
 Framework Loading...
 2009-04-14 12:44:26 [ERR] modjava.c:133 load_config() Error loading
 /usr/java/jdk1.6.0/jre/lib/i386/client/libjvm.so

First of all do you have java installed in that path? If not edit configuration 
path.

I do not use java mod for some time but I had no problem to load them, only 
reloading was a problem.

 2009-04-14 12:44:26 [CRIT] switch_loadable_module.c:871
 switch_loadable_module_load_file() Error Loading module
 /usr/local/freeswitch/mod/mod_java.so
 **Module load routine returned an error**
 *2009-04-14 12:44:26 [CONSOLE] switch_loadable_module.c:889
 switch_loadable_module_load_file() Successfully Loaded [mod_lua]
 2009-04-14 12:44:26 [NOTICE] switch_loadable_module.c:248
 switch_loadable_module_process() Adding Application 'lua'
 2009-04-14 12:44:26 [NOTICE] switch_loadable_module.c:270
 switch_loadable_module_process() Adding API Function 'luarun'
 2009-04-14 12:44:26 [NOTICE] switch_loadable_module.c:270
 switch_loadable_module_process() Adding API Function 'lua'
 2009-04-14 12:44:26 [CONSOLE] switch_loadable_module.c:889
 switch_loadable_module_load_file() Successfully Loaded [mod_say_en]
 2009-04-14 12:44:26 [NOTICE] switch_loadable_module.c:395
 switch_loadable_module_process() Adding Say interface 'en'
 2009-04-14 12:44:26 [CONSOLE] switch_loadable_module.c:120
 switch_loadable_module_runtime() Starting runtime thread for
 CORE_SOFTTIMER_MODULE
 2009-04-14 12:44:26 [CONSOLE] switch_loadable_module.c:120
 switch_loadable_module_runtime() Starting runtime thread for
 mod_event_socket
 2009-04-14 12:44:26 [CONSOLE] switch_core.c:898
 switch_load_network_lists() Created ip list dl-candidates default (allow)
 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
 switch_load_network_lists() Adding 10.0.0.0/8 http://10.0.0.0/8 (deny)
 to list dl-candidates
 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
 switch_load_network_lists() Adding 172.16.0.0/12 http://172.16.0.0/12
 (deny) to list dl-candidates
 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
 switch_load_network_lists() Adding 192.168.0.0/16
 http://192.168.0.0/16 (deny) to list dl-candidates
 2009-04-14 12:44:26 [CONSOLE] switch_core.c:898
 switch_load_network_lists() Created ip list rfc1918 default (deny)
 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
 switch_load_network_lists() Adding 10.0.0.0/8 http://10.0.0.0/8
 (allow) to list rfc1918
 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
 switch_load_network_lists() Adding 172.16.0.0/12 http://172.16.0.0/12
 (allow) to list rfc1918
 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
 switch_load_network_lists() Adding 192.168.0.0/16
 http://192.168.0.0/16 (allow) to list rfc1918
 2009-04-14 12:44:26 [CONSOLE] switch_core.c:898
 switch_load_network_lists() Created ip list lan default (allow)
 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
 switch_load_network_lists() Adding 192.168.42.0/24
 http://192.168.42.0/24 (deny) to list lan
 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
 switch_load_network_lists() Adding 192.168.42.42/32
 http://192.168.42.42/32 (allow) to list lan
 2009-04-14 12:44:26 [CONSOLE] switch_core.c:898
 switch_load_network_lists() Created ip list strict default (deny)
 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
 switch_load_network_lists() Adding 208.102.123.124/32
 http://208.102.123.124/32 (allow) to list strict
 2009-04-14 12:44:26 [CONSOLE] switch_core.c:898
 switch_load_network_lists() Created ip list domains default (deny)
 2009-04-14 12:44:26 [NOTICE] switch_core.c:965
 switch_load_network_lists() Adding 192.0.2.0/24 http://192.0.2.0/24
 (allow) [br...@192.168.1.140 mailto:br...@192.168.1.140] to list domains
 2009-04-14 12:44:26 [CONSOLE] switch_core.c:1322
 switch_core_init_and_modload()
 *FreeSWITCH Version 1.0.trunk (13013M) Started.
 Crash Protection [Disabled]
 Max Sessions[1000]
 Session Rate[30]
 SQL [Enabled]
 
 Specify what is the error why i cant able to load Mod_java.
 
 -- 
 Warm Regards,
 N.Baskar
 *
 
 
 
 
 ___
 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] Mod_java loading error

2009-04-14 Thread Szymon Olko
Baskar pisze:
 *Hi,
 
 
   I have installed latest java version jdk1.6.0 in this path
 /usr/java/jdk1.6.0_04/bin
 
   I have reconfigured FS ./configure
 --with-java=/usr/java/jdk1.6.0_04/bin, make,  make install
 
   But when i run freeswitch in console i get this error.
 
Exactly, configure java module in config file

conf/autoload_configs/java.conf.xml

This is runtime configuration not build configuration. Set right javavm path.
It must point to your libjvm.so file.

javavm path=/usr/java/jdk1.6.0/jre/lib/i386/client/libjvm.so/


 2009-04-14 15:00:22 [ERR] modjava.c:133 load_config() Error loading
 /usr/java/jdk1.6.0/jre/lib/i386/client/libjvm.so
 2009-04-14 15:00:22 [CRIT] switch_loadable_module.c:871
 switch_loadable_module_load_file() Error Loading module
 /usr/local/freeswitch/mod/mod_java.so
 **Module load routine returned an error**
 
 
 I cant able to load mod_java. Can any one specify what is the error.
 Thanks in advance.
 
 -- 
 Warm Regards,
 N.Baskar
 
 *
 
 
 
 
 ___
 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] Mod_java loading error

2009-04-14 Thread Szymon Olko
Baskar pisze:
 Hi,
 
 
 My Java.conf.xml
 
 
 configuration name=java.conf description=Java Plug-Ins
   !-- Path to the Java 1.6 virtual machine to use --
   javavm path=/usr/java/jdk1.6.0/jre/lib/i386/client/libjvm.so/
   !-- Options to pass to Java --
   options
 !-- Your class path (make sure freeswitch.jar is on it) --
 option value=-Djava.class.path=$${base_dir}/scripts/freeswitch.jar/
 !-- Enable remote debugging --
 option
 value=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=127.0.0.1:8000
 http://127.0.0.1:8000/
   /options
 /configuration
 
 *This is runtime configuration not build configuration. Set right javavm
 path.
 It must point to your libjvm.so file.*
 
 But still i have the same error .
 
You wrote that Java is installed in
 /usr/java/jdk1.6.0_04/bin

so make this config file to point to it.  Don't you see you are pointing wrong 
directory ?
javavm path=/usr/java/jdk1.6.0/jre/lib/i386/client/libjvm.so/

Find libjvm.so and put path to it in that tag. I did not gave you right 
configuration I just wanted to show you where to put this
config value.

Where is you libjvm.so located?

 2009-04-14 17:18:56 [ERR] modjava.c:133 load_config() Error loading
 /usr/java/jdk1.6.0/jre/lib/i386/client/libjvm.so
 2009-04-14 17:18:56 [CRIT] switch_loadable_module.c:871
 switch_loadable_module_load_file() Error Loading module
 /usr/local/freeswitch/mod/mod_java.so
 **Module load routine returned an error**
 
 How to over come this problem. Some one help me to solve it.
 
 -- 
 Warm Regards,
 N.Baskar
 
 
 
 
 ___
 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] Mod_java loading error

2009-04-14 Thread Szymon Olko
Baskar pisze:
 *Hi,
 
 
 I have notice While reinstalling the Freeswitch i get this message While
 both make and make install commands
 
 making all mod_java
 Note: src/org/freeswitch/Launcher.java uses unchecked or unsafe operations.
 Note: Recompile with -Xlint:unchecked for details.
 
 I am using CentOS 5.2 with Latest Freeswitch trunk
 
Don't worry about that, this is just warning. New syntax for generics in Java, 
but this should not lead to any problems.
 can any one guide to resolve the problem. Thanks in advance.
This is not your main issue.

Szymon Olko
 
 -- 
 Warm Regards,
 N.Baskar
 
 *
 
 
 
 
 ___
 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] Mod_java loading error

2009-04-14 Thread Szymon Olko
Baskar pisze:
 *Hi,
 
 I have not edited the java.conf.xml
 *
 *my libjvm.so file is loacted in this paths*
 
 * [localhost ~]# locate libjvm.so
 /usr/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
 /usr/java/jdk1.6.0_04/jre/lib/i386/server/libjvm.so
 /usr/lib/gcj-4.1.1/libjvm.so
 /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/i386/client/libjvm.so
 /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/i386/server/libjvm.so*
 
 *
 In the above libjvm.so file which path should i specify it in the
 java.conf.xml
 
 Guide me where i am wrong.
 
 
Try this one first:
/usr/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
if it will not work then try the one with server.

This is sun Java implementation, don't sure if it will work with gcj, so don't 
try tem if you don't have to.
 
 -- 
 Warm Regards,
 N.Baskar*
 
 
 
 
 ___
 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] freeswitch on a laptop listening on 127.0.0.1 and memory consumption

2009-04-08 Thread Szymon Olko
mszla...@aol.com pisze:
  I have to change $${local_ip_v4} to 10.0.0.3 every time I update to a
 new trunk and I have to go through vars.xml, etc changing
 $${local_ip_v4} like you did.
 
 Is there a way to change $${local_ip_v4} in one place. That way one
 wouldn't have remember all the locations that it needs to be changed?
 
My configuration is not updated when I compile new version and install it. Do 
you run FS with configuration path pointed to svn
work dir?

 -Original Message-
 From: Peter P GMX prometheus...@gmx.net
 To: freeswitch-users@lists.freeswitch.org
 Sent: Tue, 7 Apr 2009 3:52 pm
 Subject: Re: [Freeswitch-users] freeswitch on a laptop listening on
 127.0.0.1 and memory consumption
 
 Thanks Brian,
 
 
 
 what I was actually looking for was to use a standard SIP soft phone
 
 with some additional features.
 
 
 
 I finally manged to make FS listen on 127.0.0.1 the following way:
 
 
 
 vars.xml
 
   X-PRE-PROCESS cmd=set data=domain=127.0.0.1/
 
 
 
 internal.xml
 
 param name=rtp-ip value=127.0.0.1/
 
 param name=sip-ip value=127.0.0.1/
 
 
 
 The rest is standard configuration.
 
 
 
 Now communication Laptop-internal is UDP on port 5060 and external via
 
 TLS on port 5081, so I have no open port 5060 to the internet.
 
 
 
 Best regards
 
 Peter
 
 
 
 
 
 
 
 
 
 Brian West schrieb:
 

 
 On Apr 7, 2009, at 12:19 PM, Peter P GMX wrote:
 

 
 1st Question: Is that possible or is another solution preferrable?
 

 
 Just use FreeSWITCH with mod_portaudio.
 

 
 2nd Question: How can I change the amount of memory FS tries to reserve
 
 to an absolute minumum (I only have 1 call at a time). Currently it
 
 tries to reserve about 360M if I read that right.
 

 
 Thats virtual.  Look at RES.
 

 

 
 Best regards
 
 Peter
 

 
 Brian West
 
 br...@freeswitch.org mailto:br...@freeswitch.org 
 mailto:br...@freeswitch.org mailto:br...@freeswitch.org?
 

 
 -- Meet us a ClueCon!  http://www.cluecon.com http://www.cluecon.com/
 

 

 

 
 
 

 
 ___
 
 Freeswitch-users mailing list
 
 Freeswitch-users@lists.freeswitch.org 
 mailto: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 
 mailto: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
 
 
 
 *The Average US Credit Score is 692. See Yours in Just 2 Easy Steps!
 http://pr.atwola.com/promoclk/100126575x1221421323x1201417385/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID%3D62%26bcd%3DAprilAvgfooterNO62*
 
 
 
 
 
 ___
 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] freeswitch on a laptop listening on 127.0.0.1 and memory consumption

2009-04-08 Thread Szymon Olko
mszla...@aol.com pisze:
  I'm not quite sure what your asking.
 Are you saying that I could run the latest FS svn but in a way that uses
 my older configuration files? If so then I don't, and don't know how
 ... blush blush.
 If that's the easiest thing to do then please tell me how.
 Thanks. Mark.

Exactly, I do it that way.
For first time I gave installation prefix when configuring FS. You can stay 
with /usr/local/freeswich/.
Now every time i call 'make current' and it does not overwrite my configuration 
file.

In case of huge changes in modules I copy/merge my config file with the one 
from svn. I did not have problems with it, because
developers makes good default values for new configuration options.

I don't know which modules do you use, but in ones I use configuration is not 
changes a lot, there are new options added which
does not break old one.

make install do not copy configuration files for me if they are already 
installed, I have that on production server and all test
servers. I assume this is correct behavior and I'm not the only one work like 
that.
I looked in Makefile and it tests for config file before installing, so it does 
not overwrite them.

Regards
Szymon
 
 -Original Message-
 From: Szymon Olko so...@gcdf.pl
 To: freeswitch-users@lists.freeswitch.org
 Sent: Tue, 7 Apr 2009 10:54 pm
 Subject: Re: [Freeswitch-users] freeswitch on a laptop listening on
 127.0.0.1 and memory consumption
 
 mszla...@aol.com mailto:mszla...@aol.com pisze:
 
  I have to change $${local_ip_v4} to 10.0.0.3 every time I update to a
 
 new trunk and I have to go through vars.xml, etc changing
 
 $${local_ip_v4} like you did.
 
 
 
 Is there a way to change $${local_ip_v4} in one place. That way one
 
 wouldn't have remember all the locations that it needs to be changed?
 
 
 
 My configuration is not updated when I compile new version and install it. Do 
 
 you run FS with configuration path pointed to svn
 
 work dir?
 
 
 
 -Original Message-
 
 From: Peter P GMX prometheus...@gmx.net mailto:prometheus...@gmx.net
 
 To: freeswitch-users@lists.freeswitch.org 
 mailto:freeswitch-users@lists.freeswitch.org
 
 Sent: Tue, 7 Apr 2009 3:52 pm
 
 Subject: Re: [Freeswitch-users] freeswitch on a laptop listening on
 
 127.0.0.1 and memory consumption
 
 
 
 Thanks Brian,
 
 
 
 
 
 
 
 what I was actually looking for was to use a standard SIP soft phone
 
 
 
 with some additional features.
 
 
 
 
 
 
 
 I finally manged to make FS listen on 127.0.0.1 the following way:
 
 
 
 
 
 
 
 vars.xml
 
 
 
   X-PRE-PROCESS cmd=set data=domain=127.0.0.1/
 
 
 
 
 
 
 
 internal.xml
 
 
 
 param name=rtp-ip value=127.0.0.1/
 
 
 
 param name=sip-ip value=127.0.0.1/
 
 
 
 
 
 
 
 The rest is standard configuration.
 
 
 
 
 
 
 
 Now communication Laptop-internal is UDP on port 5060 and external via
 
 
 
 TLS on port 5081, so I have no open port 5060 to the internet.
 
 
 
 
 
 
 
 Best regards
 
 
 
 Peter
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 Brian West schrieb:
 
 
 

 
 
 
 On Apr 7, 2009, at 12:19 PM, Peter P GMX wrote:
 
 
 

 
 
 
 1st Question: Is that possible or is another solution preferrable?
 
 
 

 
 
 
 Just use FreeSWITCH with mod_portaudio.
 
 
 

 
 
 
 2nd Question: How can I change the amount of memory FS tries to reserve
 
 
 
 to an absolute minumum (I only have 1 call at a time). Currently it
 
 
 
 tries to reserve about 360M if I read that right.
 
 
 

 
 
 
 Thats virtual.  Look at RES.
 
 
 

 
 
 

 
 
 
 Best regards
 
 
 
 Peter
 
 
 

 
 
 
 Brian West
 
 
 
 br...@freeswitch.org mailto:br...@freeswitch.org 
 mailto:br...@freeswitch.org mailto:br...@freeswitch.org? 
 mailto:br...@freeswitch.org mailto:br...@freeswitch.org? 
 
 mailto:br...@freeswitch.org mailto:br...@freeswitch.org??
 
 
 

 
 
 
 -- Meet us a ClueCon!  http://www.cluecon.com http://www.cluecon.com/
 
 
 

 
 
 

 
 
 

 
 
 
 
 
 
 

 
 
 
 ___
 
 
 
 Freeswitch-users mailing list
 
 
 
 Freeswitch-users@lists.freeswitch.org 
 mailto:Freeswitch-users@lists.freeswitch.org 
 mailto:Freeswitch-users@lists.freeswitch.org 
 mailto:freeswitch-us...@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 
 mailto:Freeswitch-users@lists.freeswitch.org 
 mailto:Freeswitch-users@lists.freeswitch.org 
 mailto:freeswitch-us...@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] freeswitch on a laptop listening on 127.0.0.1 and memory consumption

2009-04-08 Thread Szymon Olko
Peter P GMX pisze:
 I just wanted to know, how much memory overall is consumed by FS inkl.
 all Libraries (when used on a Netbook with limited memory), so RES does
 only show a portion of the overall RAM, FS uses incl. libraries.
 
 So I did the following:
 I restarted my laptop and noted the used memory.
 I deactivated all not needed modules in FS, started FS and noted the
 used memory.
 The difference was 24MB. When a call was present (incl. TLS/SRTP), I
 noted 25M. This is a really low value. Impressive!.
 Good job done!
 
Do you use linux based system? Linux don't return memory once used to free, it 
uses it for disk buffers but it will free it when
needed. So probably much part of that system was for disk buffers and are not 
used by FS any more.

I always thought that memory allocated in libraries are included in process 
which is using them. Where it should be in your
opinion? For external services/servers memory is not included in process but 
this is not the case in FS. Look at RES to know how
much memory it uses.

 Best regards
 Peter
 
 Brian West schrieb:
 2nd Question: How can I change the amount of memory FS tries to reserve
 to an absolute minumum (I only have 1 call at a time). Currently it
 tries to reserve about 360M if I read that right.
 Thats virtual.  Look at 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] how to set CF_VERBOSE_EVENTS

2009-04-08 Thread Szymon Olko
I track channels via mod_socket_event, I saw in source there is such flag 
CF_VERBOSE_EVENTS to make all channel related events
contain extended data. Is it possible to set it via 'originate' or 'conference 
xxx dial' commands.

This would ease my system. In scenario when I call user which is not registered 
I get only CHANNEL_DESTROY event but I cannot
connect it to my command. I can monitor BACKGROUND_JOB events but in some cases 
(like answering) it can take time to come.

Basically now I need to wait for first event of those two types 
(CHANNEL_ORIGINATE , BACKGROUND_JOB), if I have extended data in
all events I can ignore BACKGROUND_JOB.

Regards

Szymon

___
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] Help about Conference and it's member_id

2009-04-08 Thread Szymon Olko
to vietduc pisze:
  Hi!
  I wonder how to get out the member_id of a member in a conference room? 
 Currently, i found that it is increasing 1 each time, so the first one enter 
 the conference room, his/her member_id would be 1, and the second is 2. 
 Sadly, when i close a conference room (all members leave) and re-open it 
 later, the member_id will be increased since the last time instead of 
 begining at 1 as the first time (said, it may be 3, 4 and go on). Why is that 
 (as i think a usual way is that if there is 3 members in a conference room, 
 their member_id should be 1,2,3 or 0,1,2) and is there anyway to get 
 conference's member_id of a member programatically?
  Thanks in advance!
  Duc To
 

First of all members id is increased in FS instance. So you will never get the 
same id again, unless you reload FS (maybe
mod_conference reload also). There is a good reason for that so once you have a 
member it id stays the same no matter in how many
conferences it pass through. All conference commands needs that id so you would 
be lost if that would change all the time.

Yuu did not wrote in which language and how you need it, I'm using 
mod_event_socket and there listen for CUSTOME_EVENT subevent is
 conference:maintanace, actions ADDED, DELETED.
 
   
 
 ___
 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] freeswitch on a laptop listening on 127.0.0.1 and memory consumption

2009-04-08 Thread Szymon Olko
Peter P GMX pisze:
 It's linux, yes.
 The way I got around the problem that memory may not be freed is:
 
 * to reboot the system.
 * look for used memory
 * start FS
 * look for used memory
 * calculate the difference
 
 That way it showed 24-25M which I can understand.
 
I meant that FS can use less memory now they 24-25 M, what is RES shows is 
exactly that value. In those 24-25 M are buffers for
files which now are not needed for FS and kernel handles that memory. It is 
show as used but is not used by FS. Kernel uses it and
will free it when there will be lack of memory.

Always look at RES value if you want to know FS consumption.

Szymon
 Best regards
 Peter
 
 Szymon Olko schrieb:
 Peter P GMX pisze:
   
 I just wanted to know, how much memory overall is consumed by FS inkl.
 all Libraries (when used on a Netbook with limited memory), so RES does
 only show a portion of the overall RAM, FS uses incl. libraries.

 So I did the following:
 I restarted my laptop and noted the used memory.
 I deactivated all not needed modules in FS, started FS and noted the
 used memory.
 The difference was 24MB. When a call was present (incl. TLS/SRTP), I
 noted 25M. This is a really low value. Impressive!.
 Good job done!

 
 Do you use linux based system? Linux don't return memory once used to free, 
 it uses it for disk buffers but it will free it when
 needed. So probably much part of that system was for disk buffers and are 
 not used by FS any more.

 I always thought that memory allocated in libraries are included in process 
 which is using them. Where it should be in your
 opinion? For external services/servers memory is not included in process but 
 this is not the case in FS. Look at RES to know how
 much memory it uses.

   
 Best regards
 Peter

 Brian West schrieb:
 
 2nd Question: How can I change the amount of memory FS tries to reserve
 to an absolute minumum (I only have 1 call at a time). Currently it
 tries to reserve about 360M if I read that right.
 
 Thats virtual.  Look at 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] freeswitch on a laptop listening on 127.0.0.1 and memory consumption

2009-04-08 Thread Szymon Olko
mszla...@aol.com pisze:
  OK , you're SVN updating on a Linux system but I'm using Windows. The
 very few times I tried with Tortoise SVN I ran into problems were it
 would fail because of some path not being present or some strange symbol
 in a file or something else. Since I'm not experienced enough and don't
 always have the time, I gave up on this approach and just start over
 again in a different folder then reconfigure the updated FS and transfer
 files from an older FS. Yup, it sucks.
 

Yes I'm linux user.
If you have problems with svn update then you can do your way, make fresh 
checkout every time. After CO copy modules.conf and
build new version, just copy old config files to installation directory if it 
is always different one.

That's why I hate gui tools for things like full svn update.
 
 
 -Original Message-
 From: Szymon Olko so...@gcdf.pl
 To: freeswitch-users@lists.freeswitch.org
 Sent: Wed, 8 Apr 2009 12:59 am
 Subject: Re: [Freeswitch-users] freeswitch on a laptop listening on
 127.0.0.1 and memory consumption
 
 mszla...@aol.com mailto:mszla...@aol.com pisze:
 
  I'm not quite sure what your asking.
 
 Are you saying that I could run the latest FS svn but in a way that uses
 
 my older configuration files? If so then I don't, and don't know how
 
 ... blush blush.
 
 If that's the easiest thing to do then please tell me how.
 
 Thanks. Mark.
 
 
 
 Exactly, I do it that way.
 
 For first time I gave installation prefix when configuring FS. You can stay 
 with 
 
 /usr/local/freeswich/.
 
 Now every time i call 'make current' and it does not overwrite my 
 configuration 
 
 file.
 
 
 
 In case of huge changes in modules I copy/merge my config file with the one 
 from 
 
 svn. I did not have problems with it, because
 
 developers makes good default values for new configuration options.
 
 
 
 I don't know which modules do you use, but in ones I use configuration is not 
 
 changes a lot, there are new options added which
 
 does not break old one.
 
 
 
 make install do not copy configuration files for me if they are already 
 
 installed, I have that on production server and all test
 
 servers. I assume this is correct behavior and I'm not the only one work like 
 
 that.
 
 I looked in Makefile and it tests for config file before installing, so it 
 does 
 
 not overwrite them.
 
 
 
 Regards
 
 Szymon
 
 
 
 -Original Message-
 
 From: Szymon Olko so...@gcdf.pl mailto:so...@gcdf.pl
 
 To: freeswitch-users@lists.freeswitch.org 
 mailto:freeswitch-users@lists.freeswitch.org
 
 Sent: Tue, 7 Apr 2009 10:54 pm
 
 Subject: Re: [Freeswitch-users] freeswitch on a laptop listening on
 
 127.0.0.1 and memory consumption
 
 
 
 mszla...@aol.com mailto:mszla...@aol.com mailto:mszla...@aol.com 
 mailto:mszla...@aol.com? pisze:
 
 
 
  I have to change $${local_ip_v4} to 10.0.0.3 every time I update to a
 
 
 
 new trunk and I have to go through vars.xml, etc changing
 
 
 
 $${local_ip_v4} like you did.
 
 
 
 
 
 
 
 Is there a way to change $${local_ip_v4} in one place. That way one
 
 
 
 wouldn't have remember all the locations that it needs to be changed?
 
 
 
 
 
 
 
 My configuration is not updated when I compile new version and install it. 
 Do 
 
 
 
 you run FS with configuration path pointed to svn
 
 
 
 work dir?
 
 
 
 
 
 
 
 -Original Message-
 
 
 
 From: Peter P GMX prometheus...@gmx.net mailto:prometheus...@gmx.net 
 mailto:prometheus...@gmx.net mailto:prometheus...@gmx.net?
 
 
 
 To: freeswitch-users@lists.freeswitch.org 
 mailto:freeswitch-users@lists.freeswitch.org 
 mailto:freeswitch-users@lists.freeswitch.org 
 mailto:freeswitch-us...@lists.freeswitch.org?
 
 
 
 Sent: Tue, 7 Apr 2009 3:52 pm
 
 
 
 Subject: Re: [Freeswitch-users] freeswitch on a laptop listening on
 
 
 
 127.0.0.1 and memory consumption
 
 
 
 
 
 
 
 Thanks Brian,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 what I was actually looking for was to use a standard SIP soft phone
 
 
 
 
 
 
 
 with some additional features.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 I finally manged to make FS listen on 127.0.0.1 the following way:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 vars.xml
 
 
 
 
 
 
 
   X-PRE-PROCESS cmd=set data=domain=127.0.0.1/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 internal.xml
 
 
 
 
 
 
 
 param name=rtp-ip value=127.0.0.1/
 
 
 
 
 
 
 
 param name=sip-ip value=127.0.0.1/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 The rest is standard configuration.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 Now communication Laptop-internal is UDP on port 5060 and external via
 
 
 
 
 
 
 
 TLS on port 5081, so I have no open port 5060 to the internet.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 Best regards
 
 
 
 
 
 
 
 Peter
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 Brian West schrieb:
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 On Apr 7, 2009, at 12:19 PM, Peter P GMX wrote:
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 1st Question: Is that possible or is another solution preferrable?
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Just use

Re: [Freeswitch-users] freeswitch on a laptop listening on 127.0.0.1 and memory consumption

2009-04-08 Thread Szymon Olko
Brian West pisze:
 You know if you keep doing a fresh checkout every single time then you
 are wasting bandwidth... if its your only choice then do that but I
 highly recommend you learn to use the tools properly.  Our bandwidth is
 kindly provided by Bandwidth.com and I would hate to just waste it for
 no reason btw don't forget to register for Cluecon its quickly
 approaching.
 
 /b
 
Your right about bandwidth, I use svn in console and never had problems that 
cannot be fixed. Those gui tools they try to be to
intelligent. I thought there was console svn tool for windows.

Regarding Cluecon, I would like to meet you all there, but in this year it's to 
expensive and too far for me.

Szymon

 On Apr 8, 2009, at 12:36 PM, Szymon Olko wrote:
 
 Yes I'm linux user.
 If you have problems with svn update then you can do your way, make
 fresh checkout every time. After CO copy modules.conf and
 build new version, just copy old config files to installation
 directory if it is always different one.

 That's why I hate gui tools for things like full svn update.
 
 Brian West
 br...@freeswitch.org mailto:br...@freeswitch.org
 
 -- Meet us a ClueCon!  http://www.cluecon.com http://www.cluecon.com/
 
 
 
 
 
 
 ___
 Freeswitch-users mailing list
 Freeswitch-users@lists.freeswitch.org
 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
 http://www.freeswitch.org


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] freeswitch on a laptop listening on 127.0.0.1 and memory consumption

2009-04-08 Thread Szymon Olko
Brian West pisze:
 Where are you?
 
Poland, Wrocław.

http://maps.google.pl/maps?f=qsource=s_qhl=plgeocode=q=poland,+wroc%C5%82awsll=52.025459,19.204102sspn=6.979078,18.017578ie=UTF8ll=51.107833,17.038422spn=0.222023,0.563049z=11

 /b
 
 On Apr 8, 2009, at 1:14 PM, Szymon Olko wrote:
 
 Regarding Cluecon, I would like to meet you all there, but in this
 year it's to expensive and too far for me.

 Szymon
 
 Brian West
 br...@freeswitch.org mailto:br...@freeswitch.org
 
 -- Meet us a ClueCon!  http://www.cluecon.com http://www.cluecon.com/
 
 
 
 
 
 
 ___
 Freeswitch-users mailing list
 Freeswitch-users@lists.freeswitch.org
 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
 http://www.freeswitch.org


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] FS failover redundancy load balancing

2009-04-03 Thread Szymon Olko
Henry Huang pisze:
 How do you load balance conference calls? Doesn't all the conference
 members have to be on the same freeswitch server?
 
As I wrote I do not load balance them yet. I didn't investigate that but what 
comes to my mind is to setup 2 FS end register
agents to one of them (load balance them), sip phones through proxy server.

Then one separate FS for incoming calls and in that FS place my queue system. 
When incoming call needs to be connected to agent
then right FS machine would be choosen.

This just idea I believe that in time I will need something like that FS 
developers will give us some modules or other options.

 On Thu, Apr 2, 2009 at 1:07 PM, Szymon Olko so...@gcdf.pl wrote:
 
 Brian West pisze:
  what kind of hardware?
 
 I made testes on Pentium-M laptop with single core 1,6Hz. I did not
 write those results, it was over 100 calls that was handle
 good, I was just curios what will happen. Tomorrow I will make real
 testes. My production works on 2 core P4 and I have there only
 35 agents CPU load is like 7% with 15% small peeks.
 
 All phones are sip or analog via sip gateways, PRI is currently
 still on asterisk which is connected via sip.
 
  /b
 
  On Apr 2, 2009, at 2:29 PM, Szymon Olko wrote:
 
  I did not described it perfectly. I made agents, queues scenarios on
  conferences.
  This what I tested was for example 100 calls, so it's 200 channels,
  and 100 conferences, 2 channels per conference, all are
  unmuted. I did that just because it is my work scenario.
 
  Brian West
  br...@freeswitch.org mailto:br...@freeswitch.org
 mailto:br...@freeswitch.org mailto:br...@freeswitch.org
 
  -- Meet us a ClueCon!  http://www.cluecon.com
 http://www.cluecon.com/
 
 
 
 
 
 
 
  ___
  Freeswitch-users mailing list
  Freeswitch-users@lists.freeswitch.org
 mailto: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
 mailto: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
 
 
 
 
 -- 
 Henry Huang
 UniC Solution - Communication Unified
 VoIP  Open Source software Consultant
 
 
 
 
 ___
 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] Slow freeswitch shutdown

2009-04-03 Thread Szymon Olko
In last SVN trunk version i noticed that stopping of freeswitch takes much time.

I have configuration installed with freeswitch. I added sip gateway to my 
asterisk instance. I don't use asterisk currently and my
gateway definition is like that:

  gateway name=429956
param name=username value=429956/
param name=password value=429956/
param name=proxy value=10.0.0.248:5059/
param name=register value=false/
  /gateway

Starting freeswitch and shutting it down for console with '...' brings 
following logs.

2009-04-03 11:58:03 [NOTICE] sofia_reg.c:75 sofia_reg_kill_reg() UN-Registering 
example.com
2009-04-03 11:58:03 [NOTICE] sofia.c:895 sofia_profile_thread_run() Waiting for 
worker thread
2009-04-03 11:58:03 [NOTICE] sofia_glue.c:3173 sofia_glue_del_profile() deleted 
gateway example.com
2009-04-03 11:58:03 [NOTICE] sofia_reg.c:75 sofia_reg_kill_reg() UN-Registering 
429956
2009-04-03 11:58:33 [NOTICE] sofia.c:895 sofia_profile_thread_run() Waiting for 
worker thread
2009-04-03 11:58:33 [NOTICE] sofia_glue.c:3173 sofia_glue_del_profile() deleted 
gateway 429956

Asterisk was not run at all so it should not register to it, why it hangs to 
unregister it?


___
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 failover redundancy load balancing

2009-04-02 Thread Szymon Olko
Ashley van Gerven pisze:
 Hi,
 
 I can't find much info on setting up a redundant or heavy load
 FreeSwitch implementation. Are there any
 links apart from: http://wiki.freeswitch.org/wiki/Enterprise_deployment ?
 
 I imagine the entry level solution is to have two FS boxes configured
 identitcally, with
 redundant SBC software (recommendations?) in front, passing the calls to
 the primary FS box,
 or the backup FS box if the primary is not responding. Is that the
 easiest solution?
 
 What about a situation of having a level of concurrent calls beyond what
 one FS box can handle? I realise
 that would be a very large number of concurrent calls, but we would need
 a good plan on how to scale the
 systems.
 
 Are there recommendations for load balancing solutions? Either soft or
 hardware?
 
 My guess would be having 3 + 1 spare FS servers would work, where calls
 are distributed accross 3 FS boxes
 by a load balancer with one spare in event of failure.
 
 Also how would a FS box at max capacity behave? Does FS monitor
 available resources and reject the
 excess calls that it can't handle? Or would the load balancer have to be
 configured with the maximum number
 of calls per box?
I did not think yet about HA nor LB.

I tested how FS handles high load. All my calls are placed in mod_conference. 
When cpu usage gets it's limits then new calls can
be placed but sound quality is getting worst with every next call. When calls 
are hanged up then sound gets better. I did not test
it to see what happens when more and more calls are created.
FS has very low memory consumption and I think that CPU is the limit. I did not 
notice any monitoring of CPU usage by FS, but my
installation is limited to only few modules, so maybe I'm missing something.
 
 Would love to hear some experiences of deploying FS with failover  high
My failover is currently made by shell script which every 10 seconds check for 
working FS and restarts it if it does not work.
I use svn trunk so crash happens once a while, but they are successfully fixed 
by developers.

Once there was a problem that conference module was stuck and did not respond 
to my commands. I made script with netcat which
checks once a while for response and restarts if there is none.
 load.
 
 
 Thanks
 Ash
 
 
 
 
 ___
 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] FS failover redundancy load balancing

2009-04-02 Thread Szymon Olko
Brian West pisze:
 
 On Apr 2, 2009, at 4:13 AM, Szymon Olko wrote:
 
 I did not think yet about HA nor LB.

 I tested how FS handles high load. All my calls are placed in
 mod_conference. When cpu usage gets it's limits then new calls can
 be placed but sound quality is getting worst with every next call.
 When calls are hanged up then sound gets better. I did not test
 it to see what happens when more and more calls are created.
 FS has very low memory consumption and I think that CPU is the limit.
 I did not notice any monitoring of CPU usage by FS, but my
 installation is limited to only few modules, so maybe I'm missing
 something.
 
 Load testing against the conference module is about the worst thing you
 can do... tossing 100+ people in the same conference isn't going to
 scale well for load testing because its not something you usually do in
 a real world scenario.  Usually you'll have most of the participants muted.
 
 I highly recommend you try doing something like a bridge or a file
 playback from a ram disk.
 
I did not described it perfectly. I made agents, queues scenarios on 
conferences.
This what I tested was for example 100 calls, so it's 200 channels, and 100 
conferences, 2 channels per conference, all are
unmuted. I did that just because it is my work scenario.



 Would love to hear some experiences of deploying FS with failover  high
 My failover is currently made by shell script which every 10 seconds
 check for working FS and restarts it if it does not work.
 I use svn trunk so crash happens once a while, but they are
 successfully fixed by developers.

 Once there was a problem that conference module was stuck and did not
 respond to my commands. I made script with netcat which
 checks once a while for response and restarts if there is none.
 load.
 
 Brian West
 br...@freeswitch.org mailto:br...@freeswitch.org
 
 -- Meet us a ClueCon!  http://www.cluecon.com http://www.cluecon.com/
 
 
 
 
 
 
 ___
 Freeswitch-users mailing list
 Freeswitch-users@lists.freeswitch.org
 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
 http://www.freeswitch.org


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] FS failover redundancy load balancing

2009-04-02 Thread Szymon Olko
Brian West pisze:
 what kind of hardware?
 
I made testes on Pentium-M laptop with single core 1,6Hz. I did not write those 
results, it was over 100 calls that was handle
good, I was just curios what will happen. Tomorrow I will make real testes. My 
production works on 2 core P4 and I have there only
35 agents CPU load is like 7% with 15% small peeks.

All phones are sip or analog via sip gateways, PRI is currently still on 
asterisk which is connected via sip.

 /b
 
 On Apr 2, 2009, at 2:29 PM, Szymon Olko wrote:
 
 I did not described it perfectly. I made agents, queues scenarios on
 conferences.
 This what I tested was for example 100 calls, so it's 200 channels,
 and 100 conferences, 2 channels per conference, all are
 unmuted. I did that just because it is my work scenario.
 
 Brian West
 br...@freeswitch.org mailto:br...@freeswitch.org
 
 -- Meet us a ClueCon!  http://www.cluecon.com http://www.cluecon.com/
 
 
 
 
 
 
 ___
 Freeswitch-users mailing list
 Freeswitch-users@lists.freeswitch.org
 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
 http://www.freeswitch.org


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] FS and Skypiax on Windows Video How To

2009-03-31 Thread Szymon Olko
xbipin pisze:
 hi,
 
 is it just audio or is it that im having broken codecs so cant view any
 video?
 
There are both, video and audio.
Mplayer dump

Otwieram dekoder video: [ffmpeg] FFmpeg's libavcodec codec family
Wybrany kodek video: [ffcamtasia] vfm: ffmpeg (TechSmith Camtasia Screen Codec 
(native))
==
==
Otwieram dekoder audio: [pcm] Uncompressed PCM audio decoder
AUDIO: 22050 Hz, 1 ch, s16le, 352.8 kbit/100.00% (ratio: 44100-44100)
Wybrany kodek audio: [pcm] afm: pcm (Uncompressed PCM)
==



 Regards,
 Bipin
 
 
 
 Giovanni Maruzzelli-3 wrote:
 Kulwinder Singh contributed this HOW TO: Freeswitch  Skype- OS
 Microsoft Windows
 Download 118MB HD: http://www.celliax.org/final.avi

 Sincerely,

 Giovanni Maruzzelli
 =
 www.celliax.org
 via Pierlombardo 9, 20135 Milano
 Italy
 gmaruzz at celliax dot org
 Cell : +39-347-2665618
 Fax : +39-02-87390039

 ___
 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] Load testing and thread use

2009-03-26 Thread Szymon Olko
Richard Lamkin pisze:
 Dear All,
 
  
 
 I am testing FS as a call queuing server.  
 
  
 
 My test set up is as follows;
 
 Two Windows XP (SP3) Pc’s  with 1.0.3 installed out of the box.  [
 Before anyone says use Linux I need to use windows for a specific reason]
 
  
 
 I have a single gateway [fsb1500] on FS-1 configured to register with
 FS-2 [extn 1500].  
 
  
 
 I then use the following CLI command to create a call from FS1[5900] to
 FS2[5900]
 
  “bgapi originate
 sofia/gateway/fsb1500/5...@richardl-5013-2.mettonigroup.com 5900”
 
  
 
 This happily connects FS1[5900] to FS2[5900] .  Codec set to G711a.
 
 I have one hardphone on FS2 with a call connected to 5900 to allow me to
 listen to MOH.
 
  
 
 I have been monitoring the system resources used by FS and have observed
 that for each new call a new thread is created. 
 
 I have pushed well over 200 calls from FS-1 into FS2.  
 
 All goes well with the CPU usage by FS (25%) until 150 concurrent calls
  when it starts to climb rapidly and at 175 (~50%).
 
 One good thing is that memory usage is reasonable with 90MB for 150 calls.
 
  
 
 My questions are;
 
 Q1 – Is my test reasonable ?
 
Memory usage looks good, I noticed on my laptop with Linux with Pentium M 
1,6GHz that having something like 200 channels connected
makes very big CPU usage, but what to expect if every channel was connected to 
one channel.
  
 
 Q2 - Windows XP is not that happy with large numbers of thread per app.
 Is there a way to configure FS to use fewer threads; instead of using
 1/call can it be configured  to use to 1/(n calls) ?
 
Anthony here describes that there is one thread for channel, so don't expect it 
will change.
  
 
 Q3 – If there’s  not a way to configure FS to combine threads would it
 be reasonable to consider modifying the FS code to allow the combining
 of  threads or would this be a mammoth task.
 
The same as above.

I don't know XP so well, but if it only has problems with many threads for one 
application then consider running multiple FS
instances on one machine.
  
 
 Regards
 
 
Szymon Olko

 
 *
 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. If you have received this email in error please notify
 the system manager. http://www.mettoni.com
  
 Datapulse Ltd (part of the Mettoni Group)
 Registered in England and Wales: 4485978
 9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN
 *
 
 
 
 
 
 ___
 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] conference calling ideas

2009-03-25 Thread Szymon Olko
Steven Ward pisze:
 If any can share some ideas, I'm looking at making conference
 calls simple for the end-users of my FS system.
  
 Here are some issues I'm kicking around:
  
 1.  To create/join conferences - do you make a pre-defined list of
 extensions, each of which would join the caller to a particular
 conference room, or do you perhaps define one extension that will join
 the caller to a dynamically-named conference room (perhaps after making
 a choice in an IVR)?
  
 2.  How do you implement the idea of a conference leader - having a
 user who must call into a conference first before anybody else can join?
  
 Thanks for any ideas.
  
Can you give more info what you plan to do?

If you don't care for conferences name and they can be numbers then just make 
one extension and then use that extension or part of
it to name conference.

If you want to make conference leader then make 2 separate extensions, in 
second extension which is used for not leaders use that
conference command. 'conference xxx bgdial endpoint'.In current SVN, bgdial 
does not create new conference it must exists to
make that command.

This can be make just by dial plan. If you plan to control FS from any language 
then you have much more abilities.

 - SW
 
 
 
 
 ___
 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] conference calling ideas

2009-03-25 Thread Szymon Olko
Steven Ward pisze:
 Szymon, I want to provide a service wherein a user can reserve a
 teleconference room for a partiuclar time and control who can join the
 conference call (only those invited).  I want to support several of
 such conference calls at any given time.
  
 I want callers who were not invited to a conference call, but who try to
 call in, to be notified they can't join.
  
Reserving conference means some storage of it. I think you have write some 
application to control it.
You can use store that in dialplan but it will be hard to make such dialplan.
There is pin code for conference so you can use it.

 Also, it should be simple enough that the user just has to dial a number
 and be able to know what to do from there to join the conference.
 
 If the conference leader is late to the conference call and others try
 to call in (before the conference is created), the callers should be
 notified the conf leader hasn't started the conference yet.  Perhaps
 they can be told to try later, or they can be put on hold.
  
 These are the kinds of things I need to think about implementing, and I
 do not know yet what other features would be useful.  Thanks.

I would make it like that. If you need to limit total number of conferences 
then you have to manage time of reservation. If you
don't need that then make one extension in which you do the following.
- get pincode from user.
- get admin_pincode from user.
- look in db for next available conference number
- store conference number and pincode in database.
- return that number to user.

Make second extension where you do folowing:
- get conference number from user
- get pincode from user
- check in db if conference and pincode are the same as stored in db.
- check in database if admin is in conference.


Make third extension:
- get conference number from user
- get admin pincode from user
- check for matching in db
- transfer to conference
- store in db that admin is online


With this way users must get conference name and pincode to access. You can 
change it and in first extension add ability for user
to add others members with their personal number or something like that.

Szymon Olko

 On Wed, Mar 25, 2009 at 9:02 AM, Szymon Olko so...@gcdf.pl wrote:
 
 Steven Ward pisze:
  If any can share some ideas, I'm looking at making conference
  calls simple for the end-users of my FS system.
 
  Here are some issues I'm kicking around:
 
  1.  To create/join conferences - do you make a pre-defined list of
  extensions, each of which would join the caller to a particular
  conference room, or do you perhaps define one extension that will join
  the caller to a dynamically-named conference room (perhaps after
 making
  a choice in an IVR)?
 
  2.  How do you implement the idea of a conference leader - having a
  user who must call into a conference first before anybody else can
 join?
 
  Thanks for any ideas.
 
 Can you give more info what you plan to do?
 
 If you don't care for conferences name and they can be numbers then
 just make one extension and then use that extension or part of
 it to name conference.
 
 If you want to make conference leader then make 2 separate
 extensions, in second extension which is used for not leaders use that
 conference command. 'conference xxx bgdial endpoint'.In current
 SVN, bgdial does not create new conference it must exists to
 make that command.
 
 This can be make just by dial plan. If you plan to control FS from
 any language then you have much more abilities.
 
  - SW
 
 
 
 
 
  ___
  Freeswitch-users mailing list
  Freeswitch-users@lists.freeswitch.org
 mailto: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 http://www.freeswitch.org/
 
 
 ___
 Freeswitch-users mailing list
 Freeswitch-users@lists.freeswitch.org
 mailto: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 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

Re: [Freeswitch-users] Console Window

2009-03-24 Thread Szymon Olko
Will Smith pisze:
 Thank you all for your help.
 I use : /usr/local/freeswitch/bin/fs_cli  to open a FS instance. But
 then cannot use shutdown command. Then I used 'fsctl shutdown asap' 
 (directed by Szymon). It works perfectly.
  
 Again, thank you. Have a great day you all.
  
Remeber there are other flags to shutdown freeswitch

freeswi...@vertux fsctl
API CALL [fsctl()] output:
-USAGE: [send_sighup|hupall|pause|resume|shutdown
[cancel|elegant|asap|restart]|sps|sync_clock|reclaim_mem|max_sessions|max_dtmf_duration
 [num]|loglevel [level]]

Look for descriptions in wiki.

 Will
 
 --- On *Tue, 3/24/09, Leon de Rooij /l...@scarlet-internet.nl/* wrote:
 
 From: Leon de Rooij l...@scarlet-internet.nl
 Subject: Re: [Freeswitch-users] Console Window
 To: freeswitch-users@lists.freeswitch.org
 Date: Tuesday, March 24, 2009, 6:47 AM
 
 Just make sure you have mod_event socket loaded in
 conf/autoload_modules/modules.conf.xml :
 
 load module=mod_event_socket/
 
 And have it configured in conf/autoload_modules/event_socket.conf.xml
 
 Then you can use bin/fs_cli to connect to running FS instance.
 
 I don't think you can reconnect to a process of which you have
 disconnected the terminal (without using screen)..
 
 regards,
 
 Leon 
 
 On Mar 24, 2009, at 2:35 PM, Will Smith wrote:
 
 No, I started FS with this:
 /usr/local/freeswitch/bin/freeswitch . What can I do in this case ?
  
 thank you for help

 --- On *Tue, 3/24/09, Saeed Ahmed /saeedahmad1...@gmail.com
 mailto:saeedahmad1...@gmail.com/* wrote:

 From: Saeed Ahmed saeedahmad1...@gmail.com
 mailto:saeedahmad1...@gmail.com
 Subject: Re: [Freeswitch-users] Console Window
 To: freeswitch-users@lists.freeswitch.org
 mailto:freeswitch-users@lists.freeswitch.org
 Date: Tuesday, March 24, 2009, 6:25 AM

 Did you started FS with –nc option?
 with this option you can connect to FS using ./fs_cli
 OR 
 use /screen/!

 
 

 *From:* freeswitch-users-boun...@lists.freeswitch.org
 mailto:freeswitch-users-boun...@lists.freeswitch.org
 [mailto:freeswitch-users-boun...@lists.freeswitch.org] *On
 Behalf Of *Will Smith
 *Sent:* Tuesday, March 24, 2009 1:52 PM
 *To:* freeswitch-users@lists.freeswitch.org
 mailto:freeswitch-users@lists.freeswitch.org
 *Subject:* [Freeswitch-users] Console Window

  

 Hi,

 I closed the console window that ran FS without shutting down
 FS. I had to restart the server to get back to the console
 window. I just wonder if there is a way to bring that window
 up without restart server. In the file /log/freeswitch.pid, I
 found a number, is that a seesion id?

  

 Thank you.

  

 ___
 Freeswitch-users mailing list
 Freeswitch-users@lists.freeswitch.org 
 mailto: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 http://www.freeswitch.org/


 ___
 Freeswitch-users mailing list
 Freeswitch-users@lists.freeswitch.org
 mailto: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 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] proper way to clean source tree after build?

2009-03-22 Thread Szymon Olko
Jason White pisze:
 I'm building under Debian.
 
 To clean the source tree after building, I've tried
 make clean
 debuild clean
 
 but what often happens is that after updating to a later svn revision and then
 trying to build, I get various errors during the compilation process that
 disappear if I make a clean checkout from the repository and run the build
 again.
 
 I have also found that using svn export to reproduce the tree in another
 directory, then building from that directory, doesn't always solve the 
 problem.
 
 Is there a better way to clean up the source tree after updating it, to avoid
 these issues? I assume there are extraneous modifications or files that simply
 aren't being eliminated by the clean makefile targets.
 
 

There is
'make current'
which make cleaning, uninstalling, updating, building and installing new 
version.
I looked into make file, and I'm doing all without uninstall and install, which 
I call later when it is possible for me.


 ___
 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