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
Hello,
On 11/07/06 05:55, Sanjeev Manoli wrote:
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
The syntax of avpops functions' prameters has changed (the above tutorial is for openser 1.0.x): http://www.openser.org/dokuwiki/doku.php/install:1.0.x-to-1.1.x#avpops
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")
http://www.openser.org/docs/modules/1.1.x/acc.html#AEN356
Cheers, Daniel
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
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users