Skip to content
Snippets Groups Projects
Commit e9784530 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

#9871: Fallback on normal upd transport when stun resolution fails

parent fb3ba90e
No related branches found
No related tags found
No related merge requests found
......@@ -355,6 +355,8 @@ void SipTransport::createSipTransport(SIPAccount *account)
account->transport_ = transport;
} else if (account->isStunEnabled()) {
pjsip_transport *transport = createStunTransport(account->getStunServerName(), account->getStunPort());
if(transport == NULL)
transport = createUdpTransport(account->getLocalInterface(), account->getLocalPort());
account->transport_ = transport;
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment