Browse code

modules: acc_radius, kazoo, misc_radius - regenerated readmes

Daniel-Constantin Mierla authored on 10/05/2016 14:31:14
Showing 3 changed files
... ...
@@ -16,7 +16,7 @@ Daniel-Constantin Mierla
16 16
    asipto.com
17 17
    <miconda@gmail.com>
18 18
 
19
-   Copyright © 2002, 2003 FhG FOKUS
19
+   Copyright � 2002, 2003 FhG FOKUS
20 20
      __________________________________________________________________
21 21
 
22 22
    Table of Contents
... ...
@@ -36,6 +36,7 @@ Daniel-Constantin Mierla
36 36
               3.3. radius_missed_flag (integer)
37 37
               3.4. service_type (integer)
38 38
               3.5. radius_extra (string)
39
+              3.6. rad_time_mode(integer)
39 40
 
40 41
         4. Functions
41 42
 
... ...
@@ -48,7 +49,8 @@ Daniel-Constantin Mierla
48 49
    1.3. radius_missed_flag example
49 50
    1.4. service_type example
50 51
    1.5. radius_extra example
51
-   1.6. acc_rad_request usage
52
+   1.6. rad_time_mode example
53
+   1.7. acc_rad_request usage
52 54
 
53 55
 Chapter 1. Admin Guide
54 56
 
... ...
@@ -67,6 +69,7 @@ Chapter 1. Admin Guide
67 69
         3.3. radius_missed_flag (integer)
68 70
         3.4. service_type (integer)
69 71
         3.5. radius_extra (string)
72
+        3.6. rad_time_mode(integer)
70 73
 
71 74
    4. Functions
72 75
 
... ...
@@ -97,8 +100,13 @@ Chapter 1. Admin Guide
97 100
 
98 101
    The following libraries or applications must be installed before
99 102
    running Kamailio with this module loaded:
100
-     * radiusclient-ng 0.5.0 or higher. See
101
-       http://developer.berlios.de/projects/radiusclient-ng/.
103
+     * radiusclient-ng 0.5.0 or higher, freeradius-client
104
+       https://github.com/FreeRADIUS/freeradius-client/ or radcli
105
+       http://radcli.github.io/radcli/.
106
+     * freeradius-client library can be used after setting FREERADIUS
107
+       variable in source code with 'export FREERADIUS=1' before compile.
108
+     * radcli library can be used after setting RADCLI variable in source
109
+       code with 'export RADCLI=1' before compile.
102 110
 
103 111
 3. Parameters
104 112
 
... ...
@@ -107,6 +115,7 @@ Chapter 1. Admin Guide
107 115
    3.3. radius_missed_flag (integer)
108 116
    3.4. service_type (integer)
109 117
    3.5. radius_extra (string)
118
+   3.6. rad_time_mode(integer)
110 119
 
111 120
 3.1. radius_config (string)
112 121
 
... ...
@@ -119,7 +128,7 @@ Chapter 1. Admin Guide
119 128
    If the parameter is set to empty string, the RADIUS accounting support
120 129
    will be disabled (even if compiled).
121 130
 
122
-   Default value is “NULL”.
131
+   Default value is "NULL".
123 132
 
124 133
    Example 1.1. radius_config example
125 134
 ...
... ...
@@ -172,22 +181,41 @@ modparam("acc_radius", "service_type", 16)
172 181
 modparam("acc_radius", "radius_extra", "via=$hdr(Via[*]); email=$avp(s:email)")
173 182
 ...
174 183
 
184
+3.6. rad_time_mode(integer)
185
+
186
+   Radius Event-Timestamp for accounting.
187
+
188
+   Values can be:
189
+     * 0 - (default), format is only unix timestamp for Event-Timestamp
190
+       (For example: 1445590624)
191
+     * 1 - format is unix timestamp with microseconds in Addition, it
192
+       needs to change Event-Timestamp attribute type in dictionary to
193
+       string both radius server and client (For example:
194
+       1445590624.377372)
195
+
196
+   Default value is 0 (Unix timestamp).
197
+
198
+   Example 1.6. rad_time_mode example
199
+...
200
+modparam("acc_radius", "rad_time_mode", 1)
201
+...
202
+
175 203
 4. Functions
176 204
 
177 205
    4.1. acc_rad_request(comment)
178 206
 
179
-4.1.  acc_rad_request(comment)
207
+4.1. acc_rad_request(comment)
180 208
 
181 209
    Like acc_log_request of acc module, acc_rad_request reports on a SIP
182 210
    request event. It reports to radius server as configured in
183
-   “radius_config”.
211
+   "radius_config".
184 212
 
185 213
    Meaning of the parameters is as follows:
186 214
      * comment - Comment to be appended.
187 215
 
188 216
    This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
189 217
 
190
-   Example 1.6. acc_rad_request usage
218
+   Example 1.7. acc_rad_request usage
191 219
 ...
192 220
 acc_rad_request("Some comment");
193 221
 ...
... ...
@@ -10,7 +10,7 @@ Luis Azedo
10 10
 
11 11
    <luis@2600hz.com>
12 12
 
13
-   Copyright © 2010, 2014 2600hz
13
+   Copyright � 2010, 2014 2600hz
14 14
      __________________________________________________________________
15 15
 
16 16
    Table of Contents
... ...
@@ -51,13 +51,15 @@ Luis Azedo
51 51
 
52 52
                     4.3.1. amqp_consumer_ack_timeout(str)
53 53
                     4.3.2. amqp_interprocess_timeout(str)
54
-                    4.3.3. amqp_waitframe_timout(str)
55
-                    4.3.4. amqp_query_timout(str)
54
+                    4.3.3. amqp_waitframe_tiemout(str)
55
+                    4.3.4. amqp_query_timeout(str)
56
+                    4.3.5. amqp_query_timeout_avp(str)
56 57
 
57 58
               4.4. presence related
58 59
 
59 60
                     4.4.1. db_url(str)
60 61
                     4.4.2. presentity_table(str)
62
+                    4.4.3. pua_mode(int)
61 63
 
62 64
         5. Functions
63 65
 
... ...
@@ -102,19 +104,21 @@ Luis Azedo
102 104
    1.12. Set single_consumer_on_reconnect parameter
103 105
    1.13. Set amqp_consumer_ack_timeout parameter
104 106
    1.14. Set amqp_interprocess_timeout parameter
105
-   1.15. Set amqp_waitframe_timout parameter
106
-   1.16. Set amqp_query_timout parameter
107
-   1.17. Set db_url parameter
108
-   1.18. Set presentity_table parameter
109
-   1.19. kazoo_publish usage
110
-   1.20. kazoo_query usage
111
-   1.21. kazoo_subscribe usage
112
-   1.22. kazoo_subscribe usage
113
-   1.23. kazoo_pua_publish usage
114
-   1.24. kazoo_encode usage
115
-   1.25. kazoo_json usage
116
-   1.26. kz.json usage
117
-   1.27. kz.encode usage
107
+   1.15. Set amqp_waitframe_timeout parameter
108
+   1.16. Set amqp_query_timeout parameter
109
+   1.17. >Set amqp_query_timeout_avp parameter
110
+   1.18. Set db_url parameter
111
+   1.19. Set presentity_table parameter
112
+   1.20. Set pua_mode parameter
113
+   1.21. kazoo_publish usage
114
+   1.22. kazoo_query usage
115
+   1.23. kazoo_subscribe usage
116
+   1.24. kazoo_subscribe usage
117
+   1.25. kazoo_pua_publish usage
118
+   1.26. kazoo_encode usage
119
+   1.27. kazoo_json usage
120
+   1.28. kz.json usage
121
+   1.29. kz.encode usage
118 122
 
119 123
 Chapter 1. Admin Guide
120 124
 
... ...
@@ -154,13 +158,15 @@ Chapter 1. Admin Guide
154 158
 
155 159
               4.3.1. amqp_consumer_ack_timeout(str)
156 160
               4.3.2. amqp_interprocess_timeout(str)
157
-              4.3.3. amqp_waitframe_timout(str)
158
-              4.3.4. amqp_query_timout(str)
161
+              4.3.3. amqp_waitframe_tiemout(str)
162
+              4.3.4. amqp_query_timeout(str)
163
+              4.3.5. amqp_query_timeout_avp(str)
159 164
 
160 165
         4.4. presence related
161 166
 
162 167
               4.4.1. db_url(str)
163 168
               4.4.2. presentity_table(str)
169
+              4.4.3. pua_mode(int)
164 170
 
165 171
    5. Functions
166 172
 
... ...
@@ -246,16 +252,16 @@ event_route[kazoo:consumer-event-presence-update]
246 252
 {
247 253
 # presence is the value extracted from Event-Category field in json payload
248 254
 # update is the value extracted from Event-Name field in json payload
249
-xlog("L_INFO", "received $(kzE{kz.json,Event-Package}) update for $(kzE{kz.json
250
-,From})");
255
+xlog("L_INFO", "received $(kzE{kz.json,Event-Package}) update for $(kzE{kz.json,
256
+From})");
251 257
 ...
252 258
 }
253 259
 
254 260
 event_route[kazoo:consumer-event-presence]
255 261
 {
256 262
 # presence is the value extracted from Event-Category field in json payload
257
-xlog("L_INFO", "received $(kzE{kz.json,Event-Package}) update for $(kzE{kz.json
258
-,From})");
263
+xlog("L_INFO", "received $(kzE{kz.json,Event-Package}) update for $(kzE{kz.json,
264
+From})");
259 265
 ...
260 266
 }
261 267
 
... ...
@@ -324,13 +330,15 @@ event_route[kazoo:consumer-event]
324 330
 
325 331
         4.3.1. amqp_consumer_ack_timeout(str)
326 332
         4.3.2. amqp_interprocess_timeout(str)
327
-        4.3.3. amqp_waitframe_timout(str)
328
-        4.3.4. amqp_query_timout(str)
333
+        4.3.3. amqp_waitframe_tiemout(str)
334
+        4.3.4. amqp_query_timeout(str)
335
+        4.3.5. amqp_query_timeout_avp(str)
329 336
 
330 337
    4.4. presence related
331 338
 
332 339
         4.4.1. db_url(str)
333 340
         4.4.2. presentity_table(str)
341
+        4.4.3. pua_mode(int)
334 342
 
335 343
 4.1. amqp related
336 344
 
... ...
@@ -362,7 +370,7 @@ modparam("kazoo", "amqp_consumer_processes", 10)
362 370
    The default name of the field in json payload to compose the event name
363 371
    1st part
364 372
 
365
-   Default value is “Event-Category”.
373
+   Default value is "Event-Category".
366 374
 
367 375
    Example 1.4. Set amqp_consumer_event_key parameter
368 376
 ...
... ...
@@ -374,7 +382,7 @@ modparam("kazoo", "amqp_consumer_event_key", "My-JSON-Field-Name")
374 382
    The default name of the field in json payload to compose the event name
375 383
    2nd part
376 384
 
377
-   Default value is “Event-Name”.
385
+   Default value is "Event-Name".
378 386
 
379 387
    Example 1.5. Set amqp_consumer_event_subkey parameter
380 388
 ...
... ...
@@ -510,29 +518,48 @@ modparam("kazoo", "amqp_interprocess_timeout_sec", 1)
510 518
 modparam("kazoo", "amqp_interprocess_timeout_micro", 200000)
511 519
 ...
512 520
 
513
-4.3.3. amqp_waitframe_timout(str)
521
+4.3.3. amqp_waitframe_tiemout(str)
514 522
 
515 523
    Timeout when checking for messages from rabbitmq.
516 524
 
517 525
    Default value is 100000 micro.
518 526
 
519
-   Example 1.15. Set amqp_waitframe_timout parameter
527
+   Example 1.15. Set amqp_waitframe_timeout parameter
520 528
 ...
521
-modparam("kazoo", "amqp_waitframe_timout_sec", 1)
522
-modparam("kazoo", "amqp_waitframe_timout_micro", 200000)
529
+modparam("kazoo", "amqp_waitframe_timeout_sec", 1)
530
+modparam("kazoo", "amqp_waitframe_timeout_micro", 200000)
523 531
 ...
524 532
 
525
-4.3.4. amqp_query_timout(str)
533
+4.3.4. amqp_query_timeout(str)
526 534
 
527 535
    Timeout when checking for reply messages from rabbitmq for kazoo_query
528 536
    commands.
529 537
 
530 538
    Default value is 2 sec.
531 539
 
532
-   Example 1.16. Set amqp_query_timout parameter
540
+   Example 1.16. Set amqp_query_timeout parameter
533 541
 ...
534
-modparam("kazoo", "amqp_query_timout_sec", 1)
535
-modparam("kazoo", "amqp_query_timout_micro", 200000)
542
+modparam("kazoo", "amqp_query_timeout_sec", 1)
543
+modparam("kazoo", "amqp_query_timeout_micro", 200000)
544
+...
545
+
546
+4.3.5. amqp_query_timeout_avp(str)
547
+
548
+   avp holding the value in seconds for Timeout when checking for reply
549
+   messages from rabbitmq for kazoo_query commands.
550
+
551
+   Default value is NULL (no value).
552
+
553
+   Example 1.17. >Set amqp_query_timeout_avp parameter
554
+...
555
+modparam("kazoo", "amqp_query_timeout_avp", "$var(kz_timeout)")
556
+
557
+route[SOME_ROUTE]
558
+{
559
+    $var(kz_timeout) = 12;
560
+    kazoo_query(exchange, routingkey, payload);
561
+}
562
+
536 563
 ...
537 564
 
538 565
 4.4. presence related
... ...
@@ -544,9 +571,9 @@ modparam("kazoo", "amqp_query_timout_micro", 200000)
544 571
    If set, the kazoo_ppua_publish function will update the presentity
545 572
    status in the database.
546 573
 
547
-   Default value is “NULL”.
574
+   Default value is "NULL".
548 575
 
549
-   Example 1.17. Set db_url parameter
576
+   Example 1.18. Set db_url parameter
550 577
 ...
551 578
 modparam("kazoo", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
552 579
 ...
... ...
@@ -555,13 +582,25 @@ modparam("kazoo", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio")
555 582
 
556 583
    The name of the presentity table in the database.
557 584
 
558
-   Default value is “presentity”.
585
+   Default value is "presentity".
559 586
 
560
-   Example 1.18. Set presentity_table parameter
587
+   Example 1.19. Set presentity_table parameter
561 588
 ...
562 589
 modparam("kazoo", "presentity_table", "my_presentity_table")
563 590
 ...
564 591
 
592
+4.4.3. pua_mode(int)
593
+
594
+   Control if the module has to connect to presence database tables. Set
595
+   it to 0 to not connect to database.
596
+
597
+   Default value is "1".
598
+
599
+   Example 1.20. Set pua_mode parameter
600
+...
601
+modparam("kazoo", "pua_mode", 0)
602
+...
603
+
565 604
 5. Functions
566 605
 
567 606
    5.1. amqp related
... ...
@@ -586,26 +625,25 @@ modparam("kazoo", "presentity_table", "my_presentity_table")
586 625
 
587 626
 5.1. amqp related
588 627
 
589
-5.1.1.  kazoo_publish(exchange, routing_key, json_payload)
628
+5.1.1. kazoo_publish(exchange, routing_key, json_payload)
590 629
 
591 630
    The function publishes a json payload to rabbitmq. The routing_key
592 631
    parameter should be encoded.
593 632
 
594 633
    This function can be used from ANY ROUTE.
595 634
 
596
-   Example 1.19. kazoo_publish usage
635
+   Example 1.21. kazoo_publish usage
597 636
 ...
598
-$var(amqp_payload_request) = "{'Event-Category' : 'directory', 'Event-Name' : '
599
-reg_success', 'Contact' : '" + $var(fs_contact) + "', 'Call-ID' : '" + $ci + "'
600
-, 'Realm' : '" + $fd +"', 'Username' : '" + $fU + "', 'From-User' : '" + $fU +
601
-"', 'From-Host' : '" + $fd + "', 'To-User' : '" + $tU +"', 'To-Host' : '" + $td
602
- + "', 'User-Agent' : '" + $ua +"' ," + $var(register_contants)+ " }";
603
-$var(amqp_routing_key) = "registration.success." + $(fd{kz.encode}) + "." + $fU
604
-;
637
+$var(amqp_payload_request) = "{'Event-Category' : 'directory', 'Event-Name' : 'r
638
+eg_success', 'Contact' : '" + $var(fs_contact) + "', 'Call-ID' : '" + $ci + "',
639
+'Realm' : '" + $fd +"', 'Username' : '" + $fU + "', 'From-User' : '" + $fU + "',
640
+ 'From-Host' : '" + $fd + "', 'To-User' : '" + $tU +"', 'To-Host' : '" + $td + "
641
+', 'User-Agent' : '" + $ua +"' ," + $var(register_contants)+ " }";
642
+$var(amqp_routing_key) = "registration.success." + $(fd{kz.encode}) + "." + $fU;
605 643
 kazoo_publish("callmgr", $var(amqp_routing_key), $var(amqp_payload_request));
606 644
 ...
607 645
 
608
-5.1.2.  kazoo_query(exchange, routing_key, json_payload [, target_var])
646
+5.1.2. kazoo_query(exchange, routing_key, json_payload [, target_var])
609 647
 
610 648
    The function publishes a json payload to rabbitmq, waits for a
611 649
    correlated messageand puts the result in target_var. The routing_key
... ...
@@ -614,15 +652,15 @@ kazoo_publish("callmgr", $var(amqp_routing_key), $var(amqp_payload_request));
614 652
 
615 653
    This function can be used from ANY ROUTE.
616 654
 
617
-   Example 1.20. kazoo_query usage
655
+   Example 1.22. kazoo_query usage
618 656
 ...
619 657
 $var(amqp_payload_request) = "{'Event-Category' : 'call_event' , 'Event-Name' :
620
- 'query_user_channels_req', 'Realm' : '" + $fd + "', 'Username' : '" + $fU + "'
621
-, 'Active-Only' : false }";
658
+'query_user_channels_req', 'Realm' : '" + $fd + "', 'Username' : '" + $fU + "',
659
+'Active-Only' : false }";
622 660
 kazoo_encode("$ci", "$var(callid_encoded)");
623 661
 $var(amqp_routing_key) = "call.status_req.$var(callid_encoded)";
624
-if(kazoo_query("callevt", $var(amqp_routing_key), $var(amqp_payload_request), "
625
-$var(amqp_result)")) {
662
+if(kazoo_query("callevt", $var(amqp_routing_key), $var(amqp_payload_request), "$
663
+var(amqp_result)")) {
626 664
    kazoo_json("$var(amqp_result)", "Channels[0].switch_url", "$du");
627 665
    if($du != $null) {
628 666
        xlog("L_INFO", "$ci|log|user channels found redirecting call to $du");
... ...
@@ -631,19 +669,19 @@ $var(amqp_result)")) {
631 669
 }
632 670
 ...
633 671
 
634
-5.1.3.  kazoo_subscribe(exchange, exchange_type, queue, routing_key)
672
+5.1.3. kazoo_subscribe(exchange, exchange_type, queue, routing_key)
635 673
 
636 674
    The function subscribes to exchange/type on queue with routing_key. The
637 675
    routing_key parameter should be encoded.
638 676
 
639 677
    This function must be called from event_route[kazoo:mod-init].
640 678
 
641
-   Example 1.21. kazoo_subscribe usage
679
+   Example 1.23. kazoo_subscribe usage
642 680
 ...
643 681
 event_route[kazoo:mod-init]
644 682
 {
645
-   kazoo_subscribe("dialoginfo", "direct", "BLF-QUEUE-MY_HOSTNAME", "BLF-MY_HOS
646
-TNAME");
683
+   kazoo_subscribe("dialoginfo", "direct", "BLF-QUEUE-MY_HOSTNAME", "BLF-MY_HOST
684
+NAME");
647 685
 }
648 686
 
649 687
 event_route[kazoo:consumer-event]
... ...
@@ -652,7 +690,7 @@ event_route[kazoo:consumer-event]
652 690
 }
653 691
 ...
654 692
 
655
-5.1.4.  kazoo_subscribe(json_description)
693
+5.1.4. kazoo_subscribe(json_description)
656 694
 
657 695
    The function takes additional parameters to the subscribe function.
658 696
 
... ...
@@ -670,13 +708,13 @@ event_route[kazoo:consumer-event]
670 708
 
671 709
    This function must be called from event_route[kazoo:mod-init].
672 710
 
673
-   Example 1.22. kazoo_subscribe usage
711
+   Example 1.24. kazoo_subscribe usage
674 712
 ...
675 713
 event_route[kazoo:mod-init]
676 714
 {
677 715
     $var(payload) = "{ 'exchange' : 'dialoginfo' , 'type' : 'direct', 'queue' :
678
- 'BLF-QUEUE-MY_HOSTNAME', 'routing' : 'BLF-MY_HOSTNAME', 'auto_delete' : 0, 'du
679
-rable' : 1, 'no_ack' : 0, 'wait_for_consumer_ack' : 1 }";
716
+'BLF-QUEUE-MY_HOSTNAME', 'routing' : 'BLF-MY_HOSTNAME', 'auto_delete' : 0, 'dura
717
+ble' : 1, 'no_ack' : 0, 'wait_for_consumer_ack' : 1 }";
680 718
     kazoo_subscribe("$var(payload)");
681 719
 }
682 720
 
... ...
@@ -688,48 +726,48 @@ event_route[kazoo:consumer-event]
688 726
 
689 727
 5.2. presence related
690 728
 
691
-5.2.1.  kazoo_pua_publish(json_payload)
729
+5.2.1. kazoo_pua_publish(json_payload)
692 730
 
693 731
    The function build presentity state from json_payload and updates
694 732
    presentity table.
695 733
 
696 734
    This function can be used from ANY ROUTE.
697 735
 
698
-   Example 1.23. kazoo_pua_publish usage
736
+   Example 1.25. kazoo_pua_publish usage
699 737
 ...
700 738
 event_route[kazoo:consumer-event-presence-update]
701 739
 {
702
-    xlog("L_INFO", "received $(kzE{kz.json,Event-Package}) update for $(kzE{kz.
703
-json,From})");
740
+    xlog("L_INFO", "received $(kzE{kz.json,Event-Package}) update for $(kzE{kz.j
741
+son,From})");
704 742
     kazoo_pua_publish($kzE);
705
-    pres_refresh_watchers("$(kzE{kz.json,From})", "$(kzE{kz.json,Event-Package}
706
-)", 1);
743
+    pres_refresh_watchers("$(kzE{kz.json,From})", "$(kzE{kz.json,Event-Package})
744
+", 1);
707 745
 }
708 746
 ...
709 747
 
710 748
 5.3. other
711 749
 
712
-5.3.1.  kazoo_encode(to_encode, target_var)
750
+5.3.1. kazoo_encode(to_encode, target_var)
713 751
 
714 752
    The function encodes the 1st parameter for amqp and puts the result in
715 753
    the 2nd parameter.
716 754
 
717 755
    This function can be used from ANY ROUTE.
718 756
 
719
-   Example 1.24. kazoo_encode usage
757
+   Example 1.26. kazoo_encode usage
720 758
 ...
721 759
 kazoo_encode("$ci", "$var(callid_encoded)");
722 760
 $var(amqp_routing_key) = "call.status_req.$var(callid_encoded)";
723 761
 ...
724 762
 
725
-5.3.2.  kazoo_json(json_payload, field, target_var)
763
+5.3.2. kazoo_json(json_payload, field, target_var)
726 764
 
727 765
    The function extracts the value from a json payload and puts the result
728 766
    in the 3rd parameter. It can use nested values for the query part.
729 767
 
730 768
    This function can be used from ANY ROUTE.
731 769
 
732
-   Example 1.25. kazoo_json usage
770
+   Example 1.27. kazoo_json usage
733 771
 ...
734 772
 kazoo_json("$var(amqp_result)", "Channels[0].switch_url", "$du");
735 773
 if($du != $null) {
... ...
@@ -747,7 +785,7 @@ if($du != $null) {
747 785
 
748 786
    The prefix for kazoo transformations is kz.
749 787
      * json
750
-       Example 1.26. kz.json usage
788
+       Example 1.28. kz.json usage
751 789
 ...
752 790
 #kazoo_json("$var(amqp_result)", "Channels[0].switch_url", "$du");
753 791
 $du = $kzR{kz.json,Channels[0].switch_url};
... ...
@@ -757,7 +795,7 @@ if($du != $null) {
757 795
 }
758 796
 ...
759 797
      * encode
760
-       Example 1.27. kz.encode usage
798
+       Example 1.29. kz.encode usage
761 799
 ...
762 800
 #kazoo_encode("$ci", "$var(callid_encoded)");
763 801
 #$var(amqp_routing_key) = "call.status_req.$var(callid_encoded)";
... ...
@@ -149,9 +149,14 @@ Chapter 1. Admin Guide
149 149
 2.2. External Libraries or Applications
150 150
 
151 151
    The following libraries or applications must be installed before
152
-   compilling Kamailio with this module loaded:
153
-     * radiusclient-ng 0.5.6 or higher -- library and development files.
154
-       See http://developer.berlios.de/projects/radiusclient-ng/.
152
+   running Kamailio with this module loaded:
153
+     * radiusclient-ng 0.5.0 or higher, freeradius-client
154
+       https://github.com/FreeRADIUS/freeradius-client/ or radcli
155
+       http://radcli.github.io/radcli/.
156
+     * freeradius-client library can be used after setting FREERADIUS
157
+       variable in source code with 'export FREERADIUS=1' before compile.
158
+     * radcli library can be used after setting RADCLI variable in source
159
+       code with 'export RADCLI=1' before compile.
155 160
 
156 161
 3. Parameters
157 162