Skip to content

Commit

Permalink
modules: readme files regenerated - uac ... [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
kamailio-dev committed Jul 6, 2018
1 parent d369e0d commit b1cfec7
Showing 1 changed file with 31 additions and 16 deletions.
47 changes: 31 additions & 16 deletions src/modules/uac/README
Expand Up @@ -65,6 +65,7 @@ Ramona-Elena Modroiu
4.11. uac_reg_request_to(user, mode)
4.12. uac_reg_enable(attr, val)
4.13. uac_reg_disable(attr, val)
4.14. uac_reg_refresh(luuid)

5. Pseudo Variables
6. Event Routes
Expand Down Expand Up @@ -116,14 +117,15 @@ Ramona-Elena Modroiu
1.29. uac_reg_request_to usage
1.30. uac_reg_enable usage
1.31. uac_reg_disable usage
1.32. event_route[uac:reply] usage
1.33. uac.reg_dump usage
1.34. uac.reg_info usage
1.35. uac.reg_enable usage
1.36. uac.reg_disable usage
1.37. uac.reg_reload usage
1.38. uac.reg_refresh usage
1.39. lookup remote registrations usage
1.32. uac_reg_refresh usage
1.33. event_route[uac:reply] usage
1.34. uac.reg_dump usage
1.35. uac.reg_info usage
1.36. uac.reg_enable usage
1.37. uac.reg_disable usage
1.38. uac.reg_reload usage
1.39. uac.reg_refresh usage
1.40. lookup remote registrations usage

Chapter 1. Admin Guide

Expand Down Expand Up @@ -171,6 +173,7 @@ Chapter 1. Admin Guide
4.11. uac_reg_request_to(user, mode)
4.12. uac_reg_enable(attr, val)
4.13. uac_reg_disable(attr, val)
4.14. uac_reg_refresh(luuid)

5. Pseudo Variables
6. Event Routes
Expand Down Expand Up @@ -521,6 +524,7 @@ modparam("uac", "reg_keep_callid", 1)
4.11. uac_reg_request_to(user, mode)
4.12. uac_reg_enable(attr, val)
4.13. uac_reg_disable(attr, val)
4.14. uac_reg_refresh(luuid)

4.1. uac_replace_from(display,uri)

Expand Down Expand Up @@ -812,6 +816,17 @@ failure_route[REMOTE_AUTH] {
uac_reg_disable("l_uuid", "account123");
...

4.14. uac_reg_refresh(luuid)

Refresh the uac remote registration record based on local uuid. If the
record was already loaded, new values are taken from database,
otherwise a new record is created.

Example 1.32. uac_reg_refresh usage
...
uac_reg_refresh("account123");
...

5. Pseudo Variables

* $uac_req(key)
Expand All @@ -828,7 +843,7 @@ failure_route[REMOTE_AUTH] {
Event route executed for the final reply to the request set with
uac_req_send(). The associated $uac_req(evroute) has to be set to 1.

Example 1.32. event_route[uac:reply] usage
Example 1.33. event_route[uac:reply] usage
...
$uac_req(method)="OPTIONS";
$uac_req(ruri)="sip:kamailio.org";
Expand Down Expand Up @@ -864,7 +879,7 @@ event_route[uac:reply] {

Dump the content of remote registration table from memory.

Example 1.33. uac.reg_dump usage
Example 1.34. uac.reg_dump usage
...
kamcmd uac.reg_dump
...
Expand All @@ -885,7 +900,7 @@ event_route[uac:reply] {
* 16 (2^4) - registration initialized (after loading from database,
the registration process was initialized)

Example 1.34. uac.reg_info usage
Example 1.35. uac.reg_info usage
...
kamcmd uac.reg_info l_uuid account123
...
Expand All @@ -898,7 +913,7 @@ event_route[uac:reply] {
matcheg against the value of the attribute in the remote registration
record.

Example 1.35. uac.reg_enable usage
Example 1.36. uac.reg_enable usage
...
kamcmd uac.reg_enable l_uuid account123
...
Expand All @@ -911,7 +926,7 @@ event_route[uac:reply] {
matcheg against the value of the attribute in the remote registration
record.

Example 1.36. uac.reg_disable usage
Example 1.37. uac.reg_disable usage
...
kamcmd uac.reg_disable l_uuid account123
...
Expand All @@ -920,7 +935,7 @@ event_route[uac:reply] {

Reload the records from database for remote registrations.

Example 1.37. uac.reg_reload usage
Example 1.38. uac.reg_reload usage
...
kamcmd uac.reg_reload
...
Expand All @@ -931,7 +946,7 @@ event_route[uac:reply] {
the record exists in memory, it will be replaced with the new values
loaded from database.

Example 1.38. uac.reg_refresh usage
Example 1.39. uac.reg_refresh usage
...
kamcmd uac.reg_refresh account123
...
Expand Down Expand Up @@ -975,7 +990,7 @@ event_route[uac:reply] {
if the call is coming from a remote SIP provider and can change the
R-URI to local username@domain. Afterwards you can run location lookup.

Example 1.39. lookup remote registrations usage
Example 1.40. lookup remote registrations usage
...
if(uac_reg_lookup("$rU", "$ru")) {
xlog("request from a remote SIP provider [$ou => $ru]\n");
Expand Down

0 comments on commit b1cfec7

Please sign in to comment.