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

[reSIProcate] How to tell apart internal message sent by the stack?


Hello,

I have some code that looks like this:

 

Tuple::inet_ntop(response.getReceivedTransport()->getTuple())

 

This code crashes when processing an internal 408 INVITE message on any accessing of the Tuple object. Other then explicitly checking if it’s a 408 INVITE is there a way to determine that its an internal message and the Tuple will be invalid?

 

Thanks,

Brocha