[asterisk-bugs] [JIRA] (ASTERISK-18160) Delay between sip unregistration and peer status change

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Dec 19 06:41:10 CST 2017


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

Joshua Colp updated ASTERISK-18160:
-----------------------------------

    Affects Version/s: 13.18.4

> Delay between sip unregistration and peer status change
> -------------------------------------------------------
>
>                 Key: ASTERISK-18160
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-18160
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/Registration
>    Affects Versions: 1.6.2.19, 1.8.5.0, 13.18.4
>            Reporter: Vadim Mikhnevych
>            Severity: Minor
>
> After a phone (SIP peer) us unregistered (and Asterisk console shows the appropriate message), "sip show peer XXX" command shows its status as OK for some time.
> This also affects the SipShowPeerResponse for SipShowPeerAction (Asterisk-Java classes, wrapping the SIPshowpeer manager action), which we use to determine peer information upon receiving PeerStatusEvent.
> A copypaste from asterisk console:
> CLI>     -- Registered SIP '2051' at 127.0.0.1:5061
> [Jul 21 14:43:51] NOTICE[20471]: chan_sip.c:20087 handle_response_peerpoke: Peer '2051' is now Reachable. (19ms / 2000ms)
>     -- Unregistered SIP '2051'
> CLI> sip show peer 2051
>   * Name       : 2051
>   Secret       : <Set>
>   MD5Secret    : <Not set>
>   Remote Secret: <Not set>
>   Context      : PHBX_165
>   Subscr.Cont. : PHBX_165_HINT_2051
>   Language     : en
>   Accountcode  : 2051
> [....]
>   ToHost       : 
>   Addr->IP     : (null)
>   Defaddr->IP  : (null)
>   Prim.Transp. : UDP
>   Allowed.Trsp : UDP
>   Def. Username: 2051
>   SIP Options  : (none)
>   Codecs       : 0x50e (gsm|ulaw|alaw|g729|ilbc)
>   Codec Order  : (g729:20,ulaw:20,alaw:20,gsm:20,ilbc:30)
>   Auto-Framing :  No 
>   100 on REG   : No
>   Status       : OK (19 ms)
>   Useragent    : sflphoned/0.9.6
>   Reg. Contact : sip:2051 at 192.168.1.163:5061
>   Qualify Freq : 60000 ms
>   Variables    :
>                  MOH = MOH_170
>   Sess-Timers  : Accept
>   Sess-Refresh : uas
>   Sess-Expires : 1800 secs
>   Min-Sess     : 90 secs
>   RTP Engine   : asterisk
>   Parkinglot   : PARKINGLOT_165
>   Use Reason   : No
>   Encryption   : No



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



More information about the asterisk-bugs mailing list