|
@@ -16,7 +16,7 @@ Edited by
|
|
|
|
|
|
Bogdan-Andre Iancu
|
|
Bogdan-Andre Iancu
|
|
|
|
|
|
- Copyright © 2003 FhG FOKUS
|
|
|
|
|
|
+ Copyright © 2003 FhG FOKUS
|
|
__________________________________________________________________
|
|
__________________________________________________________________
|
|
|
|
|
|
Table of Contents
|
|
Table of Contents
|
|
@@ -58,6 +58,8 @@ Bogdan-Andre Iancu
|
|
3.21. xavp_cfg (string)
|
|
3.21. xavp_cfg (string)
|
|
3.22. xavp_rcd (string)
|
|
3.22. xavp_rcd (string)
|
|
3.23. gruu_enabled (integer)
|
|
3.23. gruu_enabled (integer)
|
|
|
|
+ 3.24. outbound_mode (integer)
|
|
|
|
+ 3.25. flow_timer (integer)
|
|
|
|
|
|
4. Functions
|
|
4. Functions
|
|
|
|
|
|
@@ -108,15 +110,17 @@ Bogdan-Andre Iancu
|
|
1.20. Set xavp_cfg parameter
|
|
1.20. Set xavp_cfg parameter
|
|
1.21. Set xavp_rcd parameter
|
|
1.21. Set xavp_rcd parameter
|
|
1.22. Set gruu_enabled parameter
|
|
1.22. Set gruu_enabled parameter
|
|
- 1.23. save usage
|
|
|
|
- 1.24. lookup usage
|
|
|
|
- 1.25. lookup_branches usage
|
|
|
|
- 1.26. registered usage
|
|
|
|
- 1.27. add_sock_hdr usage
|
|
|
|
- 1.28. unregister usage
|
|
|
|
- 1.29. reg_fetch_contacts usage
|
|
|
|
- 1.30. reg_free_contacts usage
|
|
|
|
- 1.31. $ulc(name) usage
|
|
|
|
|
|
+ 1.23. Set outbound_mode parameter
|
|
|
|
+ 1.24. Set flow_timer parameter
|
|
|
|
+ 1.25. save usage
|
|
|
|
+ 1.26. lookup usage
|
|
|
|
+ 1.27. lookup_branches usage
|
|
|
|
+ 1.28. registered usage
|
|
|
|
+ 1.29. add_sock_hdr usage
|
|
|
|
+ 1.30. unregister usage
|
|
|
|
+ 1.31. reg_fetch_contacts usage
|
|
|
|
+ 1.32. reg_free_contacts usage
|
|
|
|
+ 1.33. $ulc(name) usage
|
|
|
|
|
|
Chapter 1. Admin Guide
|
|
Chapter 1. Admin Guide
|
|
|
|
|
|
@@ -157,6 +161,8 @@ Chapter 1. Admin Guide
|
|
3.21. xavp_cfg (string)
|
|
3.21. xavp_cfg (string)
|
|
3.22. xavp_rcd (string)
|
|
3.22. xavp_rcd (string)
|
|
3.23. gruu_enabled (integer)
|
|
3.23. gruu_enabled (integer)
|
|
|
|
+ 3.24. outbound_mode (integer)
|
|
|
|
+ 3.25. flow_timer (integer)
|
|
|
|
|
|
4. Functions
|
|
4. Functions
|
|
|
|
|
|
@@ -201,8 +207,8 @@ Chapter 1. Admin Guide
|
|
* off - stores the value of the Path headers into usrloc without
|
|
* off - stores the value of the Path headers into usrloc without
|
|
passing it back to the UAC in the reply.
|
|
passing it back to the UAC in the reply.
|
|
* lazy - stores the Path header and passes it back to the UAC if
|
|
* lazy - stores the Path header and passes it back to the UAC if
|
|
- Path-support is indicated by the "path" param in the Supported HF.
|
|
|
|
- * strict - rejects the registration with "420 Bad Extension" if
|
|
|
|
|
|
+ Path-support is indicated by the “path� param in the Supported HF.
|
|
|
|
+ * strict - rejects the registration with “420 Bad Extension� if
|
|
there's a Path header but no support for it is indicated by the
|
|
there's a Path header but no support for it is indicated by the
|
|
UAC. Otherwise it's stored and passed back to the UAC.
|
|
UAC. Otherwise it's stored and passed back to the UAC.
|
|
|
|
|
|
@@ -214,8 +220,8 @@ Chapter 1. Admin Guide
|
|
client's NAT).
|
|
client's NAT).
|
|
|
|
|
|
The whole process is transparent to the user, so no config changes are
|
|
The whole process is transparent to the user, so no config changes are
|
|
- required beside setting the registrar-parameters "use_path" and
|
|
|
|
- "path_mode".
|
|
|
|
|
|
+ required beside setting the registrar-parameters “use_path� and
|
|
|
|
+ “path_mode�.
|
|
|
|
|
|
1.2. GRUU Support
|
|
1.2. GRUU Support
|
|
|
|
|
|
@@ -270,6 +276,8 @@ Chapter 1. Admin Guide
|
|
3.21. xavp_cfg (string)
|
|
3.21. xavp_cfg (string)
|
|
3.22. xavp_rcd (string)
|
|
3.22. xavp_rcd (string)
|
|
3.23. gruu_enabled (integer)
|
|
3.23. gruu_enabled (integer)
|
|
|
|
+ 3.24. outbound_mode (integer)
|
|
|
|
+ 3.25. flow_timer (integer)
|
|
|
|
|
|
3.1. default_expires (integer)
|
|
3.1. default_expires (integer)
|
|
|
|
|
|
@@ -277,7 +285,7 @@ Chapter 1. Admin Guide
|
|
contact parameters, this value will be used for newly created usrloc
|
|
contact parameters, this value will be used for newly created usrloc
|
|
records. The parameter contains number of second to expire (for example
|
|
records. The parameter contains number of second to expire (for example
|
|
use 3600 for one hour). If it is set to a lower value than the
|
|
use 3600 for one hour). If it is set to a lower value than the
|
|
- "min_expires" parameter then it will be ignored. This parameter can be
|
|
|
|
|
|
+ “min_expires� parameter then it will be ignored. This parameter can be
|
|
modified via ser config framework. A random value in a specific
|
|
modified via ser config framework. A random value in a specific
|
|
interval can be selected by using the default_expires_range parameter
|
|
interval can be selected by using the default_expires_range parameter
|
|
|
|
|
|
@@ -291,9 +299,9 @@ modparam("registrar", "default_expires", 1800)
|
|
3.2. default_expires_range (integer)
|
|
3.2. default_expires_range (integer)
|
|
|
|
|
|
This parameter specifies that the expiry used for newly created usrloc
|
|
This parameter specifies that the expiry used for newly created usrloc
|
|
- records are not fixed(when "default_expires" applies), but a random
|
|
|
|
- value in the interval "[default_expires-default_expires_range%,
|
|
|
|
- default_expires+default_expires_range%]". The value is between 0 and
|
|
|
|
|
|
+ records are not fixed(when “default_expires� applies), but a random
|
|
|
|
+ value in the interval “[default_expires-default_expires_range%,
|
|
|
|
+ default_expires+default_expires_range%]�. The value is between 0 and
|
|
100 and represent the maximim percentage from default_expires that will
|
|
100 and represent the maximim percentage from default_expires that will
|
|
be substracted or added when computing the value. Default in 0, meaning
|
|
be substracted or added when computing the value. Default in 0, meaning
|
|
default_expires is left unmodified. This parameter can be modified via
|
|
default_expires is left unmodified. This parameter can be modified via
|
|
@@ -512,7 +520,7 @@ modparam("registrar", "method_filtering", 1)
|
|
3.17. use_path (integer)
|
|
3.17. use_path (integer)
|
|
|
|
|
|
If set to 1, the Path header is handled according to the parameter This
|
|
If set to 1, the Path header is handled according to the parameter This
|
|
- parameter can be modified via ser config framework. "path_mode".
|
|
|
|
|
|
+ parameter can be modified via ser config framework. “path_mode�.
|
|
|
|
|
|
Default value is 0 (disabled).
|
|
Default value is 0 (disabled).
|
|
|
|
|
|
@@ -529,12 +537,12 @@ modparam("registrar", "use_path", 1)
|
|
the reply.
|
|
the reply.
|
|
* 1 - The Path header is saved into usrloc, but is only included in
|
|
* 1 - The Path header is saved into usrloc, but is only included in
|
|
the reply if path support is indicated in the registration request
|
|
the reply if path support is indicated in the registration request
|
|
- by the "path" option of the "Supported" header.
|
|
|
|
|
|
+ by the “path� option of the “Supported� header.
|
|
* 2 - The path header is only saved into usrloc, if path support is
|
|
* 2 - The path header is only saved into usrloc, if path support is
|
|
- indicated in the registration request by the "path" option of the
|
|
|
|
- "Supported" header. If no path support is indicated, the request is
|
|
|
|
- rejected with "420 - Bad Extension" and the header "Unsupported:
|
|
|
|
- path" is included in the reply along with the received "Path"
|
|
|
|
|
|
+ indicated in the registration request by the “path� option of the
|
|
|
|
+ “Supported� header. If no path support is indicated, the request is
|
|
|
|
+ rejected with “420 - Bad Extension� and the header “Unsupported:
|
|
|
|
+ path� is included in the reply along with the received “Path�
|
|
header. This mode is the one recommended by RFC-3327.
|
|
header. This mode is the one recommended by RFC-3327.
|
|
|
|
|
|
Default value is 2.
|
|
Default value is 2.
|
|
@@ -546,10 +554,10 @@ modparam("registrar", "path_mode", 0)
|
|
|
|
|
|
3.19. path_use_received (integer)
|
|
3.19. path_use_received (integer)
|
|
|
|
|
|
- If set to 1, the "received" parameter of the first Path URI of a
|
|
|
|
|
|
+ If set to 1, the “received� parameter of the first Path URI of a
|
|
registration is set as received-uri and the NAT branch flag is set for
|
|
registration is set as received-uri and the NAT branch flag is set for
|
|
this contact. This is useful if the registrar is placed behind a SIP
|
|
this contact. This is useful if the registrar is placed behind a SIP
|
|
- loadbalancer, which passes the nat'ed UAC address as "received"
|
|
|
|
|
|
+ loadbalancer, which passes the nat'ed UAC address as “received�
|
|
parameter in it's Path uri.
|
|
parameter in it's Path uri.
|
|
|
|
|
|
Default value is 0 (disabled).
|
|
Default value is 0 (disabled).
|
|
@@ -610,7 +618,7 @@ modparam("registrar", "xavp_cfg", "ulrcd")
|
|
|
|
|
|
3.23. gruu_enabled (integer)
|
|
3.23. gruu_enabled (integer)
|
|
|
|
|
|
- If set to 1 and GRUU "+sip.instance" parameter to Contact header of
|
|
|
|
|
|
+ If set to 1 and GRUU “+sip.instance� parameter to Contact header of
|
|
REGISTER is present, then the value of the parameter is saved to
|
|
REGISTER is present, then the value of the parameter is saved to
|
|
location and pub-gruu and temp-gruu addresses are generated.
|
|
location and pub-gruu and temp-gruu addresses are generated.
|
|
|
|
|
|
@@ -623,6 +631,60 @@ modparam("registrar", "xavp_cfg", "ulrcd")
|
|
modparam("registrar", "gruu_enabled", 0)
|
|
modparam("registrar", "gruu_enabled", 0)
|
|
...
|
|
...
|
|
|
|
|
|
|
|
+3.24. outbound_mode (integer)
|
|
|
|
+
|
|
|
|
+ If set to 0 then this module will accept REGISTER requests that do not
|
|
|
|
+ contain a Supported: header with the outbound options-tag. The 200 OK
|
|
|
|
+ response to REGISTER requests that this module generates will not
|
|
|
|
+ contain Require: or Supported: headers with the outbound options tag.
|
|
|
|
+
|
|
|
|
+ If set to 1 then this module will accept REGISTER requests that do not
|
|
|
|
+ contain a Supported: header with the outbound options-tag. The 200 OK
|
|
|
|
+ response to REGISTER requests that this module generates will contain a
|
|
|
|
+ Supported: header with the outbound options tag.
|
|
|
|
+
|
|
|
|
+ If set to 2 then this module will reject REGISTER requests that do not
|
|
|
|
+ contain a Supported: header with the outbound options-tag. The 200 OK
|
|
|
|
+ response to REGISTER requests that this module generates will contain
|
|
|
|
+ Require: and Supported: headers with the outbound options tag.
|
|
|
|
+
|
|
|
|
+ Set this parameter to 2 if you are using SIP Outbound (RFC 5626) and
|
|
|
|
+ want your Edge Proxy to insert a Flow-Timer: header into the 200 OK
|
|
|
|
+ response to REGISTERs (as per RFC 5626 section 5.4).
|
|
|
|
+
|
|
|
|
+ Default value is 0.
|
|
|
|
+
|
|
|
|
+ Example 1.23. Set outbound_mode parameter
|
|
|
|
+...
|
|
|
|
+modparam("registrar", "outbound_mode", 2)
|
|
|
|
+...
|
|
|
|
+
|
|
|
|
+3.25. flow_timer (integer)
|
|
|
|
+
|
|
|
|
+ If set to 0 then this module will not add a Flow-Timer: header to 200
|
|
|
|
+ OK responses to REGISTER requests.
|
|
|
|
+
|
|
|
|
+ If set to > 0 then this module will add a Flow-Timer: header containing
|
|
|
|
+ this value to 200 OK responses to REGISTER requests. This parameter may
|
|
|
|
+ only be set to a value > 0 when outbound_mode is set to 2.
|
|
|
|
+
|
|
|
|
+ When set to a value > 0 this parameter should be set to slightly less
|
|
|
|
+ than the connection timeout value between the UAC and the network (this
|
|
|
|
+ corresponds to the core tcp_connection_lifetime option and websocket
|
|
|
|
+ keepalive_timeout modparam). This parameter is most useful when you
|
|
|
|
+ have a single edge proxy/registrar. If you are using a separate SIP
|
|
|
|
+ Outbound Edge Proxy you should consider leaving this parameter set to 0
|
|
|
|
+ and adding the Flow-Timer: header on the Edge Proxy (as this allows you
|
|
|
|
+ to keep all of the timer values for a specific flow in one
|
|
|
|
+ configuration - that of the Edge Proxy).
|
|
|
|
+
|
|
|
|
+ Default value is 0.
|
|
|
|
+
|
|
|
|
+ Example 1.24. Set flow_timer parameter
|
|
|
|
+...
|
|
|
|
+modparam("registrar", "flow_timer", 25)
|
|
|
|
+...
|
|
|
|
+
|
|
4. Functions
|
|
4. Functions
|
|
|
|
|
|
4.1. save(domain, [, flags [, uri]])
|
|
4.1. save(domain, [, flags [, uri]])
|
|
@@ -634,7 +696,7 @@ modparam("registrar", "gruu_enabled", 0)
|
|
4.7. reg_fetch_contacts(domain, uri, profile)
|
|
4.7. reg_fetch_contacts(domain, uri, profile)
|
|
4.8. reg_free_contacts(profile)
|
|
4.8. reg_free_contacts(profile)
|
|
|
|
|
|
-4.1. save(domain, [, flags [, uri]])
|
|
|
|
|
|
+4.1. save(domain, [, flags [, uri]])
|
|
|
|
|
|
The function processes a REGISTER message. It can add, remove or modify
|
|
The function processes a REGISTER message. It can add, remove or modify
|
|
usrloc records depending on Contact and Expires HFs in the REGISTER
|
|
usrloc records depending on Contact and Expires HFs in the REGISTER
|
|
@@ -671,14 +733,14 @@ modparam("registrar", "gruu_enabled", 0)
|
|
|
|
|
|
This function can be used from REQUEST_ROUTE and REPLY_ROUTE.
|
|
This function can be used from REQUEST_ROUTE and REPLY_ROUTE.
|
|
|
|
|
|
- Example 1.23. save usage
|
|
|
|
|
|
+ Example 1.25. save usage
|
|
...
|
|
...
|
|
save("location");
|
|
save("location");
|
|
save("location", "0x01");
|
|
save("location", "0x01");
|
|
save("location", "0x00", "sip:[email protected]");
|
|
save("location", "0x00", "sip:[email protected]");
|
|
...
|
|
...
|
|
|
|
|
|
-4.2. lookup(domain [, uri])
|
|
|
|
|
|
+4.2. lookup(domain [, uri])
|
|
|
|
|
|
The function extracts username from Request-URI and tries to find all
|
|
The function extracts username from Request-URI and tries to find all
|
|
contacts for the username in usrloc. If there are no such contacts, -1
|
|
contacts for the username in usrloc. If there are no such contacts, -1
|
|
@@ -704,7 +766,7 @@ save("location", "0x00", "sip:[email protected]");
|
|
|
|
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
|
|
|
|
|
|
- Example 1.24. lookup usage
|
|
|
|
|
|
+ Example 1.26. lookup usage
|
|
...
|
|
...
|
|
lookup("location");
|
|
lookup("location");
|
|
switch ($retcode) {
|
|
switch ($retcode) {
|
|
@@ -718,7 +780,7 @@ switch ($retcode) {
|
|
};
|
|
};
|
|
...
|
|
...
|
|
|
|
|
|
-4.3. lookup_branches(domain)
|
|
|
|
|
|
+4.3. lookup_branches(domain)
|
|
|
|
|
|
The function performs lookup(domain) on r-uri and additional branches
|
|
The function performs lookup(domain) on r-uri and additional branches
|
|
(only branches that have no other attributes set than uri).
|
|
(only branches that have no other attributes set than uri).
|
|
@@ -730,12 +792,12 @@ switch ($retcode) {
|
|
|
|
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
|
|
|
|
|
|
- Example 1.25. lookup_branches usage
|
|
|
|
|
|
+ Example 1.27. lookup_branches usage
|
|
...
|
|
...
|
|
lookup_branches("location");
|
|
lookup_branches("location");
|
|
...
|
|
...
|
|
|
|
|
|
-4.4. registered(domain [, uri])
|
|
|
|
|
|
+4.4. registered(domain [, uri])
|
|
|
|
|
|
The function returns true if the AOR in the Request-URI is registered,
|
|
The function returns true if the AOR in the Request-URI is registered,
|
|
false otherwise. The function does not modify the message being
|
|
false otherwise. The function does not modify the message being
|
|
@@ -749,7 +811,7 @@ lookup_branches("location");
|
|
|
|
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
|
|
|
|
|
|
- Example 1.26. registered usage
|
|
|
|
|
|
+ Example 1.28. registered usage
|
|
...
|
|
...
|
|
if (registered("location")) {
|
|
if (registered("location")) {
|
|
sl_send_reply("100", "Trying");
|
|
sl_send_reply("100", "Trying");
|
|
@@ -757,9 +819,9 @@ if (registered("location")) {
|
|
};
|
|
};
|
|
...
|
|
...
|
|
|
|
|
|
-4.5. add_sock_hdr(hdr_name)
|
|
|
|
|
|
+4.5. add_sock_hdr(hdr_name)
|
|
|
|
|
|
- Adds to the current REGISTER request a new header with "hdr_name" which
|
|
|
|
|
|
+ Adds to the current REGISTER request a new header with “hdr_name� which
|
|
contains the description of the received socket (proto:ip:port)
|
|
contains the description of the received socket (proto:ip:port)
|
|
|
|
|
|
This make sens only in multiple replicated servers scenarios.
|
|
This make sens only in multiple replicated servers scenarios.
|
|
@@ -769,12 +831,12 @@ if (registered("location")) {
|
|
|
|
|
|
This function can be used from REQUEST_ROUTE.
|
|
This function can be used from REQUEST_ROUTE.
|
|
|
|
|
|
- Example 1.27. add_sock_hdr usage
|
|
|
|
|
|
+ Example 1.29. add_sock_hdr usage
|
|
...
|
|
...
|
|
add_sock_hdr("Sock-Info");
|
|
add_sock_hdr("Sock-Info");
|
|
...
|
|
...
|
|
|
|
|
|
-4.6. unregister(domain, uri)
|
|
|
|
|
|
+4.6. unregister(domain, uri)
|
|
|
|
|
|
The function remove all the contact associated to 'uri'.
|
|
The function remove all the contact associated to 'uri'.
|
|
|
|
|
|
@@ -787,13 +849,13 @@ add_sock_hdr("Sock-Info");
|
|
|
|
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
|
|
|
|
|
|
- Example 1.28. unregister usage
|
|
|
|
|
|
+ Example 1.30. unregister usage
|
|
...
|
|
...
|
|
unregister("location", "$ru");
|
|
unregister("location", "$ru");
|
|
unregister("location", "sip:[email protected]");
|
|
unregister("location", "sip:[email protected]");
|
|
...
|
|
...
|
|
|
|
|
|
-4.7. reg_fetch_contacts(domain, uri, profile)
|
|
|
|
|
|
+4.7. reg_fetch_contacts(domain, uri, profile)
|
|
|
|
|
|
The function fetches the contacts for 'uri' from table 'domain' to
|
|
The function fetches the contacts for 'uri' from table 'domain' to
|
|
pseudo-variable $ulc(profile).
|
|
pseudo-variable $ulc(profile).
|
|
@@ -809,13 +871,13 @@ unregister("location", "sip:[email protected]");
|
|
|
|
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
|
|
|
|
|
|
- Example 1.29. reg_fetch_contacts usage
|
|
|
|
|
|
+ Example 1.31. reg_fetch_contacts usage
|
|
...
|
|
...
|
|
reg_fetch_contacts("location", "$ru", "callee");
|
|
reg_fetch_contacts("location", "$ru", "callee");
|
|
reg_fetch_contacts("location", "sip:[email protected]", "caller");
|
|
reg_fetch_contacts("location", "sip:[email protected]", "caller");
|
|
...
|
|
...
|
|
|
|
|
|
-4.8. reg_free_contacts(profile)
|
|
|
|
|
|
+4.8. reg_free_contacts(profile)
|
|
|
|
|
|
The function frees the contacts from pseudo-variable $ulc(profile).
|
|
The function frees the contacts from pseudo-variable $ulc(profile).
|
|
Should be called to release the content of a profile. Anyhow, fetching
|
|
Should be called to release the content of a profile. Anyhow, fetching
|
|
@@ -828,7 +890,7 @@ reg_fetch_contacts("location", "sip:[email protected]", "caller");
|
|
|
|
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
|
|
|
|
|
|
- Example 1.30. reg_free_contacts usage
|
|
|
|
|
|
+ Example 1.32. reg_free_contacts usage
|
|
...
|
|
...
|
|
reg_free_contacts("callee");
|
|
reg_free_contacts("callee");
|
|
...
|
|
...
|
|
@@ -868,12 +930,12 @@ reg_free_contacts("callee");
|
|
6.1. $ulc(profile=>attr)
|
|
6.1. $ulc(profile=>attr)
|
|
|
|
|
|
Access the attributes of contact addresses stored in 'profile'. It must
|
|
Access the attributes of contact addresses stored in 'profile'. It must
|
|
- be used after a call of "reg_fetch_contacts()".
|
|
|
|
|
|
+ be used after a call of “reg_fetch_contacts()�.
|
|
|
|
|
|
- The "profile" has to be one of the values used with
|
|
|
|
- "reg_fetch_contacts()".
|
|
|
|
|
|
+ The “profile� has to be one of the values used with
|
|
|
|
+ “reg_fetch_contacts()�.
|
|
|
|
|
|
- The "attr" can be:
|
|
|
|
|
|
+ The “attr� can be:
|
|
* aor - address of record
|
|
* aor - address of record
|
|
* domain - use location domain name
|
|
* domain - use location domain name
|
|
* aorhash - hash id for the record
|
|
* aorhash - hash id for the record
|
|
@@ -894,7 +956,7 @@ reg_free_contacts("callee");
|
|
The pseudo-variable accepts positive index value to access a specific
|
|
The pseudo-variable accepts positive index value to access a specific
|
|
contact record.
|
|
contact record.
|
|
|
|
|
|
- Example 1.31. $ulc(name) usage
|
|
|
|
|
|
+ Example 1.33. $ulc(name) usage
|
|
...
|
|
...
|
|
if(reg_fetch_contacts("location", "$fu", "caller"))
|
|
if(reg_fetch_contacts("location", "$fu", "caller"))
|
|
{
|
|
{
|
|
@@ -926,9 +988,9 @@ if(reg_fetch_contacts("location", "$fu", "caller"))
|
|
|
|
|
|
Chapter 2. Frequently Asked Questions
|
|
Chapter 2. Frequently Asked Questions
|
|
|
|
|
|
- 2.1. What happend with the old "nat_flag" module parameter?
|
|
|
|
- 2.2. What happend with the old "use_domain" module parameter?
|
|
|
|
- 2.3. What happend with the old "save_noreply" and "save_memory"
|
|
|
|
|
|
+ 2.1. What happend with the old “nat_flag� module parameter?
|
|
|
|
+ 2.2. What happend with the old “use_domain� module parameter?
|
|
|
|
+ 2.3. What happend with the old “save_noreply� and “save_memory�
|
|
functions?
|
|
functions?
|
|
|
|
|
|
2.4. Where can I find more about Kamailio?
|
|
2.4. Where can I find more about Kamailio?
|
|
@@ -938,23 +1000,23 @@ Chapter 2. Frequently Asked Questions
|
|
|
|
|
|
2.1.
|
|
2.1.
|
|
|
|
|
|
- What happend with the old "nat_flag" module parameter?
|
|
|
|
|
|
+ What happend with the old “nat_flag� module parameter?
|
|
|
|
|
|
In was removed, as the module internally loads this value from the
|
|
In was removed, as the module internally loads this value from the
|
|
- "USRLOC" module (see the "nat_bflag" USRLOC parameter).
|
|
|
|
|
|
+ “USRLOC� module (see the “nat_bflag� USRLOC parameter).
|
|
|
|
|
|
2.2.
|
|
2.2.
|
|
|
|
|
|
- What happend with the old "use_domain" module parameter?
|
|
|
|
|
|
+ What happend with the old “use_domain� module parameter?
|
|
|
|
|
|
In was removed, as the module internally loads this option from the
|
|
In was removed, as the module internally loads this option from the
|
|
- "USRLOC" module. This was done in order to simplify the configuration.
|
|
|
|
|
|
+ “USRLOC� module. This was done in order to simplify the configuration.
|
|
|
|
|
|
2.3.
|
|
2.3.
|
|
|
|
|
|
- What happend with the old "save_noreply" and "save_memory" functions?
|
|
|
|
|
|
+ What happend with the old “save_noreply� and “save_memory� functions?
|
|
|
|
|
|
- There functions were merged into the new "save(domain,flags)"
|
|
|
|
|
|
+ There functions were merged into the new “save(domain,flags)�
|
|
functions. If a reply should be sent or if the DB should be updated
|
|
functions. If a reply should be sent or if the DB should be updated
|
|
also is controlled via the flags.
|
|
also is controlled via the flags.
|
|
|
|
|