]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
mod_sofia: Set sip_to_tag on ringing indication for inbound channels.
authorJon Bergli Heier <jon.bergli.heier@zisson.no>
Tue, 6 Jan 2015 16:17:05 +0000 (17:17 +0100)
committerJon Bergli Heier <jon.bergli.heier@zisson.no>
Tue, 6 Jan 2015 16:20:22 +0000 (17:20 +0100)
commit165f54216c47a5343ac0c7a6ac62fd6a9de57b5f
treeb94d7596947ef5883935c88e66c34b459c56b61b
parentf48ec61d54b3fd4faab03addaee0e7c33aff0103
mod_sofia: Set sip_to_tag on ringing indication for inbound channels.

When bridging a call, the to-tag used in the outgoing 180 Ringing
message for the inbound channel is unavailable until the channel has
been answered. For the outgoing channel this value is already available
through the sip_to_tag variable via the event socket.

This is solved this by setting sip_to_tag to the local leg's tag when
receiving a ringing indication for inbound channels. This will also make
the variable available in the CHANNEL_PROGRESS event through event
socket.

FS-7137 #resolve
src/mod/endpoints/mod_sofia/mod_sofia.c