Hello,
I tried also to drop and the to install the db, but still I get the same error....
Please anybody can help me?
I am using openser version 1.1.0 dev17 tls
thanks in advance
Alessandro
----------------------------------------------------------------
Hello,
running openser with mysql db (through monitor), I retrieve:
ACC - initializing
Apr 11 18:58:32 dhc27-53-93pc /usr/local/sbin/openser[7806]: register_udomain(): Invalid table version (use openser_mysql.sh reinstall)
If I comment the module ACC loading I get the same error for the other modules.
I reinstalled, as suggested from the log the db, but still I get the error.
in table version I can see that the domain table has version 1
Any idea? This is a test db, do you suggest to erase it and to install it again?
thanks a lot
Alessandro
Hi Jan
I recently install a new SER server with Release 0.9.6 using the debian
distribution and I'm trying to use the radius configuration that I have
running at the SER server with Release 0.9.3 but I'm having troubles
with the following lines:
modparam("acc", "radius_config", "/etc/radiusclient-ng/radiusclient.conf")
modparam("acc", "service_type", 15)
modparam("acc", "radius_flag", 1)
modparam("acc", "radius_missed_flag", 3)
modparam("acc", "report_ack", 0)
when I test the ser.cfg I got "ERROR: bad config file (4 errors)"
I was looking for documentation about acc_radius module but I didn't
find documentation about it.
Is there someplace where I can find the new syntax for the modparam ?
Regards
Alberto Cruz
Hello,
running openser with mysql db (through monitor), I retrieve:
ACC - initializing
Apr 11 18:58:32 dhc27-53-93pc /usr/local/sbin/openser[7806]: register_udomain(): Invalid table version (use openser_mysql.sh reinstall)
If I comment the module ACC loading I get the same error for the other modules.
I reinstalled, as suggested from the log the db, but still I get the error.
in table version I can see that the domain table has version 1
Any idea? This is a test db, do you suggest to erase it and to install it again?
thanks a lot
Alessandro
Is there anything like the Flash Operator Panel for Asterisk (http://
www.asternic.org/) available for SER?
I have been running my systems with Asterisk and would like to start
migrating to SER, but kind of need similar functionality.
Thanks,
Waldo
Hi,
I'm using SER 0.9.6 as my SIP proxy, and free RADIUS 1.1.0 for accounting,
authorization and authentication. Users are in open LDAP 2.3.20. For
connecting to RADIUS I'm using auth_radius module which uses radusclient-ng.
Everything works fine when digest is used for authentication and
authorization but when I try to use LDAP for authentication and
authorization i get this from RADIUS:
rlm_ldap: - authorize
rlm_ldap: performing user authorization for 201(a)192.168.19.2
radius_xlat: '(uid=201(a)192.168.19.2)'
radius_xlat: 'ou=People,dc=sips,dc=tel,dc=fer,dc=hr'
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: attempting LDAP reconnection
rlm_ldap: (re)connect to 192.168.19.2:389, authentication 0
rlm_ldap: bind as cn=root,dc=sips,dc=tel,dc=fer,dc=hr/topsct to
192.168.19.2:389
rlm_ldap: waiting for bind result ...
rlm_ldap: Bind was successful
rlm_ldap: performing search in ou=People,dc=sips,dc=tel,dc=fer,dc=hr, with
filter (uid=201(a)192.168.19.2)
rlm_ldap: checking if remote access for 201(a)192.168.19.2 is allowed by
employeeType
rlm_ldap: Added password 201 in check items
rlm_ldap: looking for check items in directory...
rlm_ldap: Adding userPassword as User-Password, value 201 & op=21
rlm_ldap: looking for reply items in directory...
rlm_ldap: user 201(a)192.168.19.2 authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
modcall[authorize]: module "ldap" returns ok for request 0
modcall: leaving group authorize (returns ok) for request 0
rad_check_password: Found Auth-Type Ldap
auth: type "LDAP"
Processing the authenticate section of radiusd.conf
modcall: entering group LDAP for request 0
rlm_ldap: - authenticate
rlm_ldap: Attribute "User-Password" is required for authentication.
modcall[authenticate]: module "ldap" returns invalid for request 0
modcall: leaving group LDAP (returns invalid) for request 0
auth: Failed to validate the user.
I think this is the problem:
Attribute "User-Password" is required for authentication.
In users file I have added:a
DFAULT Auth-Type:=LDAP
to force using LDAP for authentication and authorization.
When i try to connect remotly using radius client from command
line, authorization and authentication works fine. When I capture packets
when using SER i can't see User-Password attribute.
Is there any way to solve this problem. May be to say in RADIUS that some of
digest attributes is actually User-Password attribute, or some other module
which enables using of RADIUS and LDAP.
Thanks in advance.
Best regards,
--
Ivan Turcin
Student at University of Zagreb, Faculty of Electricalengeniring and
Computing, Branch of Telecomunications and Informatics
Unska 3
HR-10000 Zagreb
Hi,
I've got a gateway which is only used for rounting and rtp proxying between providers and centrexes.
On reply to an INVITE, one of our provider send back a "183 Session Progress". The problem is that in the SDP block, we've got 2 media IP address and
rtpproxy only rewrite one.
Finally, the provider establish rtp session with our gateway, and our centrex directly with the provider.
provider gateway centrex
172.16.0.10 192.168.1.10 192.168.1.20
RTP -------------> RTP ------------> RTP
^-------------------------------------------------|
So my questions are, is it possible to have multiple IP address in SDP and if so, how can I tell rtpproxy to rewrite all of them.
Coming from provider:
SIP/2.0 183 Session Progress.
Via: SIP/2.0/UDP 192.168.1.10;branch=z9hG4bKdd67.a4cc2c44.0,SIP/2.0/UDP 192.168.1.20:5062;branch=z9hG4bKdd67.08f45a33.0,SIP/2.0/UDP
192.168.1.20:5060;branch=z9hG4bK4af242b7.
From: "02" <sip:0143132445@192.168.1.20>;tag=as226ce7b9.
To: <sip:0123456789@192.168.1.20:5062>;tag=3123AAA8-20C5.
Date: Tue, 11 Apr 2006 09:10:29 GMT.
Call-ID: 079ab6663e403ff44a1107e5111b075f(a)192.168.1.20.
Server: Cisco-SIPGateway/IOS-12.x.
CSeq: 102 INVITE.
Allow-Events: telephone-event.
Contact: <sip:677238#0123456789@172.16.0.10:5060>.
Record-Route: <sip:192.168.1.10;ftag=as226ce7b9;lr=on>,<sip:192.168.1.20:5062;ftag=as226ce7b9;lr=on>.
Content-Disposition: session;handling=required.
Content-Type: application/sdp.
Content-Length: 261.
.
v=0.
o=CiscoSystemsSIP-GW-UserAgent 3448 4768 IN IP4 172.16.0.10.
s=SIP Call.
c=IN IP4 172.16.0.10.
t=0 0.
m=audio 18322 RTP/AVP 18 101.
c=IN IP4 172.16.0.10.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
Forwarded to centrex:
SIP/2.0 183 Session Progress.
Via: SIP/2.0/UDP 192.168.1.20:5062;branch=z9hG4bK43a4.3e96aba3.0,SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK3213db83.
From: "02" <sip:0143132445@192.168.1.20>;tag=as1a2f900d.
To: <sip:0123456789@192.168.1.20:5062>;tag=3121D1B4-1BFD.
Date: Tue, 11 Apr 2006 09:08:28 GMT.
Call-ID: 08467c5e299ab833106517c63d3edc2e(a)192.168.1.20.
Server: Cisco-SIPGateway/IOS-12.x.
CSeq: 102 INVITE.
Allow-Events: telephone-event.
Contact: <sip:677238#0123456789@172.16.0.10:5060>.
Record-Route: <sip:192.168.1.10;ftag=as1a2f900d;lr=on>,<sip:192.168.1.20:5062;ftag=as1a2f900d;lr=on>.
Content-Disposition: session;handling=required.
Content-Type: application/sdp.
Content-Length: 277.
.
v=0.
o=CiscoSystemsSIP-GW-UserAgent 565 174 IN IP4 172.16.0.10.
s=SIP Call.
c=IN IP4 172.16.0.10.
t=0 0.
m=audio 36296 RTP/AVP 18 101.
c=IN IP4 192.168.1.10.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=nortpproxy:yes.
openser.cfg
(...)
onreply_route[1] {
if (status =~ "(180)|(183)|2[0-9][0-9]") {
fix_nated_contact();
if (!search("^Content-Length:[ ]*0")) {
force_rtp_proxy();
};
} else if (nat_uac_test("1")) {
fix_nated_contact();
};
}
(...)
Best regards,
Nicolas Olivier
Does anybody know how can I send credentials to a gateway?
For example: I forward a call using forward(uri:host, uri:port);but my
gateway needs authentication.
Tks,
D.K.
Hi,
Is it a bug or my fault?
http://www.voice-system.ro/docs/avpops/ar01s06.html#avp_db_load states
for the syntax of avp_db_load(source, name):
name - which AVPs will be loaded from DB into memory. This can be an
avp_name or an avp_alias. It can be empty - which means all AVPs, or
you may specify only the type - 'i:' means all AVPs with ID.
Now if I try this one (CVS HEAD):
avp_db_load("$avp($callee_uuid)","i:");
or this one:
avp_db_load("$avp($callee_uuid)","");
with $avp($callee_uuid) being '2', the corresponding DB query *always*
looks like this:
submit_query(): select value,attribute,type from usr_preferences where
uuid='2' AND attribute='0'
which doesn't return a result. I'd rather expect the query being "select
value,attribute,type from usr_preferences where uuid='2' AND type=2" and
"select value,attribute,type from usr_preferences where uuid='2'" for my
two statements.
The queried table looks like this:
mysql root@openser> select * from usr_preferences where uuid='2'\G
*************************** 1. row ***************************
uuid: 2
username: 012345
domain: my.domain
attribute: 100
type: 2
value: 01
modified: 2006-04-11 11:21:22
Thanks,
Andy
Hi Bogdan,
i setup my openser.cfg to store SIP messages into acc tables of mysql,
using extra accounting to store also the body part of the message.
Now i need that openser read into that db's table, in particular in some
rows of db.
If I use avp_db_load it works only over usr_preference table, instead I
want it looks into acc table.
How can I do?
Thanks for help
Davide
I've compiled and installed the sources successfully on a Sun Mircosystems
20z with Red Hat Enterprise v3 running the OS. When I try to use radius it
always fails to log the user in and authenticate with radius. If I run SER
on a 32 bit system with the same configurations as the 64 bit system it
works fine. After reading some documentation, I caught reference in regards
to radiusclient-ng only supported on 32 bit systems. Is this true?
The only thing that doesn't work is when a user tries to authenticate
through radius the authentication always fails on the 64 bit OS. Am I
missing any pre-configuration options prior to compiling on a 64 bit OS?
Please help.
~Alan
Error message received from debug:
pre_auth(): Credentials with given realm not found