mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
[#1787] For those cases where no registered SIP account is configured
on the PBX, the program was failing to start because it couldn't get a pointer to the audiortp thread in order to start it.
This commit is contained in:
@ -2091,8 +2091,8 @@ void call_on_media_update (pjsip_inv_session *inv, pj_status_t status)
|
||||
|
||||
// Set remote ip / port
|
||||
call->getLocalSDP()->set_media_transport_info_from_remote_sdp (remote_sdp);
|
||||
|
||||
link = dynamic_cast<SIPVoIPLink *> (Manager::instance().getSIPAccountLink());
|
||||
|
||||
link = dynamic_cast<SIPVoIPLink *> (Manager::instance().getAccountLink(AccountNULL));
|
||||
if(link == NULL) {
|
||||
_debug ("Failed to get sip link\n");
|
||||
return;
|
||||
|
Reference in New Issue
Block a user