Skip to content

DB schema

This table is used by the ACC module to report on transactions - accounted calls. More information is available at: http://www.opensips.org/html/docs/modules/1.4.x/acc.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
methodstring16noA method is the primary function that a request is meant to invoke on a server.
from_tagstring64noThe 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_tagstring64noThe 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.
callidstring64noCall-ID header field uniquely identifies a particular invitation or all registrations of a particular client.
sip_codestring3noSIP reply code
sip_reasonstring32noSIP reply reason
timedatetimenot specifieddefaultnoDate and time when this record was written.

Indexes

nametypelinksdescription
callid_idxdefaultcallid

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: http://www.opensips.org/html/docs/modules/1.4.x/acc.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
methodstring16noA method is the primary function that a request is meant to invoke on a server.
from_tagstring64noThe 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_tagstring64noThe 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.
callidstring64noCall-ID header field uniquely identifies a particular invitation or all registrations of a particular client.
sip_codestring3noSIP reply code
sip_reasonstring32noSIP reply reason
timedatetimenot specifieddefaultnoDate and time when this record was written.

Indexes

nametypelinksdescription
callid_idxdefaultcallid

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: http://www.opensips.org/html/docs/modules/1.4.x/alias_db.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
alias_usernamestring64noAlias username / phone number
alias_domainstring64noAlias domain name
usernamestring64noUsername / phone number
domainstring64noDomain name

Indexes

nametypelinksdescription
alias_idxuniquealias_username, alias_domain
target_idxdefaultusername, domain

This table is used to provide authentication information. More information about the auth_db module can be found at: http://www.opensips.org/html/docs/modules/1.4.x/auth_db.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnoUnique IDprimaryautoincrement
usernamestring64noUsername / phone number
domainstring64noDomain name
passwordstring25noPassword
email_addressstring64noEmail address
ha1string64nomd5(username:realm:password)
ha1bstring64nomd5(username@domain:realm:password)
rpidstring64NULLyesThe SIP Remote-Party-ID header identifies the calling party and includes user, party, screen and privacy headers that specify how a call is presented and screened.

Indexes

nametypelinksdescription
account_idxuniqueusername, domain
username_idxdefaultusername

This table us used by the avpops module to implement Attribute Value Pairs (AVP’s). More information about the avpops module can be found at: http://www.opensips.org/html/docs/modules/1.4.x/avpops.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnoUnique IDprimaryautoincrement
uuidstring64noUnique user ID
usernamestring1280noUsername / phone number
domainstring64noDomain name
attributestring32noAVP attribute
typeint110noAVP type
valuestring128noAVP value
last_modifieddatetimenot specified’1900-01-01 00:00:01’noDate and time when this record was last modified.

Indexes

nametypelinksdescription
ua_idxdefaultuuid, attribute
uda_idxdefaultusername, domain, attribute

This table is used by the carrierroute module to provides routing, balancing and blacklisting capabilities. More information is available at: http://www.opensips.org/docs/modules/devel/carrierroute.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
carrierunsigned int100noThis column contains the carrier id.
domainstring64noThis column contains the route domain. Additional domains could be used for example as fallback.
scan_prefixstring64noThis column contains the scan prefix, which define the matching portion of a phone number.
flagsunsigned int110noThis column contains the flags used for rule matching.
maskunsigned int110noThis column contains the mask that is applied to the message flags before rule matching.
probfloatnot specified0noName of column containing the probability. The probability value is used to distribute the traffic between several gateways.
stripunsigned int110noName of the column containing the number of digits to be stripped of the userpart of an URI before prepending rewrite_prefix.
rewrite_hoststring128noName of column containing rewrite prefixes. Here you can define a rewrite prefix for the localpart of the SIP URI.
rewrite_prefixstring64noRewrite prefix for the localpart of the SIP URI.
rewrite_suffixstring64noRewrite suffix for the localpart of the SIP URI.
descriptionstring255NULLyesA comment for the route entry, useful for larger routing tables.

This table is used by the carrierroute module to provide failure routing capabilities. More information is available at: http://www.opensips.org/docs/modules/devel/carrierroute.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
carrierunsigned int100noThis column contains the carrier id.
domainstring64noThis column contains the route domain. Additional domains could be used for example as fallback.
scan_prefixstring64noThis column contains the scan prefix, which define the matching portion of a phone number.
host_namestring128noThis column contains the routing destination used for rule matching.
reply_codestring3noThis column contains the reply code used for rule matching.
flagsunsigned int110noThis column contains the flags used for rule matching.
maskunsigned int110noThis column contains the mask that is applied to the message flags before rule matching.
next_domainstring64noThis column contains the route domain that should be used for the next routing attempt.
descriptionstring255NULLyesA comment for the route entry, useful for larger routing tables.

This table is used by the carrierroute module to provides routing, balancing and blacklisting capabilities. More information is available at: http://www.opensips.org/html/docs/modules/1.4.x/carrierroute.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
carrierstring64NULLyesThis column contains the carrier name.

Table for the call processing language “cpl” module. More information is available at: http://www.opensips.org/html/docs/modules/1.4.x/cpl-c.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnoUnique IDprimaryautoincrement
usernamestring64defaultno
domainstring64no
cpl_xmltextnot specifieddefaultyes
cpl_bintextnot specifieddefaultyes

Indexes

nametypelinksdescription
account_idxuniqueusername, domain

Persistent dialog information for the dialog module. More information can be found at: http://www.opensips.org/html/docs/modules/1.4.x/dialog.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
hash_entryunsigned int10defaultnoNumber of the hash entry in the dialog hash table
hash_idunsigned int10defaultnoThe ID on the hash entry
callidstring255defaultnoCall-ID of the dialog
from_uristring128defaultnoThe URI of the FROM header (as per INVITE)
from_tagstring64defaultnoThe 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_uristring128defaultnoThe URI of the TO header (as per INVITE)
to_tagstring64defaultnoThe 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.
caller_cseqstring7defaultnoLast Cseq number on the caller side.
callee_cseqstring7defaultnoLast Cseq number on the caller side.
caller_route_setstring512defaultyesRoute set on the caller side.
callee_route_setstring512defaultyesRoute set on on the caller side.
caller_contactstring128defaultnoCaller’s contact uri.
callee_contactstring128defaultnoCallee’s contact uri.
caller_sockstring64defaultnoLocal socket used to communicate with caller
callee_sockstring64defaultnoLocal socket used to communicate with callee
stateunsigned int10defaultnoThe state of the dialog.
start_timeunsigned int10defaultnoThe timestamp (unix time) when the dialog was confirmed.
timeoutunsigned int10defaultnoThe timestamp (unix time) when the dialog will expire.

Indexes

nametypelinksdescription
hash_idxdefaulthash_entry, hash_id

This table is used by the dialplan module for the translation rules. More information is available at: http://www.opensips.org/html/docs/modules/1.4.x/dialplan.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
dpidint11defaultnoDialplan ID.
print11defaultnoPriority of rule.
match_opint11defaultnoMatching operator for rule (0-equal, 1-regexp).
match_expstring64defaultnoMatching expresion (regexp or string).
match_lenint11defaultnoLength of the matching expresion (used only for equal operator).
subst_expstring64defaultnoSubstitution expresion.
repl_expstring32defaultnoReplacement expresion (sed like).
attrsstring32defaultnoGeneral attributes string to be returned in case of rule matching.

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: http://www.opensips.org/html/docs/modules/1.4.x/dispatcher.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
setidintnot specified0noDestination set id
destinationstring192noDestination SIP address
flagsintnot specified0noFlags of destination SIP address
descriptionstring64noDescription for this destination

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: http://www.opensips.org/html/docs/modules/1.4.x/domain.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
domainstring64noDomain name
last_modifieddatetimenot specified’1900-01-01 00:00:01’noDate and time when this record was last modified.

Indexes

nametypelinksdescription
domain_idxuniquedomain

Table for the domainpolicy module. More information at http://www.opensips.org/html/docs/modules/1.4.x/domainpolicy.html.

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
rulestring255defaultnoDomain policy rule name which is equal to the URI as published in the domain policy NAPTRs.
typestring255defaultnoDomain 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”.
attstring255defaultyesIt contains the AVP’s name. If the rule stored in this row triggers, than dp_can_connect() will add an AVP with that name.
valstring128defaultyesIt contains the values for AVPs created by dp_can_connect(). Default value is “val”
descriptionstring255defaultnoComment about the rule

Indexes

nametypelinksdescription
rav_idxuniquerule, att, val
rule_idxdefaultrule

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: http://www.opensips.org/html/docs/modules/1.4.x/group.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
usernamestring64noUsername / phone number
domainstring64noDomain name
grpstring64noGroup name
last_modifieddatetimenot specified’1900-01-01 00:00:01’noDate and time when this record was last modified.

Indexes

nametypelinksdescription
account_group_idxuniqueusername, domain, 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: http://www.opensips.org/html/docs/modules/1.4.x/group.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
reg_expstring128noRegular expression
group_idint110noGroup ID

Indexes

nametypelinksdescription
group_idxdefaultgroup_id

Room table for the IMC module. More information at http://www.opensips.org/html/docs/modules/1.4.x/imc.html.

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
namestring64defaultnoName of the room
domainstring64defaultnoDomain of the room
flagint11defaultnoFlags

Indexes

nametypelinksdescription
name_domain_idxuniquename, domain

Member table for the IMC module. More information at http://www.opensips.org/html/docs/modules/1.4.x/imc.html.

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
usernamestring64defaultnoUsername
domainstring64defaultnoDomain
roomstring64defaultno
flagint11defaultnoFlags

Indexes

nametypelinksdescription
account_room_idxuniqueusername, domain, room

This table contains Least Cost Routing Gateway definitions for the LCR module. More information can be found at: http://www.opensips.org/html/docs/modules/1.4.x/lcr.html.

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnoprimaryautoincrement
gw_namestring128defaultnoGateway Name
grp_idunsigned intnot specifieddefaultnoGateway ID
ip_addrstring15defaultnoIP Address of the gateway
portunsigned shortnot specifieddefaultyesPort of the gateway
uri_schemeunsigned charnot specifieddefaultyesURI scheme of the gateway
transportunsigned charnot specifieddefaultyesTransport type to be used for the gateway
stripunsigned charnot specifieddefaultyesThe number of digits to strip from Request URI user part before inserting tag
tagstring16NULLyesRequest URI user part tag
flagsunsigned intnot specified0noGateway specific flags

Indexes

nametypelinksdescription
gw_name_idxuniquegw_name
grp_id_idxdefaultgrp_id

This table is used by the lcr (Least Cost Routing) rules. More information can be found at: http://www.opensips.org/html/docs/modules/1.4.x/lcr.html.

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnoprimaryautoincrement
prefixstring16NULLyesPrefix of Request URI user part
from_uristring64NULLyesPattern that is matched to caller’s URI
grp_idunsigned intnot specifieddefaultnoGroup ID
priorityunsigned intnot specifieddefaultnoPriority

Indexes

nametypelinksdescription
prefix_idxdefaultprefix
from_uri_idxdefaultfrom_uri
grp_id_idxdefaultgrp_id

This table us used by the msilo module to provide offline message storage More information about the msilo module can be found at: http://www.opensips.org/html/docs/modules/1.4.x/msilo.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
src_addrstring128noSource address - From URI
dst_addrstring128noDestination address - To URI
usernamestring64noSIP domain of target user
domainstring64noUsername / phone number of target user
inc_timeintnot specified0noIncoming time
exp_timeintnot specified0noExpiration time
snd_timeintnot specified0noReminder send time
ctypestring32’text/plain’noContent type
bodybinarynot specifiednoBody of the message

Indexes

nametypelinksdescription
account_idxdefaultusername, domain

Prefix-Domain Translation means to change the host and port in R-URI, based on the prefix found in R-URI and source domain (that is domain in From-URI). More information can be found at: http://www.opensips.org/html/docs/modules/1.4.x/pdt.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnoUnique IDprimaryautoincrement
sdomainstring128defaultnoSource domain
prefixstring32defaultnoPrefix found in the username part of R-URI.
domainstring128noDomain corresponding to (sdomain, prefix) pair where the message must be sent.

Indexes

nametypelinksdescription
sdomain_prefix_idxuniquesdomain, prefix

This table is used by the permissions module to determine if a call has the appropriate permission to be established. More information about the permissions module can be found at: http://www.opensips.org/html/docs/modules/1.4.x/permissions.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
src_ipstring50defaultnoSource address is equal to source address of request
protostring4defaultnoTransport protocol is either “any” or equal to transport protocol of request. Possible values that can be stored are “any”, “udp”, “tcp”, “tls”, and “sctp”.
from_patternstring64NULLyesRegular expression matches From URI of request.
tagstring32defaultyesTag

Indexes

nametypelinksdescription
peer_idxdefaultsrc_ip

This table is used by the permissions module. More information is available at: http://www.opensips.org/html/docs/modules/1.4.x/permissions.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
grpunsigned short50noGroup
ip_addrstring15defaultnoIP address
maskcharnot specified32noNetwork mask
portunsigned short50noPort

Table for the presence module. More information can be found at: http://www.opensips.org/html/docs/modules/1.4.x/presence.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnoUnique IDprimaryautoincrement
usernamestring64defaultnoUser name
domainstring64defaultnoDomain
eventstring64defaultnoEvent
etagstring64defaultnoUser name
expiresint11defaultnoExpires
received_timeint11defaultnoReveived time
bodybinarynot specifieddefaultno
senderstring128defaultnoSender contact

Indexes

nametypelinksdescription
presentity_idxuniqueusername, domain, event, etag

Table for the presence module. More information can be found at: http://www.opensips.org/html/docs/modules/1.4.x/presence.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnoUnique IDprimaryautoincrement
presentity_uristring128defaultnoPresence URI
watcher_usernamestring64defaultnoFrom User
watcher_domainstring64defaultnoFrom Domain
to_userstring64defaultnoTo User
to_domainstring64defaultnoTo Domain
eventstring64’presence’noEvent description
event_idstring64defaultyesEvent ID
to_tagstring64defaultnoTO tag
from_tagstring64defaultnoFrom tag
callidstring64defaultnoCall ID
local_cseqint11defaultnoLocal cseq
remote_cseqint11defaultnoRemote cseq
contactstring64defaultnoContact
record_routetextnot specifieddefaultyesRecord route
expiresint11defaultnoExpires
statusint112noStatus
reasonstring64defaultnoReason
versionint110noVersion
socket_infostring64defaultnoSocket info
local_contactstring128defaultnoLocal contact

Indexes

nametypelinksdescription
active_watchers_idxuniquepresentity_uri, callid, to_tag, from_tag

Table for the presence module. More information can be found at: http://www.opensips.org/html/docs/modules/1.4.x/presence.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnoUnique IDprimaryautoincrement
presentity_uristring128defaultnoPresentity Uri
watcher_usernamestring64defaultnoWatcher User
watcher_domainstring64defaultnoWatcher Domain
eventstring64’presence’noEvent description
statusint11defaultnoStatus
reasonstring64defaultyesReason
inserted_timeint11defaultno

Indexes

nametypelinksdescription
watcher_idxuniquepresentity_uri, watcher_username, watcher_domain, event

Table for the presence module. More information can be found at: http://www.opensips.org/html/docs/modules/1.4.x/presence.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnoUnique IDprimaryautoincrement
usernamestring64defaultnoUser name
domainstring64defaultnoDomain
docbinarynot specifieddefaultnodoc
doc_typeint11defaultnoDocument type
etagstring64defaultnoDocument Etag
sourceint11defaultnoEntity inserting the record
doc_uristring128defaultnoDocument uri
portint11defaultnoXCAP server port

Indexes

nametypelinksdescription
account_doc_type_idxuniqueusername, domain, doc_type, doc_uri
source_idxdefaultsource

Table for the presence related pua module. More information can be found at: http://www.opensips.org/html/docs/modules/1.4.x/pua.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnoUnique IDprimaryautoincrement
pres_uristring128defaultnoURI
pres_idstring64defaultnoID
eventint11defaultnoEvent
expiresint11defaultnoExpires
desired_expiresint11defaultnoDesired Expires
flagint11defaultnoFlags
etagstring64defaultnoEtag
tuple_idstring64defaultyesTuple ID
watcher_uristring128defaultnoWatcher URI
call_idstring64defaultnoCall ID
to_tagstring64defaultnoTo tag
from_tagstring64defaultnoTo tag
cseqint11defaultno
record_routetextnot specifieddefaultyesRecord route
contactstring128defaultnoContact
remote_contactstring128defaultnoRemote contact
versionint11defaultno
extra_headerstextnot specifieddefaultnoExtra Headers

This table for the registrar module is similar to the “location” table, (the aliases index makes lookup of missed calls much faster). Thus, the function lookup(“alias”) can be used to map aliases to AORs. More information is available at: http://www.opensips.org/html/docs/modules/1.4.x/registrar.html. Most people uses the dbaliases table with the alias_db module now.

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
usernamestring64noAlias Username / Phone Number
domainstring64NULLyesDomain name
contactstring255noContact header field value provides a URI whoses meaning depends on the type of request or response it is in.
receivedstring128NULLyesReceived IP:PORT in the format SIP:IP:PORT
pathstring128NULLyesPath Header(s) per RFC 3327
expiresdatetimenot specified’2020-05-28 21:32:15’noDate and time when this entry expires.
qfloat10,21.0noValue used for preferential routing.
callidstring255’Default-Call-ID’noCall-ID header field uniquely identifies a particular invitation or all registrations of a particular client.
cseqint1113noCSeq header field contains a single decimal sequence number and the request method.
last_modifieddatetimenot specified’1900-01-01 00:00:01’noDate and time when this entry was last modified.
flagsint110noFlags
cflagsint110noCFlags
user_agentstring255noUser-Agent header field contains information about the UAC originating the request.
socketstring64NULLyesSocket used to connect to OpenSIPS. For example: UDP:IP:PORT
methodsint11NULLyesFlags that indicate the SIP Methods this contact will accept.

Indexes

nametypelinksdescription
alias_idxdefaultusername, domain, contact

Table for the RLS module.

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnoUnique IDprimaryautoincrement
rlsubs_didstring255defaultnoResource list subscribe dialog id
resource_uristring128defaultnoList Uri
content_typestring64defaultnoEvent
presence_statebinarynot specifieddefaultno
expiresint11defaultnoExpires
updatedint11defaultnoUpdate flag
auth_stateint11defaultnoWatcher authorization state
reasonstring64defaultnoreason for watcher authorization state

Indexes

nametypelinksdescription
rls_presentity_idxuniquerlsubs_did, resource_uri
updated_idxdefaultupdated

Table for RLS module used for storing resource lists subscribe information.

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnoUnique IDprimaryautoincrement
presentity_uristring128defaultnoPresence URI
to_userstring64defaultnoTo user
to_domainstring64defaultnoTo domain
watcher_usernamestring64defaultnoFrom user
watcher_domainstring64defaultnoFrom domain
eventstring64’presence’noEvent description
event_idstring64defaultyesEvent ID
to_tagstring64defaultnoTo tag
from_tagstring64defaultnoFrom tag
callidstring64defaultnoCall ID
local_cseqint11defaultnoLocal cseq
remote_cseqint11defaultnoRemote cseq
contactstring64defaultnoContact
record_routetextnot specifieddefaultyesRecord route
expiresint11defaultnoExpires
statusint112noStatus
reasonstring64defaultnoReason
versionint110noVersion
socket_infostring64defaultnoSocket info
local_contactstring128defaultnoLocal contact

Indexes

nametypelinksdescription
rls_watcher_idxuniquepresentity_uri, callid, to_tag, from_tag

This table is used to store incoming/outgoing SIP messages in database. More informations can be found in the siptrace module documentation at: http://www.opensips.org/html/docs/modules/1.4.x/siptrace.html.

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
time_stampdatetimenot specified’1900-01-01 00:00:01’noRecording date
callidstring255nocall ID from SIP message
traced_userstring128noSIP URI of the user being traced
msgtextnot specifieddefaultnoFull SIP message
methodstring50noSIP method name
statusstring128noSIP reply status
fromipstring50noSource IP address
toipstring50noDestination IP address
fromtagstring64noFrom tag
directionstring4noDestination IP address

Indexes

nametypelinksdescription
traced_user_idxdefaulttraced_user
date_idxdefaulttime_stamp
fromip_idxdefaultfromip
callid_idxdefaultcallid

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: http://www.opensips.org/html/docs/modules/1.4.x/speeddial.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
usernamestring64noUsername / phone number
domainstring64noDomain name
sd_usernamestring64noSpeed dial username
sd_domainstring64noSpeed dial domain
new_uristring128noNew URI
fnamestring64noFirst name
lnamestring64noLast name
descriptionstring64noDescription

Indexes

nametypelinksdescription
speed_dial_idxuniqueusername, domain, sd_domain, sd_username
nametypesizedefaultnulldescriptionkeyextra attributes
table_namestring32defaultno
table_versionunsigned intnot specified0no

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: http://www.opensips.org/html/docs/modules/1.4.x/uri_db.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnoprimaryautoincrement
usernamestring64noUsername / phone number
domainstring64noDomain name
uri_userstring64noUsername / phone number
last_modifieddatetimenot specified’1900-01-01 00:00:01’noDate and time when this record was last modified.

Indexes

nametypelinksdescription
account_idxuniqueusername, domain, uri_user

This table is used by the userblacklist module for the user specific blacklists. More information is available at: http://www.opensips.org/html/docs/modules/1.4.x/userblacklist.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
usernamestring64noThe user that is used for the blacklist lookup.
domainstring64noThe domain that is used for the blacklist lookup.
prefixstring64noThe prefix that is matched for the blacklist.
whitelistchar10noSpecify if this a blacklist (0) or a whitelist (1) entry.

Indexes

nametypelinksdescription
userblacklist_idxdefaultusername, domain, prefix

This table is used by the userblacklist module for the global blacklists. More information is available at: http://www.opensips.org/html/docs/modules/1.4.x/userblacklist.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
prefixstring64noThe prefix that is matched for the blacklist.
whitelistchar10noSpecify if this a blacklist (0) or a whitelist (1) entry.
descriptionstring255NULLyesA comment for the entry.

Indexes

nametypelinksdescription
globalblacklist_idxdefaultprefix

Persistent user location information for the usrloc module. More information can be found at: http://www.opensips.org/html/docs/modules/1.4.x/usrloc.html

nametypesizedefaultnulldescriptionkeyextra attributes
idunsigned int10defaultnounique IDprimaryautoincrement
usernamestring64noUsername / phone number
domainstring64NULLyesDomain name
contactstring255noContact header field value provides a URI whoses meaning depends on the type of request or response it is in.
receivedstring128NULLyesReceived IP:PORT in the format SIP:IP:PORT
pathstring128NULLyesPath Header(s) per RFC 3327
expiresdatetimenot specified’2020-05-28 21:32:15’noDate and time when this entry expires.
qfloat10,21.0noValue used for preferential routing.
callidstring255’Default-Call-ID’noCall-ID header field uniquely identifies a particular invitation or all registrations of a particular client.
cseqint1113noCSeq header field contains a single decimal sequence number and the request method.
last_modifieddatetimenot specified’1900-01-01 00:00:01’noDate and time when this entry was last modified.
flagsint110noFlags
cflagsint110noCFlags
user_agentstring255noUser-Agent header field contains information about the UAC originating the request.
socketstring64NULLyesSocket used to connect to OpenSIPS. For example: UDP:IP:PORT
methodsint11NULLyesFlags that indicate the SIP Methods this contact will accept.

Indexes

nametypelinksdescription
account_contact_idxdefaultusername, domain, contact