[asterisk-bugs] [JIRA] Created: (ASTERISK-20454) Can't use realtime registrations alone without realtime peers
Richard Miller (JIRA)
noreply at issues.asterisk.org
Thu Sep 20 17:18:27 CDT 2012
Can't use realtime registrations alone without realtime peers
-------------------------------------------------------------
Key: ASTERISK-20454
URL: https://issues.asterisk.org/jira/browse/ASTERISK-20454
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Channels/chan_sip/DatabaseSupport
Affects Versions: 1.8.16.0
Reporter: Richard Miller
In extconfig.conf, enable sipregs but not sippeers. Create the ODBC DSNs as required.
Create the minimum required table for sipregs:
create table if not exists sipregs (
name varchar(10),
ipaddr varchar(46),
port int,
regseconds int,
defaultuser varchar(10),
fullcontact varchar(35),
regserver varchar(20),
useragent varchar(20),
lastms int,
index name (name),
index ipaddr (ipaddr)
);
/* Add your test extension numbers as appropriate to the table */
insert sipregs (name) values ('testextn01');
insert sipregs (name) values ('testextn02');
insert sipregs (name) values ('textextn03'); /* etc */
In sip.conf, enable
rtcachefriends=yes
In the Asterisk CLI, "sip show settings" displays:
Global Settings:
----------------
SIP realtime: Enabled
Realtime SIP Settings:
----------------------
Realtime Peers: No
Realtime Regs: Yes
Cache Friends: Yes
Update: Yes
Ignore Reg. Expire: No
Save sys. name: Yes
Auto Clear: 120 (Disabled)
----
However, the sipregs table never updates.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list