mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
[#1722] update destination address in handle reINVITE (no RTP session stop)
This commit is contained in:
@ -2953,6 +2953,7 @@ void set_voicemail_info (AccountID account, pjsip_msg_body *body)
|
||||
|
||||
void SIPVoIPLink::handle_reinvite (SIPCall *call)
|
||||
{
|
||||
/*
|
||||
// Close the previous RTP session
|
||||
call->getAudioRtp()->stop ();
|
||||
call->setAudioStart (false);
|
||||
@ -2964,6 +2965,12 @@ void SIPVoIPLink::handle_reinvite (SIPCall *call)
|
||||
} catch (...) {
|
||||
_debug ("! SIP Failure: Unable to create RTP Session (%s:%d)", __FILE__, __LINE__);
|
||||
}
|
||||
*/
|
||||
_debug("******************************************");
|
||||
_debug("* handle_reinvite *");
|
||||
_debug("******************************************");
|
||||
|
||||
call->getAudioRtp()->updateDestinationIpAddress();
|
||||
}
|
||||
|
||||
// This callback is called when the invite session state has changed
|
||||
|
Reference in New Issue
Block a user