[Freeswitch-users] building for Lenny

Brian May brian at microcomaustralia.com.au
Thu Feb 18 15:42:47 PST 2010


On 19 February 2010 03:17, Frank Carmickle <frank at carmickle.com> wrote:
> Like I said you can and should build debs from svn.  As far as
> I see it there is no reason to not build debs.

Unfortunately, that didn't create any of the packages for the sound
files, and I can't see where to get a deb package for the sound files
that really does contain the sound files.



Also I get errors when trying to start it up, not sure how many of
these I can ignore are warnings and how many are because I am doing it
wrong:

voyage:~# /opt/freeswitch/bin/freeswitch
Error: stacksize 4194303 is too large: run ulimit -s 240 or run
/opt/freeswitch/bin/freeswitch -waste.
auto-adjusting stack size for optimal performance...
2010-02-19 10:59:41.203000 [INFO] switch_event.c:580 Activate Eventing Engine.
2010-02-19 10:59:41.208000 [DEBUG] switch_event.c:568 Create event
dispatch thread 0
2010-02-19 10:59:41.428000 [ERR] switch_xml.c:1297 Couldnt open
/opt/freeswitch/conf/autoload_configs/../ivr_menus/*.xml (No such file
or directory)
Error including
/opt/freeswitch/conf/autoload_configs/../ivr_menus/*.xml (No such file
or directory)
2010-02-19 10:59:42.376000 [ERR] switch_xml.c:1297 Couldnt open
/opt/freeswitch/conf/lang/de/*.xml (No such file or directory)
Error including /opt/freeswitch/conf/lang/de/*.xml (No such file or directory)
2010-02-19 10:59:42.526000 [ERR] switch_xml.c:1297 Couldnt open
/opt/freeswitch/conf/lang/en/dir/sounds.xml (No such file or
directory)
Error including /opt/freeswitch/conf/lang/en/dir/sounds.xml (No such
file or directory)
2010-02-19 10:59:42.528000 [ERR] switch_xml.c:1297 Couldnt open
/opt/freeswitch/conf/lang/fr/*.xml (No such file or directory)
Error including /opt/freeswitch/conf/lang/fr/*.xml (No such file or directory)
2010-02-19 10:59:42.529000 [ERR] switch_xml.c:1297 Couldnt open
/opt/freeswitch/conf/lang/ru/*.xml (No such file or directory)
Error including /opt/freeswitch/conf/lang/ru/*.xml (No such file or directory)
2010-02-19 10:59:42.609000 [INFO] switch_nat.c:409 Scanning for NAT
2010-02-19 10:59:42.611000 [DEBUG] switch_nat.c:166 Checking for PMP 1/5
2010-02-19 10:59:42.614000 [ERR] switch_nat.c:197 Error checking for
PMP [general error]
2010-02-19 10:59:42.614000 [DEBUG] switch_nat.c:414 Checking for UPnP
2010-02-19 10:59:54.619000 [INFO] switch_nat.c:429 No PMP or UPnP NAT
devices detected!
2010-02-19 10:59:54.623000 [INFO] switch_core_sqldb.c:1248 Opening DB
2010-02-19 10:59:54.627000 [ERR] switch_core_sqldb.c:404 SQL ERR [no
such table: channels]
drop table channels
2010-02-19 10:59:54.628000 [ERR] switch_core_sqldb.c:404 SQL ERR [no
such table: calls]
drop table calls
2010-02-19 10:59:54.630000 [ERR] switch_core_sqldb.c:404 SQL ERR [no
such table: interfaces]
drop table interfaces
2010-02-19 10:59:54.631000 [ERR] switch_core_sqldb.c:404 SQL ERR [no
such table: tasks]
drop table tasks
2010-02-19 10:59:54.634000 [DEBUG] switch_core_sqldb.c:765 SQL ERR [no
such table: aliases]
[select hostname from aliases]
Auto Generating Table!
2010-02-19 10:59:54.636000 [DEBUG] switch_core_sqldb.c:772 SQL ERR [no
such table: aliases]
[CREATE TABLE aliases (
   sticky  INTEGER,
   alias  VARCHAR(128),
   command  VARCHAR(4096),
   hostname VARCHAR(256)
);
]
2010-02-19 10:59:54.644000 [DEBUG] switch_core_sqldb.c:765 SQL ERR [no
such table: nat]
[select hostname from nat]
Auto Generating Table!
2010-02-19 10:59:54.646000 [DEBUG] switch_core_sqldb.c:772 SQL ERR [no
such table: nat]
[CREATE TABLE nat (
   sticky  INTEGER,
	port	INTEGER,
	proto	INTEGER,
   hostname VARCHAR(256)
);
]

Am I expected to setup a SQL database to get this working? Or did it
just setup one automatically?

2010-02-19 10:59:59.684000 [CRIT] switch_loadable_module.c:882 Error
Loading module /opt/freeswitch/mod/mod_voipcodecs.so
**libjpeg.so.62: cannot open shared object file: No such file or directory**
2010-02-19 10:59:59.686000 [CRIT] switch_loadable_module.c:882 Error
Loading module /opt/freeswitch/mod/mod_g723_1.so
**/opt/freeswitch/mod/mod_g723_1.so: cannot open shared object file:
No such file or directory**
2010-02-19 10:59:59.687000 [CRIT] switch_loadable_module.c:882 Error
Loading module /opt/freeswitch/mod/mod_g729.so
**/opt/freeswitch/mod/mod_g729.so: cannot open shared object file: No
such file or directory**
2010-02-19 10:59:59.688000 [CRIT] switch_loadable_module.c:882 Error
Loading module /opt/freeswitch/mod/mod_amr.so
**/opt/freeswitch/mod/mod_amr.so: cannot open shared object file: No
such file or directory**
2010-02-19 10:59:59.835000 [CRIT] switch_loadable_module.c:882 Error
Loading module /opt/freeswitch/mod/mod_file_string.so
**/opt/freeswitch/mod/mod_file_string.so: cannot open shared object
file: No such file or directory**
2010-02-19 11:00:00.143000 [CRIT] switch_loadable_module.c:882 Error
Loading module /opt/freeswitch/mod/mod_say_ru.so
**/opt/freeswitch/mod/mod_say_ru.so: cannot open shared object file:
No such file or directory**

suspect I don't really need to worry about some of these. I assume
there is a config file somewhere where I can disable these options.


Ok, as a really pathetic question, now I have started it, how do I stop it?

freeswitch at voyage> halt
Unknown Command: halt
freeswitch at voyage> quit
Unknown Command: quit
freeswitch at voyage> exit
Unknown Command: exit
freeswitch at voyage> bye
Unknown Command: bye

-- 
Brian May <brian at microcomaustralia.com.au>




More information about the FreeSWITCH-users mailing list