Hi Jan,
I've been trying the CVS version of SER to test the latest Presence Agent
module. I'm using a very nearly identical configuration file to "pa.cfg" in
etc/. The server seems to start correctly and is listening at the specified
port. However, when any client sends a REGISTER, the server crashes. Is there
anything we can do to debug this or any previous CVS version you consider to be
estable enough to use for the time being?
Regards,
Jaime
*******************************************************************************
Important.
Confidentiality: This communication is intended for the above-named person and
may be confidential and/or legally privileged. Any opinions expressed in this
communication are not necessarily those of the company. If it has come to you
in error you must take no action based on it, nor must you copy or show it to
anyone; please delete/destroy and inform the sender immediately.
Monitoring/Viruses
Orange may monitor all incoming and outgoing emails in line with current
legislation. Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.
Orange PCS Limited is a subsidiary of Orange SA and is registered in England No
2178917, with its address at St James Court, Great Park Road, Almondsbury Park,
Bradley Stoke, Bristol BS32 4QJ.
*******************************************************************************
hi vijay,
i did the installation through root. i think u cannot go about the
installation as a user as u wont have the privileges. Pls ask ur system
administrator to log is as root and do the installation.
also, pls send ur mails to everyone in the mailing list by sending ur
mails to serusers(a)lists.iptel.org. this will help others with similar queries.
rgds
sunithi
-----Original Message-----
From: vijay [mailto:vktiruveedula@foreseeinfo.com]
Sent: Thursday, March 27, 2003 2:16 PM
To: Sunithi JP
Subject: need help regarding SIP
hi sunithi,
recently i was allocated work on SIP. what i have to do is i have to make
our IM to talk with SIP clinets using SER.
For this i have downloaded the SER from iptel.org. As a first step i have to
install SER in my user account in linux and go thorough it.
But it is not compiling and giving error (Permission denied). So which files
i have to modify in order to compile / install the ser files in my account
as i have no permissions to root folder.
So can u help me how to compile and install the ser on linux with mysql
support and how to make call to MSN using SIP.
awating u r kind help / guide lines regading this.
bye
vijay
there is a seruser admin guide which u can download from iptel.org. this
will help u in every way. check this out.
-----Original Message-----
From: vijay [mailto:vktiruveedula@foreseeinfo.com]
Sent: Thursday, March 27, 2003 3:52 PM
To: Sunithi JP
Subject: Re: [Serusers] accounting using MySql
hi sunithi,
thanx for u r reply.
can u plz mail the steps involved in installation and running the SER
server. I'm able to install SER. But i'm not getting how to start and use
this. Plz help me.
Thanks a lot in advance...
with regards
vijay
----- Original Message -----
From: "Sunithi JP" <sunithijp(a)indts.com>
To: <serusers(a)lists.iptel.org>
Sent: Thursday, March 27, 2003 12:33 PM
Subject: [Serusers] accounting using MySql
> hi,
> i have just installed SER (version 0.8.10) along with the MySql support.
i
> made entries for 2 users in the database and am able to place a call
between
> them using MSN messenger.
> i want to know what accounting support is available using MySql. what
> settings need to be done? are any records generated and placed in the
> database? how do i access these records?
>
> pls help,
>
> rgds,
> sunithi
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
hi,
i have just installed SER (version 0.8.10) along with the MySql support.
can anyone pls tell me where i can find the Jabber Gateway?
pls help,
rgds,
sunithi
hi,
i have just installed SER (version 0.8.10) along with the MySql support. i
made entries for 2 users in the database and am able to place a call between
them using MSN messenger.
i want to know what accounting support is available using MySql. what
settings need to be done? are any records generated and placed in the
database? how do i access these records?
pls help,
rgds,
sunithi
Hi,
I would like to know if it is possible to append a variable to a log command like:
log(1, "Register received \n");
For troubleshooting purposes I would like to be able to see a log in syslog that would say something like:
"Register received from subscriber= ricvil"
Is it possible to do something like?
log(1, "Register received from subscriber= $username\n");
I could not find any documentation to support this.
Thanks,
Ricardo
Well, I have no problem releasing the code, but there are a few
technical constraints.
- This is very much a test jig. For example, it uses
psql via a pipe to do all database access. That stuff is
layered out, so it can easily be directed at a real postgres
perl module, but we have some issues with perl modules so
tend not to use them, at least in early development. I
would expect it to start groaning at around 100
calls/minute. We're in a beta test at the moment and will
be in production within a month. When our call volume
increases, we will certainly recode this in C. However,
using direct database access from perl would probably give
an 80% of the gains, so that might be the next step.
- It depends on a special syslogd version. The change
is simple -- the timestamp is written as "seconds since
1970" to msec precision instead of the human-readable
representation. Unix time_t is simply more natural for this
kind of work. I didn't attempt to layer the timestamp
processing, but it only occurs in one or two places, so
introducing mktime() and giving up on msecs would generalize
this. I have a converted Linux syslogd.c. I'm pretty sure
less than 10 lines changed. I know I converted a FreeBSD
syslogd as well, but I can't find it.
- The script uses the database to keep state. The first
INVITE inserts the call detail and the call is active (no
call_end time). The first BYE with matching call_id updates
the call_end time. Heuristics are then applied to match
each log entry from the gateway (cisco based) to the
database entry. This allows detection of missed BYEs. The
point is that the the database is integral in the matching
algorithm. The side-benefit is that the database can be
used to display active calls. The algorithm is dependent
on efficient database indexing.
- There is no particular dependency on database type except I
do record endpoint IPs as Postgres "inet" types, but these
are not searched so could as easily be "char" type.
A "timestamp" type of some kind is pretty much crucial.
So, I'm happy to push the code out to the group "as is". If nothing
else, there are probably code fragments worthy of harvest. I can also
put a bit of time into generalizing it a little before making it
available. Opinions?
Andy
--
Andrew Fullford Email: andy(a)august.net
August.Net Services, LLC Web: www.august.net
> Date: Wed, 26 Mar 2003 08:18:44 +0100
> To: "Greg Fausak" <greg(a)august.net>,
> "'Ricardo Villa'" <ricvil(a)epm.net.co>, <serusers(a)lists.iptel.org>
> From: Michael Haberler <mah(a)eunet.at>
> Subject: RE: [Serusers] Accounting Script
> Cc: <sip(a)august.net>
>
> --=======55A13AEF=======
> Content-Type: multipart/alternative; x-avg-checked=avg-ok-722294; boundary="=====================_54395666==.ALT"
>
>
> --=====================_54395666==.ALT
> Content-Type: text/plain; x-avg-checked=avg-ok-722294; charset=us-ascii; format=flowed
> Content-Transfer-Encoding: 8bit
>
> At 18:21 25.03.2003 -0600, Greg Fausak wrote:
>
> >My partner (Andy Fullford) wrote our code that does this.
> >
> >We turned on SER accounting, deliver via SYSLOG, and have a script that
> >scrapes all of that up and creates accounting records.
> >
> >In addition, we apply the syslog accounting output from our
> >gateway routers to verify the INVITE/BYE sequences. Finally,
> >we populate a database with the results. We were going to
> >use radius, but it didn't quite work right for us. I think what we have
> >cobbled together works really well. We don't have any 'hanging' calls
> >anymore....and even if we did we would catch them with the gateway
> >accounting.
> >
> >We did not think the SER user base would be interested. We use a postgres
> >database and
> >this doesn't seem to be mainstream. However, if there is interest for this
> >sort of thing perhaps we could donate it?
>
> me as including the SER user base would be interested.
>
> Also, we are migrating towards a Postgres shop here, so I would be very
> interested in Postgressifying the whole thing, accounting and SER itself.
>
> There was a post a while ago that somebody set out to do a DB interface
> SER/Postgres; if this is under way, fine - if this project was abandoned,
> we might chip in and do it - pleas get in touch with me
>
> -Michael
> nic.at
>
> >
> >Anyway, you could respond to <mailto:sip@august.net>sip(a)august.net and ask
> >Andy if he can
> >hack you out a piece of it to do what you want.
> >
> >---greg
> >Greg Fausak
> >
> >-----Original Message-----
> >From: serusers-admin(a)iptel.org [mailto:serusers-admin@lists.iptel.org] On Behalf
> >Of Ricardo Villa
> >Sent: Tuesday, March 25, 2003 3:53 PM
> >To: serusers(a)lists.iptel.org
> >Subject: [Serusers] Accounting Script
> >
> >Hi,
> >
> >Has anybody developed some sort of crude accounting script for SER that
> >would match all BYEs with their respective INVITEs in the syslog file and
> >say how many seconds each call lasted?
> >
> >Thanks,
> >Ricardo
serweb is a web interface for ser. the database definitions are supplied
with ser.
-jiri
At 05:20 PM 3/26/2003, Frost, Rod wrote:
>All,
>
>Where can I find the database and its schema for use with SerWeb. I have installed serweb but don't see a database in mysql.
>
>Thanks
>
>Rod Frost
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/
Hi,
Has anybody developed some sort of crude accounting script for SER that would match all BYEs with their respective INVITEs in the syslog file and say how many seconds each call lasted?
Thanks,
Ricardo