[asterisk-bugs] [JIRA] (ASTERISK-17306) SIP Realtime: Peer isn't deleted/cleared from 'sip show peers' when the phone unregister

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri Jan 9 18:51:34 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-17306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton closed ASTERISK-17306.
-----------------------------------

    Resolution: Fixed

> SIP Realtime: Peer isn't deleted/cleared from 'sip show peers' when the phone unregister
> ----------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-17306
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-17306
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Channels/chan_sip/Registration
>            Reporter: ibercom
>            Severity: Minor
>
> I use cache realtime friends. When the registration expires (rtautoclear=yes), the friend vanish from the configuration until requested again. It is ok. But when the phone unregisters (x-lite) the friend continues existing. 'sip show peer' shows the peer in UNKNOWN status forever.
> In a multiserver environment it is a problem because the phone can be registered in other server and the database have correct information, but the first server can't call this phone because it is in memory and it don't load information from the database. You need use sip prune realtime xxxx and then it is ok.
> ****** ADDITIONAL INFORMATION ******
> Asterisk 1.4.38
> Realtime SIP Settings:
> ----------------------
>   Realtime Peers:         Yes
>   Realtime Users:         Yes
>   Cache Friends:          Yes
>   Update:                 Yes
>   Ignore Reg. Expire:     Yes
>   Save sys. name:         Yes
>   Auto Clear:             120 (Enabled)
> ----



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list