Hi all
i'm looking for a free/opensource application that generates CDRs (not XDRs,
must not be rated) from the accounting data/events generated by SER (i think
this is usually called normalization). I think this would have to be an
application that is able to match INVITEs and BYEs and form CDRs with call
start timestamp, call duration and so on.
I had a look at the list of accounting software on the iptel.org website,
but most of there applications are highly integrated accounting/billing
solutions, far more than what i need (and also most of them seem to be
commercial products). In the mailinglist archive i only found some
references to CDRTool which seems also to be commercial. Obv. there must be
a free version of CDRTool but neither i'm sure whether it implements exactly
what i need so i could "grab it" for my own purposes nor could i find a
place to download the free version).
Does anyone know if there is such a kind of application available? Or any
other idea how to deal with my requirements?
Thanks a lot for your help
Frank
hello list,
i am new to openser. i am trying to setup openser and asterisk
together where asterisk will work as a voicemail server.
i am trying to find a sample config which can help me understand how
to route the calls to asterisk when user is unavailable, busy or time
out after sometime.
thanks,
hemant
Hi,
we had got series of SER cores with failed assertion in
t_retransmit_reply():
assert(t->uas.response.dst.send_sock);
Essential backtrace part:
#0 0x48167fc4 in kill () from /usr/lib/libc.so.4
#1 0x481a993e in abort () from /usr/lib/libc.so.4
#2 0x481858d3 in __assert () from /usr/lib/libc.so.4
#3 0x48281da3 in t_retransmit_reply () from /usr/local/lib/ser/modules/tm.so
#4 0x48277433 in t_newtran () from /usr/local/lib/ser/modules/tm.so
This place from ser.cfg:
if (!t_newtran()) {
sl_send_reply("500", "could not create transaction");
break;
};
response.dst.send_sock is filled in init_rb(), which is called
from t_newtran(). t_newtran() has the following:
=== cut ===
UNLOCK_HASH(p_msg->hash_index);
/* now, when the transaction state exists, check if
there is a meaningful Via and calculate it; better
do it now than later: state is established so that
subsequent retransmissions will be absorbed and will
not possibly block during Via DNS resolution; doing
it later would only burn more CPU as if there is an
error, we cannot relay later whatever comes out of the
the transaction
*/
if (!init_rb( &T->uas.response, p_msg)) {
LOG(L_ERR, "ERROR: t_newtran: unresolvable via1\n");
put_on_wait( T );
t_unref(p_msg);
return E_BAD_VIA;
}
return 1;
=== end cut ===
Does there race condition between UNLOCK_HASH(), init_rb() and
parallel t_newtran() from another SER process exist?
Details: FreeBSD 4.10, SER 0.9.3 (with PortaOne additions, but not
essential for the question).
--
Valentin Nechayev
PortaOne Inc., Software Engineer
mailto:netch@portaone.com
Hi,
I just committed serial proper forking support into core - it was
migrated from LCR module. I mean proper, since it has q value support
and it can be used by any module without any inter-module dependencies.
The idea behind was to allow to all module that performs parallel
forking to do also serial forking - exec, enum, registrar, etc.
There are two new script functions :
*serialize_branches(n)* : it inherits the functionality of
load_contacts() from LCR; gets all parallel branches and convert them
into AVPs for serial forking; numerical parameter 'n' says if any
previous AVP should be removed (if non-0) or not (if 0). Returns true is
no error (even if no serialization happened).
*next_branches()* : it inherits the functionality of
next_contacts() from LCR; get (based on q value) the next contact(s) to
be used in sequential forking. Returns true only if a new contact was
got to be used.
The AVP containing the branches is accessible only via alias - its ID is
not configurable or visible; the alias (automatically exported by core)
is "serial_branch" - it is visible from any module that uses the avp
core aliasing system.
here are some examples of how to uses this new functionality:
1) enum doing serial forking:
{
.....
enum_query("e164.arpa.","voice");
serialize_branches(1);
if (!next_branches()) {
sl_send_reply(...no enum found...);
exit;
}
t_on_failure("1");
t_relay();
}
failure_route[1] {
if (next_branches()) {
t_relay();
}
}
2) same for registrar, just replace enum_query() with
lookup("location"). NOTE that this will not work yet if there are nated
contacts: there is no support to save also the flags and the dst_uri in
order to perform proper nat traversal.
The code was not yet heavily tested, so any help on this is highly
appreciated.
On the TO-DO list, related to this subject are:
1) SRV lookup to use this functionality to provide any additional
entries.
2) full support for registrar for nat traversal
3) remove load/next_contacts() from LCR (once this new functions
prove to be stable).
regards,
bogdan
I don't think this will work.
That means not only would the Asterisk box need to let REGISTER requests through without authentication, it would also need to let every other type of request through (INVITES come from OpenSER as well). You can't drill down to that level of detail in Asterisk and tell it to not authenticate for REGISTERs from OpenSER, but to authenticate for INVITE requests.
Doug
-----Original Message-----
From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at]
Sent: Wednesday, November 30, 2005 2:54 PM
To: Douglas Garstang
Cc: users(a)openser.org
Subject: Re: [Users] Sending Authorisation Credentials
configure asterisk to accept REGISTER without authentication, if it is
received from your proxy (IP address)
klaus
Douglas Garstang wrote:
> I have user agents registering with OpenSER. I wanted to 'copy' the registration to an Asterisk server, so I modified a standard openser.cfg as such:
>
> if (method=="REGISTER") {
>
> # Uncomment this if you want to use digest authentication
> if (!www_authorize("voip.com", "subscriber")) {
> www_challenge("voip.com", "0");
> exit;
> };
>
> save("location");
> t_replicate("192.168.10.7","5060"); # Added this line...
> exit;
> };
>
> I just stuck the t_replicate() call in there. OpenSER sends the REGISTER packet to the Asterisk box who requests credentials. How can I get OpenSER to send credentials (ie act as a UAC) for a given user, to a UAS?
>
> Thanks,
> Doug
>
>
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
Hiya,
I'm trying to configure ser in order to authenticate to mysql database.
I've installed ser from debian package version: ser 0.9.3 (i386/linux)
I've look for help into Google but I can't find any valuable help. This is
the error message:
0(0) DEBUG: init_mod: auth
0(0) auth module - initializing
0(0) find_export: found <sl_send_reply> in module sl_module
[/usr/lib/ser/modules/sl.so]
0(0) DEBUG: init_mod: auth_db
0(0) auth_db module - initializing
0(0) find_mod_export: <db_use_table> in module sql not found
0(0) bind_dbmod: Module sql does not export db_use_table function
0(0) ERROR: auth_db_bind: unable to bind to the database module
0(0) init_mod(): Error while initializing module auth_db
Can anyone help me?
--
-------------------------------------
Aquel que planta árboles bajo los
que sabe muy bien que nunca se
sentara, ha descubierto el auténtico
significado de la vida.
hi ,
this is john,
i need to write a TESt Stub in TCL for P/S/I CSCFs ,
need to install as a Proxy for the test setup.
do not find simple guidelines to install the same
Thanks & Regards
john
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or administrator(a)tataelxsi.co.in
Hi all,
I use ser with dbtext.
I have two questions.
1) I 've added many fields in my subscriber table, and I'd like to know if
all the table is loaded in memory when ser starts or if it only loads
the fields
it needs?
2)When I add users in my subscriber table, I must restart ser to load
the new accounts.
I thought there were a specific serctl which worked with dbtext, but I
can't find it. Can any one
give me a link where I can dowload it, and does it allow to insert new
users in the text table and in the
in loaded table at the same time? If not, how can I add my new users
directly in memory?
Thanks in advance.
B.R.
Xavier.
Hi Chan,
I also faced a similar problem in which when UA sends REGISTER to SER from
different IP address than what is present in the contact header of the
REGISTER message, then SER actually stores two AORs for the UA, i.e. one AOR
is the actual contact header value & other is the same username with the IP
address & port from which I sent the REGISTER message. I am not sure for the
reason of this kind of behavior. Anyone from the SER developer list should
be able to answer this query. So also forwarding this message to developers
list also.
Regards,
Pravesh
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On
Behalf Of tcchan
Sent: Wednesday, November 30, 2005 8:57 AM
To: serusers(a)lists.iptel.org
Subject: [Serusers] Repeated Register Message
Hi All,
I encountered a situation that somehow a UA keep on Registering with the
server with the same IP but on different port. So SER, thought that there
are multiple instances of the same username and save the various location
into the database.
The problem is it registers so often that the memory is full not very long.
I suspect it has something to do firewall but I am not sure.
Has anyone encounter this problem before? Any hint??
For the time being, is there a way to limit the number of REGISTER
message that the SER will take?
Regards,
TC Chan
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers