Re: [Freeswitch-users] origination_caller_id_number used instead of effective_caller_id_number
Yeap, it's fixed. On Thu, Feb 19, 2009 at 5:03 PM, Michael Jerris wrote: > Can you re-test this with current svn trunk. I believe this was fixed > yesterday. > > Mike > -- Alexandru Nedelcu Software Developer, Sinapticode ___ 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] Compile Errors ...
Hello, I'm getting this all over the place today: make[5]: *** No rule to make target `/usr/src/freeswitch/libfreeswitch.la', needed by `mod_commands.so'. Stop. make[4]: *** [all] Error 1 make[3]: *** [mod_commands-all] Error 1 make[2]: *** [all-recursive] Error 1 I normally do this: svn checkout http://svn.freeswitch.org/svn/freeswitch/trunk freeswitch.trunk ./bootstrap.sh ./configure make make install Thx! SDR ___ 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] Compile Errors ...
Look up furthur, there will be an error around where it builds or links the core. Try typing make core. Mike On Feb 22, 2009, at 1:30 PM, Shelby Ramsey wrote: Hello, I'm getting this all over the place today: make[5]: *** No rule to make target `/usr/src/freeswitch/ libfreeswitch.la', needed by `mod_commands.so'. Stop. make[4]: *** [all] Error 1 make[3]: *** [mod_commands-all] Error 1 make[2]: *** [all-recursive] Error 1 I normally do this: svn checkout http://svn.freeswitch.org/svn/freeswitch/trunk freeswitch.trunk ./bootstrap.sh ./configure make make install Thx! SDR ___ 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] Compile Errors ...
Mike, This is what I get when I run make core (after I did a checkout on latest svn trunk, ./bootstrap.sh, ./configure): src/switch_console.c:35:28: error: switch_version.h: No such file or directory src/switch_console.c: In function 'switch_console_process': src/switch_console.c:233: error: 'SWITCH_VERSION_FULL' undeclared (first use in this function) src/switch_console.c:233: error: (Each undeclared identifier is reported only once src/switch_console.c:233: error: for each function it appears in.) make[1]: *** [libfreeswitch_la-switch_console.lo] Error 1 make: *** [core] Error 2 Thanks! SDR ___ 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] Compile Errors ...
There should be more errors above that? Are you cutting off some of them in your paste? On Feb 22, 2009, at 2:26 PM, Shelby Ramsey wrote: > Mike, > > This is what I get when I run make core (after I did a checkout on > latest svn trunk, ./bootstrap.sh, ./configure): > > src/switch_console.c:35:28: error: switch_version.h: No such file or > directory > src/switch_console.c: In function 'switch_console_process': > src/switch_console.c:233: error: 'SWITCH_VERSION_FULL' undeclared > (first use in this function) > src/switch_console.c:233: error: (Each undeclared identifier is > reported only once > src/switch_console.c:233: error: for each function it appears in.) > make[1]: *** [libfreeswitch_la-switch_console.lo] Error 1 > make: *** [core] Error 2 > > Thanks! > > SDR > ___ > 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] Compile Errors ...
Mike, the entire output can be seen @ http://www.sipinterchange.com/downloads/fs_compile_err.txt I don't see anything else. It's really odd ... SDR ___ 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] Compile Errors ...
It sounds like your build environment is whacked, is this a fresh checkout of trunk or did you overwrite an existing directory? You might want to scrap that directory and try a fresh checkout. I just freshly checked out a copy of trunk into a new dir and ran ./bootstrap, ./configure, and make without a problem. Gabe Shelby Ramsey wrote: > Mike, > > the entire output can be seen @ > http://www.sipinterchange.com/downloads/fs_compile_err.txt > > I don't see anything else. It's really odd ... > > SDR > > > > > > ___ > 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] Compile Errors ...
Yeah ... that's what I did when I first got the error. I'll try it again. Thanks for the help! SDR ___ 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] Compile Errors ...
Did this (to make sure I started from scratch): rm -rf /usr/src/freeswitch.trunk rm -rf /usr/local/freeswitch svn checkout http://svn.freeswitch.org/svn/freeswitch/trunk freeswitch.trunk cd freeswitch.trunk/ ./bootstrap.sh ./configure make ... and then it pukes all over the place with errors compiling odbc support ... but I thought that odbc was disabled by default. Errors look like this: Compiling src/switch_odbc.c ... In file included from src/switch_odbc.c:33: ./src/include/switch_odbc.h:36:17: error: sql.h: No such file or directory ./src/include/switch_odbc.h:43:20: error: sqlext.h: No such file or directory ./src/include/switch_odbc.h:45:22: error: sqltypes.h: No such file or directory In file included from src/switch_odbc.c:33: ./src/include/switch_odbc.h:66: error: expected declaration specifiers or '...' before 'SQLHSTMT' ./src/include/switch_odbc.h:96: error: expected declaration specifiers or '...' before 'SQLHSTMT' src/switch_odbc.c:43: error: expected specifier-qualifier-list before 'SQLHENV' src/switch_odbc.c: In function 'switch_odbc_handle_new': src/switch_odbc.c:76: error: 'switch_odbc_handle_t' has no member named 'env' src/switch_odbc.c:76: error: 'SQL_NULL_HANDLE' undeclared (first use in this function) src/switch_odbc.c:76: error: (Each undeclared identifier is reported only once src/switch_odbc.c:76: error: for each function it appears in.) src/switch_odbc.c:77: error: 'switch_odbc_handle_t' has no member named 'state' src/switch_odbc.c: In function 'switch_odbc_handle_disconnect': src/switch_odbc.c:96: error: 'switch_odbc_handle_t' has no member named 'state' cc1: warnings being treated as errors src/switch_odbc.c:97: warning: implicit declaration of function 'SQLDisconnect' src/switch_odbc.c:97: error: 'switch_odbc_handle_t' has no member named 'con' src/switch_odbc.c:105: error: 'switch_odbc_handle_t' has no member named 'state' src/switch_odbc.c: In function 'switch_odbc_handle_connect': src/switch_odbc.c:113: error: 'SQLINTEGER' undeclared (first use in this function) src/switch_odbc.c:113: error: expected ';' before 'err' src/switch_odbc.c:116: error: 'SQLSMALLINT' undeclared (first use in this function) src/switch_odbc.c:116: error: expected ';' before 'valueLength' SDR ___ 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] Compile Errors ...
Someone can problem correct me if I'm wrong, however I believe a recent change was made to the configure script to try and autodetect ODBC. The configure script may be hitting a false positive as described in this similar thread from a few days ago ... http://lists.freeswitch.org/pipermail/freeswitch-users/2009-February/011762.html Gabe Shelby Ramsey wrote: > Did this (to make sure I started from scratch): > > rm -rf /usr/src/freeswitch.trunk > rm -rf /usr/local/freeswitch > svn checkout http://svn.freeswitch.org/svn/freeswitch/trunk freeswitch.trunk > cd freeswitch.trunk/ > ./bootstrap.sh > ./configure > make > > ... and then it pukes all over the place with errors compiling odbc > support ... but I thought that odbc was disabled by default. > > Errors look like this: > > Compiling src/switch_odbc.c ... > In file included from src/switch_odbc.c:33: > ./src/include/switch_odbc.h:36:17: error: sql.h: No such file or directory > ./src/include/switch_odbc.h:43:20: error: sqlext.h: No such file or > directory > ./src/include/switch_odbc.h:45:22: error: sqltypes.h: No such file or > directory > In file included from src/switch_odbc.c:33: > ./src/include/switch_odbc.h:66: error: expected declaration specifiers > or '...' before 'SQLHSTMT' > ./src/include/switch_odbc.h:96: error: expected declaration specifiers > or '...' before 'SQLHSTMT' > src/switch_odbc.c:43: error: expected specifier-qualifier-list before > 'SQLHENV' > src/switch_odbc.c: In function 'switch_odbc_handle_new': > src/switch_odbc.c:76: error: 'switch_odbc_handle_t' has no member named > 'env' > src/switch_odbc.c:76: error: 'SQL_NULL_HANDLE' undeclared (first use in > this function) > src/switch_odbc.c:76: error: (Each undeclared identifier is reported > only once > src/switch_odbc.c:76: error: for each function it appears in.) > src/switch_odbc.c:77: error: 'switch_odbc_handle_t' has no member named > 'state' > src/switch_odbc.c: In function 'switch_odbc_handle_disconnect': > src/switch_odbc.c:96: error: 'switch_odbc_handle_t' has no member named > 'state' > cc1: warnings being treated as errors > src/switch_odbc.c:97: warning: implicit declaration of function > 'SQLDisconnect' > src/switch_odbc.c:97: error: 'switch_odbc_handle_t' has no member named > 'con' > src/switch_odbc.c:105: error: 'switch_odbc_handle_t' has no member named > 'state' > src/switch_odbc.c: In function 'switch_odbc_handle_connect': > src/switch_odbc.c:113: error: 'SQLINTEGER' undeclared (first use in this > function) > src/switch_odbc.c:113: error: expected ';' before 'err' > src/switch_odbc.c:116: error: 'SQLSMALLINT' undeclared (first use in > this function) > src/switch_odbc.c:116: error: expected ';' before 'valueLength' > > > SDR > > > > > ___ > 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_erlang_event compile problem
On Sat, Feb 21, 2009 at 03:42:24PM +0100, Leon de Rooij wrote: > Hi Andrew, > > Thanks for your help so far, I hope you can help me a bit further as I > don't get any reply from the FS erlang node, or so it seems.. Here is > what I've done: > > - The erlang_event.conf.xml is unchanged: > > > > > > > > > > > You actually installed this to the right place? It's not installed by default... The defaults *should* be sane anyway, but I'm just checking. > > - mod_erlang_event is not loaded in FS. > > - First I start "epmd -d -d" > > epmd: Sat Feb 21 13:12:56 2009: epmd running - daemon = 0 > epmd: Sat Feb 21 13:12:56 2009: try to initiate listening port 4369 > epmd: Sat Feb 21 13:12:56 2009: starting > epmd: Sat Feb 21 13:12:56 2009: entering the main select() loop > > - After that I "load mod_erlang_event" in FS: > > 2009-02-21 13:13:36 [DEBUG] mod_erlang_event.c:1324 > mod_erlang_event_load() sections 16 > 2009-02-21 13:13:36 [CONSOLE] switch_loadable_module.c:858 > switch_loadable_module_load_file() Successfully Loaded > [mod_erlang_event] > 2009-02-21 13:13:36 [NOTICE] switch_loadable_module.c:240 > switch_loadable_module_process() Adding Application 'erlang' > 2009-02-21 13:13:36 [NOTICE] switch_loadable_module.c:260 > switch_loadable_module_process() Adding API Function 'erlang' > 2009-02-21 13:13:36 [DEBUG] mod_erlang_event.c:1401 > mod_erlang_event_runtime() Socket up listening on 127.0.0.1:8031 > 2009-02-21 13:13:36 [DEBUG] mod_erlang_event.c:1426 > mod_erlang_event_runtime() Connected and published erlang cnode at > freeswi...@erlyfs > > - For which epmd gives the following output: > > epmd: Sat Feb 21 13:13:36 2009: opening connection on file descriptor 4 > epmd: Sat Feb 21 13:13:36 2009: got 25 bytes > * 00 17 78 1f 5f 68 00 00 05 00 01 00 0a 66 72 65 > |..x._h...fre| > * 0010 65 73 77 69 74 63 68 00 00 | > eswitch..| > epmd: Sat Feb 21 13:13:36 2009: ** got ALIVE2_REQ > epmd: Sat Feb 21 13:13:36 2009: registering 'freeswitch:1', port 8031 > epmd: Sat Feb 21 13:13:36 2009: type 104 proto 0 highvsn 5 lowvsn 1 > epmd: Sat Feb 21 13:13:36 2009: got 4 bytes > * 79 00 00 01 |y...| > epmd: Sat Feb 21 13:13:36 2009: ** sent ALIVE2_RESP for "freeswitch" > > - Then I start an erl shell on that same machine with "erl -sname ldr - > setcookie ClueCon". Output of epmd: > > epmd: Sat Feb 21 13:16:24 2009: opening connection on file descriptor 5 > epmd: Sat Feb 21 13:16:24 2009: got 18 bytes > * 00 10 78 8e 2c 4d 00 00 05 00 05 00 03 6c 64 72 > |..x.,M...ldr| > * 0010 00 00 |..| > epmd: Sat Feb 21 13:16:24 2009: ** got ALIVE2_REQ > epmd: Sat Feb 21 13:16:24 2009: registering 'ldr:1', port 36396 > epmd: Sat Feb 21 13:16:24 2009: type 77 proto 0 highvsn 5 lowvsn 5 > epmd: Sat Feb 21 13:16:24 2009: got 4 bytes > * 79 00 00 01 |y...| > epmd: Sat Feb 21 13:16:24 2009: ** sent ALIVE2_RESP for "ldr" > > As far as I understand the freeswi...@erlyfs node cannot be seen with > nodes() ? So does that mean that I also cannot net_adm:ping() it ? Yes, it's a 'hidden' node, as all non-erlang nodes are. However, it should be visible in the output of epmd -names. > > Anyway, I tried sending some tuples as is shown on the wiki, but I get > no reply: > > (l...@erlyfs)1> {foo, freeswi...@erlyfs} ! {api, status, ""}, receive X > -> X after 1000 -> timeout end. > timeout > (l...@erlyfs)2> > > - Epmd gives some logs: > > epmd: Sat Feb 21 13:19:09 2009: opening connection on file descriptor 6 > epmd: Sat Feb 21 13:19:09 2009: got 13 bytes > * 00 0b 7a 66 72 65 65 73 77 69 74 63 68 > |..zfreeswitch| > epmd: Sat Feb 21 13:19:09 2009: ** got PORT2_REQ > epmd: Sat Feb 21 13:19:09 2009: got 23 bytes > * 77 00 1f 5f 68 00 00 05 00 01 00 0a 66 72 65 65 | > w.._h...free| > * 0010 73 77 69 74 63 68 00 | > switch.| > epmd: Sat Feb 21 13:19:09 2009: ** sent PORT2_RESP (ok) for "freeswitch" > epmd: Sat Feb 21 13:19:09 2009: closing connection on file descriptor 6 > > - And in tcpdump on lo, I see that epmd is contacted after which some > traffic was sent to FS: > > 13:19:09.535293 IP 172.31.0.13.34678 > 172.31.0.13.4369: S > 2875169966:2875169966(0) win 32792 17946545 0,nop,wscale 6> > ... > 13:19:09.536834 IP 172.31.0.13.4369 > 172.31.0.13.34678: . ack 15 win > 512 > 13:19:09.536923 IP 172.31.0.13.47054 > 172.31.0.13.8031: S > 2868322908:2868322908(0) win 32792 17946546 0,nop,wscale 6> > 13:19:09.536935 IP 172.31.0.13.8031 > 172.31.0.13.47054: R 0:0(0) ack > 2868322909 win 0 > > Shouldn't FS then send a message back to the process in my erl shell ? > > I tried logging all events in fs_cli, by entering "/event plain all", > bu
Re: [Freeswitch-users] mod_erlang_event compile problem
Leon, I can't replicate your issue, at the very least I'd expect you to see the "Ignorable error in ei_accept - probable bad client version, bad cookie or bad nodename" warning. What OS/Erlang version are you using? Andrew ___ 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] Question about BLF...
Hi, I'm just playing around with FreeSWITCH and I have 2 questions about BLF (with SNOM phones): - When I played around with the sample dial plan I found out that BLF works better than Asterisk, but not 100% right: > When phone 1000 gets a call the BLF lamp on phone 1001 blinks and after phone 1000 takes the call the lamp on phone 1001 is on > But when phone 1000 gets a second call, takes it and hangs up the lamp on phone 1001 turns off even if the first call is still active > Is that a problem or did I do something wrong??? - Second question is how can I set up BLF if I want to have my dial plan completely in a perl script (no XML besides calling the perl script)? Thanks, Klaus ___ 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] Compile Errors ...
Thanks for the help. That did the trick. SDR ___ 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] Compile Errors ...
can you please contact me off list and get me information to access your box so I can try to correct this for good in tree. Thanks Mike On Feb 22, 2009, at 7:46 PM, Shelby Ramsey wrote: > Thanks for the help. That did the trick. > > SDR ___ 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