Hi Daniel.<br>
<br>
There it goes:<br>
<br>
mysql> desc location;<br>
+---------------+------------------+------+-----+---------------------+----------------+<br>
| Field |
Type
| Null | Key |
Default
| Extra |<br>
+---------------+------------------+------+-----+---------------------+----------------+<br>
| id
| int(10) unsigned | NO | PRI |
NULL
| auto_increment |<br>
| username |
varchar(64) | NO | MUL
|
|
|<br>
| domain |
varchar(128) | NO
|
|
|
|<br>
| contact |
varchar(255) | NO
|
|
|
|<br>
| received |
varchar(255) | YES
| |
NULL
|
|<br>
| path |
varchar(255) | YES
| |
NULL
|
|<br>
| expires |
datetime |
NO | | 2020-05-28 21:32:15
|
|<br>
|
q
| float(10,2) | NO
| |
1.00
|
|<br>
| callid |
varchar(255) | NO
| | Default-Call-ID
|
|<br>
| cseq |
int(11) |
NO | |
13
|
|<br>
| last_modified |
datetime |
NO | | 1900-01-01 00:00:00
|
|<br>
| flags |
int(11) |
NO | |
0
|
|<br>
| cflags |
int(11) |
NO | |
0
|
|<br>
| user_agent | varchar(255) |
NO |
|
|
|<br>
| socket |
varchar(128) | YES
| |
NULL
|
|<br>
| methods |
int(11) |
YES | |
NULL
|
|<br>
+---------------+------------------+------+-----+---------------------+----------------+<br>
<br>
<br>
| location | CREATE TABLE `location` (<br>
`id` int(10) unsigned NOT NULL auto_increment,<br>
`username` varchar(64) NOT NULL default '',<br>
`domain` varchar(128) NOT NULL default '',<br>
`contact` varchar(255) NOT NULL default '',<br>
`received` varchar(255) default NULL,<br>
`path` varchar(255) default NULL,<br>
`expires` datetime NOT NULL default '2020-05-28 21:32:15',<br>
`q` float(10,2) NOT NULL default '1.00',<br>
`callid` varchar(255) NOT NULL default 'Default-Call-ID',<br>
`cseq` int(11) NOT NULL default '13',<br>
`last_modified` datetime NOT NULL default '1900-01-01 00:00:00',<br>
`flags` int(11) NOT NULL default '0',<br>
`cflags` int(11) NOT NULL default '0',<br>
`user_agent` varchar(255) NOT NULL default '',<br>
`socket` varchar(128) default NULL,<br>
`methods` int(11) default NULL,<br>
PRIMARY KEY (`id`),<br>
KEY `udc_loc` (`username`,`domain`,`contact`)<br>
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=latin1 |<br>
<br>
<br>
mysql> select * from location;<br>
+----+----------+--------+---------------------------------+----------+------+---------------------+-------+-------------------------------------------+------+---------------------+-------+--------+--------------------------------------------+--------------------------+---------+
<br>
| id | username | domain |
contact
| received | path |
expires
| q |
callid
| cseq | last_modified | flags |
cflags |
user_agent
|
socket
| methods |<br>
+----+----------+--------+---------------------------------+----------+------+---------------------+-------+-------------------------------------------+------+---------------------+-------+--------+--------------------------------------------+--------------------------+---------+
<br>
| 13 | 3950031 | |
sip:3950031@192.168.198.10:5060 | NULL | NULL |
2007-03-27 00:46:08 | -1.00 | <a href="mailto:5e897d38-ce5af712-6f3a7b51@192.168.198.10">5e897d38-ce5af712-6f3a7b51@192.168.198.10</a>
| 75 | 2007-03-27 00:45:08 | 0
| 0 |
PolycomSoundPointIP-SPIP_300-UA/1.6.5.0043 | udp:<a href="http://192.168.199.200:5060">192.168.199.200:5060</a>
| 8063 |<br>
+----+----------+--------+---------------------------------+----------+------+---------------------+-------+-------------------------------------------+------+---------------------+-------+--------+--------------------------------------------+--------------------------+---------+
<br>
<br>
The last information is the record I have stored.<br>
<br>
<br>
Kind regards.<br>
<br>