hi,
i've managed to get the individual components of mysql to compile, but i
still get this error
make[1]: Entering directory `/root/ser-0.9.0/modules/mysql'
gcc -shared -Wl,-O2 -Wl,-E -pg db_con.o db_mod.o dbase.o my_con.o my_id.o
my_pool.o res.o row.o utils.o val.o -L/usr/lib/mysql -L/usr/local/lib
-L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql/ -L/usr/pkg/lib/mysql
-L/usr/local/mysql/lib -L/usr/lib64/mysql -lmysqlclient -lz -o mysql.so
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld:
/usr/lib64/mysql/libmysqlclient.a(libmysql.o): relocation R_X86_64_32
against `a local symbol' can not be used when making a shared object;
recompile with -fPIC
/usr/lib64/mysql/libmysqlclient.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [mysql.so] Error 1
make[1]: Leaving directory `/root/ser-0.9.0/modules/mysql'
I havent used makefiles that much before, and could really use some help.
Many thanks
Damian.
Hi everybody,
how can i (userfrendly) migrate from ser 0.8.14 to 0.9.0
i think the database strukture is different between these versions.
can i dump, or whatever, the users table with serctl und import it
into another ser?
many thanks,
Grigory Fishilevic
Hello,
I think it would make sense to log the Contact header field of a 3xx
Response in Ser accounting in order to be able to bill a Call-Forwarding
user.
What do you think?
With best regards,
Martin Koenig
I am installing a SIP proxy in a Linux machine in the local network of my
office. I have implemented a SIP proxy with SER 0.8.10. The function of the
SIP proxy is to let users talk each other without knowing the IP where each
one is reachable. My problem appears when the caller wants to cancel the
call because the callee does not answer. Since I want the calle's phone to
stop ringing, and I haven't received a final response, the caller's phone
has to send a CANCEL request. When the proxy server receives the CANCEL, it
replies with a 487 "Request cancelled". SER does this before forwarding the
CANCEL to the callee's phone. These 487 response generated by SER makes the
INVITE client transaction of the caller finish. When the INVITE server
transaction finishes in the callee's phone, it sends another 487 response,
which is forwarded by SER, but the caller's transaction is already
finished, so it doesn't send the corresponding ACK.
I would like to know how to solve this problem, since SER should wait for
the callee's phone to send the 487 and then forward this response to the
caller's phone.
Best regards,
Esteban.
Hi!
I'm starting to monologise but I want to share with you what I found out.
I managed to connect MS Messenger over TLS to ser. Works very well.
But the question remains: Is there a tool (like sipsak) to generate SIP
queries over TLS? Just in case when there's no messenger available.
Alex Mack
Alex Mack schrieb:
> Hi!
>
> Or, to put it another way: How can I test SIP functionality "by foot"
> (e.g. by "telnet proxy.mydomain.org 5060")? Or can sipsak be used to
> work with openssl for an TLS-connection, e.g. piped to an openssl prompt?
>
> Alex Mack
>
> Alex Mack schrieb:
>
>> Hi!
>>
>> I've managed to implement and compile Peter Griffiths' free TLS
>> implementation. It worked well, a test-connection with "openssl
>> s_client" did also work.
>>
>> Now, how do I tell my UAs (snom 190, sipura SPA-1001) to use SIP over
>> TLS? Both vendors of these UAs claim their UA is capable of SIPS, so
>> how do I enable it?
>>
>> Alex Mack
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers(a)lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
>
>
>
Hi, i've downloaded ser 9.0 src, and ran
make prefix=/usr/local all
make prefix=/usr/local install,
and it seemed to work fine until i realised that it hadn't compiled mysql
module.
when i ran
make prefix=/usr/local exclude_modules="" modules
and it gave errors in a few modules including this in the mysql section
make[1]: Entering directory `/root/ser-0.9.0/modules/mysql'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -falign-loops -DNAME='"ser"' -DVERSION='"0.9.0"'
-DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_x86_64
-D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM
-DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
-DDBG_QM_MALLOC -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
-I/usr/local/include -I/usr/local/include/mysql -I/usr/local/mysql/include
-I/usr/pkg/include -I/usr/include/mysql -c dbase.c -o dbase.o
dbase.c:34:25: mysql/mysql.h: No such file or directory
dbase.c:35:26: mysql/errmsg.h: No such file or directory
In file included from dbase.c:39:
val.h:31:25: mysql/mysql.h: No such file or directory
In file included from dbase.c:39:
val.h:44: error: parse error before '*' token
In file included from dbase.c:40:
my_con.h:33:25: mysql/mysql.h: No such file or directory
In file included from dbase.c:40:
my_con.h:39: error: parse error before "MYSQL_RES"
my_con.h:39: warning: no semicolon at end of struct or union
my_con.h:40: warning: type defaults to `int' in declaration of `con'
my_con.h:40: warning: data definition has no type or storage class
my_con.h:41: error: parse error before "row"
my_con.h:41: warning: type defaults to `int' in declaration of `row'
my_con.h:41: warning: data definition has no type or storage class
my_con.h:44: error: parse error before '}' token
dbase.c: In function `submit_query':
dbase.c:67: error: dereferencing pointer to incomplete type
dbase.c:68: warning: implicit declaration of function `mysql_ping'
dbase.c:68: error: dereferencing pointer to incomplete type
dbase.c:72: error: dereferencing pointer to incomplete type
dbase.c:90: warning: implicit declaration of function `mysql_query'
dbase.c:90: error: dereferencing pointer to incomplete type
dbase.c:93: warning: implicit declaration of function `mysql_errno'
dbase.c:93: error: dereferencing pointer to incomplete type
dbase.c:94: error: `CR_SERVER_GONE_ERROR' undeclared (first use in this
function)
dbase.c:94: error: (Each undeclared identifier is reported only once
dbase.c:94: error: for each function it appears in.)
dbase.c:94: error: `CR_SERVER_LOST' undeclared (first use in this function)
dbase.c:98: warning: implicit declaration of function `mysql_error'
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:98: warning: format argument is not a pointer (arg 3)
dbase.c: At top level:
dbase.c:138: error: parse error before '*' token
dbase.c: In function `print_values':
dbase.c:142: error: `_c' undeclared (first use in this function)
dbase.c:142: error: `_b' undeclared (first use in this function)
dbase.c:142: error: `_l' undeclared (first use in this function)
dbase.c:142: error: `_v' undeclared (first use in this function)
dbase.c:142: error: `_n' undeclared (first use in this function)
dbase.c: At top level:
dbase.c:166: error: parse error before '*' token
dbase.c: In function `print_where':
dbase.c:172: error: `_c' undeclared (first use in this function)
dbase.c:172: error: `_b' undeclared (first use in this function)
dbase.c:172: error: `_l' undeclared (first use in this function)
dbase.c:172: error: `_k' undeclared (first use in this function)
dbase.c:172: error: `_v' undeclared (first use in this function)
dbase.c:172: error: `_n' undeclared (first use in this function)
dbase.c:178: error: `_o' undeclared (first use in this function)
dbase.c: At top level:
dbase.c:207: error: parse error before '*' token
dbase.c: In function `print_set':
dbase.c:213: error: `_c' undeclared (first use in this function)
dbase.c:213: error: `_b' undeclared (first use in this function)
dbase.c:213: error: `_l' undeclared (first use in this function)
dbase.c:213: error: `_k' undeclared (first use in this function)
dbase.c:213: error: `_v' undeclared (first use in this function)
dbase.c:213: error: `_n' undeclared (first use in this function)
dbase.c: In function `store_result':
dbase.c:304: error: dereferencing pointer to incomplete type
dbase.c:304: warning: implicit declaration of function `mysql_store_result'
dbase.c:304: error: dereferencing pointer to incomplete type
dbase.c:305: error: dereferencing pointer to incomplete type
dbase.c:306: warning: implicit declaration of function `mysql_field_count'
dbase.c:306: error: dereferencing pointer to incomplete type
dbase.c:311: error: dereferencing pointer to incomplete type
dbase.c:311: error: dereferencing pointer to incomplete type
dbase.c:311: warning: format argument is not a pointer (arg 3)
dbase.c:311: error: dereferencing pointer to incomplete type
dbase.c:311: warning: format argument is not a pointer (arg 3)
dbase.c:311: error: dereferencing pointer to incomplete type
dbase.c:311: warning: format argument is not a pointer (arg 3)
dbase.c:311: error: dereferencing pointer to incomplete type
dbase.c:311: warning: format argument is not a pointer (arg 3)
dbase.c:311: error: dereferencing pointer to incomplete type
dbase.c:311: warning: format argument is not a pointer (arg 3)
dbase.c:311: error: dereferencing pointer to incomplete type
dbase.c:311: warning: format argument is not a pointer (arg 3)
dbase.c:311: error: dereferencing pointer to incomplete type
dbase.c:311: warning: format argument is not a pointer (arg 3)
dbase.c: In function `db_free_result':
dbase.c:348: warning: implicit declaration of function `mysql_free_result'
dbase.c:348: error: dereferencing pointer to incomplete type
dbase.c:349: error: dereferencing pointer to incomplete type
dbase.c: In function `db_query':
dbase.c:398: error: dereferencing pointer to incomplete type
dbase.c: In function `db_insert':
dbase.c:471: error: dereferencing pointer to incomplete type
dbase.c: In function `db_delete':
dbase.c:516: error: dereferencing pointer to incomplete type
dbase.c: In function `db_update':
dbase.c:559: error: dereferencing pointer to incomplete type
dbase.c:568: error: dereferencing pointer to incomplete type
make[1]: *** [dbase.o] Error 1
make[1]: Leaving directory `/root/ser-0.9.0/modules/mysql'
Am i trying to compile it correctly, and if so how do i get the mysql module
sorted?
Many thanks,
Damian.
Had anyone luck with presence and eyebeam?
What I do in my ser.cfg is routing SUBSCRIBEs and NOTIFYs just like INVITEs
without nathelper functions (actually NOTIFYs hit loose route) and that works
great with kphone. Still eyebeam refuses to tell me who's online (I changed
to peer-to-peer mode). Does anyone know something about?
What about pa module and patches from x-ten for eyebeam, will they be merged
into cvs (with some docs)?
thanks
ciao
--
Giovanni Balasso
giaso(a)yahoo.it
Well, I finally got SEMS to compile.
The problem was with gcc version 2.95.4 on debian stable.
When I tried gcc 3.0 instead, everything worked ok. Of course just
installing it didn't help, I also had to change the symlinks
/usr/bin/g++ and /usr/bin/gcc to get it to work.
Is this compile problem specific to debian? If not wouldn't it be a good
idea to put a little information about required gcc version on the
webpage or in the README?
Regards
Torbjørn Lium
I installed 0.9.0 and 'ser' started well if I used default ser.cfg. It shows
following when I enabled 'loadmodule "/usr/local/lib/ser/modules/mysql.so"'.
Would please suggest?
[root@sip ~]# ser -P /var/run/ser.pid
ERROR: bad config file (1 errors)