]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Emit a second ringing event to ensure channel is found.
authorJoshua Colp <jcolp@digium.com>
Tue, 20 Feb 2018 16:33:43 +0000 (12:33 -0400)
committerJoshua Colp <jcolp@digium.com>
Tue, 20 Feb 2018 16:42:50 +0000 (10:42 -0600)
commit3bca5cfc31d37e1dec9d09adcdf372c2092d5d7a
tree3674706e85040d18dc85f52514c197f9dbe2192c
parenta2e1182aff1392d3c70ec1844c667d44abeee9d0
chan_sip: Emit a second ringing event to ensure channel is found.

When constructing a dialog-info+xml NOTIFY message a ringing channel
is found if the state is ringing and further information is placed into
the message. Due to the migration to the Stasis message bus this did
not always work as expected.

This change raises a second ringing event in such a way to guarantee
that the event is received by chan_sip and another lookup is done to
find the ringing channel.

ASTERISK-24488

Change-Id: I547a458fc59721c918cb48be060cbfc3c88bcf9c
channels/chan_sip.c