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

[reSIProcate] DNS results not getting greylisted after a timeout


Hi,

I see that if a DNS resolved IP is not responding that IP doesn’t get greylisted because in TransactionState::sendToTU(TransactionMessage* msg)

mState==Calling and not Trying as the if is looking for. If I change the if to

 

            if(sipMsg->getReceivedTransport() == 0 && (mState == Trying || mState == Calling))  // only greylist if internal\

ly generated and we haven't received any responses yet

 

Then I get the expected behavior.

Can someone please explain?

 

Thanks,

Brocha