|
@@ -646,7 +646,7 @@ modparam("registrar", "method_filtering", 1)
|
|
|
|
|
|
3.20. use_path (integer)
|
|
3.20. use_path (integer)
|
|
|
|
|
|
- If set to 1, the “Path:” header is handled according to the parameter
|
|
|
|
|
|
+ If set to 1, the “Path:” header is handled according to the parameter.
|
|
This parameter can be modified via Kamailio config framework.
|
|
This parameter can be modified via Kamailio config framework.
|
|
“path_mode”.
|
|
“path_mode”.
|
|
|
|
|
|
@@ -686,7 +686,7 @@ modparam("registrar", "path_mode", 0)
|
|
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 its Path uri.
|
|
|
|
|
|
Default value is 0 (disabled).
|
|
Default value is 0 (disabled).
|
|
|
|
|
|
@@ -750,7 +750,7 @@ modparam("registrar", "reg_callid_avp", "$avp(s:avp)")
|
|
save() on a reply route to set the connecion of the original
|
|
save() on a reply route to set the connecion of the original
|
|
request. Used in save().
|
|
request. Used in save().
|
|
|
|
|
|
- For example. if this parameter is set to 'reg', then the number of
|
|
|
|
|
|
+ For example if this parameter is set to 'reg', then the number of
|
|
maximum contacts can be set in $xavp(reg=>max_contacts).
|
|
maximum contacts can be set in $xavp(reg=>max_contacts).
|
|
|
|
|
|
Default value is NULL (disabled).
|
|
Default value is NULL (disabled).
|
|
@@ -1030,16 +1030,16 @@ kamcmd cfg.set_now_int registrar use_expired_contacts 0
|
|
is set.
|
|
is set.
|
|
The flags may be given in decimal or hexadecimal format.
|
|
The flags may be given in decimal or hexadecimal format.
|
|
* uri (optional - flags param has to be set and can be 0 for default
|
|
* uri (optional - flags param has to be set and can be 0 for default
|
|
- behavior) - SIP URI to do be used instead of To header URI. It can
|
|
|
|
- be a dynamic string with pseudo-variables.
|
|
|
|
|
|
+ behavior) - SIP URI to be used instead of To header URI. It can be
|
|
|
|
+ a dynamic string with pseudo-variables.
|
|
|
|
|
|
Return codes:
|
|
Return codes:
|
|
* -2 - error, too many contacts for AOR.
|
|
* -2 - error, too many contacts for AOR.
|
|
- -1 - error.
|
|
|
|
- 1 - contacts inserted.
|
|
|
|
- 2 - contacts updated.
|
|
|
|
- 3 - contacts deleted.
|
|
|
|
- 4 - contacts returned.
|
|
|
|
|
|
+ * -1 - error.
|
|
|
|
+ * 1 - contacts inserted.
|
|
|
|
+ * 2 - contacts updated.
|
|
|
|
+ * 3 - contacts deleted.
|
|
|
|
+ * 4 - contacts returned.
|
|
|
|
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE and
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE and
|
|
REPLY_ROUTE.
|
|
REPLY_ROUTE.
|
|
@@ -1067,14 +1067,14 @@ save("location", "0x00", "sip:[email protected]");
|
|
|
|
|
|
Meaning of the parameters is as follows:
|
|
Meaning of the parameters is as follows:
|
|
* domain - Name of table that should be used for the lookup.
|
|
* domain - Name of table that should be used for the lookup.
|
|
- * uri (optional) - SIP URI to do be used instead of R-URI. It can be
|
|
|
|
- a dynamic string with pseudo-variables.
|
|
|
|
|
|
+ * uri (optional) - SIP URI to be used instead of R-URI. It can be a
|
|
|
|
+ dynamic string with pseudo-variables.
|
|
|
|
|
|
Return codes:
|
|
Return codes:
|
|
* 1 - contacts found and returned.
|
|
* 1 - contacts found and returned.
|
|
- -1 - no contact found.
|
|
|
|
- -2 - contacts found, but method not supported.
|
|
|
|
- -3 - internal error during processing.
|
|
|
|
|
|
+ * -1 - no contact found.
|
|
|
|
+ * -2 - contacts found, but method not supported.
|
|
|
|
+ * -3 - internal error during processing.
|
|
|
|
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
|
|
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
|
|
|
|
|
|
@@ -1163,8 +1163,8 @@ xinfo("first contact record - socket: $xavp(cul>socket)\n");
|
|
|
|
|
|
Meaning of the parameters is as follows:
|
|
Meaning of the parameters is as follows:
|
|
* domain - Name of table that should be used for the lookup.
|
|
* domain - Name of table that should be used for the lookup.
|
|
- * uri (optional) - SIP URI to do be used instead of Request/To-URI.
|
|
|
|
- It can be a dynamic string with pseudo-variables.
|
|
|
|
|
|
+ * uri (optional) - SIP URI to be used instead of Request/To-URI. It
|
|
|
|
+ can be a dynamic string with pseudo-variables.
|
|
* match_option (optional) - flag parameter to restrict contact
|
|
* match_option (optional) - flag parameter to restrict contact
|
|
search. use xavp_cfg to set the values to compare to.
|
|
search. use xavp_cfg to set the values to compare to.
|
|
flag values is as follows:
|
|
flag values is as follows:
|