[OpenSIPS-Users] Opensips 1.10.1 and radius problem

dpa denis7979 at mail.ru
Thu May 29 08:22:51 CEST 2014



Hello!

 

I have such configuration in opensips.cfg

:.

    radius_send_auth("set1","set2");

     switch($rc){

 

     case -2:

     exec_msg("echo '$avp(500) $rU $time(%c) rejected' >>
/opensips/alarmradius.txt");

     break;

 

     case -1:

     exec_msg("echo '$avp(500) $rU $time(%c) radius' >>
/opensips/alarmradius.txt");

     break;

 

   }

:

In attachment you can see communication of Opensips with radius server
during making some test call (1.1.1.1 - Opensips, 2.2.2.2 - radius server)

 

After making a test call i see in alarmradius.txt record with "radius" word.

The question is why do I see "radius" word (and it means that Opensips
detected "retcode -1") but not "rejected" ("retcode -2") word? 

 

Thank you for any help.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140529/8800fbef/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 906 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20140529/8800fbef/attachment-0001.gif>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: radius_pr.txt
URL: <http://lists.opensips.org/pipermail/users/attachments/20140529/8800fbef/attachment-0001.txt>


More information about the Users mailing list