Pages for other versions: devel 3.6 3.5 3.4 Older versions: 3.3 3.2 3.1 3.0 2.4 2.3 2.2 2.1 1.11 1.10 1.9 1.8 1.7 1.6 1.5 1.4
| DB Schema v4.0 |
| Prev | Next |
OpenSIPS database tables
- Table of Contents
- 1. Accounting
- 2. alias db
- 3. Subscriber
- 4. JWT authentication
- 5. B2BUA
- 6. SCA support
- 7. CacheDB_SQL
- 8. Call Center
- 9. carrierroute
- 10. Accounting
- 11. Clusterer support
- 12. CONFIG support
- 13. Call-processing language
- 14. Dialog support
- 15. Matching and translation rules
- 16. Dispatcher
- 17. Domain
- 18. Domainpolicy
- 19. Dynamic Routing
- 20. Emergency
- 21. Fraud Detection
- 22. FreeSWITCH ESL Integration
- 23. Group checking
- 24. Instant Message Conference
- 25. JANUS
- 26. Load Balancer
- 27. Message Storage
- 28. Permissions
- 29. Presence
- 30. Quality Routing
- 31. Rate Cacher
- 32. Registrant support
- 33. RLS
- 34. RTPengine
- 35. RTPProxy
- 36. SMPP
- 37. SOCKETS_MGM support
- 38. Speed dial
- 39. SQL Operations
- 40. Version
- 41. TCP_MGM support
- 42. TLS_MGM support
- 43. Tracer
- 44. Trie
- 45. User and global blacklists
- 46. User location
- List of Tables
- 1-1. Table "acc"
- 1-2. Table "acc" indexes
- 1-3. Table "missed_calls"
- 1-4. Table "missed_calls" indexes
- 2-1. Table "dbaliases"
- 2-2. Table "dbaliases" indexes
- 3-1. Table "subscriber"
- 3-2. Table "subscriber" indexes
- 3-3. Table "uri"
- 3-4. Table "uri" indexes
- 4-1. Table "jwt_profiles"
- 4-2. Table "jwt_profiles" indexes
- 4-3. Table "jwt_secrets"
- 5-1. Table "b2b_entities"
- 5-2. Table "b2b_entities" indexes
- 5-3. Table "b2b_logic"
- 5-4. Table "b2b_logic" indexes
- 6-1. Table "b2b_sca"
- 6-2. Table "b2b_sca" indexes
- 7-1. Table "cachedb"
- 7-2. Table "cachedb" indexes
- 8-1. Table "cc_flows"
- 8-2. Table "cc_flows" indexes
- 8-3. Table "cc_agents"
- 8-4. Table "cc_agents" indexes
- 8-5. Table "cc_cdrs"
- 8-6. Table "cc_calls"
- 8-7. Table "cc_calls" indexes
- 9-1. Table "carrierroute"
- 9-2. Table "carrierfailureroute"
- 9-3. Table "route_tree"
- 10-1. Table "closeddial"
- 10-2. Table "closeddial" indexes
- 11-1. Table "clusterer"
- 11-2. Table "clusterer" indexes
- 11-3. Table "clusterer_bridge"
- 11-4. Table "clusterer_bridge" indexes
- 12-1. Table "config"
- 12-2. Table "config" indexes
- 13-1. Table "cpl"
- 13-2. Table "cpl" indexes
- 14-1. Table "dialog"
- 15-1. Table "dialplan"
- 16-1. Table "dispatcher"
- 17-1. Table "domain"
- 17-2. Table "domain" indexes
- 18-1. Table "domainpolicy"
- 18-2. Table "domainpolicy" indexes
- 19-1. Table "dr_gateways"
- 19-2. Table "dr_gateways" indexes
- 19-3. Table "dr_rules"
- 19-4. Table "dr_carriers"
- 19-5. Table "dr_carriers" indexes
- 19-6. Table "dr_groups"
- 19-7. Table "dr_partitions"
- 20-1. Table "emergency_routing"
- 20-2. Table "emergency_report"
- 20-3. Table "emergency_service_provider"
- 21-1. Table "fraud_detection"
- 22-1. Table "freeswitch"
- 23-1. Table "grp"
- 23-2. Table "grp" indexes
- 23-3. Table "re_grp"
- 23-4. Table "re_grp" indexes
- 24-1. Table "imc_rooms"
- 24-2. Table "imc_rooms" indexes
- 24-3. Table "imc_members"
- 24-4. Table "imc_members" indexes
- 25-1. Table "janus"
- 26-1. Table "load_balancer"
- 26-2. Table "load_balancer" indexes
- 27-1. Table "silo"
- 27-2. Table "silo" indexes
- 28-1. Table "address"
- 29-1. Table "presentity"
- 29-2. Table "presentity" indexes
- 29-3. Table "active_watchers"
- 29-4. Table "active_watchers" indexes
- 29-5. Table "watchers"
- 29-6. Table "watchers" indexes
- 29-7. Table "xcap"
- 29-8. Table "xcap" indexes
- 29-9. Table "pua"
- 29-10. Table "pua" indexes
- 30-1. Table "qr_profiles"
- 31-1. Table "rc_clients"
- 31-2. Table "rc_clients" indexes
- 31-3. Table "rc_vendors"
- 31-4. Table "rc_vendors" indexes
- 31-5. Table "rc_ratesheets"
- 31-6. Table "rc_ratesheets" indexes
- 31-7. Table "rc_demo_ratesheet"
- 31-8. Table "rc_demo_ratesheet" indexes
- 32-1. Table "registrant"
- 32-2. Table "registrant" indexes
- 33-1. Table "rls_presentity"
- 33-2. Table "rls_presentity" indexes
- 33-3. Table "rls_watchers"
- 33-4. Table "rls_watchers" indexes
- 34-1. Table "rtpengine"
- 35-1. Table "rtpproxy_sockets"
- 36-1. Table "smpp"
- 36-2. Table "smpp" indexes
- 37-1. Table "sockets"
- 38-1. Table "speed_dial"
- 38-2. Table "speed_dial" indexes
- 39-1. Table "usr_preferences"
- 39-2. Table "usr_preferences" indexes
- 40-1. Table "version"
- 40-2. Table "version" indexes
- 41-1. Table "tcp_mgm"
- 42-1. Table "tls_mgm"
- 42-2. Table "tls_mgm" indexes
- 43-1. Table "sip_trace"
- 43-2. Table "sip_trace" indexes
- 44-1. Table "trie_table"
- 44-2. Table "trie_partitions"
- 45-1. Table "userblacklist"
- 45-2. Table "userblacklist" indexes
- 45-3. Table "globalblacklist"
- 45-4. Table "globalblacklist" indexes
- 46-1. Table "location"
Chapter 1. Accounting
- acc
This table is used by the ACC module to report on transactions - accounted calls. More information is available at: https://opensips.org/docs/modules/devel/acc.html
- missed_calls
This table is used by the ACC module for keeping track of missed calls. This table is similar to the 'acc' table. More information is available at: https://opensips.org/docs/modules/devel/acc.html
Table 1-1. Table "acc"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
methodstring16'' no A method is the primary function that a request is meant to invoke on a server.
from_tagstring64'' no The tag parameter serves as a general mechanism to identify a dialog, which is the combination of the Call-ID along with two tags, one from participant in the dialog.
to_tagstring64'' no The tag parameter serves as a general mechanism to identify a dialog, which is the combination of the Call-ID along with two tags, one from participant in the dialog.
callidstring64'' no Call-ID header field uniquely identifies a particular invitation or all registrations of a particular client.
sip_codestring3'' no SIP reply code
sip_reasonstring32'' no SIP reply reason
timedatetimenot specifieddefault no Date and time when this record was written.
durationunsigned int110 no Call duration (from 200OK INVITE to BYE request) in seconds - this field is populated only if CDR support is enabled in ACC module (see cdr_flag parameter)
ms_durationunsigned int110 no Call duration (from 200OK INVITE to BYE request) in milliseconds - this field is populated only if CDR support is enabled in ACC module (see cdr_flag parameter)
setuptimeunsigned int110 no Call initialization duration - (from INVITE request to 200 OK INVITE) - this filed is populated only if CDR support is enabled in ACC module (see cdr_flag parameter)
createddatetimenot specifiedNULL yes The call creation date and time.
Table 1-3. Table "missed_calls"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
methodstring16'' no A method is the primary function that a request is meant to invoke on a server.
from_tagstring64'' no The tag parameter serves as a general mechanism to identify a dialog, which is the combination of the Call-ID along with two tags, one from participant in the dialog.
to_tagstring64'' no The tag parameter serves as a general mechanism to identify a dialog, which is the combination of the Call-ID along with two tags, one from participant in the dialog.
callidstring64'' no Call-ID header field uniquely identifies a particular invitation or all registrations of a particular client.
sip_codestring3'' no SIP reply code
sip_reasonstring32'' no SIP reply reason
timedatetimenot specifieddefault no Date and time when this record was written.
setuptimeunsigned int110 no Call initialization duration - (from INVITE request to reply) - this filed is populated only if CDR support is enabled in ACC module (see cdr_flag parameter)
createddatetimenot specifiedNULL yes The call creation date and time.
Chapter 2. alias db
- dbaliases
This table us used by the alias_db module as an alternative for user aliases via userloc. More information about the alias_db module can be found at: https://opensips.org/docs/modules/devel/alias_db.html
Table 2-1. Table "dbaliases"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
alias_usernamestring64'' no Alias username / phone number
alias_domainstring64'' no Alias domain name
usernamestring64'' no Username / phone number
domainstring64'' no Domain name
Chapter 3. Subscriber
- subscriber
This table is used to provide authentication information. More information about the auth_db module can be found at: https://opensips.org/docs/modules/devel/auth_db.html
- uri
This table is used by uri_db module to implement various SIP URI checks. More information about the uri_db module can be found at: https://opensips.org/docs/modules/devel/uri_db.html
Table 3-1. Table "subscriber"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
usernamestring64'' no Username / phone number
domainstring64'' no Domain name
passwordstring25'' no Password
ha1string64'' no md5(username:realm:password)
ha1_sha256string64'' no sha256(username:realm:password)
ha1_sha512t256string64'' no sha512t256(username:realm:password)
Table 3-2. Table "subscriber" indexes
name type links description account_idxunique username, domain
username_idxdefault username
Table 3-3. Table "uri"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement
usernamestring64'' no Username / phone number
domainstring64'' no Domain name
uri_userstring64'' no Username / phone number
last_modifieddatetimenot specified'1900-01-01 00:00:01' no Date and time when this record was last modified.
Chapter 4. JWT authentication
- jwt_profiles
This table is used by the AUTH_JWT module to read the actual JWT profiles info More information can be found at: https://opensips.org/docs/modules/devel/auth_jwt.html.
- jwt_secrets
This table is used by the AUTH_JWT module to read the actual JWT secrets which are used for authentication More information can be found at: https://opensips.org/docs/modules/devel/auth_jwt.html.
Table 4-1. Table "jwt_profiles"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Table key, not used by module
tagstring128default no Unique ID of the JWT profile
sip_usernamestring128default no The SIP username associated with the JWT profile
Table 4-3. Table "jwt_secrets"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Table key, not used by module
corresponding_tagstring128default no JWT profile tag which this secret belongs to
secrettextnot specifieddefault no The KEY used for signing the JWT
start_tsintnot specifieddefault no UNIX TS for the START period on which the JWT secret is valid
end_tsintnot specifieddefault no UNIX TS for the END period on which the JWT secret is valid
Chapter 5. B2BUA
- b2b_entities
Table for the b2b_entities module. More information can be found at: https://opensips.org/docs/modules/devel/b2b_entities.html
- b2b_logic
Table for the b2b_logic module. More information can be found at: https://opensips.org/docs/modules/devel/b2b_logic.html
Table 5-1. Table "b2b_entities"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
typeint2default no Entity type: 0-server, 1-client
stateint2default no Dialog state
ruristring255default yes RURI(stored only for server entities to correctly match CANCEL)
from_uristring255default no From URI
to_uristring255default no To URI
from_dnamestring64default yes From display name
to_dnamestring64default yes To display name
tag0string64default no TO tag
tag1string64default yes From tag
callidstring128default no Call ID
cseq0int11default no Cseq0
cseq1int11default yes Cseq1
contact0string255default no Contact0
contact1string255default yes Contact1
route0textnot specifieddefault yes Record route 0
route1textnot specifieddefault yes Record route 1
sockinfo_srvstring64default yes Socket Info
paramstring255default no Logic parameter
mod_namestring32default no OpenSIPS module that this entity belongs to
storagebinary4096NULL yes Generic binary data storage
lmint11default no Last method
lrcint11default yes Last reply code
licint11default yes Last invite cseq
leg_cseqint11default yes Leg cseq
leg_routetextnot specifieddefault yes Leg route
leg_tagstring64default yes Leg tag
leg_contactstring255default yes Leg contact
leg_sockinfostring255default yes Leg sockinfo
Table 5-2. Table "b2b_entities" indexes
name type links description b2b_entities_idxunique type, tag0, tag1, callid
b2b_entities_paramdefault param
Table 5-3. Table "b2b_logic"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
si_keystring64default no Scenario instantiation key
scenariostring64default yes Scenario id
sstateint2default no Scenario State
lifetimeint100 no Lifetime
e1_typeint2default no E1 type
e1_sidstring64default yes E1 Scenario ID
e1_fromstring255default no E1 From URI
e1_tostring255default no E1 To URI
e1_keystring64default no E1 Key
e1_sdptextnot specifieddefault yes E1 SDP
e2_typeint2default no E2 type
e2_sidstring64default yes E2 Scenario ID
e2_fromstring255default no E2 From URI
e2_tostring255default no E2 To URI
e2_keystring64default no E2 Key
e2_sdptextnot specifieddefault yes E2 SDP
e3_typeint2default yes E3 type
e3_sidstring64default yes E3 Scenario ID
e3_fromstring255default yes E3 From URI
e3_tostring255default yes E3 To URI
e3_keystring64default yes E3 Key
Chapter 6. SCA support
- b2b_sca
Persistent sca information for the b2b_sca module. More information can be found at: https://opensips.org/docs/modules/devel/b2b_sca.html
Table 6-1. Table "b2b_sca"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
shared_linestring64default no The shared line.
watchersstring255default no The URI list of watchers
app1_shared_entityunsigned int1NULL yes The entity to keep.
app1_call_stateunsigned int1NULL yes The state of the appearance index.
app1_call_info_uristring255NULL yes The URI of the Call-Info header
app1_call_info_appearance_uristring255NULL yes The URI of the appearance in Call-Info header
app1_b2bl_keystring64NULL yes The b2b_logic key.
app2_shared_entityunsigned int1NULL yes The entity to keep.
app2_call_stateunsigned int1NULL yes The state of the appearance index.
app2_call_info_uristring255NULL yes The URI of the Call-Info header
app2_call_info_appearance_uristring255NULL yes The URI of the appearance in Call-Info header
app2_b2bl_keystring64NULL yes The b2b_logic key.
app3_shared_entityunsigned int1NULL yes The entity to keep.
app3_call_stateunsigned int1NULL yes The state of the appearance index.
app3_call_info_uristring255NULL yes The URI of the Call-Info header
app3_call_info_appearance_uristring255NULL yes The URI of the appearance in Call-Info header
app3_b2bl_keystring64NULL yes The b2b_logic key.
app4_shared_entityunsigned int1NULL yes The entity to keep.
app4_call_stateunsigned int1NULL yes The state of the appearance index.
app4_call_info_uristring255NULL yes The URI of the Call-Info header
app4_call_info_appearance_uristring255NULL yes The URI of the appearance in Call-Info header
app4_b2bl_keystring64NULL yes The b2b_logic key.
app5_shared_entityunsigned int1NULL yes The entity to keep.
app5_call_stateunsigned int1NULL yes The state of the appearance index.
app5_call_info_uristring255NULL yes The URI of the Call-Info header
app5_call_info_appearance_uristring255NULL yes The URI of the appearance in Call-Info header
app5_b2bl_keystring64NULL yes The b2b_logic key.
app6_shared_entityunsigned int1NULL yes The entity to keep.
app6_call_stateunsigned int1NULL yes The state of the appearance index.
app6_call_info_uristring255NULL yes The URI of the Call-Info header
app6_call_info_appearance_uristring255NULL yes The URI of the appearance in Call-Info header
app6_b2bl_keystring64NULL yes The b2b_logic key.
app7_shared_entityunsigned int1NULL yes The entity to keep.
app7_call_stateunsigned int1NULL yes The state of the appearance index.
app7_call_info_uristring255NULL yes The URI of the Call-Info header
app7_call_info_appearance_uristring255NULL yes The URI of the appearance in Call-Info header
app7_b2bl_keystring64NULL yes The b2b_logic key.
app8_shared_entityunsigned int1NULL yes The entity to keep.
app8_call_stateunsigned int1NULL yes The state of the appearance index.
app8_call_info_uristring255NULL yes The URI of the Call-Info header
app8_call_info_appearance_uristring255NULL yes The URI of the appearance in Call-Info header
app8_b2bl_keystring64NULL yes The b2b_logic key.
app9_shared_entityunsigned int1NULL yes The entity to keep.
app9_call_stateunsigned int1NULL yes The state of the appearance index.
app9_call_info_uristring255NULL yes The URI of the Call-Info header
app9_call_info_appearance_uristring255NULL yes The URI of the appearance in Call-Info header
app9_b2bl_keystring64NULL yes The b2b_logic key.
app10_shared_entityunsigned int1NULL yes The entity to keep.
app10_call_stateunsigned int1NULL yes The state of the appearance index.
app10_call_info_uristring255NULL yes The URI of the Call-Info header
app10_call_info_appearance_uristring255NULL yes The URI of the appearance in Call-Info header
app10_b2bl_keystring64NULL yes The b2b_logic key.
Chapter 7. CacheDB_SQL
- cachedb
DB implementation of the CacheDB interface: https://opensips.org/docs/modules/devel/cachedb_sql.html
Table 7-1. Table "cachedb"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Table primary key, not used by module
keynamestring255default no The Key
valuetext512default no The value
counterint100 no The value of the counter
expiresunsigned int100 no The unix timestamp when the key will expires
Chapter 8. Call Center
- cc_flows
This table is used by the Call Center module to store the definition of the call queues / flows. More information can be found at: https://opensips.org/docs/modules/devel/call_center.html.
- cc_agents
This table is used by the Call Center module to store the definition of the agents serving the flows/queues. More information can be found at: https://opensips.org/docs/modules/devel/call_center.html.
- cc_cdrs
This table is used by the Call Center module to store the Call Data Records (CDRs) for all the handled calls. More information can be found at: https://opensips.org/docs/modules/devel/call_center.html.
- cc_calls
This table is used by the Call Center module to store ongoing calls for restart persitancy. It consists only of runtime data and should not be manually provisioned. More information can be found at: https://opensips.org/docs/modules/devel/call_center.html.
Table 8-1. Table "cc_flows"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Flow unique ID in DB
flowidstring64default no The unique ID of the flow in the Call Center module - to be used to identify the flow/queue in the module and from outside the module; It is an alphanumerical string.
priorityunsigned int11256 no The priority of the flow (in relation to the other flows); 0 is maximum priority and calls for this flow will be processed first all the time.
skillstring64default no The skill required from an agent in order to receive calls from this flow/queue.
prependcidstring32NULL yes Aphanumerical prefix to be added to the caller displayname when sending calls from this flow to agents (so agent - serving muliple flows - can see what was the flow the call was received on.
max_wrapup_timeunsigned int110 no The maximum warpup time (in seconds) allowed for the call terminated via this flow. This value will limit the default or per-agent wrapup time. A 0 value means no limit/max defined.
dissuading_hangupunsigned int110 no If set to true (non zero value), the calls diverted to dissuading destination will be closed after the dissuading terminates (useful when using a playback for dissuading).
dissuading_onhold_thunsigned int110 no For how long (in seconds) a call will wait in the queue before getting a dissuading redirect.
dissuading_ewt_thunsigned int110 no The Estimated Waiting Time (in seconds) threshold that will redirect a new incoming call (not queued yet) to the dissuading destination.
dissuading_qsize_thunsigned int110 no The Size of the Queue (as already waiting calls in this flow) that will redirect a new incoming call (not queued yet) to the dissuading destination.
message_welcomestring128NULL yes SIP URI point to a media server; this is used for playing the welcome message for this flow.
message_queuestring128default no SIP URI point to a media server; this is used for playing the onhold message for this flow. IMPORTANT - this message must cycle and media server must never hung up on it.
message_dissuadingstring128NULL yes SIP URI point to a media server; this is used for playing the dissuading message for this flow.
message_flow_idstring128NULL yes SIP URI point to a media server; this is used for playing the name of the flow id to the agent before delivering a call to him.
Table 8-3. Table "cc_agents"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Agent unique ID in DB
agentidstring128default no The unique ID of the agent in the Call Center module - to be used to identify the agent in the module and from outside the module; It is an alphanumerical string.
locationstring128default yes SIP URI point to the agent location; All calls for this agents will be sent to this SIP address.
logstateunsigned int100 no The call login state of the agent; 0 - not logged in; 1 - logged in ; Agent will start receiving calls only if logged in.
msrp_locationstring128default yes MSRP SIP URI point to the agent location; All chat sessions for this agents will be sent to this SIP address.
msrp_max_sessionsunsigned int104 no How many MSRP/chat sessions the agent can handle in the same time.
skillsstring255default no Comma separated list of skills offered by the agent; these skills must match the skills used in the queues/flows definition; In order to receive calls from a flow, the agent must have the skill required by that flow.
wrapup_end_timeint110 no The timestamp when the last wrapup ends/ended for the agent. If different than 0, the agent will only receive calls after this timestamp.
wrapup_timeint110 no The duration in seconds needed by the agent to wrap up the call he just completed. If set to 0, the global wraptup time will be used for this agent.
Table 8-5. Table "cc_cdrs"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement CDR unique ID in DB
callerstring64default no The SIP URI identifing the caller.
received_timestampdatetimenot specifieddefault no When the call was received.
wait_timeunsigned int110 no Time (in seconds) spent by the call in queue (onhold).
pickup_timeunsigned int110 no Time (in seconds) spent by the call in ringing to the agent.
talk_timeunsigned int110 no The duration (in seconds) of the call.
flow_idstring128default no The ID of the flow the call was received on.
agent_idstring128NULL yes The ID of the agent who picked this call (if any).
call_typeint11-1 no Type of call: -2 - call rejected by agent; -1 - call dropped because of internal error; 0 - call handled by agent; 1 - call dropped while in queue;
rejectedunsigned int110 no How many times the call was rejected by agents (agent not answering his phone).
fstatsunsigned int110 no Bitmask of the following binary flags: 0 - it is inbound call; 1 - call was distributed to agents; 2 - call was answered; 3 - call was abandoned.
cidunsigned int110 yes Sequence number of the call.
mediaint110 no Media type of the call: 1 - RTP/audio; 2 - MSRP/chat;
Table 8-6. Table "cc_calls"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID of the call.
stateint11default no The state of the call.
mediaint11default no Indicates the media type of the call, (0) RTP/audio or (1) MSRP/chat.
ig_cbackint11default no Indicates if the call should be ignored.
no_rejint11default no Indicates whether the call can be rejected or not.
setup_timeint11default no Stores the call setup time.
etaint11default no The estimated wait time for a call until it is answered by an agent.
last_startint11default no Stores the timestamp when the last call has started.
recv_timeint11default no Stores the timestamp when the call was received by the call center.
caller_dnstring128default no Caller Display Name.
caller_unstring128default no Caller User Name.
b2buaidstring128'' no The B2B id internally used by the B2B module to identify the call.
flowstring128default no The flow/queue this call belongs to.
agentstring128default no The agent that handles the call.
script_paramstring128default no Parameter passed to the callcenter B2B logic scriptt.
Chapter 9. carrierroute
- carrierroute
This table is used by the carrierroute module to provides routing, balancing and blacklisting capabilities. More information is available at: https://opensips.org/docs/modules/devel/carrierroute.html
- carrierfailureroute
This table is used by the carrierroute module to provide failure routing capabilities. More information is available at: https://opensips.org/docs/modules/devel/carrierroute.html
- route_tree
This table is used by the carrierroute module to provides routing, balancing and blacklisting capabilities. More information is available at: https://opensips.org/docs/modules/devel/carrierroute.html
Table 9-1. Table "carrierroute"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
carrierunsigned int100 no This column contains the carrier id.
domainstring64'' no This column contains the route domain. Additional domains could be used for example as fallback.
scan_prefixstring64'' no This column contains the scan prefix, which define the matching portion of a phone number.
flagsunsigned int110 no This column contains the flags used for rule matching.
maskunsigned int110 no This column contains the mask that is applied to the message flags before rule matching.
probfloatnot specified0 no Name of column containing the probability. The probability value is used to distribute the traffic between several gateways.
stripunsigned int110 no Name of the column containing the number of digits to be stripped of the userpart of an URI before prepending rewrite_prefix.
rewrite_hoststring255'' no Name of column containing rewrite prefixes. Here you can define a rewrite prefix for the localpart of the SIP URI.
rewrite_prefixstring64'' no Rewrite prefix for the localpart of the SIP URI.
rewrite_suffixstring64'' no Rewrite suffix for the localpart of the SIP URI.
descriptionstring255NULL yes A comment for the route entry, useful for larger routing tables.
Table 9-2. Table "carrierfailureroute"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
carrierunsigned int100 no This column contains the carrier id.
domainstring64'' no This column contains the route domain. Additional domains could be used for example as fallback.
scan_prefixstring64'' no This column contains the scan prefix, which define the matching portion of a phone number.
host_namestring255'' no This column contains the routing destination used for rule matching.
reply_codestring3'' no This column contains the reply code used for rule matching.
flagsunsigned int110 no This column contains the flags used for rule matching.
maskunsigned int110 no This column contains the mask that is applied to the message flags before rule matching.
next_domainstring64'' no This column contains the route domain that should be used for the next routing attempt.
descriptionstring255NULL yes A comment for the route entry, useful for larger routing tables.
Chapter 10. Accounting
- closeddial
This table is used by the closeddial module to provide closed dial functionality for groups of usernames; This is a functionality similar to a Centrex. More information about the closeddial module can be found at: https://opensips.org/docs/modules/devel/closeddial.html
Table 10-1. Table "closeddial"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
usernamestring64'' no Username / phone number
domainstring64'' no Domain name
cd_usernamestring64'' no Closed dial username
cd_domainstring64'' no Closed dial domain
group_idstring64'' no Attribute use to group usernames
new_uristring255'' no New URI
Chapter 11. Clusterer support
- clusterer
This table is used for defining clusters of OpenSIPS instances.
- clusterer_bridge
This table is used to define explicit and efficient replication links between different OpenSIPS clusters.
Table 11-1. Table "clusterer"
name type size default null key extra attributes description idint10default no primary autoincrement unique ID
cluster_idint10default no unique identifier for a cluster
node_idint10default no unique identifier for a node
urlstring64default no network location of the machine, like protocol:ip:port
stateint11 no state of the machine 1 - Enabled, 0 - Disabled
no_ping_retriesint103 no maximum number of ping retries before the link with a node is considered down
priorityint1050 no priority to be chosen as next hop in case of same length(number of hops) paths
sip_addrstring64default yes SIP address, currently not used by the module
flagsstring64default yes Node flags: "seed" - node automatically considered to be synchronized
descriptionstring64default yes opaque text not used by the module
Table 11-2. Table "clusterer" indexes
name type links description clusterer_idxunique cluster_id, node_id
Table 11-3. Table "clusterer_bridge"
name type size default null key extra attributes description idint10default no primary autoincrement Unique bridge ID
cluster_aint10default no Source OpenSIPS cluster ID
cluster_bint10default no Destination OpenSIPS cluster ID
send_shtagstring32default no Sharing tag designating sender node
dst_node_csvtextnot specifieddefault yes List of destination BIN sockets to be tried, in failover mode.
Chapter 12. CONFIG support
- config
This table is used to store configuration values used by opensips. More information can be found at: https://opensips.org/docs/modules/devel/config.html.
Table 12-1. Table "config"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
namestring255default no The name of the configuration parameter. Arbitrary value. Example: "drain".
valuetext4096NULL yes The value of the configuration parameter. Arbitrary value. Example: "no".
descriptionstring255NULL yes Arbitrary value describing the purpose of the value.
Chapter 13. Call-processing language
- cpl
Table for the call processing language "cpl" module. More information is available at: https://opensips.org/docs/modules/devel/cpl_c.html
Chapter 14. Dialog support
- dialog
Persistent dialog information for the dialog module. More information can be found at: https://opensips.org/docs/modules/devel/dialog.html
Table 14-1. Table "dialog"
name type size default null key extra attributes description dlg_idunsigned long10default no primary h_entry | h_id
callidstring255default no Call-ID of the dialog
from_uristring255default no The URI of the FROM header (as per INVITE)
from_tagstring64default no The tag parameter serves as a general mechanism to identify a dialog, which is the combination of the Call-ID along with two tags, one from participant in the dialog.
to_uristring255default no The URI of the TO header (as per INVITE)
to_tagstring64default no The tag parameter serves as a general mechanism to identify a dialog, which is the combination of the Call-ID along with two tags, one from participant in the dialog.
mangled_from_uristring255NULL yes The mangled from URI, in case uac_replace_from was called for this dialog.
mangled_to_uristring255NULL yes The mangled to URI, in case uac_replace_to was called for this dialog
caller_cseqstring11default no Last Cseq number on the caller side.
callee_cseqstring11default no Last Cseq number on the callee side.
caller_ping_csequnsigned int11default no Last Cseq number of pings generated on caller side.
callee_ping_csequnsigned int11default no Last Cseq number of pings generated on callee side.
caller_route_settext512default yes Route set on the caller side.
callee_route_settext512default yes Route set on on the caller side.
caller_contactstring255default yes Caller's contact uri.
callee_contactstring255default yes Callee's contact uri.
caller_sockstring64default no Local socket used to communicate with caller
callee_sockstring64default no Local socket used to communicate with callee
stateunsigned int10default no The state of the dialog.
start_timeunsigned int10default no The timestamp (unix time) when the dialog was confirmed.
timeoutunsigned int10default no The timestamp (unix time) when the dialog will expire.
varsbinary4096NULL yes Variables attached to this dialog.
profilestext512NULL yes Profiles this dialog belongs to.
script_flagsstring255NULL yes Script flags for the dialog.
module_flagsunsigned int100 no Module flags for the dialog.
flagsunsigned int100 no Internal flags used by the module.
rt_on_answerstring64NULL yes The name of the script route to be executed upon call answering
rt_on_timeoutstring64NULL yes The name of the script route to be executed upon call timeout (as duration)
rt_on_hangupstring64NULL yes The name of the script route to be executed upon call hangup
Chapter 15. Matching and translation rules
- dialplan
This table is used by the dialplan module for the translation rules. More information is available at: https://opensips.org/docs/modules/devel/dialplan.html
Table 15-1. Table "dialplan"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
dpidint11default no Dialplan ID.
print110 no Priority of rule.
match_opint11default no Matching operator for rule (0-equal, 1-regexp).
match_expstring64default no Matching expression (regexp or string).
match_flagsint110 no Matching flags (0-case sensitive, 1-case insensitive).
subst_expstring64NULL yes Substitution expression.
repl_expstring32NULL yes Replacement expression (sed like).
timerecstring255NULL yes Time recurrence used to match this rule.
disabledint110 no Specifies if the command can be used, or is disabled.
attrsstring255NULL yes General attributes string to be returned in case of rule matching.
Chapter 16. Dispatcher
- dispatcher
This table is used by the dispatcher module. It contains the sets of destinations used for load balancing and dispatching. More information about the dispatcher module can be found at: https://opensips.org/docs/modules/devel/dispatcher.html
Table 16-1. Table "dispatcher"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
setidintnot specified0 no Destination set id
destinationstring192'' no Destination SIP address
socketstring128NULL yes Local Socket to be used when sending requests (traffic and probes) to the destination - must be an listener configured in opensips.
stateintnot specified0 no The state of the destination (0 enabled, 1 disabled , 2 probing)
probe_modeunsigned int110 no 0-Probe only when in probing state; 1-Probe even in enable/active state;
weightstring641 no The weight of the destination (integer or socket definition)
priorityintnot specified0 no The priority of each destination (only useful with algorithm 8)
attrsstring128NULL yes Attribute string - custom, opaque string that will be pushed into script when this destination will be selected
descriptionstring64NULL yes Description for this destination
Chapter 17. Domain
- domain
This table is used by the domain module to determine if a host part of a URI is "local" or not. More information about the domain module can be found at: https://opensips.org/docs/modules/devel/domain.html
Table 17-1. Table "domain"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
domainstring64'' no Domain name
attrsstring255NULL yes Domain Attributes
accept_subdomainunsigned int110 no Accept subdomain
last_modifieddatetimenot specified'1900-01-01 00:00:01' no Date and time when this record was last modified.
Chapter 18. Domainpolicy
- domainpolicy
Table for the domainpolicy module. More information at https://opensips.org/docs/modules/devel/domainpolicy.html.
Table 18-1. Table "domainpolicy"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
rulestring255default no Domain policy rule name which is equal to the URI as published in the domain policy NAPTRs.
typestring255default no Domain policy rule type. In the case of federation names, this is "fed". For standard referrals according to draft-lendl-speermint-technical-policy-00, this is "std". For direct domain lookups, this is "dom". Default value is "type".
attstring255default yes It contains the AVP's name. If the rule stored in this row triggers, than dp_can_connect() will add an AVP with that name.
valstring128default yes It contains the values for AVPs created by dp_can_connect(). Default value is "val"
descriptionstring255default no Comment about the rule
Chapter 19. Dynamic Routing
- dr_gateways
This table is used by the Dynamic Routing module to store information about the destinations/gateways where to route calls. More information can be found at: https://opensips.org/docs/modules/devel/drouting.html.
- dr_rules
This table is used by the Dynamic Routing module to store information about the routing rules. More information can be found at: https://opensips.org/docs/modules/devel/drouting.html.
- dr_carriers
This table is used by the Dynamic Routing module to define carriers (a carrier is defined by a list of gateways and an ordering rule). More information can be found at: https://opensips.org/docs/modules/devel/drouting.html.
- dr_groups
This table is used by the Dynamic Routing module to store information about the routing groups (users mapped over groups). More information can be found at: https://opensips.org/docs/modules/devel/drouting.html.
- dr_partitions
This table is used by the Dynamic Routing module to store information about the partitions used in routing (url to database, table names and AVP names for each partition). More information can be found at: https://opensips.org/docs/modules/devel/drouting.html.
Table 19-1. Table "dr_gateways"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Table primary key, not used by module
gwidstring64default no GW unique ID - used to link the GW from the routing rules
typeunsigned int110 no Type/class of the GW (user defined)
addressstring128default no GW/destination address as name/IP[:port]
stripunsigned int110 no Number of digits to be striped out for the beginning of the username when using this GW/destination
pri_prefixstring16NULL yes String to prefix the username of RURI when using this GW/destination
attrsstring255NULL yes Generic string describing GW attributes - this string is to be interpreted from the script
probe_modeunsigned int110 no 0- No probing; 1-Probe on disable only ; 2-Always probe;
stateunsigned int110 no State of the gateway: 0 - enabled; 1 - permanent disabled; 2 - temporary disabled (probing)
socketstring128NULL yes Local Socket to be used when sending requests (traffic and probes) to the destination - must be an listener configured in opensips.
descriptionstring128NULL yes Text description of the GW/destination
Table 19-3. Table "dr_rules"
name type size default null key extra attributes description ruleidunsigned int10default no primary autoincrement Rule unique ID
groupidstring255default no The ID(s) of the routing group(s) this rule is to be used for - comma separeted list of numerical Ids
prefixstring64default no Numerical prefix to match this rule
timerecstring255NULL yes Time recurrence used for matching this rule.
priorityint110 no Priority of this rule (among rules with same prefix and timerec).
routeidstring255NULL yes Route block (from cfg script) to be called when rule matches.
gwliststring255default yes A comma-separated list of GW unique IDs (e.g. GW-5) and/or hash-prefixed ("#") Carrier unique IDs (e.g. #CR-2).
sort_algstring1'N' no The sorting algorithm to be employed for the rule's destinations when do_routing() is called. Possible values: 'N' (default; no sorting, preserve given order), 'W' (weight based sorting), 'Q' (quality-based sorting, provided by the qrouting module)
sort_profileunsigned int10NULL yes Whenever the 'Q' (quality-based routing) sorting algorithm is provided, this column must hold a profile id belonging to the "qr_profiles" table.
attrsstring255NULL yes Generic string describing RULE attributes - this string is to be interpreted from the script
descriptionstring128NULL yes Text description of the rule
Table 19-4. Table "dr_carriers"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Table key, not used by module
carrieridstring64default no Unique ID of the carrier
gwliststring255default no A comma-separated list of GW unique IDs (e.g. GW-5).
flagsunsigned int110 no Flags of the carriers (for different purposes: use only first gw from cr (set the first bit of the flag); disable gateway (set the second bit of the flag);
sort_algstring1'N' no The sorting algorithm to be employed for the carrier's destinations when do_routing() is called. Possible values: 'N' (default; no sorting, preserve given order), 'W' (weight based sorting), 'Q' (quality-based sorting, provided by the qrouting module)
stateunsigned int110 no The state of the carrier (on / off).
attrsstring255NULL yes Attributes string for the carrier
descriptionstring128NULL yes Text description of the GW list
Table 19-6. Table "dr_groups"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
usernamestring64default no Username part of user
domainstring128NULL yes Domain part of user
groupidunsigned int110 no The ID of the routing group the user belongs to.
descriptionstring128NULL yes Text description of the group/user
Table 19-7. Table "dr_partitions"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Partition unique ID
partition_namestring255default no The name of the partition.
db_urlstring255default no The url to the database containing the tables: dr_rules, dr_groups, dr_carriers and dr_gateways
drd_tablestring255default yes The name of the dr_gateways table in the given database (for the given partition).
drr_tablestring255default yes The name of the dr_rules table in the given database (for the given partition).
drg_tablestring255default yes The name of the dr_groups table in the given database (for the given partition).
drc_tablestring255default yes The name of the dr_carriers table in the given database (for the given partition).
ruri_avpstring255default yes The name of ruri_avp AVP.
gw_id_avpstring255default yes The name of gw_id_avp AVP
gw_priprefix_avpstring255default yes The name of gw_priprefix_avp AVP.
gw_sock_avpstring255default yes The name of gw_sock_avp AVP.
rule_id_avpstring255default yes The name of rule_id_avp AVP.
rule_prefix_avpstring255default yes The name of rule_prefix_avp AVP.
carrier_id_avpstring255default yes The name of carrier_id_avp AVP.
Chapter 20. Emergency
- emergency_routing
This table is used by the Emergency module to translate ERT informations in ESGWRI. More information can be found at: https://opensips.org/docs/modules/devel/emergency.html.
- emergency_report
This table is used by the Emergency module to save information associated with a emergency call, for trouble shooting purposes. More information can be found at: https://opensips.org/docs/modules/devel/emergency.html.
- emergency_service_provider
This table is used by the Emergency module to store information of the organizations involved in the routing of the emergency call, this information is necessary to send the request to the VPC, according to the NENA standard. This table isn't necessary if opensips role not send request to VPC, such as the opensips acting as call server in the scenarios II and III. More information can be found at: https://opensips.org/docs/modules/devel/emergency.html.
Table 20-1. Table "emergency_routing"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
selectiveRoutingIDstring11default no The Common Language Location Indicator(CLLI) code associated with the Selective Router to which the emergency call is to be directed
routingESNunsigned int50 no The Emergency Services Number associated with a particular ESZ that respresents a unique combination of Police, Fire and EMS emergency responders.
npaunsigned int30 no The primary Numbering Plan Area (NPA) associated with the outgoing route to the Selective Router that is appropriate for caller's location.
esgwristring50default no Routing information used to direct the call to the ESGW.
Table 20-2. Table "emergency_report"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
callidstring25default no header that uniquely identifies the call.
selectiveRoutingIDstring11default no The Common Language Location Indicator(CLLI) code associated with the Selective Router to which the emergency call is to be directed
routingESNunsigned int50 no The Emergency Services Number associated with a particular ESZ that respresents a unique combination of Police, Fire and EMS emergency responders.
npaunsigned int30 no The primary Numbering Plan Area (NPA) associated with the outgoing route to the Selective Router that is appropriate for caller's location.
esgwristring50default no Routing information used to direct the call to the ESGW.
lrostring20default no last routing option destination for the call.
VPC_organizationNamestring50default no company name or other label of the VPC that provided the routing information.
VPC_hostnamestring50default no identifies the fully qualified domain name or IP address of the VPC that provided routing information.
VPC_timestampstring30default no Date Time Stamp indicating UTC date and time that the message was sent from VPC.
resultstring4default no Code indicating the reason for success or failure to determine an ERT/ESGWRI and ESQK.
dispositionstring10default no Describe how routing of call was done(e.g.,by ESGWRI or bye LRO)
Table 20-3. Table "emergency_service_provider"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
organizationNamestring50default no provider company name's. This parameter is optional field in the NENA v2 interface (call server - VPC)
hostIdstring30default no provider hostname's. This parameter is mandatory if attribution is 0(source) or 2(VSP), otherwise it is optional.
nenaIdstring50default no the NENA administered company identifier (NENA Company ID) of provider. This parameter is optional field in the NENA v2 interface (call server - VPC).
contactstring20default no telephone number by which the provider operator can be reached 24 hours a day, 7 days a week. This parameter is mandatory if attribution is 0(source) or 2(VSP), otherwise it is optional.
certUristring50default no provides a means of directly obtaining the VESA(Valid Emergency Services Authority) issued certificate for the provider. This parameter is optional field in the NENA v2 interface (call server - VPC).
nodeIPstring20default no IP address of the node that is being registered. This parameter is mandatory.
attributionunsigned int2default no It is a field of type int designating the function of the organization involved in the composition of architecture NENA being registered in this table. This parameter is mandatory. The values that this field can take are: 0 - the organization is a Source. Source is node directly requesting emergency call routing from the VPC. 1 - the organization is a VPC. VPC is the routing information provider to emengency call 2- the organization is a VSP. VSP is the caller's voice service provider
Chapter 21. Fraud Detection
- fraud_detection
This table is used by the Fraud Detection module to store information about fraud-profiles. More information can be found at: https://opensips.org/docs/modules/devel/fraud_detection.html.
Table 21-1. Table "fraud_detection"
name type size default null key extra attributes description ruleidunsigned int10default no primary autoincrement Rule unique ID
profileidunsigned intnot specifieddefault no The ID of the profile the current rule is part of
prefixstring64default no Numerical prefix to match this rule
start_hourstring5'00:00' no Start of the interval in which the rule should be matched.
end_hourstring5'23:59' no End of the interval in which the rule should be matched.
daysoftheweekstring64'Mon-Sun' no List/interval of days in which the rule is available.
cpm_warningunsigned int50 no Warning threshold for calls per minute.
cpm_criticalunsigned int50 no Crtical threshold for calls per minute.
call_duration_warningunsigned int50 no Warning threshold for calls per minute.
call_duration_criticalunsigned int50 no Crtical threshold for call duration.
total_calls_warningunsigned int50 no Warning threshold for total calls.
total_calls_criticalunsigned int50 no Crtical threshold for total calls.
concurrent_calls_warningunsigned int50 no Warning threshold for concurrent calls.
concurrent_calls_criticalunsigned int50 no Crtical threshold for concurrent calls.
sequential_calls_warningunsigned int50 no Warning threshold for sequential calls.
sequential_calls_criticalunsigned int50 no Crtical threshold for sequential calls.
Chapter 22. FreeSWITCH ESL Integration
- freeswitch
Generic FreeSWITCH integration, allowing full control over the ESL commands and event notifications. More information can be found at: https://opensips.org/docs/modules/devel/freeswitch_scripting.html
Table 22-1. Table "freeswitch"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
usernamestring64default yes FreeSWITCH ESL authentication username
passwordstring64default no FreeSWITCH ESL authentication password (plain text)
ipstring20default no FreeSWITCH ESL IP address
portint118021 no FreeSWITCH ESL port
events_csvstring255default yes Comma-separated, case-sensitive values holding the exact FreeSWITCH ESL events which OpenSIPS will attempt to subscribe to
Chapter 23. Group checking
- grp
This table us used by the group module as a means of group membership checking. Used primarily for Access Control Lists (ACL's). More information about the group module can be found at: https://opensips.org/docs/modules/devel/group.html
- re_grp
This table is used by the group module to check membership based on regular expressions. More information about the group module can be found at: https://opensips.org/docs/modules/devel/group.html
Table 23-1. Table "grp"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
usernamestring64'' no Username / phone number
domainstring64'' no Domain name
grpstring64'' no Group name
last_modifieddatetimenot specified'1900-01-01 00:00:01' no Date and time when this record was last modified.
Table 23-2. Table "grp" indexes
name type links description account_group_idxunique username, domain, grp
Chapter 24. Instant Message Conference
- imc_rooms
Room table for the IMC module. More information at https://opensips.org/docs/modules/devel/imc.html.
- imc_members
Member table for the IMC module. More information at https://opensips.org/docs/modules/devel/imc.html.
Table 24-1. Table "imc_rooms"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
namestring64default no Name of the room
domainstring64default no Domain of the room
flagint11default no Flags
Chapter 25. JANUS
- janus
This table is used by the JANUS module to store definitions of socket(s) used to connect to. More information can be found at: https://opensips.org/docs/modules/devel/janus.html.
Table 25-1. Table "janus"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
janus_idtextnot specifieddefault no JANUS identifier as referenced from the OpenSIPS script. Example: "my_janus".
janus_urltextnot specifieddefault no JANUS socket used to send commands. Example: "janusws://1.2.3.4:80/janus?room=abcd".
Chapter 26. Load Balancer
- load_balancer
This table is used by the Load-Balancer module to store information about the destinations the balance the calls between. More information can be found at: https://opensips.org/docs/modules/devel/load_balancer.html.
Table 26-1. Table "load_balancer"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID of the destination
group_idunsigned int110 no The group the destination belongs to
dst_uristring128default no Destination address as a SIP URI
resourcesstring255default no String with the definition of the resource provided by the destination and the capacity of each resource
probe_modeunsigned int110 no Probing mode (0-none, 1-if disabled, 2-all the time)
attrsstring255NULL yes Attribute string - custom, opaque string that will simply be pushed into script
descriptionstring128NULL yes Text description of the destination
Chapter 27. Message Storage
- silo
This table us used by the msilo module to provide offline message storage More information about the msilo module can be found at: https://opensips.org/docs/modules/devel/msilo.html
Table 27-1. Table "silo"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
src_addrstring255'' no Source address - From URI
dst_addrstring255'' no Destination address - To URI
usernamestring64'' no SIP domain of target user
domainstring64'' no Username / phone number of target user
inc_timeintnot specified0 no Incoming time
exp_timeintnot specified0 no Expiration time
snd_timeintnot specified0 no Reminder send time
ctypestring255NULL yes Content type
bodybinarynot specifiedNULL yes Body of the message
Chapter 28. Permissions
- address
This table is used by the permissions module. More information is available at: https://opensips.org/docs/modules/devel/permissions.html
Table 28-1. Table "address"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
grpunsigned short50 no The group ID - each address may belong to a group/set
ipstring50default no IP address, IPv4 or IPv6 format
maskunsigned shortnot specified32 no Network mask, a number from 0 to 128; It should be up to 32 if the IP is v4 and up to 128 if the IP is v6
portunsigned short50 no Port number, 0 value meaning 'any' (wildcard)
protostring4'any' no Transport protocol is either "any" or equal to transport protocol of request. Possible values that can be stored are "any", "udp", "tcp", "tls", and "sctp".
patternstring64NULL yes A shell wildcard pattern to be used for matching string provided by the check address functions.
context_infostring32NULL yes Extra context information, not used by OpenSIPS, but simply exposed to the script level via scripting variables
Chapter 29. Presence
- presentity
Table for the presence module. More information can be found at: https://opensips.org/docs/modules/devel/presence.html
- active_watchers
Table for the presence module. More information can be found at: https://opensips.org/docs/modules/devel/presence.html
- watchers
Table for the presence module. More information can be found at: https://opensips.org/docs/modules/devel/presence.html
- xcap
Table for the presence module. More information can be found at: https://opensips.org/docs/modules/devel/presence.html
- pua
Table for the presence related pua module. More information can be found at: https://opensips.org/docs/modules/devel/pua.html
Table 29-1. Table "presentity"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
usernamestring64default no User name
domainstring64default no Domain
eventstring64default no Event
etagstring64default no User name
expiresint11default no Expires
received_timeint11default no Reveived time
bodybinarynot specifiedNULL yes
extra_hdrsbinarynot specifiedNULL yes
senderstring255NULL yes Sender contact
Table 29-2. Table "presentity" indexes
name type links description presentity_idxunique username, domain, event, etag
Table 29-3. Table "active_watchers"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
presentity_uristring255default no Presence URI
watcher_usernamestring64default no From User
watcher_domainstring64default no From Domain
to_userstring64default no To User
to_domainstring64default no To Domain
eventstring64'presence' no Event description
event_idstring64default yes Event ID
to_tagstring64default no TO tag
from_tagstring64default no From tag
callidstring64default no Call ID
local_cseqint11default no Local cseq
remote_cseqint11default no Remote cseq
contactstring255default no Contact
record_routetextnot specifieddefault yes Record route
expiresint11default no Expires
statusint112 no Status
reasonstring64default yes Reason
versionint110 no Version
socket_infostring64default no Socket info
local_contactstring255default no Local contact
sharing_tagstring32NULL yes The name of the tag assigned to this watcher inside the sharing cluster
Table 29-4. Table "active_watchers" indexes
name type links description active_watchers_idxunique presentity_uri, callid, to_tag, from_tag
Table 29-5. Table "watchers"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
presentity_uristring255default no Presentity Uri
watcher_usernamestring64default no Watcher User
watcher_domainstring64default no Watcher Domain
eventstring64'presence' no Event description
statusint11default no Status
reasonstring64default yes Reason
inserted_timeint11default no
Table 29-6. Table "watchers" indexes
name type links description watcher_idxunique presentity_uri, watcher_username, watcher_domain, event
Table 29-7. Table "xcap"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
usernamestring64default no User name
domainstring64default no Domain
docbinarynot specifieddefault no doc
doc_typeint11default no Document type
etagstring64default no Document Etag
sourceint11default no Entity inserting the record
doc_uristring255default no Document uri
portint11default no XCAP server port
Table 29-8. Table "xcap" indexes
name type links description account_doc_type_idxunique username, domain, doc_type, doc_uri
source_idxdefault source
Table 29-9. Table "pua"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
pres_uristring255default no URI
pres_idstring255default no ID
eventint11default no Event
expiresint11default no Expires
desired_expiresint11default no Desired Expires
flagint11default no Flags
etagstring64default yes Etag
tuple_idstring64default yes Tuple ID
watcher_uristring255default yes Watcher URI
to_uristring255default yes URI
call_idstring64default yes Call ID
to_tagstring64default yes To tag
from_tagstring64default yes From tag
cseqint11default yes
record_routetextnot specifieddefault yes Record route
contactstring255default yes Contact
remote_contactstring255default yes Remote contact
versionint11default yes
extra_headerstextnot specifieddefault yes Extra Headers
sharing_tagstring32NULL yes The name of the tag assigned to this presentity inside the sharing cluster
Chapter 30. Quality Routing
- qr_profiles
This table is used by the Quality Routing module to store information about the thresholds for warnings and disabling destinations. A profile is associated with a drouting rule. More information can be found at: https://opensips.org/docs/modules/devel/qrouting.html.
Table 30-1. Table "qr_profiles"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Table primary key
profile_namestring64default no The name of the profile
warn_threshold_asrdoublenot specified-1 no The warning threshold for answer seizure ratio
warn_threshold_ccrdoublenot specified-1 no The warning threshold for call completion ratio
warn_threshold_pdddoublenot specified-1 no The warning threshold for post dial delay
warn_threshold_astdoublenot specified-1 no The warning threshold for average setup time
warn_threshold_acddoublenot specified-1 no The warning threshold for average call duration
crit_threshold_asrdoublenot specified-1 no The critical threshold for answer seizure ratio
crit_threshold_ccrdoublenot specified-1 no The critical threshold for call completion ratio
crit_threshold_pdddoublenot specified-1 no The critical threshold for post dial delay
crit_threshold_astdoublenot specified-1 no The critical threshold for average setup time
crit_threshold_acddoublenot specified-1 no The critical threshold for average call duration
warn_penalty_asrdoublenot specified0.5 no Traffic volume reduction when ASR falls below warn limit
warn_penalty_ccrdoublenot specified0.5 no Traffic volume reduction when CCR falls below warn limit
warn_penalty_pdddoublenot specified0.5 no Traffic volume reduction when PDD falls below warn limit
warn_penalty_astdoublenot specified0.5 no Traffic volume reduction when AST falls below warn limit
warn_penalty_acddoublenot specified0.5 no Traffic volume reduction when ACD falls below warn limit
crit_penalty_asrdoublenot specified0.05 no Traffic volume reduction when ASR falls below crit limit
crit_penalty_ccrdoublenot specified0.05 no Traffic volume reduction when CCR falls below crit limit
crit_penalty_pdddoublenot specified0.05 no Traffic volume reduction when PDD falls below crit limit
crit_penalty_astdoublenot specified0.05 no Traffic volume reduction when AST falls below crit limit
crit_penalty_acddoublenot specified0.05 no Traffic volume reduction when ACD falls below crit limit
Chapter 31. Rate Cacher
- rc_clients
This table is used by the Rate Cacher module to keep track of the clients - the inbound side of the traffic. More information can be found at: https://opensips.org/docs/modules/devel/rate_cacher.html.
- rc_vendors
This table is used by the Rate Cacher module to keep track of the vendors - the outbound side of the traffic. More information can be found at: https://opensips.org/docs/modules/devel/rate_cacher.html.
- rc_ratesheets
This table is used by the Rate Cacher module to keep track of the ratesheets. More information can be found at: https://opensips.org/docs/modules/devel/rate_cacher.html.
- rc_demo_ratesheet
This table is a demo table to be used by the Rate Cacher module to keep track of the prices for the traffic. More information can be found at: https://opensips.org/docs/modules/devel/rate_cacher.html.
Table 31-1. Table "rc_clients"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Table primary key, not used by module
client_idstring64default no Client unique ID
wholesale_rateunsigned int110 no Wholesale Rate used for this clients
retail_rateunsigned int110 no Retail Rate used for this client
Table 31-3. Table "rc_vendors"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Table primary key, not used by module
vendor_idstring64default no Vendor unique ID
vendor_rateunsigned int110 no Rate used for this vendor
Table 31-5. Table "rc_ratesheets"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Table primary key, used by the module to get the currency and table name
ratesheet_tablestring64default no Table name for the ratesheet with the above ID
currencystring64default no Currency for the current ratesheet
Table 31-7. Table "rc_demo_ratesheet"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Table primary key, not used by module
prefixstring64default no Prefix of the currenty entry in the ratesheet
destinationstring128default no Plain-Text description of current entry in the ratesheet
pricefloatnot specified0 no Price for the current entry
minimumunsigned int110 no Minimum seconds to bill for this entry
incrementunsigned int111 no Increment to bill for this entry
Chapter 32. Registrant support
- registrant
Registrant information for the uac_registrant module. More information can be found at: https://opensips.org/docs/modules/devel/uac_registrant.html
Table 32-1. Table "registrant"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
registrarstring255'' no URI pointing to the remote registrar.
proxystring255NULL yes URI pointing to the outbond proxy.
aorstring255'' no URI defining the address of record.
third_party_registrantstring255NULL yes URI defining the third party registrant.
usernamestring64NULL yes Username for authentication.
passwordstring64NULL yes Password for authentication. If the password starts with 0x and is an MD5 hash, then it is considered to be the HA1 representation of the hash. Otherwise, it is considered to be plain text.
binding_URIstring255'' no Contact URI in REGISTER.
binding_paramsstring64NULL yes Contact params in REGISTER.
expiryunsigned int1NULL yes Expiration time.
forced_socketstring64NULL yes socket for sending the REGISTER.
cluster_shtagstring64NULL yes A cluster sharing tag (as [tag_name/custer_id]) used to control this registration in clustering scenarios
stateintnot specified0 no The state of the registrant (0 enabled, 1 disabled)
Chapter 33. RLS
- rls_presentity
Table for the RLS module.
- rls_watchers
Table for RLS module used for storing resource lists subscribe information.
Table 33-1. Table "rls_presentity"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
rlsubs_didstring255default no Resource list subscribe dialog id
resource_uristring255default no List Uri
content_typestring255default no Content type
presence_statebinarynot specifieddefault no
expiresint11default no Expires
updatedint11default no Update flag
auth_stateint11default no Watcher authorization state
reasonstring64default no reason for watcher authorization state
Table 33-2. Table "rls_presentity" indexes
name type links description rls_presentity_idxunique rlsubs_did, resource_uri
updated_idxdefault updated
Table 33-3. Table "rls_watchers"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
presentity_uristring255default no Presence URI
to_userstring64default no To user
to_domainstring64default no To domain
watcher_usernamestring64default no From user
watcher_domainstring64default no From domain
eventstring64'presence' no Event description
event_idstring64default yes Event ID
to_tagstring64default no To tag
from_tagstring64default no From tag
callidstring64default no Call ID
local_cseqint11default no Local cseq
remote_cseqint11default no Remote cseq
contactstring64default no Contact
record_routetextnot specifieddefault yes Record route
expiresint11default no Expires
statusint112 no Status
reasonstring64default no Reason
versionint110 no Version
socket_infostring64default no Socket info
local_contactstring255default no Local contact
Chapter 34. RTPengine
- rtpengine
This table is used by the RTPEngine module to store definitions of socket(s) used to connect to (a set) RTPEngine. More information can be found at: https://opensips.org/docs/modules/devel/rtpengine.html.
Table 34-1. Table "rtpengine"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
sockettextnot specifieddefault no RTPEngine socket used to send commands. Example: "udp:localhost:60000".
set_idunsigned int10default no The ID of the RTPEngine set.
Chapter 35. RTPProxy
- rtpproxy_sockets
This table is used by the NAT Helper module to store definitions of socket(s) used to connect to (a set) RTPProxy. More information can be found at: https://opensips.org/docs/modules/devel/nathelper.html.
Table 35-1. Table "rtpproxy_sockets"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
rtpproxy_socktextnot specifieddefault no A list of sockets use to connect to a set of RTPProxy. Example: "udp:localhost:12221 udp:localhost:12222".
set_idunsigned int10default no The ID of the RTPProxy set.
Chapter 36. SMPP
- smpp
This table is used to provision Short Message Service Center (SMSC) information to connect to over the SMPP (Short Message Peer-to-Peer). More information can be found at: https://opensips.org/docs/modules/devel/proto_smpp.html.
Table 36-1. Table "smpp"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
namestring255default no An arbitrary name of the SMSC, used to uniquely identify the binding.
ipstring50default no The IP address used to connect to the SMSC.
portunsigned int5default no The port used to connect to the SMSC.
system_idstring16default no The System ID (also called user name) for the gateway to use when connecting to the SMPP server.
passwordstring9default no The password for the gateway to use when connecting to the SMPP server.
system_typestring13'' no Configures the System Type parameter of the the SMPP server.
src_tonunsigned intnot specified0 no Specifies the Source TON (Type of Number).
src_npiunsigned intnot specified0 no Specifies the Source NPI (Numbering Plan Indicator).
dst_tonunsigned intnot specified0 no Specifies the Destination TON (Type of Number).
dst_npiunsigned intnot specified0 no Specifies the Destination NPI (Numbering Plan Indicator).
session_typeunsigned intnot specified1 no Specifies the type of binding: 1 - transciever, 2 - transmitter, 3 - receiver, 4 - outbind.
Chapter 37. SOCKETS_MGM support
- sockets
This table is used to store dynamic sockets used by opensips. More information can be found at: https://opensips.org/docs/modules/devel/sockets_mgm.html.
Table 37-1. Table "sockets"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
socketstring128default no The definition of the dynamic socket. Example: "udp:127.0.0.1:5090".
advertisedstring128NULL yes The advertised address and port. If missing, the sockets itself is advertised in messages.
tagstring128NULL yes Optional tag to be used to match this socket.
flagsstring128NULL yes Optional, comma separated flags assigned to the socket. Possible values are anycast, reuse_port, frag.
tosstring32NULL yes ToS values to be used for the socket. This can be specified as an integer, or one of the following values: IPTOS_LOWDELAY, IPTOS_THROUGHPUT, IPTOS_RELIABILITY, IPTOS_MINCOST, IPTOS_LOWCOST.
Chapter 38. Speed dial
- speed_dial
This table is used by the speeddial module to provide on-server speed dial facilities. More information about the speeddial module can be found at: https://opensips.org/docs/modules/devel/speeddial.html
Table 38-1. Table "speed_dial"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
usernamestring64'' no Username / phone number
domainstring64'' no Domain name
sd_usernamestring64'' no Speed dial username
sd_domainstring64'' no Speed dial domain
new_uristring255'' no New URI
fnamestring64'' no First name
lnamestring64'' no Last name
descriptionstring64'' no Description
Chapter 39. SQL Operations
- usr_preferences
This table us used by the SQLops module to implement Attribute Value Pairs (AVP's). More information about the SQLops module can be found at: https://opensips.org/docs/modules/devel/sqlops.html
Table 39-1. Table "usr_preferences"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique ID
uuidstring64'' no Unique user ID
usernamestring640 no Username / phone number
domainstring64'' no Domain name
attributestring32'' no AVP attribute
typeint110 no AVP type
valuestring128'' no AVP value
last_modifieddatetimenot specified'1900-01-01 00:00:01' no Date and time when this record was last modified.
Chapter 40. Version
Chapter 41. TCP_MGM support
- tcp_mgm
This table is used for defining TCP connection profiles.
Table 41-1. Table "tcp_mgm"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique DB ID
protostring8'any' no Restrict this profile to a specific OpenSIPS supported protocol.
remote_addrstring43NULL yes Remote network address in "ip[/prefix_length]" format, or the special values NULL or "any", which will both match any remote IPv4 or IPv6 address.
remote_portunsigned intnot specified0 no Remote network port. A value of 0 will match any remote port.
local_addrstring43NULL yes Local network address in "ip[/prefix_length]" format, or the special values NULL or "any", which will both match any of the OpenSIPS network listeners.
local_portunsigned intnot specified0 no Local network port. A value of 0 will match any OpenSIPS listening port.
priorityintnot specified0 no By default, higher network prefix lengths will match first. The priority field can be used to override this behavior, with lower priority rules being attempted first.
attrsstring255NULL yes A URI params string with various TCP-connection related flags or properties pertaining to specific OpenSIPS modules or areas of code.
connect_timeoutunsigned intnot specified100 no Time in milliseconds before an ongoing blocking TCP connect attempt is aborted. Default: 100 ms.
con_lifetimeunsigned intnot specified120 no Time in seconds with no READ or WRITE events on a TCP connection before it is destroyed. Default: 120 s.
msg_read_timeoutunsigned intnot specified4 no The maximum number of seconds that a complete SIP message is expected to arrive via TCP. Default: 4 s.
send_thresholdunsigned intnot specified0 no The maximum number of microseconds that sending a TCP request can take. Send latencies above this threshold will trigger a logging warning. A value of 0 disables the check. Default: 0 us.
no_new_connunsigned intnot specified0 no Set this to 1 in order to instruct OpenSIPS to never open connections to the "remote" side. This may be useful when there is a NAT firewall in-between, so only remote->local connections are possible. Default: 0.
alias_modeunsigned intnot specified0 no Controls TCP connection reusage for requests in the opposite direction to the original one. 0 (never reuse), 1 (only reuse if RFC 5923 Via ";alias" is present), 2 (always reuse). Default: 0.
parallel_readunsigned intnot specified0 no Set to 1 to re-balance a TCP connection for reading after a worker processes one packet. Set to 2 in order to have proto modules re-balance a TCP conn for reading before processing a fully read packet, but only if they have support for this (e.g. proto_tcp). Default: 0 (lock a connection in a TCP reader process for "tcp_con_lifetime" seconds at a time).
keepaliveunsigned intnot specified1 no Set to 0 in order to disable TCP keepalives at Operating System level. Default: 1 (enabled).
keepcountunsigned intnot specified9 no Number of keepalives to send before closing the connection. Default: 9.
keepidleunsigned intnot specified7200 no Amount of time, in seconds, before OpenSIPS will start to send keepalives if the connection is idle. Default: 7200.
keepintervalunsigned intnot specified75 no Interval in seconds between successive (failed) keepalive probes. Default: 75.
Chapter 42. TLS_MGM support
- tls_mgm
This table is used for defining domains.
Table 42-1. Table "tls_mgm"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Unique DB ID
domainstring64default no TLS domain name, uniquely identifies a client or server domain
match_ip_addressstring255NULL yes network address in "ip:port" format, or the wildcard value "*", used to match connections with a tls domain
match_sip_domainstring255NULL yes FQDN used to match connections with a tls domain
typeint11 no type of the domain : client domain(1), server domain (2) or both (0); 0 can be used only for default domains when the same specification is desired for both client and server
methodstring16'SSLv23' yes SSL method used by a certain domain
verify_certint11 yes verify certificate: 0 - no, 1 - yes
require_certint11 yes require certificate: 0 - no, 1 - yes
certificatebinarynot specifieddefault yes certificate associated with a certain domain
private_keybinarynot specifieddefault yes private_key
crl_check_allint10 yes check all crl: 0 -no, 1 - yes
crl_dirstring255NULL yes crl directory
ca_listbinarynot specifiedNULL yes CA list
ca_dirstring255NULL yes ca directory
cipher_liststring255NULL yes the list of algorithms used for authentication and encryption allowed
dh_paramsbinarynot specifiedNULL yes specifies the Diffie-Hellmann parameters
ec_curvestring255NULL yes specifies an elliptic curve which should be used for ciphers which demand an elliptic curve
Chapter 43. Tracer
- sip_trace
This table is used to store incoming/outgoing SIP messages in database. More informations can be found in the tracer module documentation at: https://opensips.org/docs/modules/devel/tracer.html.
Table 43-1. Table "sip_trace"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
time_stampdatetimenot specified'1900-01-01 00:00:01' no Recording date
callidstring255'' no call ID from SIP message
trace_attrsstring255NULL yes SIP URI of the user being traced
msgtextnot specifieddefault no Full SIP message
methodstring32'' no SIP method name
statusstring255NULL yes SIP reply status
from_protostring5default no Source protocol
from_ipstring50'' no Source IP address
from_portunsigned int5default no Source port
to_protostring5default no Destination protocol
to_ipstring50'' no Destination IP address
to_portunsigned int5default no Destination port
fromtagstring64'' no From tag
directionstring4'' no Destination IP address
Chapter 44. Trie
- trie_table
This table is used by the Trie module in order to build the trie that it caches More information can be found at: https://opensips.org/docs/modules/devel/trie.html.
- trie_partitions
This table is used by the Trie module to store information about the partitions used in the script (url to database and table name). More information can be found at: https://opensips.org/docs/modules/devel/trie.html.
Table 44-1. Table "trie_table"
name type size default null key extra attributes description ruleidunsigned int10default no primary autoincrement Rule unique ID
prefixstring64default no prefix to be cached
attrsstring255NULL yes Generic string describing RULE attributes - this string is to be interpreted from the script
priorityint111 no 1 if the rule is enabled, 0 if the rule is disabled.
Table 44-2. Table "trie_partitions"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement Partition unique ID
partition_namestring255default no The name of the partition.
db_urlstring255default no The url to the database containing the tables: dr_rules, dr_groups, dr_carriers and dr_gateways
trie_tablestring255default yes The name of the trie_rules table in the given database (for the given partition).
Chapter 45. User and global blacklists
- userblacklist
This table is used by the userblacklist module for the user specific blacklists. More information is available at: https://opensips.org/docs/modules/devel/userblacklist.html
- globalblacklist
This table is used by the userblacklist module for the global blacklists. More information is available at: https://opensips.org/docs/modules/devel/userblacklist.html
Table 45-1. Table "userblacklist"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
usernamestring64'' no The user that is used for the blacklist lookup.
domainstring64'' no The domain that is used for the blacklist lookup.
prefixstring64'' no The prefix that is matched for the blacklist.
whitelistchar10 no Specify if this a blacklist (0) or a whitelist (1) entry.
Table 45-2. Table "userblacklist" indexes
name type links description userblacklist_idxdefault username, domain, prefix
Table 45-3. Table "globalblacklist"
name type size default null key extra attributes description idunsigned int10default no primary autoincrement unique ID
prefixstring64'' no The prefix that is matched for the blacklist.
whitelistchar10 no Specify if this a blacklist (0) or a whitelist (1) entry.
descriptionstring255NULL yes A comment for the entry.
Chapter 46. User location
- location
Persistent user location information for the usrloc module. More information can be found at: https://opensips.org/docs/modules/devel/usrloc.html
Table 46-1. Table "location"
name type size default null key extra attributes description contact_idunsigned long10default no primary autoincrement unique ID
usernamestring64'' no Username / phone number
domainstring64NULL yes Domain name
contacttextnot specifieddefault no Contact header field value provides a URI whoses meaning depends on the type of request or response it is in.
receivedstring255NULL yes Received IP:PORT in the format SIP:IP:PORT
pathstring255NULL yes Path Header(s) per RFC 3327
expiresunsigned int10default no Unix timestamp when this entry expires.
qfloat10,21.0 no Value used for preferential routing.
callidstring255'Default-Call-ID' no Call-ID header field uniquely identifies a particular invitation or all registrations of a particular client.
cseqint1113 no CSeq header field contains a single decimal sequence number and the request method.
last_modifieddatetimenot specified'1900-01-01 00:00:01' no Date and time when this entry was last modified.
flagsint110 no Flags
cflagsstring255NULL yes CFlags
user_agentstring255'' no User-Agent header field contains information about the UAC originating the request.
socketstring64NULL yes Socket used to connect to OpenSIPS. For example: UDP:IP:PORT
methodsint11NULL yes Flags that indicate the SIP Methods this contact will accept.
sip_instancestring255NULL yes SIP Instance for this particular contact
kv_storetext512NULL yes Generic Key-Value storage
attrstring255NULL yes Optional information specific to each registration