... | ... |
@@ -44,6 +44,7 @@ Richard Good |
44 | 44 |
3.17. method_filtering (integer) |
45 | 45 |
3.18. user_data_always (integer) |
46 | 46 |
3.19. error_reply_code (int) |
47 |
+ 3.20. skip_multiple_bindings_on_reg_resp (int) |
|
47 | 48 |
|
48 | 49 |
4. Functions |
49 | 50 |
|
... | ... |
@@ -96,18 +97,19 @@ Richard Good |
96 | 97 |
1.17. Set cxdx_forced_peerparameter |
97 | 98 |
1.18. Set user_data_alwaysparameter |
98 | 99 |
1.19. Set error_reply_code parameter |
99 |
- 1.20. save usage |
|
100 |
- 1.21. lookup usage |
|
100 |
+ 1.20. Set skip_multiple_bindings_on_reg_resp parameter |
|
101 |
+ 1.21. save usage |
|
101 | 102 |
1.22. lookup usage |
102 |
- 1.23. unregister usage |
|
103 |
- 1.24. impu_registered usage |
|
104 |
- 1.25. term_impu_registered usage |
|
105 |
- 1.26. reg_fetch_contacts usage |
|
106 |
- 1.27. reg_free_contacts usage |
|
107 |
- 1.28. can_subscribe_to_reg usage |
|
108 |
- 1.29. subscribe_to_reg usage |
|
109 |
- 1.30. can_publish_reg usage |
|
110 |
- 1.31. publish_reg usage |
|
103 |
+ 1.23. lookup usage |
|
104 |
+ 1.24. unregister usage |
|
105 |
+ 1.25. impu_registered usage |
|
106 |
+ 1.26. term_impu_registered usage |
|
107 |
+ 1.27. reg_fetch_contacts usage |
|
108 |
+ 1.28. reg_free_contacts usage |
|
109 |
+ 1.29. can_subscribe_to_reg usage |
|
110 |
+ 1.30. subscribe_to_reg usage |
|
111 |
+ 1.31. can_publish_reg usage |
|
112 |
+ 1.32. publish_reg usage |
|
111 | 113 |
|
112 | 114 |
Chapter 1. Admin Guide |
113 | 115 |
|
... | ... |
@@ -140,6 +142,7 @@ Chapter 1. Admin Guide |
140 | 142 |
3.17. method_filtering (integer) |
141 | 143 |
3.18. user_data_always (integer) |
142 | 144 |
3.19. error_reply_code (int) |
145 |
+ 3.20. skip_multiple_bindings_on_reg_resp (int) |
|
143 | 146 |
|
144 | 147 |
4. Functions |
145 | 148 |
|
... | ... |
@@ -214,6 +217,7 @@ Chapter 1. Admin Guide |
214 | 217 |
3.17. method_filtering (integer) |
215 | 218 |
3.18. user_data_always (integer) |
216 | 219 |
3.19. error_reply_code (int) |
220 |
+ 3.20. skip_multiple_bindings_on_reg_resp (int) |
|
217 | 221 |
|
218 | 222 |
3.1. default_expires (int) |
219 | 223 |
|
... | ... |
@@ -485,6 +489,20 @@ om") |
485 | 489 |
modparam("ims_registrar_scscf", "error_reply_code", 503) |
486 | 490 |
... |
487 | 491 |
|
492 |
+3.20. skip_multiple_bindings_on_reg_resp (int) |
|
493 |
+ |
|
494 |
+ If set to 1 - on Re-Registration registrar sends in 200OK reply only |
|
495 |
+ current contact in case of multiple bindings. If set to 0 - on |
|
496 |
+ Re-Registration registrar sends in 200OK reply all contacts in case of |
|
497 |
+ multiple bindings according to RFC3261. |
|
498 |
+ |
|
499 |
+ Default value is 0. |
|
500 |
+ |
|
501 |
+ Example 1.20. Set skip_multiple_bindings_on_reg_resp parameter |
|
502 |
+... |
|
503 |
+ modparam("ims_registrar_scscf", "skip_multiple_bindings_on_reg_resp", 1) |
|
504 |
+... |
|
505 |
+ |
|
488 | 506 |
4. Functions |
489 | 507 |
|
490 | 508 |
4.1. save(async_reply_route, domain, mode, flags) |
... | ... |
@@ -523,7 +541,7 @@ om") |
523 | 541 |
|
524 | 542 |
This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE |
525 | 543 |
|
526 |
- Example 1.20. save usage |
|
544 |
+ Example 1.21. save usage |
|
527 | 545 |
... |
528 | 546 |
if (!impu_registered("location")) { |
529 | 547 |
save("PRE_REG_SAR_REPLY","location"); |
... | ... |
@@ -554,7 +572,7 @@ if (!impu_registered("location")) { |
554 | 572 |
|
555 | 573 |
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE |
556 | 574 |
|
557 |
- Example 1.21. lookup usage |
|
575 |
+ Example 1.22. lookup usage |
|
558 | 576 |
... |
559 | 577 |
lookup("location"); |
560 | 578 |
switch ($retcode) { |
... | ... |
@@ -583,7 +601,7 @@ switch ($retcode) { |
583 | 601 |
|
584 | 602 |
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE |
585 | 603 |
|
586 |
- Example 1.22. lookup usage |
|
604 |
+ Example 1.23. lookup usage |
|
587 | 605 |
... |
588 | 606 |
lookup_path_to_contact($ruri); |
589 | 607 |
... |
... | ... |
@@ -598,7 +616,7 @@ lookup_path_to_contact($ruri); |
598 | 616 |
|
599 | 617 |
This function can be used in REQUEST_ROUTE, FAILURE_ROUTE |
600 | 618 |
|
601 |
- Example 1.23. unregister usage |
|
619 |
+ Example 1.24. unregister usage |
|
602 | 620 |
... |
603 | 621 |
unregister("location"); |
604 | 622 |
... |
... | ... |
@@ -623,7 +641,7 @@ unregister("location"); |
623 | 641 |
|
624 | 642 |
This function can be used in REQUEST_ROUTE, FAILURE_ROUTE |
625 | 643 |
|
626 |
- Example 1.24. impu_registered usage |
|
644 |
+ Example 1.25. impu_registered usage |
|
627 | 645 |
... |
628 | 646 |
impu_registered("location"); |
629 | 647 |
switch ($retcode) { |
... | ... |
@@ -649,7 +667,7 @@ switch ($retcode) { |
649 | 667 |
|
650 | 668 |
This function can be used in REQUEST_ROUTE, FAILURE_ROUTE |
651 | 669 |
|
652 |
- Example 1.25. term_impu_registered usage |
|
670 |
+ Example 1.26. term_impu_registered usage |
|
653 | 671 |
... |
654 | 672 |
term_impu_registered("location"); |
655 | 673 |
switch ($retcode) { |
... | ... |
@@ -677,7 +695,7 @@ switch ($retcode) { |
677 | 695 |
|
678 | 696 |
This function can be used in REQUEST_ROUTE, FAILURE_ROUTE |
679 | 697 |
|
680 |
- Example 1.26. reg_fetch_contacts usage |
|
698 |
+ Example 1.27. reg_fetch_contacts usage |
|
681 | 699 |
... |
682 | 700 |
reg_fetch_contacts("location", "$ru", "callee"); |
683 | 701 |
reg_fetch_contacts("location", "sip:user@kamailio.org", "caller"); |
... | ... |
@@ -696,7 +714,7 @@ reg_fetch_contacts("location", "sip:user@kamailio.org", "caller"); |
696 | 714 |
|
697 | 715 |
This function can be used in REQUEST_ROUTE, FAILURE_ROUTE |
698 | 716 |
|
699 |
- Example 1.27. reg_free_contacts usage |
|
717 |
+ Example 1.28. reg_free_contacts usage |
|
700 | 718 |
... |
701 | 719 |
reg_free_contacts("callee"); |
702 | 720 |
... |
... | ... |
@@ -714,7 +732,7 @@ reg_free_contacts("callee"); |
714 | 732 |
|
715 | 733 |
This function can be used in REQUEST_ROUTE |
716 | 734 |
|
717 |
- Example 1.28. can_subscribe_to_reg usage |
|
735 |
+ Example 1.29. can_subscribe_to_reg usage |
|
718 | 736 |
... |
719 | 737 |
if (can_subscribe_to_reg("location")){ |
720 | 738 |
$var(ret)= subscribe_to_reg("location"); |
... | ... |
@@ -731,7 +749,7 @@ if (can_subscribe_to_reg("location")){ |
731 | 749 |
|
732 | 750 |
This function can be used in REQUEST_ROUTE |
733 | 751 |
|
734 |
- Example 1.29. subscribe_to_reg usage |
|
752 |
+ Example 1.30. subscribe_to_reg usage |
|
735 | 753 |
... |
736 | 754 |
if (can_subscribe_to_reg("location")){ |
737 | 755 |
$var(ret)= subscribe_to_reg("location"); |
... | ... |
@@ -751,7 +769,7 @@ if (can_subscribe_to_reg("location")){ |
751 | 769 |
|
752 | 770 |
This function can be used in REQUEST_ROUTE |
753 | 771 |
|
754 |
- Example 1.30. can_publish_reg usage |
|
772 |
+ Example 1.31. can_publish_reg usage |
|
755 | 773 |
... |
756 | 774 |
if (can_publish_reg("location")){ |
757 | 775 |
$var(ret)= publish_reg("location"); |
... | ... |
@@ -768,7 +786,7 @@ if (can_publish_reg("location")){ |
768 | 786 |
|
769 | 787 |
This function can be used in REQUEST_ROUTE |
770 | 788 |
|
771 |
- Example 1.31. publish_reg usage |
|
789 |
+ Example 1.32. publish_reg usage |
|
772 | 790 |
... |
773 | 791 |
if (can_publish_reg("location")){ |
774 | 792 |
$var(ret)= publish_reg("location"); |