Table of Contents
db_url
(string)
db_mode
(string)
List of Examples
db_url
parameterdb_mode
parametermaxcontact
parametermaxcontact_3gpp
parametermaxcontact_behaviour
parametersubscription_expires_range
parametersub_dialog_hash_size
parametertimer_procs
parametertimer_interval
parameterdesc_time_order
parametermatching_mode
parametercseq_delay
parameterfetch_rows
parameterhash_size
parametersubs_hash_size
parametercontacts_hash_size
parameternat_bflag
parametercontact_delete_delay
parametersupport_wildcardPSI
parameterunreg_validity
parameterunreg_validity
parameterTable of Contents
db_url
(string)
db_mode
(string)
This module serves as a storage engine for SCSCF contacts, much like the standard Kamailio module that is usrloc, is a storage engine for standard SIP contacts.
database URL for storing impu/contacts records
Example 1.1. Set db_url
parameter
modparam("ims_usrloc_scscf", "db_url", "mysql//username:password@localhost/scscf")
This is the database mode to be used for the SCSCF usrloc data persistent storage. Currently this module supports the Write-Back scheme only.
0 - This disables database completely. Only memory will be used. Contacts will not survive restart.
1 - Write-Backend scheme. All changes are made to memory and database synchronization is done in the timer
Default value is 0.
The parameter can be used to limit the number of contact for each impu
Default value is 0(max)
The parameter can be used to limit the number of 3GPP contact for each impu
Default value is 0.(max)
Behaviour of usrloc , after impu reach max contacts limit.
0 - Disabled
1 - Reject after reaching limit.
2 - Overwrite
Default value is 0.
Example 1.5. Set maxcontact_behaviour
parameter
... modparam("ims_usrloc_scscf", "maxcontact_behaviour", 2)
Max number of subscribes allowed per watcher for each IMPU
Default value is 0.
Example 1.6. Set subscription_expires_range
parameter
... modparam("ims_usrloc_scscf", "max_subscribes", 2)
Subscriber dialog hash table size
Default value is 10.
Example 1.7. Set sub_dialog_hash_size
parameter
... modparam("ims_usrloc_scscf", "sub_dialog_hash_size", 512)
process number of handling registeration
Default value is 0
Number of seconds between two timer runs. The module uses a timer to delete expired contacts, synchronize with database and other tasks, that need to be run periodically
Default value is 90
If the user's contacts should be kept timestamp ordered; otherwise the contact will be ordered based on q value. Non 0 value means true.
Default value is timestamp ordering not enabled
What contact matching algorithm to be used.
0 - Contact Only matching
1 - Contact and Callid Matching
2 - Contact and Path header matching
3 - Only contact IP and Port Matching
Default value is 0.
Delay (in seconds) for accepting as retransmissions register requests with same Call-ID and Cseq.
Default value is 20.
The number of the rows to be fetched at once from database when loading the location records.
Default value is 2000.
The number of entries of the hash table used by usrloc
Default value 512
The number of entries of the hash table used by usrloc to store the ims subscribe records
Default value 512
The number of entries of the hash table used by usrloc to store the contact records
Default value is 512
Example 1.16. Set contacts_hash_size
parameter
... modparam("ims_usrloc_scscf", "contacts_hash_size", 512)
NAT marker to handle natted registration
Default value is 0
If contact is put into delay delete state ,this is how long we delay before deleting
Default value is 30
Example 1.18. Set contact_delete_delay
parameter
modparam("ims_usrloc_scscf", "contact_delete_delay", 32)
Wildcard Public-Service-Identity (RFC5002). it will be actived by setting 1
Default value is 0.(disabled)
Example 1.19. Set support_wildcardPSI
parameter
modparam("ims_usrloc_scscf", "support_wildcardPSI", 0)
Default validity time in seconds for unregister assignment to SCSCF
Default value is 1800
2.1. |
Where can I find more about Kamailio? |
Take a look at https://www.kamailio.org/. |
|
2.2. |
Where can I post a question about this module? |
First at all check if your question was already answered on one of our mailing lists:
E-mails regarding any stable Kamailio release should be sent to
|
|
2.3. |
How can I report a bug? |
Please follow the guidelines provided at: https://github.com/kamailio/kamailio/issues. |