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

[reSIProcate-users] Why SipMessage.getDestination is empty


hi, all

in my ClientRegistrationHandler::onSuccess(ClientRegistrationHandle h, const SipMessage& response), I want get the destination address of the response message, but failed, it is empty, 

I use ((SipMessage&)response).getDestination().getSockaddr() , the addr is zero

but if I get Source addr, it is success to get
response.getSource().getSockaddr() , it can get correct value

anyone can help to explain if it is bug for the getDestination() or not


--
Best Regards

Maodong Hu