[asterisk-bugs] [JIRA] Issue Comment Edited: (ASTERISK-20454) Can't use SIP realtime registrations alone without realtime peers

Richard Miller (JIRA) noreply at issues.asterisk.org
Mon Sep 24 22:17:27 CDT 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197536#comment-197536 ] 

Richard Miller edited comment on ASTERISK-20454 at 9/24/12 10:15 PM:
---------------------------------------------------------------------

This second patch has the same logic as the first one, but I just changed the new variable name from rregsonly to rtregsonly.

      was (Author: ulogic):
    This is the same patch but I just changed the new variable name from rregsonly to rtregsonly
  
> Can't use SIP 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
>         Attachments: chan_sip-1.8.16.0.diff, chan_sip-1.8.16.0.patch
>
>
> 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