Skip to content
Snippets Groups Projects
  • Joshua Colp's avatar
    05959109
    chan_sip: Allow call pickup to set the hangup cause. · 05959109
    Joshua Colp authored
    The call pickup implementation in chan_sip currently sets the channel
    hangup cause to "normal clearing" if call pickup is successfully
    performed. This action overwrites the "answered elsewhere" hangup cause
    set by the call pickup code and can result in the SIP device in
    question showing a missed call when it should not.
    
    This change sets the hangup cause to "normal clearing" as a
    default initially but allows the call pickup to change it as
    needed.
    
    ASTERISK-25346 #close
    
    Change-Id: I00ac2c269cee9e29586ee2c65e83c70e52a02cff
    05959109
    History
    chan_sip: Allow call pickup to set the hangup cause.
    Joshua Colp authored
    The call pickup implementation in chan_sip currently sets the channel
    hangup cause to "normal clearing" if call pickup is successfully
    performed. This action overwrites the "answered elsewhere" hangup cause
    set by the call pickup code and can result in the SIP device in
    question showing a missed call when it should not.
    
    This change sets the hangup cause to "normal clearing" as a
    default initially but allows the call pickup to change it as
    needed.
    
    ASTERISK-25346 #close
    
    Change-Id: I00ac2c269cee9e29586ee2c65e83c70e52a02cff
chan_sip.c 1.17 MiB