< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate-users] Called UdpTransport::stunSendTest cause resip_assert triggered when no internet connection


Hi, if the UA run in LAN, but the LAN no internet connection, called UdpTransport::stunSendTest cause resip_assert triggered, in UdpTransport::processTxOne function, below line triggered:

resip_assert( sendData->destination.getPort() != 0 );

I suggest don't use assert here, just return the function directly if the port is 0.

if (sendData->destination.getPort() == 0)
{
  return;
}

BR