[OpenSIPS-Users] Blocking of BYE while Free Radius doing accounting

Sureshbhai Talasaniya suresh.talasaniya at ecosmob.com
Thu Aug 10 09:43:10 EDT 2017


Hello,

Please find output of *readelf -d
/usr/local/lib64/opensips/modules/aaa_radius.so.*


[root at OS ~]#  *readelf -d /usr/local/lib64/opensips/modules/aaa_radius.so *

Dynamic section at offset 0xbd58 contains 25 entries:
 Tag        Type                         Name/Value
0x0000000000000001 (NEEDED)             Shared library:
[libfreeradius-client.so.2]
0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
0x000000000000000c (INIT)               0x1b20
0x000000000000000d (FINI)               0x92a4
0x0000000000000019 (INIT_ARRAY)         0x20bd38
0x000000000000001b (INIT_ARRAYSZ)       8 (bytes)
0x000000000000001a (FINI_ARRAY)         0x20bd40
0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)
0x000000006ffffef5 (GNU_HASH)           0x1f0
0x0000000000000005 (STRTAB)             0xc10
0x0000000000000006 (SYMTAB)             0x3b8
0x000000000000000a (STRSZ)              1182 (bytes)
0x000000000000000b (SYMENT)             24 (bytes)
0x0000000000000003 (PLTGOT)             0x20c000
0x0000000000000002 (PLTRELSZ)           1008 (bytes)
0x0000000000000014 (PLTREL)             RELA

0x0000000000000017 (JMPREL)             0x1730

0x0000000000000007 (RELA)               0x1190

0x0000000000000008 (RELASZ)             1440 (bytes)

0x0000000000000009 (RELAENT)            24 (bytes)

0x000000006ffffffe (VERNEED)            0x1160

0x000000006fffffff (VERNEEDNUM)         1

0x000000006ffffff0 (VERSYM)             0x10ae

0x000000006ffffff9 (RELACOUNT)          19

0x0000000000000000 (NULL)               0x0


So, Please let me Correct, If I am doing wrong stuff.

Thank you.


On Thu, Aug 10, 2017 at 10:26 AM, Sureshbhai Talasaniya <
suresh.talasaniya at ecosmob.com> wrote:

> Hello Bogdan,
>
> Thank you for your support.
>
> I am looking Non-blocking AAA Accounting, Currently, AAA Accounting blocks
> the SIP signaling messages
> due to that SIP message get the delay, It relays the SIP message after AAA
> Accounting completed.
>
> Thank you.
>
>
>
>
>
> On Wed, Aug 9, 2017 at 6:18 PM, Bogdan-Andrei Iancu <bogdan at opensips.org>
> wrote:
>
>> Hi,
>>
>> Have you re-compiled the libradiusclient library with the async support ?
>>     http://www.opensips.org/html/docs/modules/2.3.x/aaa_radius.h
>> tml#idp5674048
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>>   OpenSIPS Founder and Developer
>>   http://www.opensips-solutions.com
>>
>> OpenSIPS Bootcamp 2017, Houston, US
>>   http://opensips.org/training/OpenSIPS_Bootcamp_2017.html
>>
>> On 08/08/2017 04:27 PM, Sureshbhai Talasaniya wrote:
>>
>> Hello,
>>
>> *------- BYE -----> OPenSIPs  ------BYE------> FS*
>>
>>
>> ON BYE request OpenSIPs do accounting using below configuration.
>> async( radius_send_acct("set2"), DEFAULT_RELAY_ROUTE_0);
>>
>> When there are 100 cps, I am facing the issue in some calls
>> while free-radius takes approx 1 sec to complete accounting but on that
>> calls OpenSIPs block the BYE message until free-radius complete accounting.
>>
>>
>> Aug  8 08:31:16 OS /usr/local/sbin/opensips[3977]: [
>> 793-30802 at xx.xx.xx.xx ] Before Accounting : 1502181075000072
>> Aug  8 08:31:16 OS /usr/local/sbin/opensips[3977]: [
>> 793-30802 at xx.xx.xx.xx ] After Accounting : 1502181076001483
>>
>> OpenSIPs received BYE Time: 1502181075000072
>>
>> OpenSIPs Relay BYE Time: 1502181076001483
>>
>>
>> Time Difference Between Relay BYE and Received BYE
>> *1502181076001483 - 1502181075000072=1001411 usec.*
>>
>>
>> How to prevent Blocking of BYE while Free Radius doing accounting?
>>
>> Free Radius is running on UDP protocol.
>>
>> It would be appreciable if any help.
>>
>> Thank You
>>
>>
>>
>> --
>> Regards,
>> Suresh Talasaniya.
>> Software Developer.
>> Ecosmob Technologies Pvt. Ltd.
>> Contact : +91-9724264776
>> Skype : suresh.ecosmob
>>
>>
>> _______________________________________________
>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
>
> --
> Regards,
> Suresh Talasaniya.
> Software Developer.
> Ecosmob Technologies Pvt. Ltd.
> Contact : +91-9724264776
> Skype : suresh.ecosmob
>



-- 
Regards,
Suresh Talasaniya.
Software Developer.
Ecosmob Technologies Pvt. Ltd.
Contact : +91-9724264776
Skype : suresh.ecosmob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170810/9a494bc6/attachment-0001.html>


More information about the Users mailing list