Hi,
I'm following the examples on the book "Building Telephony Systems with
OpenSer".
I came to Accounting and Billing chapter using FreeRadius.
Flavio (the author) says we need to apply a patch to the freeradius to
"fix a problem with accounting type 15".
My question is - is it still necessary to apply that patch or the new
version of freeradius allready covers it?
I'm having big problems applying that patch because of the key signature
problems.
Appreciate any help in this subject.
Thanks in advance,
Nuno
I am out of the office until 07-09-2008.
Privremeno nedostupan - Out-of-Office Message.
Poruka koju ste poslali je prispela i bice sacuvana, ali napominjem da
sam na odmoru van zemlje do 07.09.2008. i moj pristup elektronskoj posti
bice veoma ogranicen.
Ukoliko se radi o potrebi za hitnom intervencijom, dostupan sam preko
mobilnog telefona 065/3016576.
The message that you have sent will be saved in my inbox, but please
note that due to summer holliday I will be out of the country until
07.09.2008. In that period my access to my email will be very limited.
In case of urgency, I am available on my mobile phone: +381 65 3016576.
Miodrag Radulovic
General Manager
COMUTEL
Note: This is an automated response to your message "Users Digest, Vol 39,
Issue 83" sent on 23.8.2008 0:49:18.
This is the only notification you will receive while this person is away.
Hi,
thanks for your reply. I'll ignore this but I see so many open connection to
MySQL from SER and they don't get close automatically also resulting in
denial of other service using my MySQL.
Thanks
arun
On Mon, Aug 18, 2008 at 10:12 PM, Jiri Kuthan <jiri(a)iptel.org> wrote:
> ignore it
>
> Arun Kumar wrote:
>
>> Hi,
>>
>>
>> I'm running SER 0.96 in my production for a long but there is strange
>> problem , when I do serctl moni and looks for transaction it shows waiting
>> transaction in () almost 400+ can some one tell me why there are so many
>> transaction in waiting while I see processing only 10-20 transaction.
>>
>> Thanks
>> arun
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Serusers mailing list
>> Serusers(a)lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>>
>
Hi all,
I´m using mediaproxy 2.0.3 on OpenSuSE 11.0.
When I run the "media-dispatcher" I see this message bellow:
PS.: The OpenSuSE 11.0 doesn´t have the module "libgnutls-extra.so.13" only
the libgnutls-extra.so.26".
########
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] Log opened.
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] Starting MediaProxy
Dispatcher 2.0.3
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] Traceback (most recent call
last):
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] File
"/usr/local/mediaproxy-2.0.3/media-dispatcher", line 46, in
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] from mediaproxy.dispatcher
import Dispatcher
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] File
"/usr/local/mediaproxy-2.0.3/mediaproxy/dispatcher.py", line 31, in
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] from mediaproxy.tls import
X509Credentials, X509NameValidator
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] File
"/usr/local/mediaproxy-2.0.3/mediaproxy/tls.py", line 12, in
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] from gnutls import crypto
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] File
"/usr/lib/python2.5/site-packages/gnutls/crypto.py", line 11, in
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] from gnutls.validators
import method_args, none, ignore, list_of, one_of
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] File
"/usr/lib/python2.5/site-packages/gnutls/validators.py", line 9, in
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] from gnutls.constants
import *
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] File
"/usr/lib/python2.5/site-packages/gnutls/constants.py", line 38, in
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] from gnutls.library import
constants
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] File
"/usr/lib/python2.5/site-packages/gnutls/library/__init__.py", line 7, in
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] from gnutls.library import
errors
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] File
"/usr/lib/python2.5/site-packages/gnutls/library/errors.py", line 14, in
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] from
gnutls.library.functions import gnutls_strerror, gnutls_alert_get
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] File
"/usr/lib/python2.5/site-packages/gnutls/library/functions.py", line 6, in
Aug 21 17:18:32 nana media-dispatcher[5502]: [-]
_libraries['libgnutls-extra.so.13'] = CDLL('libgnutls-extra.so.13')
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] File
"/usr/lib/python2.5/ctypes/__init__.py", line 348, in __init__
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] self._handle =
_dlopen(self._name, mode)
Aug 21 17:18:32 nana media-dispatcher[5502]: [-] OSError:
libgnutls-extra.so.13: cannot open shared object file: No such file or
directory
#####
Thanks a lot!!!
Hello,
one of the most hidden parts of openser to the config is the branch
processing.
Behind a branch is following structure:
struct branch
{
char uri[MAX_URI_SIZE];
unsigned int len;
/* Real destination of the request */
char dst_uri[MAX_URI_SIZE];
unsigned int dst_uri_len;
/* Path vector of the request */
char path[MAX_PATH_SIZE];
unsigned int path_len;
int q; /* Preference of the contact among contact within the array */
struct socket_info* force_send_socket;
unsigned int flags;
};
I am thinking in offering a fine access to this structure in
configuration file, so the admin can control much closer the branch
processing. By using while and and index, checks of the attributes in
branches could be done. By doing it in main route, one can reduce the
overload of stateful processing, by dropping a branch before going to
transaction, for example.
I am looking at something similar for user location records. Such a
record has many attributes, and from config is no way to access them
without doing a lookup and changing r-uri/branches.
There could be many benefits, for example:
- being able to detect if a user calls from a registered phone or not
- detecting how many contacts a user has at a moment
- ability to check and, eventually, drop processing before doing changes
to branches and so on...
The access will be provided via pseudo-variables, perhaps the location
records will be fetched in variables upon calling a function that gets
an AoR as parameter.
I have seen on mailing lists discussions about needs that will be solved
by this new feature. Any comments?
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
Hi,
Im bit cnfsd, does SerMyAdmin support Kamailio-1.4.0?. I did my
configuration using SerMyAdmin 0.7-Beta.war and then 0.7-beta.war
files, but everytime i pointed my browser to the IP address of my
installation my Tomcat6 server return the message that SerMyAdmin does
not exist!!! Can someone pls'e clarify this?? ..
wbr,
Lu.
--
Luzango Mfupe
TUUNE MOBILE
Tel:0128440528/0123825710
Tshwane-RSA
"...Ships are safe in harbor, but they were never meant to stay there......."
Greetings,
This is openser 1.2.1 compiled with TLS, TLS is not turned on.
This is part of the config file:
listen=xxx.xxx.xxx.xxx # This is where OpenSER installed
port=5070
children=25
tcp_connect_timeout=2
tcp_max_connections=8192
reply_to_via = no
sip_warning = yes
check_via = no
dns=no
rev_dns=no
disable_dns_blacklist=true
here's the problem:
I have 25 users having each other as a contact. Softphone is Bria, transport
is tcp
here comes subscribe:
08/21 15:07:46 8029 debug <loose.c: 115> find_first_route: No Route headers
found
08/21 15:07:46 8029 debug <loose.c: 883> loose_route: There is no Route HF
08/21 15:07:46 8029 notice <xlog.c: 148> TRACKING [18] - M=SUBSCRIBE
RURI=sip:dmarkiew@tamtam.com F=sip:sgarratt@tamtam.com
T=sip:dmarkiew@tamtam.com IP=333.64.100
.15 ID=YTBmOTJhNGI5M2RmZjYyNmM2NGFhMmI1NmRjMmY4ZWE.
08/21 15:07:46 8029 debug <dset.c: 445> rewrite_uri: Rewriting Request-URI
with
'sip:dmarkiew@76.222.53.112:53363;transport=TCP;rinstance=575ebcf03ae72b26'
08/21 15:07:46 8029 debug <dset.c: 285> ******* setting for branch 0 flags
C0
08/21 15:07:46 8029 debug <dset.c: 285> ******* setting for branch 1 flags
C0
08/21 15:07:46 8029 notice <xlog.c: 148> TRACKING [1] - M=SUBSCRIBE
RURI=sip:dmarkiew@76.222.53.112:53363;transport=TCP;rinstance=575ebcf03ae72b26
D-URI=sip:76.222.53.11
2:53363;transport=TCP F=sip:sgarratt@tamtam.com T=sip:dmarkiew@tamtam.com
IP=333.64.100.15 ID=333.64.100.15
08/21 15:07:46 8029 notice <xlog.c: 148> TRACKING [1] USING NATed reply -
M=SUBSCRIBE
RURI=sip:dmarkiew@76.222.53.112:53363;transport=TCP;rinstance=575ebcf03ae72b26
D-UR
I=sip:76.222.53.112:53363;transport=TCP F=sip:sgarratt@tamtam.com
T=sip:dmarkiew@tamtam.com IP=333.64.100.15 ID=333.64.100.15
08/21 15:07:46 8029 debug <t_lookup.c: 1037> DEBUG: t_newtran: T on
entrance=0xffffffff
08/21 15:07:46 8029 debug <parser/msg_parser.c: 310> parse_headers:
flags=ffffffffffffffff
08/21 15:07:46 8029 debug <parser/msg_parser.c: 310> parse_headers:
flags=78
08/21 15:07:46 8029 debug <t_lookup.c: 407> t_lookup_request: start
searching: hash=41567, isACK=0
and later I get this:
08/21 15:07:48 8029 err <tcp_main.c: 291> ERROR: tcp_blocking_connect:
timeout 2 s elapsed from 2 s
08/21 15:07:48 8029 err <tcp_main.c: 459> ERROR: tcpconn_connect:
tcp_blocking_connect failed
08/21 15:07:48 8029 err <tcp_main.c: 721> ERROR: tcp_send: connect failed
08/21 15:07:48 8029 err <../../forward.h: 105> msg_send: ERROR: tcp_send
failed
08/21 15:07:48 8029 err <t_fwd.c: 767> ERROR:tm:t_forward_nonack: sending
request failed
08/21 15:07:48 8029 debug <tcp_main.c: 718> tcp_send: no open tcp
connection found, opening new one
And I get a lot of it. Eventually I may get SO_ERROR(111) and then I have to
restart proxy.
I can post entire config script if anybody had/resolved/willing to take a
look at the problem.
Thanks a lot,
Toly
--
View this message in context: http://www.nabble.com/openser-1.2.1-errors-in-the-log---tcp-blocking-tp1909…
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.
Hi Edson,
Please check the tomcat logs. They can be found at /usr/local/tomcat6/logs. When tomcat6 don't start, usually is a typo in the configuration files.
Best regards,
Flavio E. Goncalves
----- Mensagem original ----
De: Edson - Listas <4lists(a)gmail.com>
Para: Flavio Goncalves <flavio(a)asteriskguide.com>
Cc: Asim Riaz <ariaz78(a)gmail.com>; users <users(a)lists.kamailio.org>
Enviadas: Quinta-feira, 21 de Agosto de 2008 14:05:27
Assunto: Re: [Kamailio-Users] Res: Help with SerMyAdmin
Yesterday, we faced a similar/related problem, but because Tomcat
process was killed. When we try to run it again, SerMyAdmin refuse to
start, altought all configurations and DB definitions where there...
Any ideas on how to restore it?
Edson.
Flavio Goncalves escreveu:
> Hi Assim,
>
> I'm glad it is working. SerMyAdmin creates the database fields during
> the first run, that's why it worked after restarting the tomcat. The sql
> file creates the required users. I'm working to have a debian package
> for SerMyAdmin soon.
>
> Regards,
>
> Flavio E. Goncalves
>
> ----- Mensagem original ----
> De: Asim Riaz <ariaz78(a)gmail.com>
> Para: users <users(a)lists.kamailio.org>
> Enviadas: Quinta-feira, 21 de Agosto de 2008 12:02:50
> Assunto: Re: [Kamailio-Users] Help with SerMyAdmin
>
> Its working thanks for the help.
> I removed my existing serMyAdmin directory from tomcat, restarted the
> tomcat and run the script mysql -u root -p openser <openser.sql
>
> regards
> Asim Riaz
>
> On Thu, Aug 21, 2008 at 3:46 PM, Nuno Marques <yangsengopenser(a)gmail.com
> <mailto:yangsengopenser@gmail.com>> wrote:
>
> How did you add the user? With openserctl or with sermyadmin?
> Note that you have to use the same login/pass that are on the sql
> script - admin@setup for login and secret for pass.
>
>
> 2008/8/21 Asim Riaz <ariaz78(a)gmail.com <mailto:ariaz78@gmail.com>>
>
> When I am adding a user i am getting
> java.lang.NullPointerException;
>
> also I cant login using admin username.
>
> On Thu, Aug 21, 2008 at 3:06 PM, Nuno Marques
> <yangsengopenser(a)gmail.com <mailto:yangsengopenser@gmail.com>>
> wrote:
>
> Hi again,
>
> I was looking at the database schema of openser and i
> noticed that the subscriber table only has 12 columns till rpid.
> Looking at the openser.sql script, it has more than 12
> columns (including the 'version' column...).
> What is wrong? Should SerMyAdmin add this columns to the
> subscriber table?
> Is it lacking me something in the database subscribet table?
> Any help with this?
>
> Thanks in advance,
>
> Nuno
>
> 2008/8/20 muhammad akl <muhammad.akl(a)gmail.com
> <mailto:muhammad.akl@gmail.com>>
>
>
>
> Hi Nuno
>
> i faced some problems your already facing and succeeded
> to solve them so i'd like to as you
>
> did you install SERweb tables ?
>
> if though the problems come from there especially the
> phplib_id field a duplication happened between it and
> the "id" filed so you have to remove SERweb tables and
> all thing will go smoothly without any errors
>
> p.s i recommend you to remove the whole database e.g
> openser and install it again using openser_mysql.sh script
>
> e.g /path/to/openser_mysql.sh create
>
> press yes for presence and that stuff but for SERweb no
>
> try and tell me what you get
>
> BR
>
> Muhammad
>
>
>
> _______________________________________________
> Users mailing list
> Users(a)lists.kamailio.org <mailto:Users@lists.kamailio.org>
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users(a)lists.kamailio.org <mailto:Users@lists.kamailio.org>
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users(a)lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
Hi Assim,
I'm glad it is working. SerMyAdmin creates the database fields during the first run, that's why it worked after restarting the tomcat. The sql file creates the required users. I'm working to have a debian package for SerMyAdmin soon.
Regards,
Flavio E. Goncalves
----- Mensagem original ----
De: Asim Riaz <ariaz78(a)gmail.com>
Para: users <users(a)lists.kamailio.org>
Enviadas: Quinta-feira, 21 de Agosto de 2008 12:02:50
Assunto: Re: [Kamailio-Users] Help with SerMyAdmin
Its working thanks for the help.
I removed my existing serMyAdmin directory from tomcat, restarted the tomcat and run the script mysql -u root -p openser <openser.sql
regards
Asim Riaz
On Thu, Aug 21, 2008 at 3:46 PM, Nuno Marques <yangsengopenser(a)gmail.com> wrote:
How did you add the user? With openserctl or with sermyadmin?
Note that you have to use the same login/pass that are on the sql script - admin@setup for login and secret for pass.
2008/8/21 Asim Riaz <ariaz78(a)gmail.com>
When I am adding a user i am getting java.lang.NullPointerException;
also I cant login using admin username.
On Thu, Aug 21, 2008 at 3:06 PM, Nuno Marques <yangsengopenser(a)gmail.com> wrote:
Hi again,
I was looking at the database schema of openser and i noticed that the subscriber table only has 12 columns till rpid.
Looking at the openser.sql script, it has more than 12 columns (including the 'version' column...).
What is wrong? Should SerMyAdmin add this columns to the subscriber table?
Is it lacking me something in the database subscribet table?
Any help with this?
Thanks in advance,
Nuno
2008/8/20 muhammad akl <muhammad.akl(a)gmail.com>
Hi Nuno
i faced some problems your already facing and succeeded to solve them so i'd like to as you
did you install SERweb tables ?
if though the problems come from there especially the phplib_id field a duplication happened between it and the "id" filed so you have to remove SERweb tables and all thing will go smoothly without any errors
p.s i recommend you to remove the whole database e.g openser and install it again using openser_mysql.sh script
e.g /path/to/openser_mysql.sh create
press yes for presence and that stuff but for SERweb no
try and tell me what you get
BR
Muhammad
_______________________________________________
Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users