/usr/share/opensips/pi_http/presence-table is in opensips-http-modules 2.2.2-3build4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | <!-- Declaration of presentity table-->
<db_table id="presentity">
<table_name>presentity</table_name>
<db_url_id>mysql</db_url_id>
<column><field>id</field><type>DB_INT</type></column>
<column><field>username</field><type>DB_STR</type></column>
<column><field>domain</field><type>DB_STR</type></column>
<column><field>event</field><type>DB_STR</type></column>
<column><field>etag</field><type>DB_STR</type></column>
<column><field>expires</field><type>DB_INT</type></column>
<column><field>received_time</field><type>DB_INT</type></column>
<column><field>body</field><type>DB_BLOB</type></column>
<column><field>extra_hdrs</field><type>DB_BLOB</type></column>
<column><field>sender</field><type>DB_STR</type></column>
</db_table>
<!-- Declaration of active_watchers table-->
<db_table id="active_watchers">
<table_name>active_watchers</table_name>
<db_url_id>mysql</db_url_id>
<column><field>id</field><type>DB_INT</type></column>
<column><field>presentity_uri</field><type>DB_STR</type></column>
<column><field>watcher_username</field><type>DB_STR</type></column>
<column><field>watcher_domain</field><type>DB_STR</type></column>
<column><field>to_user</field><type>DB_STR</type></column>
<column><field>to_domain</field><type>DB_STR</type></column>
<column><field>event</field><type>DB_STR</type></column>
<column><field>event_id</field><type>DB_STR</type></column>
<column><field>to_tag</field><type>DB_STR</type></column>
<column><field>from_tag</field><type>DB_STR</type></column>
<column><field>callid</field><type>DB_STR</type></column>
<column><field>local_cseq</field><type>DB_INT</type></column>
<column><field>remote_cseq</field><type>DB_INT</type></column>
<column><field>contact</field><type>DB_STR</type></column>
<column><field>record_route</field><type>DB_BLOB</type></column>
<column><field>expires</field><type>DB_INT</type></column>
<column><field>status</field><type>DB_INT</type></column>
<column><field>reason</field><type>DB_STR</type></column>
<column><field>version</field><type>DB_INT</type></column>
<column><field>socket_info</field><type>DB_STR</type></column>
<column><field>local_contact</field><type>DB_STR</type></column>
</db_table>
<!-- Declaration of watchers table-->
<db_table id="watchers">
<table_name>watchers</table_name>
<db_url_id>mysql</db_url_id>
<column><field>id</field><type>DB_INT</type></column>
<column><field>presentity_uri</field><type>DB_STR</type></column>
<column><field>watcher_username</field><type>DB_STR</type></column>
<column><field>watcher_domain</field><type>DB_STR</type></column>
<column><field>event</field><type>DB_STR</type></column>
<column><field>status</field><type>DB_INT</type></column>
<column><field>reason</field><type>DB_STR</type></column>
<column><field>inserted_time</field><type>DB_INT</type></column>
</db_table>
<!-- Declaration of xcap table-->
<db_table id="xcap">
<table_name>xcap</table_name>
<db_url_id>mysql</db_url_id>
<column><field>id</field><type>DB_INT</type></column>
<column><field>username</field><type>DB_STR</type></column>
<column><field>domain</field><type>DB_STR</type></column>
<column><field>doc</field><type>LONGBLOB</type></column>
<column><field>doc_type</field><type>DB_INT</type></column>
<column><field>etag</field><type>DB_STR</type></column>
<column><field>source</field><type>DB_INT</type></column>
<column><field>doc_uri</field><type>DB_STR</type></column>
<column><field>port</field><type>DB_INT</type></column>
</db_table>
<!-- Declaration of pua table-->
<db_table id="pua">
<table_name>pua</table_name>
<db_url_id>mysql</db_url_id>
<column><field>id</field><type>DB_INT</type></column>
<column><field>pres_uri</field><type>DB_STR</type></column>
<column><field>pres_id</field><type>DB_STR</type></column>
<column><field>event</field><type>DB_INT</type></column>
<column><field>expires</field><type>DB_INT</type></column>
<column><field>desired_expires</field><type>DB_INT</type></column>
<column><field>flag</field><type>DB_INT</type></column>
<column><field>etag</field><type>DB_STR</type></column>
<column><field>tuple_id</field><type>DB_STR</type></column>
<column><field>watcher_uri</field><type>DB_STR</type></column>
<column><field>to_uri</field><type>DB_STR</type></column>
<column><field>call_id</field><type>DB_STR</type></column>
<column><field>to_tag</field><type>DB_STR</type></column>
<column><field>from_tag</field><type>DB_STR</type></column>
<column><field>cseq</field><type>DB_INT</type></column>
<column><field>record_route</field><type>DB_BLOB</type></column>
<column><field>contact</field><type>DB_STR</type></column>
<column><field>remote_contact</field><type>DB_STR</type></column>
<column><field>version</field><type>DB_INT</type></column>
<column><field>extra_headers</field><type>DB_BLOB</type></column>
</db_table>
|