[Users] Errors whie doing openser integration with radius server

Sanjeev Manoli meghsan at gmail.com
Tue Nov 7 04:55:52 CET 2006


Hi,
  I am getting following errors as seen in /var/log/message while running
openser with radius integration,
*****************************************************************************************
Nov  6 20:33:45 lx-dev monit[13565]: 'openser' start: /etc/init.d/openser
Nov  6 20:33:45 lx-dev monit[13565]: 'openser' failed to start
Nov  6 20:33:45 lx-dev openser: init_tcp: using epoll_lt as the io watch
method (auto detected)
Nov  6 20:33:45 lx-dev openser: INFO: statistics manager successfully
initialized
Nov  6 20:33:45 lx-dev openser: StateLess module - initializing
Nov  6 20:33:45 lx-dev openser: TM - initializing...
Nov  6 20:33:46 lx-dev openser: Maxfwd module- initializing
Nov  6 20:33:46 lx-dev openser: AVPops - initializing
Nov  6 20:33:46 lx-dev openser: TextOPS - initializing
Nov  6 20:33:46 lx-dev openser: ACC - initializing
Nov  6 20:33:46 lx-dev openser: AUTH module - initializing
Nov  6 20:33:46 lx-dev openser: xl_parse_item: error - bad parameters
Nov  6 20:33:46 lx-dev openser: ERROR:avpops:fixup_check_avp: unable to get
pseudo-variable in P1
Nov  6 20:33:46 lx-dev openser: ERROR: fix_actions: fixing failed (code=-2)
at cfg line 146
Nov  6 20:33:46 lx-dev openser: ERROR: fix_expr : fix_actions error
*****************************************************************************************
    I am using openser (Version: openser-1.1.0-tls) and radius server (
freeradius-1.1.3) along with radiusclient-ng (radiusclient-ng-0.5.2).
I exactly followed the following radius integration documentation from
openser web site,
http://openser.org/docs/openser-radius-1.0.x.html

For your reference I am also attaching the openser.cfg file that I am using.

If I remove the radius integration related part from openser.cfg then my
openser server starts fine, I have tested it with kphone SIP UA and it works
fine.

One other question is I get parse error for following 2 statements in
openser.cfg (I commented them to make forward progress). Please advice the
right syntax to use following modparam statements.
modparam("acc", "radius_extra", "Sip-Src-IP=$si;Sip-Src-Port=$sp")
modparam("avpops", "avp_aliases", "day=i:101;time=i:102")

This is kind of urgent for me and I am clueless at this point so really
appreciate all your help.

Thanks,
- San
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20061106/e29432ef/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openser.cfg
Type: application/octet-stream
Size: 6128 bytes
Desc: not available
Url : http://lists.kamailio.org/pipermail/users/attachments/20061106/e29432ef/attachment.obj 


More information about the Users mailing list