Hi all
I've installed ser as it is written in the Getting started manuall with ser source 0.9.7-pre1. I've also installed the mysql5.0 binary distribution.
unfortunatelly i've encountered a strange problem. At think that this may be caused by the fact that i used o binary distribution od mysql instead of source.
Any way i'm just starting my adventure with ser:) so i ask u ser guru's to help me;)
When i tried to compile the source again including mysql package the mysql.co file did not appeared?
and the log contained only such lines regarding mysql:
make[1]: Wej��cie do katalogu `/home/tezet/apps/ser/ser-0.9.7-pre1/modules/mysql'
make[1]: Opuszczenie katalogu `/home/tezet/apps/ser/ser-0.9.7-pre1/modules/mysql'
make[1]: Wej��cie do katalogu `/home/tezet/apps/ser/ser-0.9.7-pre1/modules/mysql'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -ftree-vectorize -mtune=athlon64 -DNAME='"ser"' -DVERSION='"0.9.7-pre1"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_i386 -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 -DF_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/include/mysql -c dbase.c -o dbase.o
make[1]: Opuszczenie katalogu `/home/tezet/apps/ser/ser-0.9.7-pre1/modules/mysql'
When i tried to compile the package manually using Makefile in the "source"/modules/myqsl directory i got plenty of errors:):
dbase.c:34:25: error: mysql/mysql.h: Nie ma takiego pliku ani katalogu
dbase.c:35:26: error: mysql/errmsg.h: Nie ma takiego pliku ani katalogu
In file included from dbase.c:39:
val.h:44: error: expected ���)��� before ���*��� token
In file included from dbase.c:40:
my_con.h:39: error: expected specifier-qualifier-list before ���MYSQL_RES���
dbase.c: In function ���submit_query���:
dbase.c:67: error: ���struct my_con��� has no member named ���timestamp���
dbase.c:68: warning: implicit declaration of function ���mysql_ping���
dbase.c:68: error: ���struct my_con��� has no member named ���con���
dbase.c:72: error: ���struct my_con��� has no member named ���timestamp���
dbase.c:90: warning: implicit declaration of function ���mysql_query���
dbase.c:90: error: ���struct my_con��� has no member named ���con���
dbase.c:93: warning: implicit declaration of function ���mysql_errno���
dbase.c:93: error: ���struct my_con��� has no member named ���con���
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: ���struct my_con��� has no member named ���con���
dbase.c:98: error: ���struct my_con��� has no member named ���con���
dbase.c:98: warning: format ���%s��� expects type ���char *���, but argument 3 has type ���int���
dbase.c:98: error: ���struct my_con��� has no member named ���con���
dbase.c:98: warning: format ���%s��� expects type ���char *���, but argument 3 has type ���int���
dbase.c:98: error: ���struct my_con��� has no member named ���con���
dbase.c:98: warning: format ���%s��� expects type ���char *���, but argument 3 has type ���int���
dbase.c:98: error: ���struct my_con��� has no member named ���con���
dbase.c:98: warning: format ���%s��� expects type ���char *���, but argument 3 has type ���int���
dbase.c:98: error: ���struct my_con��� has no member named ���con���
dbase.c:98: warning: format ���%s��� expects type ���char *���, but argument 3 has type ���int���
dbase.c:98: error: ���struct my_con��� has no member named ���con���
dbase.c:98: warning: format ���%s��� expects type ���char *���, but argument 3 has type ���int���
dbase.c:98: error: ���struct my_con��� has no member named ���con���
dbase.c:98: warning: format ���%s��� expects type ���char *���, but argument 3 has type ���int���
dbase.c: At top level:
dbase.c:138: error: expected ���)��� before ���*��� token
dbase.c:166: error: expected ���)��� before ���*��� token
dbase.c:207: error: expected ���)��� before ���*��� token
dbase.c: In function ���store_result���:
dbase.c:304: error: ���struct my_con��� has no member named ���res���
dbase.c:304: warning: implicit declaration of function ���mysql_store_result���
dbase.c:304: error: ���struct my_con��� has no member named ���con���
dbase.c:305: error: ���struct my_con��� has no member named ���res���
dbase.c:306: warning: implicit declaration of function ���mysql_field_count���
dbase.c:306: error: ���struct my_con��� has no member named ���con���
dbase.c:311: error: ���struct my_con��� has no member named ���con���
dbase.c:311: error: ���struct my_con��� has no member named ���con���
dbase.c:311: warning: format ���%s��� expects type ���char *���, but argument 3 has type ���int���
dbase.c:311: error: ���struct my_con��� has no member named ���con���
dbase.c:311: warning: format ���%s��� expects type ���char *���, but argument 3 has type ���int���
dbase.c:311: error: ���struct my_con��� has no member named ���con���
dbase.c:311: warning: format ���%s��� expects type ���char *���, but argument 3 has type ���int���
dbase.c:311: error: ���struct my_con��� has no member named ���con���
dbase.c:311: warning: format ���%s��� expects type ���char *���, but argument 3 has type ���int���
dbase.c:311: error: ���struct my_con��� has no member named ���con���
dbase.c:311: warning: format ���%s��� expects type ���char *���, but argument 3 has type ���int���
dbase.c:311: error: ���struct my_con��� has no member named ���con���
dbase.c:311: warning: format ���%s��� expects type ���char *���, but argument 3 has type ���int���
dbase.c:311: error: ���struct my_con��� has no member named ���con���
dbase.c:311: warning: format ���%s��� expects type ���char *���, but argument 3 has type ���int���
dbase.c: In function ���db_free_result���:
dbase.c:348: warning: implicit declaration of function ���mysql_free_result���
dbase.c:348: error: ���struct my_con��� has no member named ���res���
dbase.c:349: error: ���struct my_con��� has no member named ���res���
dbase.c: In function ���db_query���:
dbase.c:398: warning: implicit declaration of function ���print_where���
dbase.c:398: error: ���struct my_con��� has no member named ���con���
dbase.c: In function ���db_insert���:
dbase.c:471: warning: implicit declaration of function ���print_values���
dbase.c:471: error: ���struct my_con��� has no member named ���con���
dbase.c: In function ���db_delete���:
dbase.c:516: error: ���struct my_con��� has no member named ���con���
dbase.c: In function ���db_update���:
dbase.c:559: warning: implicit declaration of function ���print_set���
dbase.c:559: error: ���struct my_con��� has no member named ���con���
dbase.c:568: error: ���struct my_con��� has no member named ���con���
make: *** [dbase.o] B����d 1
I just began to study the differences between SER and OPENSER. So I am not sure it is the same and it is not some OPENSER related error but the SER doc says this:
http://old.iptel.org/ser/doc/seruser/seruser.html#AEN1039
-rr
P.S.: viva google
----- Original Message ----
From: ShivaSankar Padhy <shivapd1983(a)gmail.com>
To: users(a)openser.org
Sent: Monday, November 6, 2006 10:35:42 AM
Subject: [Users] Messege is too big Error Code 513
Dear all!
I am still new to the openser. Let me ask another silly question:)
I am getting error messege as 513, messege is too big, May I know in what condition is is comming??What is the rule to avoid this.
Expectig a sooner response as always,
Thanks in Advance
With cheers,
ShivaSankar
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
Hello User,
A small Question ,
When I My Sip Server without any firewall_ Router .. Hung up is working
Fine,,,,,,
But I Keep Sip Server with in a Firewall_router, it not Hung upping ,
When i saw logs from X-lite in Bye method it Changing the uri into
Private IP, But should it public IP( THis is not happening )
Please help me.............
--
Thanks and Regards
Ravi Prakash Sunkara
ravi.sunkara(a)hyperion-tech.com
M:+91 9985077535
O:+91 40 23114549
F:+91 40 40208727
ravi.sunkara(a)hyperion-tech.com
www.hyperion-tech.com
I am replicating a REGISTER from the SER PROXY (0.9.6) to a presence server
(0.10.99) using t_replicate. On the presence server I am doing a
save_noreply("location").
Everything works fine but the only "issue" I have is that SER PROXY sends
the REGISTER to the presence server THREE TIMES. It seems that since SER
PROXY is not receiving a reply to the REGISTER sent using t_replicate, it is
re-transmitting the REGISTER. I just do not think that this is "clean". I
could have the presence send back a "200 OK" to circumvent this but would
like to know whether this behaviour is normal? Should t_replicate not simply
replicate the request without awaiting a response. Any insight will be
appreciated.
_________________________________________________________________
Say hello to the next generation of Search. Live Search try it now.
http://www.live.com/?mkt=en-ca
Hi,
You might want to make sure that db_url parameter is set correctly, because
i believe by default the param is set to point to localhost.
j
>From: ram <talk2ram(a)gmail.com>
>To: serusers(a)iptel.org
>Subject: [Serusers] Ser with remote mysql
>Date: Sun, 5 Nov 2006 22:33:06 +0530
>
>Hi all
>
>I have Ser running one server ( centos)
>and another server Database ( FC5) , Mysql mysql-5.0.X
>
>
>iam able to connect from ser server to mysql server from prompt
>iam able to connect.
>
>wheni configure in ser.cfg and run ,iam getting this following error.
>
>why this still conencting to local server ?
>
>Nov 5 22:26:11 ser2 ser[22959]: Maxfwd module- initializing
>Nov 5 22:26:11 ser2 ser[22959]: new_connection(): Can't connect to local
>MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
>Nov 5 22:26:11 ser2 ser[22959]: db_init(): Could not create a connection
>Nov 5 22:26:11 ser2 ser[22959]: ERROR:domain_db_init: cannot initialize
>database connection
>Nov 5 22:26:11 ser2 ser[22959]: init_mod(): Error while initializing
>module
>domain
>
>
>ser.cfg in short
>fifo_db_url="mysql://ser:heslo@databaseserverip/ser"
>modparam("usrloc", "db_url", "mysql://ser:heslo@databaseserverip/ser")
>modparam("acc", "db_url", "mysql://ser:heslo@databaseserverip/ser")
>
>how can i resolve this problem
>
>Ram
>_______________________________________________
>Serusers mailing list
>Serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
_________________________________________________________________
Find a local pizza place, music store, museum and more then map the best
route! http://local.live.com?FORM=MGA001
Hi all
I have Ser running one server ( centos)
and another server Database ( FC5) , Mysql mysql-5.0.X
iam able to connect from ser server to mysql server from prompt
iam able to connect.
wheni configure in ser.cfg and run ,iam getting this following error.
why this still conencting to local server ?
Nov 5 22:26:11 ser2 ser[22959]: Maxfwd module- initializing
Nov 5 22:26:11 ser2 ser[22959]: new_connection(): Can't connect to local
MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Nov 5 22:26:11 ser2 ser[22959]: db_init(): Could not create a connection
Nov 5 22:26:11 ser2 ser[22959]: ERROR:domain_db_init: cannot initialize
database connection
Nov 5 22:26:11 ser2 ser[22959]: init_mod(): Error while initializing module
domain
ser.cfg in short
fifo_db_url="mysql://ser:heslo@databaseserverip/ser"
modparam("usrloc", "db_url", "mysql://ser:heslo@databaseserverip/ser")
modparam("acc", "db_url", "mysql://ser:heslo@databaseserverip/ser")
how can i resolve this problem
Ram
ALWAYS REPLY TO THE LIST.
The problem Im guessing your runnin ginto is that the serro user is
still trying to use localhost as DB host.
Check in config.h.
-A
* ram <talk2ram(a)gmail.com> [061105 19:44]:
> hi
>
> what problems ?
>
> Ram
>
>
> On 11/5/06, Atle Samuelsen <clona(a)cyberhouse.no> wrote:
> >
> >Hi,
> >
> >Without knowing, I'm betting your getting into tourble related to serro
> >user.
> >
> >- Atle
> >
> >
> >* ram <talk2ram(a)gmail.com> [061105 18:22]:
> >> Hi all
> >>
> >> I have Ser running one server ( centos)
> >> and another server Database ( FC5) , Mysql mysql-5.0.X
> >>
> >>
> >> iam able to connect from ser server to mysql server from prompt
> >> iam able to connect.
> >>
> >> wheni configure in ser.cfg and run ,iam getting this following error.
> >>
> >> why this still conencting to local server ?
> >>
> >> Nov 5 22:26:11 ser2 ser[22959]: Maxfwd module- initializing
> >> Nov 5 22:26:11 ser2 ser[22959]: new_connection(): Can't connect to
> >local
> >> MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
> >> Nov 5 22:26:11 ser2 ser[22959]: db_init(): Could not create a
> >connection
> >> Nov 5 22:26:11 ser2 ser[22959]: ERROR:domain_db_init: cannot initialize
> >> database connection
> >> Nov 5 22:26:11 ser2 ser[22959]: init_mod(): Error while initializing
> >module
> >> domain
> >>
> >>
> >> ser.cfg in short
> >> fifo_db_url="mysql://ser:heslo@databaseserverip/ser"
> >> modparam("usrloc", "db_url", "mysql://ser:heslo@databaseserverip/ser")
> >> modparam("acc", "db_url", "mysql://ser:heslo@databaseserverip/ser")
> >>
> >> how can i resolve this problem
> >>
> >> Ram
> >
> >> _______________________________________________
> >> Serusers mailing list
> >> Serusers(a)lists.iptel.org
> >> http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
Can possibly the openser folks give me some answer?
----- Forwarded Message ----
From: Rao Ramaratnamma <raramarat(a)yahoo.com>
To: serusers(a)iptel.org
Sent: Saturday, November 4, 2006 4:34:55 PM
Subject: [Serusers] rewriting From
Hello,
I am new to the community so please forgive me if I am missing some
obvious answer but till now I have found only some suggestions what
one could or could not do, but is there any known-to-work proven
configuration file which rewrites From?
rr
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
Hello Everyone,
I have finally up ser up and its running well, tested it to be true -thus
far - with asterisk backend w/PSTN. Now, i want to start offering
services, but only have one pstn channel. I was hoping that someone could
advice me on a service provider that is willing to allow me to route calls
to their sip router for a monthly fee, and if this is possible so I can
offer services to users without being limited to a single channel and see
how how sip really works in action with simulatenous calls? Advice? How
much is monthly for this type of situation to me (range)?
Help?
jwshel
_________________________________________________________________
Try the next generation of search with Windows Live Search today!
http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=…