Hi to all,
I've found this problem during the compilation of mysql module. The command was
make include_modules="mysql mangler" modules
the output was:
make[1]: Entering directory `/root/ser-0.8.11/modules/mysql' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.8.11"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.2"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -I/usr/local/include -I/usr/local/include/mysql -I/usr/local/mysql/include -I/usr/pkg/include -c dbase.c -o dbase.o In file included from dbase.c:39: con_mysql.h:33:25: mysql/mysql.h: No such file or directory In file included from dbase.c:39: con_mysql.h:39: parse error before "MYSQL_RES" con_mysql.h:39: warning: no semicolon at end of struct or union con_mysql.h:40: warning: type defaults to `int' in declaration of `con' con_mysql.h:40: warning: data definition has no type or storage class con_mysql.h:41: parse error before "row" con_mysql.h:41: warning: type defaults to `int' in declaration of `row' con_mysql.h:41: warning: data definition has no type or storage class dbase.c: In function `connect_db': dbase.c:88: dereferencing pointer to incomplete type dbase.c:88: `MYSQL' undeclared (first use in this function) dbase.c:88: (Each undeclared identifier is reported only once dbase.c:88: for each function it appears in.) dbase.c:88: parse error before ')' token dbase.c:89: dereferencing pointer to incomplete type dbase.c:95: warning: implicit declaration of function `mysql_init' dbase.c:95: dereferencing pointer to incomplete type dbase.c:97: warning: implicit declaration of function `mysql_real_connect' dbase.c:97: dereferencing pointer to incomplete type dbase.c:98: warning: implicit declaration of function `mysql_error' dbase.c:98: dereferencing pointer to incomplete type dbase.c:98: dereferencing pointer to incomplete type dbase.c:98: warning: format argument is not a pointer (arg 3) dbase.c:98: dereferencing pointer to incomplete type dbase.c:98: warning: format argument is not a pointer (arg 3) dbase.c:98: dereferencing pointer to incomplete type dbase.c:98: warning: format argument is not a pointer (arg 3) dbase.c:98: dereferencing pointer to incomplete type dbase.c:98: warning: format argument is not a pointer (arg 3) dbase.c:98: dereferencing pointer to incomplete type dbase.c:98: warning: format argument is not a pointer (arg 3) dbase.c:98: dereferencing pointer to incomplete type dbase.c:98: warning: format argument is not a pointer (arg 3) dbase.c:98: dereferencing pointer to incomplete type dbase.c:98: warning: format argument is not a pointer (arg 3) dbase.c:99: warning: implicit declaration of function `mysql_close' dbase.c:99: dereferencing pointer to incomplete type dbase.c:101: dereferencing pointer to incomplete type dbase.c: In function `disconnect_db': dbase.c:126: dereferencing pointer to incomplete type dbase.c:128: dereferencing pointer to incomplete type dbase.c: In function `submit_query': dbase.c:148: warning: implicit declaration of function `mysql_query' dbase.c:148: dereferencing pointer to incomplete type dbase.c:149: dereferencing pointer to incomplete type dbase.c:149: dereferencing pointer to incomplete type dbase.c:149: warning: format argument is not a pointer (arg 3) dbase.c:149: dereferencing pointer to incomplete type dbase.c:149: warning: format argument is not a pointer (arg 3) dbase.c:149: dereferencing pointer to incomplete type dbase.c:149: warning: format argument is not a pointer (arg 3) dbase.c:149: dereferencing pointer to incomplete type dbase.c:149: warning: format argument is not a pointer (arg 3) dbase.c:149: dereferencing pointer to incomplete type dbase.c:149: warning: format argument is not a pointer (arg 3) dbase.c:149: dereferencing pointer to incomplete type dbase.c:149: warning: format argument is not a pointer (arg 3) dbase.c:149: dereferencing pointer to incomplete type dbase.c:149: warning: format argument is not a pointer (arg 3) dbase.c: In function `db_init': dbase.c:284: sizeof applied to an incomplete type dbase.c:289: sizeof applied to an incomplete type dbase.c:289: sizeof applied to an incomplete type dbase.c:289: sizeof applied to an incomplete type dbase.c:289: sizeof applied to an incomplete type dbase.c:289: sizeof applied to an incomplete type dbase.c:289: sizeof applied to an incomplete type dbase.c: In function `db_close': dbase.c:315: dereferencing pointer to incomplete type dbase.c:316: warning: implicit declaration of function `mysql_free_result' dbase.c:316: dereferencing pointer to incomplete type dbase.c: In function `get_result': dbase.c:343: dereferencing pointer to incomplete type dbase.c:343: warning: implicit declaration of function `mysql_store_result' dbase.c:343: dereferencing pointer to incomplete type dbase.c:344: dereferencing pointer to incomplete type dbase.c:345: warning: implicit declaration of function `mysql_field_count' dbase.c:345: dereferencing pointer to incomplete type dbase.c:350: dereferencing pointer to incomplete type dbase.c:350: dereferencing pointer to incomplete type dbase.c:350: warning: format argument is not a pointer (arg 3) dbase.c:350: dereferencing pointer to incomplete type dbase.c:350: warning: format argument is not a pointer (arg 3) dbase.c:350: dereferencing pointer to incomplete type dbase.c:350: warning: format argument is not a pointer (arg 3) dbase.c:350: dereferencing pointer to incomplete type dbase.c:350: warning: format argument is not a pointer (arg 3) dbase.c:350: dereferencing pointer to incomplete type dbase.c:350: warning: format argument is not a pointer (arg 3) dbase.c:350: dereferencing pointer to incomplete type dbase.c:350: warning: format argument is not a pointer (arg 3) dbase.c:350: dereferencing pointer to incomplete type dbase.c:350: warning: format argument is not a pointer (arg 3) dbase.c: In function `db_free_query': dbase.c:388: dereferencing pointer to incomplete type dbase.c:389: dereferencing pointer to incomplete type make[1]: *** [dbase.o] Error 1 make[1]: Leaving directory `/root/ser-0.8.11/modules/mysql'
Simple, download mysql-devel
Bye
At 14.32 06/10/2003 +0200, giAndrea wrote:
-------------------------------------------------------------------------------------- There is no world without Verona's walls but purgatory, torture, hell itself. Hence-banished is banished from the world, and world's exile is death
[Shakespeare: Romeo and Juliet - Act III - Scene III]
Hi, How do I register SIP phone with the SIP server? I have the SIP server's IP on the SIP phone. Do I need to do anything on the server? Please let me know. -----Original Message----- From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org]On Behalf Of giAndrea Sent: Monday, October 06, 2003 9:45 AM To: serusers@lists.iptel.org Subject: Re: [Serusers] Compiling mysql
Simple, download mysql-devel
Bye
At 14.32 06/10/2003 +0200, giAndrea wrote:
Hi to all,
I've found this problem during the compilation of mysql module. The command was
make include_modules="mysql mangler" modules
the output was: [.....] _______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-------------------------------------------------------------------------- ------------ There is no world without Verona's walls but purgatory, torture, hell itself. Hence-banished is banished from the world, and world's exile is death
[Shakespeare: Romeo and Juliet - Act III - Scene III]
Hello,
it depends on your SIP phone, if it doesn't register then you should tell it to do so.
One more thing: Please do not reply to existing threads in the mailing list with different topic. Instead of that send a new message.
Jan.
On 06-10 12:30, Sesha Bhatlapenumarthy wrote:
What table in the database "ser" should I insert the values of call number and IP address of the SIP phone? Is it location or phonebook or anyother table? Please suggest! Thank you very much.
Then, how does the SIP server know that this particular phone has this extension and this IP? Does it happen just with the SIP phone registering with the SIP server?
-----Original Message----- From: Jan Janak [mailto:jan@iptel.org] Sent: Wednesday, October 08, 2003 11:30 AM To: Sesha Bhatlapenumarthy Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SIP registraton
Hello,
I don't understand. You shouldn't insert anything except username and password. username and password should be inserted into subscriber table.
Jan.
On 08-10 11:29, Sesha Bhatlapenumarthy wrote:
Can the SIP user ID be the same as the 3 digit extension of the phone?
-----Original Message----- From: Jan Janak [mailto:jan@iptel.org] Sent: Wednesday, October 08, 2003 11:48 AM To: Sesha Bhatlapenumarthy Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SIP registraton
Yes, the phone sends a REGISTER message which tells to the server: "User joe can be reached at IP 1.2.3.4 and port 5060".
Jan.
On 08-10 11:48, Sesha Bhatlapenumarthy wrote:
number
and IP address of the SIP phone? Is it location or phonebook or anyother table? Please suggest! Thank you very much.
Whats the difference between starting ser with "/usr/local/sbin/ser start &" and "serctl start &" ? Whats the right way?
I am pasting four lines from my debug messages (when I start SER) below:
0(999) DEBUG: get_hdr_field: <To> [36]; uri=[sip:466@x.x.x.x;user=phone] 0(999) DEBUG: to body [sip:466@x.x.x.x;user=phone ] 0(999) get_hdr_field: cseq <CSeq>: <5244> <REGISTER> 0(999) DEBUG: is_maxfwd_present: value = 69
I'm confused with the "user=phone". There is no user with username "phone". Please suggest. Thank you.