mysql> select * from sip where mailbox=33; +-----+------+-------------+----------+-----------+----------+-------------+----------+-----------+----------+----------+---------+----------+----------+---------+-----------+-----+--------+------+------+-------------+------+----------+------------+----------------+---------+--------+----------+----------+-------------------------+-------------+-------------+----------+----------------+-------+--------------+-------------+---------+------------+ | id | name | accountcode | amaflags | callgroup | callerid | canreinvite | context | defaultip | dtmfmode | frdomain | host | insecure | language | mailbox | md5secret | nat | permit | deny | mask | pickupgroup | port | trictcid | rtptimeout | rtpholdtimeout | secret | type | username | disallow | allow | musiceconds | ipaddr | regexten | cancallforward | owner | promiscredir | fullcontact | rate_id | call-limit | +-----+------+-------------+----------+-----------+----------+-------------+----------+-----------+----------+----------+---------+----------+----------+---------+-----------+-----+--------+------+------+-------------+------+----------+------------+----------------+---------+--------+----------+----------+-------------------------+-------------+-------------+----------+----------------+-------+--------------+-------------+---------+------------+ | 245 | 1246 | NULL | NULL | NULL | NULL | no | internal | NULL | rfc2833 | NU | dynamic | | NULL | 33 | NULL | yes | NULL | NULL | NULL | NULL | 5060 | L | NULL | NULL | xxxxxxx | friend | 1246 | all | gsm;ulaw;alaw;g729;ilbc | NULL 765318 | 82.83.35.74 | | no | 210 | NULL | | 1 | 0 | +-----+------+-------------+----------+-----------+----------+-------------+----------+-----------+----------+----------+---------+----------+----------+---------+-----------+-----+--------+------+------+-------------+------+----------+------------+----------------+---------+--------+----------+----------+-------------------------+-------------+-------------+----------+----------------+-------+--------------+-------------+---------+------------+ 1 row in set (0.00 sec)