Hi,all
I download the cvs by website
cvs -d:pserver:anonymous@cvs.berlios.de:/cvsroot/ser co sip_router
and I try to start my ser.it appear the error:
0(21833) ERROR: no compile flags info in module
</usr/local/lib/ser/modules/vm.so>: ser: undefined symbol: module_flags
I want to recompile vm model. But in the folder only CVS,db,doc,etc,test.
I can't find any file to compile.
where do I to download vm model by cvs.
thanks.
In SER configured to work with MySQL database i see after some period of
inactivity (of SER to DB) that MySQL close socket connections of SER due to
wait_timeout (or interactive_timeout) expiration. I like known if this is a
"normal" operation or affect SER work. I need known what happens with this
closed connections, if it are re-opened when SER need or not and if exist
any workaround for this.
... from server mysql logs:
041021 10:53:27 Aborted connection 16 to db: 'ser' user: 'ser' host:
`localhost' (Got timeout reading communication packets)
... from mysql documentation:
interactive_timeout
The number of seconds the server waits for activity on an interactive
connection before closing it. An interactive client is defined as a client
that uses the CLIENT_INTERACTIVE option to mysql_real_connect(). See also
wait_timeout.
wait_timeout
The number of seconds the server waits for activity on a non-interactive
connection before closing it. On thread startup, the session wait_timeout
value is initialized from the global wait_timeout value or from the global
interactive_timeout value, depending on the type of client (as defined by
the CLIENT_INTERACTIVE connect option to mysql_real_connect()). See also
interactive_timeout.
Thanks
Ezequiel Colombo
Dear All:
I've checked out the latest SER from berlios.de.
When compiling, I got the following errors about missing modules:
ERROR: module modules/radius_acc/radius_acc.so not compiled
ERROR: module modules/radius_auth/radius_auth.so not compiled
ERROR: module modules/vm/vm.so not compiled
These modules' directories are empty in the CVS. Are they downloadable
separately (in source)?
Also: the mysql module is missing...
Any suggestions welcome, thanks.
--
Socrates.
--
Dr. Socrates Varakliotis
UCL Computer Science
Gower Street, WC1E 6BT, London, UK
Tel: +44 20 7679 3696
Fax: +44 20 7387 1397
Jeremy,
I don't know if you got this answered already or not - I'm not seeing
the subject popping back up...
My PBX Gateway was doing the same kind of thing: calls were timing out
after about 1 minute (45 seconds once, and 60 seconds another time). It
turns out that the loose-route processing wasn't working right. If I
put the:
if (loose_route()) {
if (!t_relay()) {
sl_reply_error();
};
break;
};
Line after the registration and "if (uri==myself){stuff}; blocks, then
I'd time out. If the Loose_route() processing was up earlier, near the
top of the ser.cfg (like in the demo), then my PBX Gateway wouldn't time
the calls out.
Rob
0 ASCII Ribbon campaign - against HTML Email
^ - against auto-execute attachments
> -----Original Message-----
> From: serusers-bounces(a)lists.iptel.org
> [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Jeremy M. Dolan
> Sent: Thursday, October 07, 2004 11:54 AM
> To: serusers(a)lists.iptel.org
> Subject: [Serusers] Who is violating SIP protocol here, SER
> or voice-ISP?
>
> I will attach a full SIP conversation to this e-mail, but
> here is the summary of what seems to be happening.
>
> I place a call from my phone here, behind NAT. This contacts
> a SER server with nathelper/rtpproxy out on the 'net, which
> then forwards the requests to Masergy (www.masergy.com), who
> provide us with LD VoIP service. Everything proceeds fine
> until the "OK" reply from Masergy signalling the call has
> been answered. Here's the transaction there:
>
> Masergy port 29436 -> SER port 5060 "OK"
> SER port 5060 -> My Phone port 5060 "OK"
> My Phone port 5060 -> SER port 5060 "ACK"
> SER port 5060 -> Masergy port 29436 "ACK"
>
> Masergy never receives that last packet.
>
> However, my phone receives all of the information it needs to
> establish the RTP connection. It does so, and the call
> appears to be working fine.
> Meanwhile, Masergy's SIP server continues to resend "SIP/2.0 200 OK"
> messages (still from port 29436) every few seconds, waiting
> for a reply.
> After ~35 seconds of not hearing back, it assumes the worst
> and sends a "BYE", tearing down a call that was going swell,
> as far as the two humans involved were concerned.
>
> I've spoken with the relevant tech at Masergy, and their
> determination is that our SIP proxy should be sending all SIP
> traffic to port 5060, regardless of what they may be
> transmitting from.
>
> I just built the very latest CVS version of SER
> (0.8.99-dev8), and am seeing the same behavior. Is this a
> protocol violation on either side?
> (Transmitting to a non-5060 port, or not listening for a
> reply on a port that was just transmitted from). Is there a
> way to force SER to always use 5060? (Which itself probably
> breaks protocol for some cases, which we aren't currently
> dealing with).
>
> Thank you for any info.
>
> Jeremy
>
> --
> Jeremy M. Dolan <mailto:jmd@pobox.com> <http://jmd.us/>
> PGP: 1024D/3C68A1BA 9470 210C A476 FFBB 6D11 0223 0D1C ABFC 3C68 A1BA
>
>
Hi,
I've installed ser and the mysql module on a debian machine (ver
0.8.14). I set up a mysqluser (seruser) and a mysqldb (ser). I'm trying
to get serweb going but I'm missing the tables for the ser database.
I've spent some time trying to find them with no luck. Can some kind
soul point me in the right direction?
many thanks,
johno
There is nothing to improve in SER as long the communication was
established. In the case a NAT would be involved you would need either a
RTP relay (rtpproxy, media proxy) or in some cases just a STUN server
(depending on SIP clients and NAT type).
On 10/21/04 12:15, Joao Pereira wrote:
>No, there was no NAT involved, both phones were in the same LAN.
>With bad comunication I mean bad audio (with eco) and with lots of moments
>with no audio at all.
>
>
Try to force the SIP clients to use some other audio codec (if they
support more than one) -- maybe one has a broken implementation of the
codec chosen for communication.
>And in the same LAN and in the same conditions, but with Asterisk, the
>comunication was perfect.
>
>
I do not know much about asterisk, it may do some media correction or
codecs translation.
Daniel
>Is there any configuration changes that I can make to inprove SER?
>
>Joao
>
>
>
>----- Original Message -----
>From: "Daniel-Constantin Mierla"
><Daniel-Constantin.Mierla(a)fokus.fraunhofer.de>
>To: "Joao Pereira" <joao.pereira(a)fccn.pt>
>Cc: <serusers(a)lists.iptel.org>
>Sent: Thursday, October 21, 2004 11:04 AM
>Subject: Re: [Serusers] faster SER
>
>
>what you mean by communication was bad? The audio quality? The signaling?
>
>SER doesn't deal with audio stream at all, just with the signaling part.
>Is there any NAT involved?
>
>Daniel
>
>On 10/21/04 11:54, Joao Pereira wrote:
>
>
>
>>Hi
>>I tried two SIP Phones Zyxel Prestige 2000 W with SER and the
>>comunication was very bad, even in a second test with SIP software
>>client and a Zyxel phone, the comunication wasnt good, then I tried
>>the same phones and software with the Asterisk server and the
>>comunication was perfect, can I configure SER to have a better
>>performance in the comunication?
>>Does anyone experienced a problem like this?
>>
>>João Pereira
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Serusers mailing list
>>serusers(a)lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
>>
>>
>
>
>
hello
i have ser 0.8.14 working with accounting to mysql database.
ser has real ip address and this address has also record in dns. but all
record in accounting table have in field domain ip addresss of ser and
not domain name or sip-domain-name.
how and what i must change acconting record to have in domain field
sip-domain-name ??
regards marian
--
SUNTEQ s. r. o.
Hviezdoslavova 9 # Prievidza # 971 04 # Slovak republic
Tel: +421-46-5430 754 # Fax: +421-46-5439 144
http://www.sunteq.sk/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GS/E/B/PA/SS d+(++) s+:+ a C++$ ULS++++ !P+++(---)$ L++++$ E++ W++ !N
w(+++) !O() M++ V--() Y+$ PGP+ t- !5? X- !R !tv <at> b++(++++) DI++
D+++ <at> G
e+++ h(*) <at> r%
------END GEEK CODE BLOCK------
Hello,
I am writing a load_bal module that will return the
next IP to forward the INVITE to.I have one exported
function named sp_forward() from the load_bal
module.
The question I have is , can I call rewritehost from
within the sp_forward() ? If yes then do I have to
include something in the module to be able to do so.
thanks for your help in advance.
Jignesh Gandhi
Software Engineer II
Jignesh.Gandhi(a)glenayre.com
(770)283 1706
Hi,
I am trying to use the normal mysql integration, and I'm running into a
few issues along the way. Note that I am using Solaris.
1) mysql.so is not available with default installation
mysql.so>: ld.so.1: ser: fatal: /usr/local/lib/ser/modules/mysql.so:
open failed: No such file or directory
2) modules/mysql is not built with default Makefile
sip_router/Makefile: exclude_modules contains mysql
3) when I add mysql to the Makefile and do a "make modules" there is a
compilation error within mysql and the .so is not produced (see
"Compile errors" below).
Do I need to somehow specify where the mysql header-files and libraries
can be found? How do I go about doing this?
Any help is appreciated...
Thanks
Alex Rootham
Blueslice Networks
Compile errors ----
make[1]: Entering directory
`/home/alex/foreignCvs/ser/sip_router/modules/mysql'
cpp0: warning: changing search order for system directory
"/usr/local/include"
cpp0: warning: as it has already been specified as a non-system directory
cpp0: warning: changing search order for system directory
"/usr/local/include"
cpp0: warning: as it has already been specified as a non-system directory
In file included from dbase.c:39:
con_mysql.h:33:25: warning: mysql/mysql.h: No such file or directory
In file included from dbase.c:40:
db_val.h:31:25: warning: mysql/mysql.h: No such file or directory
cpp0: warning: changing search order for system directory
"/usr/local/include"
cpp0: warning: as it has already been specified as a non-system directory
db_val.c:31:25: warning: mysql/mysql.h: No such file or directory
cpp0: warning: changing search order for system directory
"/usr/local/include"
cpp0: warning: as it has already been specified as a non-system directory
cpp0: warning: changing search order for system directory
"/usr/local/include"
cpp0: warning: as it has already been specified as a non-system directory
db_row.c:30:25: warning: mysql/mysql.h: No such file or directory
In file included from db_row.c:35:
db_val.h:31:25: warning: mysql/mysql.h: No such file or directory
In file included from db_row.c:36:
con_mysql.h:33:25: warning: mysql/mysql.h: No such file or directory
make[1]: Entering directory
`/home/alex/foreignCvs/ser/sip_router/modules/mysql'
cpp0: warning: changing search order for system directory
"/usr/local/include"
cpp0: warning: as it has already been specified as a non-system directory
cpp0: warning: changing search order for system directory
"/usr/local/include"
cpp0: warning: as it has already been specified as a non-system directory
In file included from dbase.c:39:
con_mysql.h:33:25: warning: mysql/mysql.h: No such file or directory
In file included from dbase.c:40:
db_val.h:31:25: warning: mysql/mysql.h: No such file or directory
cpp0: warning: changing search order for system directory
"/usr/local/include"
cpp0: warning: as it has already been specified as a non-system directory
db_val.c:31:25: warning: mysql/mysql.h: No such file or directory
cpp0: warning: changing search order for system directory
"/usr/local/include"
cpp0: warning: as it has already been specified as a non-system directory
cpp0: warning: changing search order for system directory
"/usr/local/include"
cpp0: warning: as it has already been specified as a non-system directory
db_row.c:30:25: warning: mysql/mysql.h: No such file or directory
In file included from db_row.c:35:
db_val.h:31:25: warning: mysql/mysql.h: No such file or directory
In file included from db_row.c:36:
con_mysql.h:33:25: warning: mysql/mysql.h: No such file or directory
cpp0: warning: changing search order for system directory
"/usr/local/include"
cpp0: warning: as it has already been specified as a non-system directory
db_res.c:31:25: warning: mysql/mysql.h: No such file or directory
In file included from db_res.c:36:
con_mysql.h:33:25: warning: mysql/mysql.h: No such file or directory
cpp0: warning: changing search order for system directory
"/usr/local/include"
cpp0: warning: as it has already been specified as a non-system directory
cpp0: warning: changing search order for system directory
"/usr/local/include"
cpp0: warning: as it has already been specified as a non-system directory
make[1]: Leaving directory
`/home/alex/foreignCvs/ser/sip_router/modules/mysql'
make[1]: Entering directory
`/home/alex/foreignCvs/ser/sip_router/modules/mysql'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wall -mcpu=ultrasparc
-mtune=ultrasparc -DNAME='"ser"' -DVERSION='"0.8.14-2"'
-DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 3.1"'
-D__CPU_sparc64 -D__OS_solaris -DCFG_DIR='"/usr/local/etc/ser/"'
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP
-DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H
-DHAVE_SCHED_YIELD -I/usr/local/include -I/usr/local/include/mysql
-I/usr/local/mysql/include -I/usr/pkg/include -c db_con.c -o db_con.o
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wall -mcpu=ultrasparc
-mtune=ultrasparc -DNAME='"ser"' -DVERSION='"0.8.14-2"'
-DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 3.1"'
-D__CPU_sparc64 -D__OS_solaris -DCFG_DIR='"/usr/local/etc/ser/"'
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP
-DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H
-DHAVE_SCHED_YIELD -I/usr/local/include -I/usr/local/include/mysql
-I/usr/local/mysql/include -I/usr/pkg/include -c db_mod.c -o db_mod.o
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wall -mcpu=ultrasparc
-mtune=ultrasparc -DNAME='"ser"' -DVERSION='"0.8.14-2"'
-DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 3.1"'
-D__CPU_sparc64 -D__OS_solaris -DCFG_DIR='"/usr/local/etc/ser/"'
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP
-DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H
-DHAVE_SCHED_YIELD -I/usr/local/include -I/usr/local/include/mysql
-I/usr/local/mysql/include -I/usr/pkg/include -c db_res.c -o db_res.o
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
db_res.c:31:25: mysql/mysql.h: No such file or directory
In file included from db_res.c:36:
con_mysql.h:33:25: mysql/mysql.h: No such file or directory
In file included from db_res.c:36:
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
db_res.c: In function `get_columns':
db_res.c:45: `MYSQL_FIELD' undeclared (first use in this function)
db_res.c:45: (Each undeclared identifier is reported only once
db_res.c:45: for each function it appears in.)
db_res.c:45: `fields' undeclared (first use in this function)
db_res.c:52: warning: implicit declaration of function `mysql_field_count'
db_res.c:52: dereferencing pointer to incomplete type
db_res.c:73: warning: implicit declaration of function `mysql_fetch_fields'
db_res.c:73: dereferencing pointer to incomplete type
db_res.c:77: `FIELD_TYPE_TINY' undeclared (first use in this function)
db_res.c:78: `FIELD_TYPE_SHORT' undeclared (first use in this function)
db_res.c:79: `FIELD_TYPE_LONG' undeclared (first use in this function)
db_res.c:80: `FIELD_TYPE_INT24' undeclared (first use in this function)
db_res.c:81: `FIELD_TYPE_TIMESTAMP' undeclared (first use in this function)
db_res.c:85: `FIELD_TYPE_FLOAT' undeclared (first use in this function)
db_res.c:86: `FIELD_TYPE_DOUBLE' undeclared (first use in this function)
db_res.c:90: `FIELD_TYPE_DATETIME' undeclared (first use in this function)
db_res.c:94: `FIELD_TYPE_BLOB' undeclared (first use in this function)
db_res.c:95: `FIELD_TYPE_TINY_BLOB' undeclared (first use in this function)
db_res.c:96: `FIELD_TYPE_MEDIUM_BLOB' undeclared (first use in this
function)
db_res.c:97: `FIELD_TYPE_LONG_BLOB' undeclared (first use in this function)
db_res.c:101: `FIELD_TYPE_SET' undeclared (first use in this function)
db_res.c: In function `convert_rows':
db_res.c:146: warning: implicit declaration of function `mysql_num_rows'
db_res.c:146: dereferencing pointer to incomplete type
db_res.c:159: dereferencing pointer to incomplete type
db_res.c:159: warning: implicit declaration of function `mysql_fetch_row'
db_res.c:159: dereferencing pointer to incomplete type
db_res.c:160: dereferencing pointer to incomplete type
db_res.c:161: warning: implicit declaration of function `mysql_error'
db_res.c:161: dereferencing pointer to incomplete type
db_res.c:161: dereferencing pointer to incomplete type
db_res.c:161: dereferencing pointer to incomplete type
db_res.c:161: dereferencing pointer to incomplete type
db_res.c:161: dereferencing pointer to incomplete type
db_res.c:161: dereferencing pointer to incomplete type
db_res.c:161: dereferencing pointer to incomplete type
db_res.c:161: dereferencing pointer to incomplete type
make[1]: *** [db_res.o] Error 1
make[1]: Leaving directory
`/home/alex/foreignCvs/ser/sip_router/modules/mysql'
Hi,
I have encountered the following problem when using ACC module:
In my ser.cfg, I used "loadmodule /modules/acc.so" to load the acc module,
I then included:
modparam("acc", "log_flag", 1)
modparam("acc", "log_level", 1)
...
route[0] {
...
setflat(1);
...
}
The module seems to be loaded all right and I can see relevant logs in
syslog but not in MySQL database.
First Problem: When I tried to add the following line in ser.cfg:
modparam("acc", "db_url", "sql://ser:pass@localhost/ser")
ser will not start and it complains that parameter "db_url" not found in
module <acc>.
Second problem: When I tried to log missed calls into db using:
acc_db_request("404 not found", "missed_calls");
ser will not start and it complains "unknown command..." even though the
ACC module is loaded.
Can anyone provide some help on these two questions?
Thanks,
Haipeng