Hi there,
I’ve installed asterisk 1.8.24.0 and i have the static realtime configuration for the sip extensions in the extconfig.conf file with this information:
sip.conf => odbc,asterisk,tabla_sip
The problem is that a new extensions is trying to register to the pbx, it has a wrong password but it can do calls.
Can any body give me suggestions to solve this problem?
Thanks a lot
My table structure is:
[size=85]CREATE TABLE IF NOT EXISTS tabla_sip
(
id
int(11) NOT NULL AUTO_INCREMENT,
cat_metric
int(30) DEFAULT ‘0’,
var_metric
int(30) DEFAULT ‘0’,
filename
varchar(128) DEFAULT NULL,
category
varchar(128) DEFAULT NULL,
var_name
varchar(128) NOT NULL DEFAULT ‘’’’’’,
var_val
varchar(128) DEFAULT NULL,
commented
int(11) NOT NULL DEFAULT ‘0’,
PRIMARY KEY (id
),
FULLTEXT KEY category
(category
)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=131 ;[/size]
and its content is:
[size=85]INSERT INTO tabla_sip
(id
, cat_metric
, var_metric
, filename
, category
, var_name
, var_val
, commented
) VALUES
(1, 1, 1, ‘sip.conf’, ‘general’, ‘allowoverlap’, ‘no’, 0),
(2, 1, 2, ‘sip.conf’, ‘general’, ‘udpbindaddr’, ‘0.0.0.0’, 0),
(3, 1, 3, ‘sip.conf’, ‘general’, ‘tcpenable’, ‘no’, 0),
(4, 1, 4, ‘sip.conf’, ‘general’, ‘tcpbindaddr’, ‘0.0.0.0’, 0),
(5, 1, 5, ‘sip.conf’, ‘general’, ‘transport’, ‘udp’, 0),
(6, 1, 6, ‘sip.conf’, ‘general’, ‘srvlookup’, ‘udp’, 0),
(7, 1, 7, ‘sip.conf’, ‘general’, ‘context’, ‘internos’, 0),
(8, 1, 8, ‘sip.conf’, ‘general’, ‘dtmfmode’, ‘rfc2833’, 0),
(9, 1, 9, ‘sip.conf’, ‘general’, ‘invite’, ‘yes’, 0),
(10, 1, 10, ‘sip.conf’, ‘general’, ‘qualify’, ‘yes’, 0),
(11, 1, 11, ‘sip.conf’, ‘general’, ‘type’, ‘friend’, 0),
(12, 1, 12, ‘sip.conf’, ‘general’, ‘disallow’, ‘all’, 0),
(13, 1, 13, ‘sip.conf’, ‘general’, ‘allow’, ‘gsm,ulaw’, 0),
(14, 1, 14, ‘sip.conf’, ‘general’, ‘directmedia’, ‘off’, 0),
(15, 1, 15, ‘sip.conf’, ‘general’, ‘language’, ‘es’, 0),
(16, 1, 16, ‘sip.conf’, ‘general’, ‘register’, ‘asterisk03:fs2014@192.168.1.14/asterisk03’, 0),
(17, 10001, 6, ‘sip.conf’, ‘asterisk03’, ‘qualify’, ‘yes’, 0),
(18, 10001, 7, ‘sip.conf’, ‘asterisk03’, ‘disallow’, ‘all’, 0),
(19, 10001, 8, ‘sip.conf’, ‘asterisk03’, ‘allow’, ‘gsm’, 0),
(20, 10001, 5, ‘sip.conf’, ‘asterisk03’, ‘context’, ‘fs-troncal’, 0),
(21, 10001, 3, ‘sip.conf’, ‘asterisk03’, ‘host’, ‘dynamic’, 0),
(22, 10001, 4, ‘sip.conf’, ‘asterisk03’, ‘type’, ‘peer’, 0),
(23, 10001, 2, ‘sip.conf’, ‘asterisk03’, ‘secret’, ‘fs2014’, 0),
(24, 10001, 1, ‘sip.conf’, ‘asterisk03’, ‘defaultuser’, ‘asterisk03’, 0),
(25, 10001, 9, ‘sip.conf’, ‘asterisk03’, ‘allow’, ‘ulaw’, 0),
(26, 10001, 10, ‘sip.conf’, ‘asterisk03’, ‘insecure’, ‘port,invite’, 0),
(27, 2, 1, ‘sip.conf’, ‘fs00000001’, ‘username’, ‘fs00000001’, 0),
(28, 2, 2, ‘sip.conf’, ‘fs00000001’, ‘secret’, ‘00fS0001’, 0),
(29, 2, 3, ‘sip.conf’, ‘fs00000001’, ‘host’, ‘dynamic’, 0),
(30, 2, 4, ‘sip.conf’, ‘fs00000001’, ‘type’, ‘friend’, 0),
(31, 2, 5, ‘sip.conf’, ‘fs00000001’, ‘callerid’, ‘fs00000001’, 0),
(32, 2, 6, ‘sip.conf’, ‘fs00000001’, ‘mailbox’, 'it@fs.com’, 0),
(33, 2, 7, ‘sip.conf’, ‘fs00000001’, ‘insecure’, ‘port,invite’, 0),
(34, 2, 8, ‘sip.conf’, ‘fs00000001’, ‘qualify’, ‘yes’, 0),
(35, 3, 1, ‘sip.conf’, ‘fs00000002’, ‘username’, ‘fs00000002’, 0),
(36, 3, 2, ‘sip.conf’, ‘fs00000002’, ‘secret’, ‘00fS2’, 0),
(37, 3, 3, ‘sip.conf’, ‘fs00000002’, ‘host’, ‘dynamic’, 0),
(38, 3, 4, ‘sip.conf’, ‘fs00000002’, ‘type’, ‘friend’, 0),
(39, 3, 5, ‘sip.conf’, ‘fs00000002’, ‘callerid’, ‘fs00000002’, 0),
(40, 3, 6, ‘sip.conf’, ‘fs00000002’, ‘mailbox’, 'it@fs.com’, 0),
(41, 3, 7, ‘sip.conf’, ‘fs00000002’, ‘insecure’, ‘port,invite’, 0),
(42, 3, 8, ‘sip.conf’, ‘fs00000002’, ‘qualify’, ‘yes’, 0);[/size]