[asterisk-bugs] [JIRA] (ASTERISK-23426) sip show peers became empty in realtime after reload or sip reload

Michael L. Young (JIRA) noreply at issues.asterisk.org
Thu Mar 6 07:00:48 CST 2014


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

Michael L. Young commented on ASTERISK-23426:
---------------------------------------------

This is correct behavior for dynamic realtime peers.  A sip reload unloads the peers from memory.  Once a peer updates their registration or a call to an unexpired peer is made, the peer is then loaded into memory for the realtime database.

If you want to load a peer into memory after a reload, you need to run the CLI command "sip show peer <peername> load" which will then load the peer from the realtime database into memory.

> sip show peers became empty in realtime after reload or sip reload
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-23426
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23426
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 11.2.0
>         Environment: OS:Debian wheezy
> Asterisk 11.2-cert2 built by root @ debian on a x86_64 running Linux on 2014-01-28 11:20:41 UTC
>            Reporter: Ahmed ZRIBI
>            Severity: Critical
>         Attachments: sip.conf
>
>
> When i use peers in realtime after "sip reload", or "reload" the display of "sip show peers" became empty result.
> debian*CLI> sip show peers
> Name/username             Host                                    Dyn Forcerport ACL Port     Status      Description                      Realtime
> 109/109                 192.168.12.27                             D                 5060     OK (1001 ms)                                  Cached RT
> 1 sip peers [Monitored: 1 online, 0 offline Unmonitored: 0 online, 0 offline]
> debian*CLI> reload
> [2014-03-06 10:26:45.730] NOTICE[19824]: app_queue.c:7712 reload_queue_rules: queuerules.conf has not changed since it was last loaded. Not taking any action.
> [2014-03-06 10:26:45.731] NOTICE[19824]: pbx_ael.c:165 pbx_load_module: Starting AEL load process.
> [2014-03-06 10:26:45.732] NOTICE[19824]: pbx_ael.c:178 pbx_load_module: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
> [2014-03-06 10:26:45.733] NOTICE[19824]: pbx_ael.c:181 pbx_load_module: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
> [2014-03-06 10:26:45.734] NOTICE[19824]: pbx_ael.c:188 pbx_load_module: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
> [2014-03-06 10:26:45.736] NOTICE[19824]: pbx_ael.c:193 pbx_load_module: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
> [2014-03-06 10:26:45.736] NOTICE[19824]: pbx_ael.c:196 pbx_load_module: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
> debian*CLI> sip show peers
> Name/username             Host                                    Dyn Forcerport ACL Port     Status      Description                      Realtime
> 0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]



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



More information about the asterisk-bugs mailing list