Skip to content
Snippets Groups Projects
Commit 09859ec5 authored by pierre-luc's avatar pierre-luc
Browse files

[#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.
parent c6bb1aee
No related branches found
No related tags found
No related merge requests found
...@@ -2092,7 +2092,7 @@ void call_on_media_update (pjsip_inv_session *inv, pj_status_t status) ...@@ -2092,7 +2092,7 @@ void call_on_media_update (pjsip_inv_session *inv, pj_status_t status)
// Set remote ip / port // Set remote ip / port
call->getLocalSDP()->set_media_transport_info_from_remote_sdp (remote_sdp); 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) { if(link == NULL) {
_debug ("Failed to get sip link\n"); _debug ("Failed to get sip link\n");
return; return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment