When I try to install the openser-development version on my debian machine, I have this errors, run make and:
flags.c:34:20: stdlib.h: No such file or directory Compiling action.c gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -mcpu=athlon -DNAME='"openser"' -DVERSION='"1.1.0-dev16 -notls"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3.5"' -D__CPU_i386 -D__OS_linux -D__SMP_no -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC -DSTATISTICS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SIGIO_RT -DHAVE_SELECT -c action.c -o action.o In file included from parser/msg_parser.h:46, from action.h:27, from action.c:41: ip_addr.h:32:20: string.h: No such file or directory ip_addr.h:33:23: sys/types.h: No such file or directory ip_addr.h:34:24: sys/socket.h: No such file or directory ip_addr.h:35:24: netinet/in.h: No such file or directory ip_addr.h:36:19: netdb.h: No such file or directory In file included from ip_addr.h:40, from parser/msg_parser.h:46, from action.h:27, from action.c:41: dprint.h:28:20: syslog.h: No such file or directory In file included from parser/msg_parser.h:46, from action.h:27, from action.c:41: ip_addr.h:66: error: field `s' has incomplete type ip_addr.h:67: error: field `sin' has incomplete type ip_addr.h:69: error: field `sin6' has incomplete type ip_addr.h: In function `sockaddr2ip_addr': ip_addr.h:203: error: dereferencing pointer to incomplete type ip_addr.h:204: error: `AF_INET' undeclared (first use in this function) ip_addr.h:204: error: (Each undeclared identifier is reported only once ip_addr.h:204: error: for each function it appears in.) ip_addr.h:207: warning: implicit declaration of function `memcpy' ip_addr.h:207: error: dereferencing pointer to incomplete type ip_addr.h:210: error: `AF_INET6' undeclared (first use in this function) ip_addr.h:213: error: dereferencing pointer to incomplete type ip_addr.h:217: error: dereferencing pointer to incomplete type ip_addr.h:217: warning: implicit declaration of function `syslog' ip_addr.h:217: error: `LOG_CRIT' undeclared (first use in this function) ip_addr.h:217: error: dereferencing pointer to incomplete type ip_addr.h:217: error: `LOG_ALERT' undeclared (first use in this function) ip_addr.h:217: error: dereferencing pointer to incomplete type ip_addr.h:217: error: `LOG_ERR' undeclared (first use in this function) ip_addr.h:217: error: dereferencing pointer to incomplete type ip_addr.h:217: error: `LOG_WARNING' undeclared (first use in this function) ip_addr.h:217: error: dereferencing pointer to incomplete type ip_addr.h:217: error: `LOG_NOTICE' undeclared (first use in this function) ip_addr.h:217: error: dereferencing pointer to incomplete type ip_addr.h:217: error: `LOG_INFO' undeclared (first use in this function) ip_addr.h:217: error: dereferencing pointer to incomplete type ip_addr.h:217: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h:217: error: dereferencing pointer to incomplete type ip_addr.h: In function `su_cmp': ip_addr.h:236: error: `AF_INET' undeclared (first use in this function) ip_addr.h:238: warning: implicit declaration of function `memcmp' ip_addr.h:240: error: `AF_INET6' undeclared (first use in this function) ip_addr.h:245: error: `LOG_CRIT' undeclared (first use in this function) ip_addr.h:245: error: `LOG_ALERT' undeclared (first use in this function) ip_addr.h:245: error: `LOG_ERR' undeclared (first use in this function) ip_addr.h:245: error: `LOG_WARNING' undeclared (first use in this function) ip_addr.h:245: error: `LOG_NOTICE' undeclared (first use in this function) ip_addr.h:245: error: `LOG_INFO' undeclared (first use in this function) ip_addr.h:245: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h: In function `su_getport': ip_addr.h:257: error: `AF_INET' undeclared (first use in this function) ip_addr.h:258: warning: implicit declaration of function `ntohs' ip_addr.h:260: error: `AF_INET6' undeclared (first use in this function) ip_addr.h:264: error: `LOG_CRIT' undeclared (first use in this function) ip_addr.h:264: error: `LOG_ALERT' undeclared (first use in this function) ip_addr.h:264: error: `LOG_ERR' undeclared (first use in this function) ip_addr.h:264: error: `LOG_WARNING' undeclared (first use in this function) ip_addr.h:264: error: `LOG_NOTICE' undeclared (first use in this function) ip_addr.h:264: error: `LOG_INFO' undeclared (first use in this function) ip_addr.h:264: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h: In function `su_setport': ip_addr.h:276: error: `AF_INET' undeclared (first use in this function) ip_addr.h:277: warning: implicit declaration of function `htons' ip_addr.h:280: error: `AF_INET6' undeclared (first use in this function) ip_addr.h:285: error: `LOG_CRIT' undeclared (first use in this function) ip_addr.h:285: error: `LOG_ALERT' undeclared (first use in this function) ip_addr.h:285: error: `LOG_ERR' undeclared (first use in this function) ip_addr.h:285: error: `LOG_WARNING' undeclared (first use in this function) ip_addr.h:285: error: `LOG_NOTICE' undeclared (first use in this function) ip_addr.h:285: error: `LOG_INFO' undeclared (first use in this function) ip_addr.h:285: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h: In function `su2ip_addr': ip_addr.h:296: error: `AF_INET' undeclared (first use in this function) ip_addr.h:302: error: `AF_INET6' undeclared (first use in this function) ip_addr.h:309: error: `LOG_CRIT' undeclared (first use in this function) ip_addr.h:309: error: `LOG_ALERT' undeclared (first use in this function) ip_addr.h:309: error: `LOG_ERR' undeclared (first use in this function) ip_addr.h:309: error: `LOG_WARNING' undeclared (first use in this function) ip_addr.h:309: error: `LOG_NOTICE' undeclared (first use in this function) ip_addr.h:309: error: `LOG_INFO' undeclared (first use in this function) ip_addr.h:309: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h: In function `init_su': ip_addr.h:325: warning: implicit declaration of function `memset' ip_addr.h:329: error: `AF_INET6' undeclared (first use in this function) ip_addr.h:337: error: `AF_INET' undeclared (first use in this function) ip_addr.h:345: error: `LOG_CRIT' undeclared (first use in this function) ip_addr.h:345: error: `LOG_ALERT' undeclared (first use in this function) ip_addr.h:345: error: `LOG_ERR' undeclared (first use in this function)
ip_addr.h:345: error: `LOG_WARNING' undeclared (first use in this function) ip_addr.h:345: error: `LOG_NOTICE' undeclared (first use in this function) ip_addr.h:345: error: `LOG_INFO' undeclared (first use in this function) ip_addr.h:345: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h: At top level: ip_addr.h:360: warning: `struct hostent' declared inside parameter list ip_addr.h:360: warning: its scope is only this definition or declaration, which is probably not what you want ip_addr.h: In function `hostent2su': ip_addr.h:363: error: dereferencing pointer to incomplete type ip_addr.h:364: error: dereferencing pointer to incomplete type ip_addr.h:366: error: `AF_INET6' undeclared (first use in this function) ip_addr.h:367: error: dereferencing pointer to incomplete type ip_addr.h:367: error: dereferencing pointer to incomplete type ip_addr.h:374: error: `AF_INET' undeclared (first use in this function) ip_addr.h:375: error: dereferencing pointer to incomplete type ip_addr.h:375: error: dereferencing pointer to incomplete type ip_addr.h:382: error: dereferencing pointer to incomplete type ip_addr.h:382: error: `LOG_CRIT' undeclared (first use in this function) ip_addr.h:382: error: dereferencing pointer to incomplete type ip_addr.h:382: error: `LOG_ALERT' undeclared (first use in this function) ip_addr.h:382: error: dereferencing pointer to incomplete type ip_addr.h:382: error: `LOG_ERR' undeclared (first use in this function) ip_addr.h:382: error: dereferencing pointer to incomplete type ip_addr.h:382: error: `LOG_WARNING' undeclared (first use in this function) ip_addr.h:382: error: dereferencing pointer to incomplete type ip_addr.h:382: error: `LOG_NOTICE' undeclared (first use in this function) ip_addr.h:382: error: dereferencing pointer to incomplete type ip_addr.h:382: error: `LOG_INFO' undeclared (first use in this function) ip_addr.h:382: error: dereferencing pointer to incomplete type ip_addr.h:382: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h:382: error: dereferencing pointer to incomplete type ip_addr.h: In function `ip_addr2a': ip_addr.h:411: error: `AF_INET6' undeclared (first use in this function) ip_addr.h:469: error: `AF_INET' undeclared (first use in this function) ip_addr.h:511: error: `LOG_CRIT' undeclared (first use in this function) ip_addr.h:511: error: `LOG_ALERT' undeclared (first use in this function) ip_addr.h:511: error: `LOG_ERR' undeclared (first use in this function) ip_addr.h:511: error: `LOG_WARNING' undeclared (first use in this function) ip_addr.h:511: error: `LOG_NOTICE' undeclared (first use in this function) ip_addr.h:511: error: `LOG_INFO' undeclared (first use in this function) ip_addr.h:511: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h: In function `ip_addr2he': ip_addr.h:525: error: storage size of `he' isn't known ip_addr.h:534: warning: implicit declaration of function `strncpy' ip_addr.h:525: warning: unused variable `he' In file included from action.h:27, from action.c:41: parser/msg_parser.h: In function `char_msg_val': parser/msg_parser.h:295: error: `LOG_CRIT' undeclared (first use in this function) parser/msg_parser.h:295: error: `LOG_ALERT' undeclared (first use in this function) parser/msg_parser.h:295: error: `LOG_ERR' undeclared (first use in this function) parser/msg_parser.h:295: error: `LOG_WARNING' undeclared (first use in this function) parser/msg_parser.h:295: error: `LOG_NOTICE' undeclared (first use in this function) parser/msg_parser.h:295: error: `LOG_INFO' undeclared (first use in this function) parser/msg_parser.h:295: error: `LOG_DEBUG' undeclared (first use in this function) parser/msg_parser.h: In function `get_body': parser/msg_parser.h:333: warning: implicit declaration of function `strncmp' In file included from action.c:45: proxy.h:31:19: netdb.h: No such file or directory In file included from action.c:45: proxy.h: At top level: proxy.h:38: error: field `host' has incomplete type In file included from forward.h:39, from action.c:46: route.h:27:23: sys/types.h: No such file or directory route.h:28:19: regex.h: No such file or directory route.h:29:19: netdb.h: No such file or directory In file included from forward.h:43, from action.c:46: udp_server.h:27:23: sys/types.h: No such file or directory udp_server.h:28:24: sys/socket.h: No such file or directory In file included from action.c:46: forward.h: In function `msg_send': forward.h:86: error: `LOG_CRIT' undeclared (first use in this function) forward.h:86: error: `LOG_ALERT' undeclared (first use in this function) forward.h:86: error: `LOG_ERR' undeclared (first use in this function) forward.h:86: error: `LOG_WARNING' undeclared (first use in this function) forward.h:86: error: `LOG_NOTICE' undeclared (first use in this function) forward.h:86: error: `LOG_INFO' undeclared (first use in this function) forward.h:86: error: `LOG_DEBUG' undeclared (first use in this function) In file included from action.c:51: ut.h:41:23: sys/types.h: No such file or directory ut.h:42:22: sys/time.h: No such file or directory In file included from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7, from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11, from ut.h:43, from action.c:51: /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122:75: limits.h: No such file or directory In file included from action.c:51: ut.h:44:20: unistd.h: No such file or directory ut.h:45:19: ctype.h: No such file or directory In file included from action.c:51: ut.h: In function `str2s': ut.h:128: error: `LOG_CRIT' undeclared (first use in this function) ut.h:128: error: `LOG_ALERT' undeclared (first use in this function) ut.h:128: error: `LOG_ERR' undeclared (first use in this function) ut.h:128: error: `LOG_WARNING' undeclared (first use in this function) ut.h:128: error: `LOG_NOTICE' undeclared (first use in this function) ut.h:128: error: `LOG_INFO' undeclared (first use in this function) ut.h:128: error: `LOG_DEBUG' undeclared (first use in this function) ut.h: In function `int2str': ut.h:169: error: `LOG_CRIT' undeclared (first use in this function) ut.h:169: error: `LOG_ALERT' undeclared (first use in this function) ut.h:169: error: `LOG_ERR' undeclared (first use in this function) ut.h:169: error: `LOG_WARNING' undeclared (first use in this function) ut.h:169: error: `LOG_NOTICE' undeclared (first use in this function) ut.h:169: error: `LOG_INFO' undeclared (first use in this function) ut.h:169: error: `LOG_DEBUG' undeclared (first use in this function) ut.h: In function `sint2str': ut.h:198: error: `LOG_CRIT' undeclared (first use in this function) ut.h:198: error: `LOG_ALERT' undeclared (first use in this function) ut.h:198: error: `LOG_ERR' undeclared (first use in this function) ut.h:198: error: `LOG_WARNING' undeclared (first use in this function) ut.h:198: error: `LOG_NOTICE' undeclared (first use in this function) ut.h:198: error: `LOG_INFO' undeclared (first use in this function) ut.h:198: error: `LOG_DEBUG' undeclared (first use in this function) ut.h: In function `sleep_us': ut.h:311: error: storage size of `tval' isn't known ut.h:314: warning: implicit declaration of function `select' ut.h:314: error: `NULL' undeclared (first use in this function) ut.h:311: warning: unused variable `tval' ut.h: In function `pathmax': ut.h:327: warning: implicit declaration of function `pathconf' ut.h:327: error: `_PC_PATH_MAX' undeclared (first use in this function) ut.h: In function `hex2int': ut.h:342: error: `LOG_CRIT' undeclared (first use in this function) ut.h:342: error: `LOG_ALERT' undeclared (first use in this function) ut.h:342: error: `LOG_ERR' undeclared (first use in this function) ut.h:342: error: `LOG_WARNING' undeclared (first use in this function) ut.h:342: error: `LOG_NOTICE' undeclared (first use in this function) ut.h:342: error: `LOG_INFO' undeclared (first use in this function) ut.h:342: error: `LOG_DEBUG' undeclared (first use in this function) ut.h: In function `un_escape': ut.h:365: error: `LOG_CRIT' undeclared (first use in this function) ut.h:365: error: `LOG_ALERT' undeclared (first use in this function) ut.h:365: error: `LOG_ERR' undeclared (first use in this function) ut.h:365: error: `LOG_WARNING' undeclared (first use in this function) ut.h:365: error: `LOG_NOTICE' undeclared (first use in this function) ut.h:365: error: `LOG_INFO' undeclared (first use in this function) ut.h:365: error: `LOG_DEBUG' undeclared (first use in this function) ut.h: In function `strlower': ut.h:424: warning: implicit declaration of function `tolower' In file included from dset.h:27, from action.c:55: qvalue.h:32:20: string.h: No such file or directory In file included from dset.h:27, from action.c:55: qvalue.h: At top level: qvalue.h:82: error: syntax error before "len_q" qvalue.h:83: warning: return type defaults to `int' action.c:62:23: sys/types.h: No such file or directory action.c:63:24: sys/socket.h: No such file or directory action.c:64:19: netdb.h: No such file or directory action.c:65:20: stdlib.h: No such file or directory action.c:66:24: netinet/in.h: No such file or directory action.c:67:23: arpa/inet.h: No such file or directory action.c:68:20: string.h: No such file or directory action.c: In function `do_action': action.c:149: error: `LOG_CRIT' undeclared (first use in this function) action.c:149: error: `LOG_ALERT' undeclared (first use in this function) action.c:149: error: `LOG_ERR' undeclared (first use in this function) action.c:149: error: `LOG_WARNING' undeclared (first use in this function) action.c:149: error: `LOG_NOTICE' undeclared (first use in this function) action.c:149: error: `LOG_INFO' undeclared (first use in this function) action.c:149: error: `LOG_DEBUG' undeclared (first use in this function) action.c:263: warning: implicit declaration of function `strlen' action.c:353: warning: implicit declaration of function `system' action.c:629: error: `NULL' undeclared (first use in this function) action.c: In function `run_actions': action.c:807: error: `LOG_CRIT' undeclared (first use in this function) action.c:807: error: `LOG_ALERT' undeclared (first use in this function) action.c:807: error: `LOG_ERR' undeclared (first use in this function) action.c:807: error: `LOG_WARNING' undeclared (first use in this function) action.c:807: error: `LOG_NOTICE' undeclared (first use in this function) action.c:807: error: `LOG_INFO' undeclared (first use in this function) action.c:807: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h: In function `ip_addr2he': ip_addr.h:525: error: storage size of `he' isn't known make: *** [action.o] Error 1
I really don't understand where is the problem, any thought about? Thanks Davide
-----Messaggio originale----- Da: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Inviato: mercoledì 19 aprile 2006 14.47 A: D'Addelfio Davide Cc: users openser.org Oggetto: Re: R: R: [Users] Storing all messages into DB
D'Addelfio Davide wrote:
Do you know if there is a debian package of the version 1.1.x? I'm searching for it but still got none.
No. As public CVS in sourceforge is still down, you might use the snapshots (which are not up2date) :-(
http://www.openser.org/downloads/snapshots/openser-devel/
regards klaus
Thanks Davide
-----Messaggio originale----- Da: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Inviato: mercoledì 19 aprile 2006 14.27 A: D'Addelfio Davide Cc: users openser.org Oggetto: Re: R: [Users] Storing all messages into DB
D'Addelfio Davide wrote:
Hi Klaus,
I have not siptrace module in my openser cause I have 1.0.x version, so I can't use that module...! I'm trying to use t_on_reply but it doesn't work fine.
With openser 1.0 there is no solution to your problem. But you can use ngrep or tcpdump to capture SIP messages outside of ser.
regards klaus
ps: please Cc the list
Any thought?
-----Messaggio originale----- Da: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Inviato: mercoledì 19 aprile 2006 13.19 A: D'Addelfio Davide Cc: users@openser.org Oggetto: Re: [Users] Storing all messages into DB
The accounting module accounts "transactions". If you want to keep all sip messages, take a look at the siptrace module in openser CVS head.
regards klaus
D'Addelfio Davide wrote:
Hi all,
i've setup cfg file to store messages into acc table of mysql db. My problem is that it stores only the input messages, like register and invite, instead I need to store also the reply messages from openser, how can I do?
Thanks for help me...
Davide
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hello,
it seems that you do not have development C standard library (e.g, libc6-dev) installed on your system.
Cheers, Daniel
On 04/19/06 15:58, D'Addelfio Davide wrote:
When I try to install the openser-development version on my debian machine, I have this errors, run make and:
flags.c:34:20: stdlib.h: No such file or directory Compiling action.c gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -mcpu=athlon -DNAME='"openser"' -DVERSION='"1.1.0-dev16 -notls"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3.5"' -D__CPU_i386 -D__OS_linux -D__SMP_no -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC -DSTATISTICS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SIGIO_RT -DHAVE_SELECT -c action.c -o action.o In file included from parser/msg_parser.h:46, from action.h:27, from action.c:41: ip_addr.h:32:20: string.h: No such file or directory ip_addr.h:33:23: sys/types.h: No such file or directory ip_addr.h:34:24: sys/socket.h: No such file or directory ip_addr.h:35:24: netinet/in.h: No such file or directory ip_addr.h:36:19: netdb.h: No such file or directory In file included from ip_addr.h:40, from parser/msg_parser.h:46, from action.h:27, from action.c:41: dprint.h:28:20: syslog.h: No such file or directory In file included from parser/msg_parser.h:46, from action.h:27, from action.c:41: ip_addr.h:66: error: field `s' has incomplete type ip_addr.h:67: error: field `sin' has incomplete type ip_addr.h:69: error: field `sin6' has incomplete type ip_addr.h: In function `sockaddr2ip_addr': ip_addr.h:203: error: dereferencing pointer to incomplete type ip_addr.h:204: error: `AF_INET' undeclared (first use in this function) ip_addr.h:204: error: (Each undeclared identifier is reported only once ip_addr.h:204: error: for each function it appears in.) ip_addr.h:207: warning: implicit declaration of function `memcpy' ip_addr.h:207: error: dereferencing pointer to incomplete type ip_addr.h:210: error: `AF_INET6' undeclared (first use in this function) ip_addr.h:213: error: dereferencing pointer to incomplete type ip_addr.h:217: error: dereferencing pointer to incomplete type ip_addr.h:217: warning: implicit declaration of function `syslog' ip_addr.h:217: error: `LOG_CRIT' undeclared (first use in this function) ip_addr.h:217: error: dereferencing pointer to incomplete type ip_addr.h:217: error: `LOG_ALERT' undeclared (first use in this function) ip_addr.h:217: error: dereferencing pointer to incomplete type ip_addr.h:217: error: `LOG_ERR' undeclared (first use in this function) ip_addr.h:217: error: dereferencing pointer to incomplete type ip_addr.h:217: error: `LOG_WARNING' undeclared (first use in this function) ip_addr.h:217: error: dereferencing pointer to incomplete type ip_addr.h:217: error: `LOG_NOTICE' undeclared (first use in this function) ip_addr.h:217: error: dereferencing pointer to incomplete type ip_addr.h:217: error: `LOG_INFO' undeclared (first use in this function) ip_addr.h:217: error: dereferencing pointer to incomplete type ip_addr.h:217: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h:217: error: dereferencing pointer to incomplete type ip_addr.h: In function `su_cmp': ip_addr.h:236: error: `AF_INET' undeclared (first use in this function) ip_addr.h:238: warning: implicit declaration of function `memcmp' ip_addr.h:240: error: `AF_INET6' undeclared (first use in this function) ip_addr.h:245: error: `LOG_CRIT' undeclared (first use in this function) ip_addr.h:245: error: `LOG_ALERT' undeclared (first use in this function) ip_addr.h:245: error: `LOG_ERR' undeclared (first use in this function) ip_addr.h:245: error: `LOG_WARNING' undeclared (first use in this function) ip_addr.h:245: error: `LOG_NOTICE' undeclared (first use in this function) ip_addr.h:245: error: `LOG_INFO' undeclared (first use in this function) ip_addr.h:245: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h: In function `su_getport': ip_addr.h:257: error: `AF_INET' undeclared (first use in this function) ip_addr.h:258: warning: implicit declaration of function `ntohs' ip_addr.h:260: error: `AF_INET6' undeclared (first use in this function) ip_addr.h:264: error: `LOG_CRIT' undeclared (first use in this function) ip_addr.h:264: error: `LOG_ALERT' undeclared (first use in this function) ip_addr.h:264: error: `LOG_ERR' undeclared (first use in this function) ip_addr.h:264: error: `LOG_WARNING' undeclared (first use in this function) ip_addr.h:264: error: `LOG_NOTICE' undeclared (first use in this function) ip_addr.h:264: error: `LOG_INFO' undeclared (first use in this function) ip_addr.h:264: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h: In function `su_setport': ip_addr.h:276: error: `AF_INET' undeclared (first use in this function) ip_addr.h:277: warning: implicit declaration of function `htons' ip_addr.h:280: error: `AF_INET6' undeclared (first use in this function) ip_addr.h:285: error: `LOG_CRIT' undeclared (first use in this function) ip_addr.h:285: error: `LOG_ALERT' undeclared (first use in this function) ip_addr.h:285: error: `LOG_ERR' undeclared (first use in this function) ip_addr.h:285: error: `LOG_WARNING' undeclared (first use in this function) ip_addr.h:285: error: `LOG_NOTICE' undeclared (first use in this function) ip_addr.h:285: error: `LOG_INFO' undeclared (first use in this function) ip_addr.h:285: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h: In function `su2ip_addr': ip_addr.h:296: error: `AF_INET' undeclared (first use in this function) ip_addr.h:302: error: `AF_INET6' undeclared (first use in this function) ip_addr.h:309: error: `LOG_CRIT' undeclared (first use in this function) ip_addr.h:309: error: `LOG_ALERT' undeclared (first use in this function) ip_addr.h:309: error: `LOG_ERR' undeclared (first use in this function) ip_addr.h:309: error: `LOG_WARNING' undeclared (first use in this function) ip_addr.h:309: error: `LOG_NOTICE' undeclared (first use in this function) ip_addr.h:309: error: `LOG_INFO' undeclared (first use in this function) ip_addr.h:309: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h: In function `init_su': ip_addr.h:325: warning: implicit declaration of function `memset' ip_addr.h:329: error: `AF_INET6' undeclared (first use in this function) ip_addr.h:337: error: `AF_INET' undeclared (first use in this function) ip_addr.h:345: error: `LOG_CRIT' undeclared (first use in this function) ip_addr.h:345: error: `LOG_ALERT' undeclared (first use in this function) ip_addr.h:345: error: `LOG_ERR' undeclared (first use in this function)
ip_addr.h:345: error: `LOG_WARNING' undeclared (first use in this function) ip_addr.h:345: error: `LOG_NOTICE' undeclared (first use in this function) ip_addr.h:345: error: `LOG_INFO' undeclared (first use in this function) ip_addr.h:345: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h: At top level: ip_addr.h:360: warning: `struct hostent' declared inside parameter list ip_addr.h:360: warning: its scope is only this definition or declaration, which is probably not what you want ip_addr.h: In function `hostent2su': ip_addr.h:363: error: dereferencing pointer to incomplete type ip_addr.h:364: error: dereferencing pointer to incomplete type ip_addr.h:366: error: `AF_INET6' undeclared (first use in this function) ip_addr.h:367: error: dereferencing pointer to incomplete type ip_addr.h:367: error: dereferencing pointer to incomplete type ip_addr.h:374: error: `AF_INET' undeclared (first use in this function) ip_addr.h:375: error: dereferencing pointer to incomplete type ip_addr.h:375: error: dereferencing pointer to incomplete type ip_addr.h:382: error: dereferencing pointer to incomplete type ip_addr.h:382: error: `LOG_CRIT' undeclared (first use in this function) ip_addr.h:382: error: dereferencing pointer to incomplete type ip_addr.h:382: error: `LOG_ALERT' undeclared (first use in this function) ip_addr.h:382: error: dereferencing pointer to incomplete type ip_addr.h:382: error: `LOG_ERR' undeclared (first use in this function) ip_addr.h:382: error: dereferencing pointer to incomplete type ip_addr.h:382: error: `LOG_WARNING' undeclared (first use in this function) ip_addr.h:382: error: dereferencing pointer to incomplete type ip_addr.h:382: error: `LOG_NOTICE' undeclared (first use in this function) ip_addr.h:382: error: dereferencing pointer to incomplete type ip_addr.h:382: error: `LOG_INFO' undeclared (first use in this function) ip_addr.h:382: error: dereferencing pointer to incomplete type ip_addr.h:382: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h:382: error: dereferencing pointer to incomplete type ip_addr.h: In function `ip_addr2a': ip_addr.h:411: error: `AF_INET6' undeclared (first use in this function) ip_addr.h:469: error: `AF_INET' undeclared (first use in this function) ip_addr.h:511: error: `LOG_CRIT' undeclared (first use in this function) ip_addr.h:511: error: `LOG_ALERT' undeclared (first use in this function) ip_addr.h:511: error: `LOG_ERR' undeclared (first use in this function) ip_addr.h:511: error: `LOG_WARNING' undeclared (first use in this function) ip_addr.h:511: error: `LOG_NOTICE' undeclared (first use in this function) ip_addr.h:511: error: `LOG_INFO' undeclared (first use in this function) ip_addr.h:511: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h: In function `ip_addr2he': ip_addr.h:525: error: storage size of `he' isn't known ip_addr.h:534: warning: implicit declaration of function `strncpy' ip_addr.h:525: warning: unused variable `he' In file included from action.h:27, from action.c:41: parser/msg_parser.h: In function `char_msg_val': parser/msg_parser.h:295: error: `LOG_CRIT' undeclared (first use in this function) parser/msg_parser.h:295: error: `LOG_ALERT' undeclared (first use in this function) parser/msg_parser.h:295: error: `LOG_ERR' undeclared (first use in this function) parser/msg_parser.h:295: error: `LOG_WARNING' undeclared (first use in this function) parser/msg_parser.h:295: error: `LOG_NOTICE' undeclared (first use in this function) parser/msg_parser.h:295: error: `LOG_INFO' undeclared (first use in this function) parser/msg_parser.h:295: error: `LOG_DEBUG' undeclared (first use in this function) parser/msg_parser.h: In function `get_body': parser/msg_parser.h:333: warning: implicit declaration of function `strncmp' In file included from action.c:45: proxy.h:31:19: netdb.h: No such file or directory In file included from action.c:45: proxy.h: At top level: proxy.h:38: error: field `host' has incomplete type In file included from forward.h:39, from action.c:46: route.h:27:23: sys/types.h: No such file or directory route.h:28:19: regex.h: No such file or directory route.h:29:19: netdb.h: No such file or directory In file included from forward.h:43, from action.c:46: udp_server.h:27:23: sys/types.h: No such file or directory udp_server.h:28:24: sys/socket.h: No such file or directory In file included from action.c:46: forward.h: In function `msg_send': forward.h:86: error: `LOG_CRIT' undeclared (first use in this function) forward.h:86: error: `LOG_ALERT' undeclared (first use in this function) forward.h:86: error: `LOG_ERR' undeclared (first use in this function) forward.h:86: error: `LOG_WARNING' undeclared (first use in this function) forward.h:86: error: `LOG_NOTICE' undeclared (first use in this function) forward.h:86: error: `LOG_INFO' undeclared (first use in this function) forward.h:86: error: `LOG_DEBUG' undeclared (first use in this function) In file included from action.c:51: ut.h:41:23: sys/types.h: No such file or directory ut.h:42:22: sys/time.h: No such file or directory In file included from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7, from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11, from ut.h:43, from action.c:51: /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122:75: limits.h: No such file or directory In file included from action.c:51: ut.h:44:20: unistd.h: No such file or directory ut.h:45:19: ctype.h: No such file or directory In file included from action.c:51: ut.h: In function `str2s': ut.h:128: error: `LOG_CRIT' undeclared (first use in this function) ut.h:128: error: `LOG_ALERT' undeclared (first use in this function) ut.h:128: error: `LOG_ERR' undeclared (first use in this function) ut.h:128: error: `LOG_WARNING' undeclared (first use in this function) ut.h:128: error: `LOG_NOTICE' undeclared (first use in this function) ut.h:128: error: `LOG_INFO' undeclared (first use in this function) ut.h:128: error: `LOG_DEBUG' undeclared (first use in this function) ut.h: In function `int2str': ut.h:169: error: `LOG_CRIT' undeclared (first use in this function) ut.h:169: error: `LOG_ALERT' undeclared (first use in this function) ut.h:169: error: `LOG_ERR' undeclared (first use in this function) ut.h:169: error: `LOG_WARNING' undeclared (first use in this function) ut.h:169: error: `LOG_NOTICE' undeclared (first use in this function) ut.h:169: error: `LOG_INFO' undeclared (first use in this function) ut.h:169: error: `LOG_DEBUG' undeclared (first use in this function) ut.h: In function `sint2str': ut.h:198: error: `LOG_CRIT' undeclared (first use in this function) ut.h:198: error: `LOG_ALERT' undeclared (first use in this function) ut.h:198: error: `LOG_ERR' undeclared (first use in this function) ut.h:198: error: `LOG_WARNING' undeclared (first use in this function) ut.h:198: error: `LOG_NOTICE' undeclared (first use in this function) ut.h:198: error: `LOG_INFO' undeclared (first use in this function) ut.h:198: error: `LOG_DEBUG' undeclared (first use in this function) ut.h: In function `sleep_us': ut.h:311: error: storage size of `tval' isn't known ut.h:314: warning: implicit declaration of function `select' ut.h:314: error: `NULL' undeclared (first use in this function) ut.h:311: warning: unused variable `tval' ut.h: In function `pathmax': ut.h:327: warning: implicit declaration of function `pathconf' ut.h:327: error: `_PC_PATH_MAX' undeclared (first use in this function) ut.h: In function `hex2int': ut.h:342: error: `LOG_CRIT' undeclared (first use in this function) ut.h:342: error: `LOG_ALERT' undeclared (first use in this function) ut.h:342: error: `LOG_ERR' undeclared (first use in this function) ut.h:342: error: `LOG_WARNING' undeclared (first use in this function) ut.h:342: error: `LOG_NOTICE' undeclared (first use in this function) ut.h:342: error: `LOG_INFO' undeclared (first use in this function) ut.h:342: error: `LOG_DEBUG' undeclared (first use in this function) ut.h: In function `un_escape': ut.h:365: error: `LOG_CRIT' undeclared (first use in this function) ut.h:365: error: `LOG_ALERT' undeclared (first use in this function) ut.h:365: error: `LOG_ERR' undeclared (first use in this function) ut.h:365: error: `LOG_WARNING' undeclared (first use in this function) ut.h:365: error: `LOG_NOTICE' undeclared (first use in this function) ut.h:365: error: `LOG_INFO' undeclared (first use in this function) ut.h:365: error: `LOG_DEBUG' undeclared (first use in this function) ut.h: In function `strlower': ut.h:424: warning: implicit declaration of function `tolower' In file included from dset.h:27, from action.c:55: qvalue.h:32:20: string.h: No such file or directory In file included from dset.h:27, from action.c:55: qvalue.h: At top level: qvalue.h:82: error: syntax error before "len_q" qvalue.h:83: warning: return type defaults to `int' action.c:62:23: sys/types.h: No such file or directory action.c:63:24: sys/socket.h: No such file or directory action.c:64:19: netdb.h: No such file or directory action.c:65:20: stdlib.h: No such file or directory action.c:66:24: netinet/in.h: No such file or directory action.c:67:23: arpa/inet.h: No such file or directory action.c:68:20: string.h: No such file or directory action.c: In function `do_action': action.c:149: error: `LOG_CRIT' undeclared (first use in this function) action.c:149: error: `LOG_ALERT' undeclared (first use in this function) action.c:149: error: `LOG_ERR' undeclared (first use in this function) action.c:149: error: `LOG_WARNING' undeclared (first use in this function) action.c:149: error: `LOG_NOTICE' undeclared (first use in this function) action.c:149: error: `LOG_INFO' undeclared (first use in this function) action.c:149: error: `LOG_DEBUG' undeclared (first use in this function) action.c:263: warning: implicit declaration of function `strlen' action.c:353: warning: implicit declaration of function `system' action.c:629: error: `NULL' undeclared (first use in this function) action.c: In function `run_actions': action.c:807: error: `LOG_CRIT' undeclared (first use in this function) action.c:807: error: `LOG_ALERT' undeclared (first use in this function) action.c:807: error: `LOG_ERR' undeclared (first use in this function) action.c:807: error: `LOG_WARNING' undeclared (first use in this function) action.c:807: error: `LOG_NOTICE' undeclared (first use in this function) action.c:807: error: `LOG_INFO' undeclared (first use in this function) action.c:807: error: `LOG_DEBUG' undeclared (first use in this function) ip_addr.h: In function `ip_addr2he': ip_addr.h:525: error: storage size of `he' isn't known make: *** [action.o] Error 1
I really don't understand where is the problem, any thought about? Thanks Davide
-----Messaggio originale----- Da: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Inviato: mercoledì 19 aprile 2006 14.47 A: D'Addelfio Davide Cc: users openser.org Oggetto: Re: R: R: [Users] Storing all messages into DB
D'Addelfio Davide wrote:
Do you know if there is a debian package of the version 1.1.x? I'm searching for it but still got none.
No. As public CVS in sourceforge is still down, you might use the snapshots (which are not up2date) :-(
http://www.openser.org/downloads/snapshots/openser-devel/
regards klaus
Thanks Davide
-----Messaggio originale----- Da: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Inviato: mercoledì 19 aprile 2006 14.27 A: D'Addelfio Davide Cc: users openser.org Oggetto: Re: R: [Users] Storing all messages into DB
D'Addelfio Davide wrote:
Hi Klaus,
I have not siptrace module in my openser cause I have 1.0.x version, so I can't use that module...! I'm trying to use t_on_reply but it doesn't work fine.
With openser 1.0 there is no solution to your problem. But you can use ngrep or tcpdump to capture SIP messages outside of ser.
regards klaus
ps: please Cc the list
Any thought?
-----Messaggio originale----- Da: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Inviato: mercoledì 19 aprile 2006 13.19 A: D'Addelfio Davide Cc: users@openser.org Oggetto: Re: [Users] Storing all messages into DB
The accounting module accounts "transactions". If you want to keep all sip messages, take a look at the siptrace module in openser CVS head.
regards klaus
D'Addelfio Davide wrote:
Hi all,
i've setup cfg file to store messages into acc table of mysql db. My problem is that it stores only the input messages, like register and invite, instead I need to store also the reply messages from openser, how can I do?
Thanks for help me...
Davide
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users