[OpenSIPS-Users] OpenSIPS 3.1 issue

Johan De Clercq johan at democon.be
Thu Aug 8 12:11:21 EDT 2019


Put in var and do like this $(var(a){s.int}).

Outlook voor iOS<https://aka.ms/o0ukef> downloaden

________________________________
Van: Users <users-bounces at lists.opensips.org> namens Aatif Shaikh <aatif.shaikh at ecosmob.com>
Verzonden: donderdag, augustus 8, 2019 6:01 PM
Aan: users at lists.opensips.org
Onderwerp: [OpenSIPS-Users] OpenSIPS 3.1 issue

Hi ,
         we faced issue in acc module we passed float value in avp(name) variable for radius accounting. previous we pass float value in "1.0" double quotes in OpenSIPS version 2.4 it is work fine but after OpenSIPS updation of OpenSIP version we are facing some issue with string to int conversion and process is stuck in loop and due to this we are facing utimer ERROR and full the memory.i'm attache scenario below what we try to say.

opensips.cfg OpenSIPS 2.4

$avp(cdr_lcr_rate)="0.0";
$acc_extra(cdr_lcr_rate)=$avp(cdr_lcr_rate);

its working fine in with version OpenSIPS 2.4

---------------------------------------------------------------------

opensips.cfg OpenSIPS 3.1

$avp(cdr_lcr_rate)="0.0";
$acc_extra(cdr_lcr_rate)=$avp(cdr_lcr_rate);

we face below error

ERROR:aaa_radius:rad_avp_add: error converting string to integer
ERROR:acc:acc_aaa_request: failed to add cdr_lcr_rate, 18

/usr/local/sbin/opensips[19730]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 100 ms ago (now 17060 ms), delaying execution
/usr/local/sbin/opensips[19730]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 100 ms ago (now 17060 ms), delaying execution
/usr/local/sbin/opensips[19730]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 100 ms ago (now 17060 ms), delaying execution
/usr/local/sbin/opensips[19730]: WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 100 ms ago (now 17060 ms), delaying execution
.....

result of top command

19733 root      20   0  233212  10996   1236 R 100.0  0.0   8:49.35 opensips
19735 root      20   0  233348  13180   3216 R 100.0  0.0   8:25.35 opensips
19734 root      20   0  233212  12200   2428 R  99.7  0.0   8:55.28 opensips

How I will convert this so that it will support in OpenSIPS 3.1 please help me on this.

Thank You




--
--

Regards,

Aatif Shaikh | Jr. Software Developer

+91 9033976268Hangout: aatif.shaikh at ecosmob.com<mailto:aatif.shaikh at ecosmob.com>Skype : aatif.shaikh at ecosmob.com<mailto:aatif.shaikh at ecosmob.com>
Ecosmob Technologies Pvt. Ltd.
https://www.ecosmob.com<https://www.ecosmob.com/>
VoIP | Web | Mobile | IoT | Big Data
[https://s3.amazonaws.com/htmlsig-assets/round/twitter.png]<https://twitter.com/ecosmob> [https://s3.amazonaws.com/htmlsig-assets/round/facebook.png] <https://www.facebook.com/Ecosmob>  [https://s3.amazonaws.com/htmlsig-assets/round/googleplus.png] <https://plus.google.com/+Ecosmob>  [https://s3.amazonaws.com/htmlsig-assets/round/linkedin.png] <https://www.linkedin.com/company/ecosmob>  [https://s3.amazonaws.com/htmlsig-assets/round/pinterest.png] <https://in.pinterest.com/ecosmob/>

This e-mail message may contain confidential or legally privileged information and is intended only for the use of the intended recipient(s). Any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is prohibited. Ecosmob Technologies is not responsible for errors or omissions in this message and denies any responsibility for any damage arising from the use of e-mail. Any opinion and other statement contained in this message and any attachment are solely those of the author and do not necessarily represent those of the company.

Disclaimer
In addition to generic Disclaimer which you have agreed on our website, any views or opinions presented in this email are solely those of the originator and do not necessarily represent those of the Company or its sister concerns. Any liability (in negligence, contract or otherwise) arising from any third party taking any action, or refraining from taking any action on the basis of any of the information contained in this email is hereby excluded.

Confidentiality
This communication (including any attachment/s) is intended only for the use of the addressee(s) and contains information that is PRIVILEGED AND CONFIDENTIAL. Unauthorized reading, dissemination, distribution, or copying of this communication is prohibited. Please inform originator if you have received it in error.

Caution for viruses, malware etc.
This communication, including any attachments, may not be free of viruses, trojans, similar or new contaminants/malware, interceptions or interference, and may not be compatible with your systems. You shall carry out virus/malware scanning on your own before opening any attachment to this e-mail. The sender of this e-mail and Company including its sister concerns shall not be liable for any damage that may incur to you as a result of viruses, incompleteness of this message, a delay in receipt of this message or any other computer problems.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190808/f61bcd9f/attachment.html>


More information about the Users mailing list